import type { RoleMatchType } from './RoleMatchType'; export type CreateRoleRequest = { /** * Role name, which will be returned in the JTW token */ name: string; /** * Type of machting applied for this role */ matchType: RoleMatchType; /** * Roles with higher priority are returned first */ priority: number; /** * Number of tokens required for the role to be granted */ requiredQuantity: number; /** * Can be null if token ownership isn't required to gain this role */ chainId?: string | null; /** * Can be null if token ownership isn't required to gain this role */ contractAddress?: string | null; /** * Optional for NFT MatchType, required for SFT */ tokenId?: number | null; };