import { RpcMethod } from './commonTypes'; export type FrequencyCappingDisabledUsersService_Get = RpcMethod; export type FrequencyCappingDisabledUsersService_Set = RpcMethod; export interface FrequencyCappingDisabledUsersService { /** Returns the user ids exempt from frequency capping in an application (application code XXXXX-XXXXX). Use to inspect which users bypass the app's send limits before editing that list with set_frequency_capping_disabled_users. */ Get: FrequencyCappingDisabledUsersService_Get; /** Overwrites the full list of user ids exempt from frequency capping for an application (application code XXXXX-XXXXX); the supplied list fully replaces any previous one. Use to grant or revoke send-limit exemptions in one call; pass an empty list to clear all exemptions. */ Set: FrequencyCappingDisabledUsersService_Set; } export type GetRequest = { /** Application code (XXXXX-XXXXX) whose frequency-capping exemption list is read. */ application?: string; }; export type GetResponse = { users: string[]; }; export type SetRequest = { /** Application code (XXXXX-XXXXX) whose frequency-capping exemption list is overwritten. */ application?: string; /** Full set of user ids exempt from frequency capping; replaces the existing list. Empty clears all exemptions. */ users?: string[]; }; export type SetResponse = { users: string[]; };