import type { Identifier, ISODateTime, ArrayNonEmptyIfConst } from "typeforge"; import type { SortOrder } from "../../../utils/utils.types"; import type { AuthenticatedUserInfoData, PrettifiedAuthenticatedUserCountryCodeData, PrettifiedAuthenticatedUserGenderData, PrettifiedUserSearchData, PrettifiedUserIdsToUsersInfoData, PrettifiedUsernamesToUsersInfoData, RawAuthenticatedUserAgeBracketData, RawAuthenticatedUserBirthdateData, RawAuthenticatedUserCountryCodeData, RawAuthenticatedUserDescriptionData, RawAuthenticatedUserGenderData, RawAuthenticatedUserRolesData, RawUsernamesToUsersInfoData } from "./users.types"; /** * Gets the birthdate for the currently authenticated user. * @category Account Information * @endpoint GET /v1/birthdate * @tags [ "Auth Needed" ] * * @example const { data:birthdate } = await ClassicUsersApi.authenticatedUserBirthdate(); * @exampleData 2005-02-03T00:00:00.000Z * @exampleRawBody { birthMonth: 2, birthDay: 3, birthYear: 2005 } */ export declare const authenticatedUserBirthdate: import("../../apiGroup/apiGroup.types").CallApiMethod, { method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawAuthenticatedUserBirthdateData) => string) | undefined; getCursorsFn?: ((rawData: { birthMonth: number; birthDay: number; birthYear: number; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { birthMonth: number; birthDay: number; birthYear: number; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: Date | undefined; } & import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, false>; /** * Gets the description for the currently authenticated user. * @category Account Information * @endpoint GET /v1/description * @tags [ "Auth Needed" ] * * @example const { data:description } = await ClassicUsersApi.authenticatedUserDescription(); * @exampleData Lorem ipsum dolor sit amet consectetur adipiscing elit. * @exampleRawBody { description: "Lorem ipsum dolor sit amet consectetur adipiscing elit." } */ export declare const authenticatedUserDescription: import("../../apiGroup/apiGroup.types").CallApiMethod, { method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawAuthenticatedUserDescriptionData) => string) | undefined; getCursorsFn?: ((rawData: { description: string; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { description: string; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: string | undefined; } & import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, false>; /** * Gets the gender for the currently authenticated user. * @category Account Information * @endpoint GET /v1/gender * @tags [ "Auth Needed" ] * * @example const { data:description } = await ClassicUsersApi.authenticatedUserGender(); * @exampleData Male * @exampleRawBody { gender: 2 } */ export declare const authenticatedUserGender: import("../../apiGroup/apiGroup.types").CallApiMethod, { method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawAuthenticatedUserGenderData) => string) | undefined; getCursorsFn?: ((rawData: { gender: 2 | 1 | 3; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { gender: 2 | 1 | 3; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: PrettifiedAuthenticatedUserGenderData | undefined; } & import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, false>; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ export declare const validateDisplayNameForNewUser: import("../../apiGroup/apiGroup.types").CallApiMethod<{ displayName: string; birthdate: ISODateTime | Date; }, { method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: {}) => string) | undefined; getCursorsFn?: ((rawData: {}) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: {} | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: boolean | undefined; } & import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData<{}, boolean>, false>; /** * Validates a display name for an existing user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/users/{userId}/display-names/validate * @detailedEndpoint GET /v1/users/{userId}/display-names/validate ? displayName={displayName} * * @param displayName The display name to be validated. * @param userId The id of the existing user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForExistingUser({ userId: 45348281, displayName: "Hello" }) * @exampleData true * @exampleRawBody {} */ export declare const validateDisplayNameForExistingUser: import("../../apiGroup/apiGroup.types").CallApiMethod<{ userId: Identifier; displayName: string; }, { method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: {}) => string) | undefined; getCursorsFn?: ((rawData: {}) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: {} | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: boolean | undefined; } & import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData<{}, boolean>, false>; /** * Sets the display name for the currently authenticated user. * @category Display Names * @endpoint PATCH /v1/users/{userId}/display-names * @tags [ "Auth Needed", "XCSRF" ] * * @param newDisplayName The new display name for the authenticated user. * @param userId The id of the currently authenticated user (the endpoint requires this for some reason). * * @example const { data:displayNameUpdated } = await ClassicUsersApi.authenticatedUserSetDisplayName({ userId: 45348281, newDisplayName: "LoremIpsum" }) * @exampleData true * @exampleRawBody {} */ export declare const authenticatedUserSetDisplayName: import("../../apiGroup/apiGroup.types").CallApiMethod<{ userId: Identifier; newDisplayName: string; }, { method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: {}) => string) | undefined; getCursorsFn?: ((rawData: {}) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: {} | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: boolean | undefined; } & import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData<{}, boolean>, false>; /** * Gets information about a user from their id. * @category Users * @endpoint GET /v1/users/{userId} * * @param userId The id of the user to get detailed info about. * * @example const { data:userInfo } = await ClassicUsersApi.userInfo({ userId: 45348281 }); * @exampleData { description: "Lorem ipsum dolor sit amet consectetur adipiscing elit.", created: 2013-07-13T07:50:00.083Z, isBanned: false, externalAppDisplayName: null, hasVerifiedBadge: false, id: 45348281, name: "MightyPart", displayName: "MightyPart" } * @exampleRawBody { description: "Lorem ipsum dolor sit amet consectetur adipiscing elit.", created: "2013-07-13T07:50:00.083Z", isBanned: false, externalAppDisplayName: null, hasVerifiedBadge: false, id: 45348281, name: "MightyPart", displayName: "MightyPart" } */ export declare const userInfo: (this: any, args: { userId: UserId; }) => Promise<{ data: { description: string; created: Date; isBanned: boolean; externalAppDisplayName: string | null; hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }; response: { fullResponse: unknown; url: `https://${string}`; method: import("../../../utils/utils.types").RestMethod; success: boolean; statusCode: number; headers: Headers; body: { description: string; created: `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}+${number}${number}${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}Z` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}Z+${number}${number}${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}${number}${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}${number}${number}${number}+${number}${number}${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}${number}${number}${number}Z` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}${number}${number}${number}Z+${number}${number}${number}${number}`; isBanned: boolean; externalAppDisplayName: string | null; hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }; }; configUsed: { cookie?: `.ROBLOSECURITY=_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|${string}; RBXEventTrackerV2=CreateDate=1/1/1 1:1:1 PM&rbxid=1&browserid=1;` | undefined; cloudKey?: string | undefined; http?: { adapter?: import("../../../http/httpAdapters").HttpAdapter | undefined; csrfMaxAttempts?: number | undefined; csrfToken?: string | undefined; polling?: { disabled?: boolean | undefined; iterations?: number | undefined; multiplyer?: number | undefined; retryOffset?: number | undefined; debugMessages?: boolean | undefined; } | undefined; } | undefined; cache?: { name: string; get: (key: string) => any; set: (settings: any, key: string, value: any) => void; }[] | undefined; }; } & { again: () => Promise<{ data: { description: string; created: Date; isBanned: boolean; externalAppDisplayName: string | null; hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }; response: { fullResponse: unknown; url: `https://${string}`; method: import("../../../utils/utils.types").RestMethod; success: boolean; statusCode: number; headers: Headers; body: { description: string; created: `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}+${number}${number}${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}Z` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}Z+${number}${number}${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}${number}${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}${number}${number}${number}+${number}${number}${number}${number}` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}${number}${number}${number}Z` | `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}${number}${number}${number}Z+${number}${number}${number}${number}`; isBanned: boolean; externalAppDisplayName: string | null; hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }; }; configUsed: { cookie?: `.ROBLOSECURITY=_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|${string}; RBXEventTrackerV2=CreateDate=1/1/1 1:1:1 PM&rbxid=1&browserid=1;` | undefined; cloudKey?: string | undefined; http?: { adapter?: import("../../../http/httpAdapters").HttpAdapter | undefined; csrfMaxAttempts?: number | undefined; csrfToken?: string | undefined; polling?: { disabled?: boolean | undefined; iterations?: number | undefined; multiplyer?: number | undefined; retryOffset?: number | undefined; debugMessages?: boolean | undefined; } | undefined; } | undefined; cache?: { name: string; get: (key: string) => any; set: (settings: any, key: string, value: any) => void; }[] | undefined; }; }>; }>; /** * Gets information about the currently authenticated user. * @category Users * @endpoint GET /v1/users/authenticated * @tags [ "Auth Needed" ] * * @example const { data:userInfo } = await ClassicUsersApi.authenticatedUserInfo(); * @exampleData { id: 45348281, name: "MightyPart", displayName: "MightyPart" } * @exampleRawBody { id: 45348281, name: "MightyPart", displayName: "MightyPart" } */ export declare const authenticatedUserInfo: import("../../apiGroup/apiGroup.types").CallApiMethod, { method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: AuthenticatedUserInfoData) => string) | undefined; getCursorsFn?: ((rawData: { id: number; name: string; displayName: string; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { id: number; name: string; displayName: string; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: { id: number; name: string; displayName: string; } | undefined; }, false>; /** * Gets the currently authenticated user's age bracket. * @category Users * @endpoint GET /v1/users/authenticated/age-bracket * @tags [ "Auth Needed" ] * * @example const { data:ageBracket } = await ClassicUsersApi.authenticatedUserAgeBracket(); * @exampleData 13+ * @exampleRawBody { ageBracket: 0 } */ export declare const authenticatedUserAgeBracket: import("../../apiGroup/apiGroup.types").CallApiMethod, { method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawAuthenticatedUserAgeBracketData) => string) | undefined; getCursorsFn?: ((rawData: { ageBracket: 0 | 1; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { ageBracket: 0 | 1; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: "13+" | "<13" | undefined; } & import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, false>; /** * Gets the currently authenticated user's country code. * @category Users * @endpoint GET /v1/users/authenticated/country-code * @tags [ "Auth Needed" ] * * @example const { data:countryCode } = await ClassicUsersApi.authenticatedUserCountryCode(); * @exampleData DE * @exampleRawBody { countryCode: "DE" } */ export declare const authenticatedUserCountryCode: import("../../apiGroup/apiGroup.types").CallApiMethod, { method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawAuthenticatedUserCountryCodeData) => string) | undefined; getCursorsFn?: ((rawData: { countryCode: PrettifiedAuthenticatedUserCountryCodeData; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { countryCode: PrettifiedAuthenticatedUserCountryCodeData; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: PrettifiedAuthenticatedUserCountryCodeData | undefined; } & import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, false>; /** * Gets the currently authenticated user's roles. * @category Users * @endpoint GET /v1/users/authenticated/roles * @tags [ "Auth Needed" ] * * @example const { data:roles } = await ClassicUsersApi.authenticatedUserRoles(); * @exampleData [ "BetaTester" ] * @exampleRawBody { roles: [ "BetaTester" ] } */ export declare const authenticatedUserRoles: import("../../apiGroup/apiGroup.types").CallApiMethod, { method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawAuthenticatedUserRolesData) => string) | undefined; getCursorsFn?: ((rawData: { roles: string[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { roles: string[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: string[] | undefined; } & import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, false>; /** * Gets information about multiple users from their usernames. * @category Users * @endpoint POST /v1/usernames/users * * @param usernames The usernames of the users to get info about. * @param excludeBannedUsers Dictates if info about banned users should be excluded from the returned data. (defaults to false). * * @example const { data:usersInfo } = await ClassicUsersApi.usersInfoFromNames({ usernames: [ "MightyPart" ] }); * @exampleData { MightyPart: { hasVerifiedBadge: false, id: 45348281, name: "MightyPart", displayName: "MightyPart" } } * @exampleRawBody { data: [ { requestedUsername: "MightyPart", hasVerifiedBadge: false, id: 45348281, name: "MightyPart", displayName: "MightyPart" } ] } */ export declare const usersInfoFromNames: (this: any, args: { usernames: ArrayNonEmptyIfConst; excludeBannedUsers?: boolean | undefined; }) => Promise<{ data: Exclude<({ method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawUsernamesToUsersInfoData) => string) | undefined; getCursorsFn?: ((rawData: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUsernamesToUsersInfoData extends infer T ? T extends PrettifiedUsernamesToUsersInfoData ? T extends undefined ? { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUsernamesToUsersInfoData extends infer T_1 ? T_1 extends PrettifiedUsernamesToUsersInfoData ? T_1 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, PrettifiedUsernamesToUsersInfoData extends infer T_2 ? T_2 extends PrettifiedUsernamesToUsersInfoData ? T_2 extends undefined ? RawUsernamesToUsersInfoData : T_2 : never : never> : never : never))["🔒__PRIVATE_FORMATTED_DATA"], undefined>; response: { fullResponse: unknown; url: `https://${string}`; method: import("../../../utils/utils.types").RestMethod; success: boolean; statusCode: number; headers: Headers; body: import("typeforge").Prettify | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawUsernamesToUsersInfoData) => string) | undefined; getCursorsFn?: ((rawData: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUsernamesToUsersInfoData extends infer T_3 ? T_3 extends PrettifiedUsernamesToUsersInfoData ? T_3 extends undefined ? { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUsernamesToUsersInfoData extends infer T_4 ? T_4 extends PrettifiedUsernamesToUsersInfoData ? T_4 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, PrettifiedUsernamesToUsersInfoData extends infer T_5 ? T_5 extends PrettifiedUsernamesToUsersInfoData ? T_5 extends undefined ? RawUsernamesToUsersInfoData : T_5 : never : never> : never : never))["🔒__PRIVATE_RAW_DATA"], undefined>, Exclude<({ method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawUsernamesToUsersInfoData) => string) | undefined; getCursorsFn?: ((rawData: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUsernamesToUsersInfoData extends infer T_6 ? T_6 extends PrettifiedUsernamesToUsersInfoData ? T_6 extends undefined ? { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUsernamesToUsersInfoData extends infer T_7 ? T_7 extends PrettifiedUsernamesToUsersInfoData ? T_7 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, PrettifiedUsernamesToUsersInfoData extends infer T_8 ? T_8 extends PrettifiedUsernamesToUsersInfoData ? T_8 extends undefined ? RawUsernamesToUsersInfoData : T_8 : never : never> : never : never))["🔒__PRIVATE_RAW_DATA"], undefined> extends infer T_9 ? T_9 extends Exclude<({ method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawUsernamesToUsersInfoData) => string) | undefined; getCursorsFn?: ((rawData: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUsernamesToUsersInfoData extends infer T_10 ? T_10 extends PrettifiedUsernamesToUsersInfoData ? T_10 extends undefined ? { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUsernamesToUsersInfoData extends infer T_11 ? T_11 extends PrettifiedUsernamesToUsersInfoData ? T_11 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, PrettifiedUsernamesToUsersInfoData extends infer T_12 ? T_12 extends PrettifiedUsernamesToUsersInfoData ? T_12 extends undefined ? RawUsernamesToUsersInfoData : T_12 : never : never> : never : never))["🔒__PRIVATE_RAW_DATA"], undefined> ? T_9 extends Date ? true : false : never : never>; }; configUsed: { cookie?: `.ROBLOSECURITY=_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|${string}; RBXEventTrackerV2=CreateDate=1/1/1 1:1:1 PM&rbxid=1&browserid=1;` | undefined; cloudKey?: string | undefined; http?: { adapter?: import("../../../http/httpAdapters").HttpAdapter | undefined; csrfMaxAttempts?: number | undefined; csrfToken?: string | undefined; polling?: { disabled?: boolean | undefined; iterations?: number | undefined; multiplyer?: number | undefined; retryOffset?: number | undefined; debugMessages?: boolean | undefined; } | undefined; } | undefined; cache?: { name: string; get: (key: string) => any; set: (settings: any, key: string, value: any) => void; }[] | undefined; }; } & { again: () => Promise<{ data: Exclude<({ method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawUsernamesToUsersInfoData) => string) | undefined; getCursorsFn?: ((rawData: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUsernamesToUsersInfoData extends infer T_13 ? T_13 extends PrettifiedUsernamesToUsersInfoData ? T_13 extends undefined ? { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUsernamesToUsersInfoData extends infer T_14 ? T_14 extends PrettifiedUsernamesToUsersInfoData ? T_14 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, PrettifiedUsernamesToUsersInfoData extends infer T_15 ? T_15 extends PrettifiedUsernamesToUsersInfoData ? T_15 extends undefined ? RawUsernamesToUsersInfoData : T_15 : never : never> : never : never))["🔒__PRIVATE_FORMATTED_DATA"], undefined>; response: { fullResponse: unknown; url: `https://${string}`; method: import("../../../utils/utils.types").RestMethod; success: boolean; statusCode: number; headers: Headers; body: import("typeforge").Prettify | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawUsernamesToUsersInfoData) => string) | undefined; getCursorsFn?: ((rawData: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUsernamesToUsersInfoData extends infer T_16 ? T_16 extends PrettifiedUsernamesToUsersInfoData ? T_16 extends undefined ? { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUsernamesToUsersInfoData extends infer T_17 ? T_17 extends PrettifiedUsernamesToUsersInfoData ? T_17 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, PrettifiedUsernamesToUsersInfoData extends infer T_18 ? T_18 extends PrettifiedUsernamesToUsersInfoData ? T_18 extends undefined ? RawUsernamesToUsersInfoData : T_18 : never : never> : never : never))["🔒__PRIVATE_RAW_DATA"], undefined>, Exclude<({ method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawUsernamesToUsersInfoData) => string) | undefined; getCursorsFn?: ((rawData: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUsernamesToUsersInfoData extends infer T_19 ? T_19 extends PrettifiedUsernamesToUsersInfoData ? T_19 extends undefined ? { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUsernamesToUsersInfoData extends infer T_20 ? T_20 extends PrettifiedUsernamesToUsersInfoData ? T_20 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, PrettifiedUsernamesToUsersInfoData extends infer T_21 ? T_21 extends PrettifiedUsernamesToUsersInfoData ? T_21 extends undefined ? RawUsernamesToUsersInfoData : T_21 : never : never> : never : never))["🔒__PRIVATE_RAW_DATA"], undefined> extends infer T_22 ? T_22 extends Exclude<({ method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: RawUsernamesToUsersInfoData) => string) | undefined; getCursorsFn?: ((rawData: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUsernamesToUsersInfoData extends infer T_23 ? T_23 extends PrettifiedUsernamesToUsersInfoData ? T_23 extends undefined ? { data: { /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ requestedUsername: Username; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ hasVerifiedBadge: boolean; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ id: number; name: string; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUsernamesToUsersInfoData extends infer T_24 ? T_24 extends PrettifiedUsernamesToUsersInfoData ? T_24 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData, PrettifiedUsernamesToUsersInfoData extends infer T_25 ? T_25 extends PrettifiedUsernamesToUsersInfoData ? T_25 extends undefined ? RawUsernamesToUsersInfoData : T_25 : never : never> : never : never))["🔒__PRIVATE_RAW_DATA"], undefined> ? T_22 extends Date ? true : false : never : never>; }; configUsed: { cookie?: `.ROBLOSECURITY=_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|${string}; RBXEventTrackerV2=CreateDate=1/1/1 1:1:1 PM&rbxid=1&browserid=1;` | undefined; cloudKey?: string | undefined; http?: { adapter?: import("../../../http/httpAdapters").HttpAdapter | undefined; csrfMaxAttempts?: number | undefined; csrfToken?: string | undefined; polling?: { disabled?: boolean | undefined; iterations?: number | undefined; multiplyer?: number | undefined; retryOffset?: number | undefined; debugMessages?: boolean | undefined; } | undefined; } | undefined; cache?: { name: string; get: (key: string) => any; set: (settings: any, key: string, value: any) => void; }[] | undefined; }; }>; }>; /** * Gets information about multiple users from their ids. * @category Users * @endpoint POST /v1/users * * @param userIds The ids of the users to get info about. * @param excludeBannedUsers Dictates if info about banned users should be excluded from the returned data. (defaults to false). * * @example const { data:usersInfo } = await ClassicUsersApi.usersInfoFromIds({ userIds: [45348281] }); * @exampleData { "45348281": { hasVerifiedBadge: false, name: "MightyPart", displayName: "MightyPart" } } * @exampleRawBody { data: [ { hasVerifiedBadge: false, id: 45348281, name: "MightyPart", displayName: "MightyPart" } ] } */ export declare const usersInfoFromIds: (this: any, args: { userIds: ArrayNonEmptyIfConst; excludeBannedUsers?: boolean | undefined; }) => Promise<{ data: Exclude<({ method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => string) | undefined; getCursorsFn?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUserIdsToUsersInfoData extends infer T ? T extends PrettifiedUserIdsToUsersInfoData ? T extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUserIdsToUsersInfoData extends infer T_1 ? T_1 extends PrettifiedUserIdsToUsersInfoData ? T_1 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData<{ data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }, PrettifiedUserIdsToUsersInfoData extends infer T_2 ? T_2 extends PrettifiedUserIdsToUsersInfoData ? T_2 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : T_2 : never : never> : never : never))["🔒__PRIVATE_FORMATTED_DATA"], undefined>; response: { fullResponse: unknown; url: `https://${string}`; method: import("../../../utils/utils.types").RestMethod; success: boolean; statusCode: number; headers: Headers; body: import("typeforge").Prettify | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => string) | undefined; getCursorsFn?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUserIdsToUsersInfoData extends infer T_3 ? T_3 extends PrettifiedUserIdsToUsersInfoData ? T_3 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUserIdsToUsersInfoData extends infer T_4 ? T_4 extends PrettifiedUserIdsToUsersInfoData ? T_4 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData<{ data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }, PrettifiedUserIdsToUsersInfoData extends infer T_5 ? T_5 extends PrettifiedUserIdsToUsersInfoData ? T_5 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : T_5 : never : never> : never : never))["🔒__PRIVATE_RAW_DATA"], undefined>, Exclude<({ method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => string) | undefined; getCursorsFn?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUserIdsToUsersInfoData extends infer T_6 ? T_6 extends PrettifiedUserIdsToUsersInfoData ? T_6 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUserIdsToUsersInfoData extends infer T_7 ? T_7 extends PrettifiedUserIdsToUsersInfoData ? T_7 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData<{ data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }, PrettifiedUserIdsToUsersInfoData extends infer T_8 ? T_8 extends PrettifiedUserIdsToUsersInfoData ? T_8 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : T_8 : never : never> : never : never))["🔒__PRIVATE_RAW_DATA"], undefined> extends infer T_9 ? T_9 extends Exclude<({ method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => string) | undefined; getCursorsFn?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUserIdsToUsersInfoData extends infer T_10 ? T_10 extends PrettifiedUserIdsToUsersInfoData ? T_10 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUserIdsToUsersInfoData extends infer T_11 ? T_11 extends PrettifiedUserIdsToUsersInfoData ? T_11 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData<{ data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }, PrettifiedUserIdsToUsersInfoData extends infer T_12 ? T_12 extends PrettifiedUserIdsToUsersInfoData ? T_12 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : T_12 : never : never> : never : never))["🔒__PRIVATE_RAW_DATA"], undefined> ? T_9 extends Date ? true : false : never : never>; }; configUsed: { cookie?: `.ROBLOSECURITY=_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|${string}; RBXEventTrackerV2=CreateDate=1/1/1 1:1:1 PM&rbxid=1&browserid=1;` | undefined; cloudKey?: string | undefined; http?: { adapter?: import("../../../http/httpAdapters").HttpAdapter | undefined; csrfMaxAttempts?: number | undefined; csrfToken?: string | undefined; polling?: { disabled?: boolean | undefined; iterations?: number | undefined; multiplyer?: number | undefined; retryOffset?: number | undefined; debugMessages?: boolean | undefined; } | undefined; } | undefined; cache?: { name: string; get: (key: string) => any; set: (settings: any, key: string, value: any) => void; }[] | undefined; }; } & { again: () => Promise<{ data: Exclude<({ method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => string) | undefined; getCursorsFn?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUserIdsToUsersInfoData extends infer T_13 ? T_13 extends PrettifiedUserIdsToUsersInfoData ? T_13 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUserIdsToUsersInfoData extends infer T_14 ? T_14 extends PrettifiedUserIdsToUsersInfoData ? T_14 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData<{ data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }, PrettifiedUserIdsToUsersInfoData extends infer T_15 ? T_15 extends PrettifiedUserIdsToUsersInfoData ? T_15 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : T_15 : never : never> : never : never))["🔒__PRIVATE_FORMATTED_DATA"], undefined>; response: { fullResponse: unknown; url: `https://${string}`; method: import("../../../utils/utils.types").RestMethod; success: boolean; statusCode: number; headers: Headers; body: import("typeforge").Prettify | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => string) | undefined; getCursorsFn?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUserIdsToUsersInfoData extends infer T_16 ? T_16 extends PrettifiedUserIdsToUsersInfoData ? T_16 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUserIdsToUsersInfoData extends infer T_17 ? T_17 extends PrettifiedUserIdsToUsersInfoData ? T_17 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData<{ data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }, PrettifiedUserIdsToUsersInfoData extends infer T_18 ? T_18 extends PrettifiedUserIdsToUsersInfoData ? T_18 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : T_18 : never : never> : never : never))["🔒__PRIVATE_RAW_DATA"], undefined>, Exclude<({ method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => string) | undefined; getCursorsFn?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUserIdsToUsersInfoData extends infer T_19 ? T_19 extends PrettifiedUserIdsToUsersInfoData ? T_19 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUserIdsToUsersInfoData extends infer T_20 ? T_20 extends PrettifiedUserIdsToUsersInfoData ? T_20 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData<{ data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }, PrettifiedUserIdsToUsersInfoData extends infer T_21 ? T_21 extends PrettifiedUserIdsToUsersInfoData ? T_21 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : T_21 : never : never> : never : never))["🔒__PRIVATE_RAW_DATA"], undefined> extends infer T_22 ? T_22 extends Exclude<({ method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => string) | undefined; getCursorsFn?: ((rawData: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: (PrettifiedUserIdsToUsersInfoData extends infer T_23 ? T_23 extends PrettifiedUserIdsToUsersInfoData ? T_23 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : import("typeforge").Prettify : never : never) | undefined; } & (PrettifiedUserIdsToUsersInfoData extends infer T_24 ? T_24 extends PrettifiedUserIdsToUsersInfoData ? T_24 extends undefined ? {} : import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData<{ data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; }, PrettifiedUserIdsToUsersInfoData extends infer T_25 ? T_25 extends PrettifiedUserIdsToUsersInfoData ? T_25 extends undefined ? { data: { hasVerifiedBadge: boolean; id: UserId; name: string; displayName: string; }[]; } : T_25 : never : never> : never : never))["🔒__PRIVATE_RAW_DATA"], undefined> ? T_22 extends Date ? true : false : never : never>; }; configUsed: { cookie?: `.ROBLOSECURITY=_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|${string}; RBXEventTrackerV2=CreateDate=1/1/1 1:1:1 PM&rbxid=1&browserid=1;` | undefined; cloudKey?: string | undefined; http?: { adapter?: import("../../../http/httpAdapters").HttpAdapter | undefined; csrfMaxAttempts?: number | undefined; csrfToken?: string | undefined; polling?: { disabled?: boolean | undefined; iterations?: number | undefined; multiplyer?: number | undefined; retryOffset?: number | undefined; debugMessages?: boolean | undefined; } | undefined; } | undefined; cache?: { name: string; get: (key: string) => any; set: (settings: any, key: string, value: any) => void; }[] | undefined; }; }>; }>; /** * Gets a users previous usernames. * @category Usernames * @endpoint GET /v1/users/{userId}/username-history * @detailedEndpoint GET /v1/users/{userId}/username-history ? limit={limit} & sortOrder={sortOrder} & cursor={cursor} * * @param userId The id of the user to get the username history for. * @param limit The number of results to be returned. * @param sortOrder The order that the results are sorted in. * @param cursor The paging cursor for the previous or next page. * * @example const { data:previousUsernames } = await ClassicUsersApi.usernameHistory({ userId: 45348281 }); * @exampleData [ "NamelessGuy2005", "parrrty" ] * @exampleRawBody { previousPageCursor: null, nextPageCursor: null, data: [ { name: "NamelessGuy2005" }, { name: "parrrty" } ] } */ export declare const usernameHistory: import("../../apiGroup/apiGroup.types").CallApiMethod<{ userId: Identifier; limit?: 10 | 25 | 50 | 100 | undefined; sortOrder?: SortOrder | undefined; cursor?: string | undefined; }, { method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: { previousPageCursor: string; nextPageCursor: string; data: { name: string; }[]; }) => string) | undefined; getCursorsFn?: ((rawData: { previousPageCursor: string; nextPageCursor: string; data: { name: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { previousPageCursor: string; nextPageCursor: string; data: { name: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: string[] | undefined; } & import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData<{ previousPageCursor: string; nextPageCursor: string; data: { name: string; }[]; }, string[]>, true>; /** * Searched for users. * @category Usernames * @endpoint GET /v1/users/search * @detailedEndpoint GET /v1/users/search ? keyword={keyword} & limit={limit} & cursor={cursor} * * @param keyword The keyword to search users by. * @param limit The number of results to be returned * @param cursor The paging cursor for the previous or next page. * * @example const { data:searchResults } = await ClassicUsersApi.userSearch({ keyword: "MightyPart", limit: 10 }); * @exampleData [ { "previousUsernames": [ "parrrty", "NamelessGuy2005" ], "hasVerifiedBadge": false, "id": 45348281, "name": "MightyPart", "displayName": "MightyPart" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 2655994471, "name": "MightyPartJr", "displayName": "MightyPartJr" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 109174199, "name": "MightyPartyAnimal", "displayName": "jonny" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 151051171, "name": "MightyPartygirl101", "displayName": "india" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 3886457808, "name": "mightypartxl", "displayName": "mightypartxl" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 31488865, "name": "mightypartyrocker101", "displayName": "mightypartyrocker101" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 35463215, "name": "mightyparty3", "displayName": "mightyparty3" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 152196440, "name": "MightyPartygirl234", "displayName": "MightyPartygirl234" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 141415414, "name": "MightyPartygod49", "displayName": "MightyPartygod49" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 153951993, "name": "Mightypartylove", "displayName": "Mightypartylove" } ] * @exampleRawBody { previousPageCursor: null, nextPageCursor: 'eyJzdGFydEluZGV4IjoxMCwiZGlzY3JpbWluYXRvciI6ImtleXdvcmQ6TWlnaHR5UGFydCIsImNvdW50IjoxMH0KNzU4ZDExMWU1NjYwZGI1YWQ3ZDk4ZTJhMzI3ZTQzNjA0ZjdkYzI0NGRjODlkMWY1YjczMDBjY2E3NDI4YmMxOQ==', data: [ { "previousUsernames": [ "parrrty", "NamelessGuy2005" ], "hasVerifiedBadge": false, "id": 45348281, "name": "MightyPart", "displayName": "MightyPart" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 2655994471, "name": "MightyPartJr", "displayName": "MightyPartJr" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 109174199, "name": "MightyPartyAnimal", "displayName": "jonny" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 151051171, "name": "MightyPartygirl101", "displayName": "india" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 3886457808, "name": "mightypartxl", "displayName": "mightypartxl" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 31488865, "name": "mightypartyrocker101", "displayName": "mightypartyrocker101" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 35463215, "name": "mightyparty3", "displayName": "mightyparty3" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 152196440, "name": "MightyPartygirl234", "displayName": "MightyPartygirl234" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 141415414, "name": "MightyPartygod49", "displayName": "MightyPartygod49" }, { "previousUsernames": [], "hasVerifiedBadge": false, "id": 153951993, "name": "Mightypartylove", "displayName": "Mightypartylove" } ] } */ export declare const userSearch: import("../../apiGroup/apiGroup.types").CallApiMethod<{ keyword: string; limit?: 10 | 25 | 50 | 100 | undefined; cursor?: string | undefined; }, { method: import("../../../utils/utils.types").RestMethod; path: `/${string}`; name: string; searchParams?: string | Record | undefined; headers?: Record | undefined; body?: string | number | Record | undefined; formData?: FormData | undefined; applyFieldMask?: boolean | undefined; pathToPoll?: ((rawData: { previousPageCursor: string; nextPageCursor: string; data: { previousUsernames: string[]; hasVerifiedBadge: boolean; id: number; name: string; displayName: string; }[]; }) => string) | undefined; getCursorsFn?: ((rawData: { previousPageCursor: string; nextPageCursor: string; data: { previousUsernames: string[]; hasVerifiedBadge: boolean; id: number; name: string; displayName: string; }[]; }) => [previous: import("../../apiGroup/apiGroup.types").Cursor, next: import("../../apiGroup/apiGroup.types").Cursor]) | undefined; "\uD83D\uDD12__PRIVATE_RAW_DATA"?: { previousPageCursor: string; nextPageCursor: string; data: { previousUsernames: string[]; hasVerifiedBadge: boolean; id: number; name: string; displayName: string; }[]; } | undefined; /** * Validates a display name for a new user (NOTE: This does not change the display name). * @category Display Names * @endpoint GET /v1/display-names/validate * @detailedEndpoint GET /v1/display-names/validate ? displayName={displayName} & birthdate={birthdate} * * @param displayName The display name to be validated. * @param birthdate The birthdate of the new user. * * @example const { data:displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({ displayName: "Hello", birthdate: "2023-07-27T04:14:57+0000" }) * @exampleData true * @exampleRawBody {} */ "\uD83D\uDD12__PRIVATE_FORMATTED_DATA"?: { previousUsernames: string[]; hasVerifiedBadge: boolean; id: number; name: string; displayName: string; }[] | undefined; } & import("../../apiGroup/apiGroup.types").ApiMethodDataFormatRawData<{ previousPageCursor: string; nextPageCursor: string; data: { previousUsernames: string[]; hasVerifiedBadge: boolean; id: number; name: string; displayName: string; }[]; }, PrettifiedUserSearchData>, true>;