import { RpcMethod } from './commonTypes'; /** * This struct is used to avoid protoc compiler warnings about unused includes in case when * there are no usage for timestamp.* and wrappers.* * This can be removed if you figure out how to remove unused includes. */ export type __restrictionValue_collection_internal = { f1: string; f2: Date; f3: RestrictionValue; }; export type LogicExpression_Binary_Operator = 'INVALID' | 'AND' | 'OR'; /** * BinaryExpression is a kind of expression that allows to combine * two other expressions with application of some binary logic operator. */ export type LogicExpression_Binary = { operator: LogicExpression_Binary_Operator; left: LogicExpression; right: LogicExpression; }; export type LogicExpression_Field_Operator = 'INVALID' /** field = value */ | 'EQ' /** field != value */ | 'NEQ' /** field in value */ | 'IN' /** field > value */ | 'GT' /** field >= value */ | 'GTE' /** field < value */ | 'LT' /** field <= value */ | 'LTE' /** field like 'value%' */ | 'STARTS_WITH' /** field like '%value' */ | 'ENDS_WITH' /** field like '%value%' */ | 'LIKE' /** field is null */ | 'IS_NULL' /** field is not null */ | 'NOT_NULL' /** field is ilike '%value%' */ | 'ILIKE' /** field '@>' array */ | 'ARRAY_CONTAINS' /** field '<@' array */ | 'ARRAY_INCLUDES'; export type LogicExpression_Field_ID = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_IsLocked = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_MaxDevices = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_MaxUsers = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_MaxPreparedFilters = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_DevicesInactivityLimit = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_AllowApi = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_MinSendRate = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_MaxSendRate = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_AllowIePlatformUsage = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_MaxVerifyingEmails = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_MaxVerifyingDomains = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_AllowMetadata = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_MaxPushOnEventDelayInDays = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_AllowEventStatisticsApi = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowTagNotSetFilter = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowDebugMode = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowTrackUninstalls = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_EmailRateCounterAggregatePeriod = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_EmailBounceRateLimit = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_EmailComplaintRateLimit = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_AllowFrequencyCapping = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_EmailsFreeLimit = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_EmailsLimited = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowContentTemplates = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowBaiduAndroidPlatformUsage = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_MaxInboxTtlDays = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_MessageHistoryStorePeriod = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_AllowApiGetMessageLog = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_DetailActionHistoryStorePeriod = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_AllowShowDeliveryStatistics = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowRFMSegments = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowBestTimeToSend = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowEventSegmentation = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowSegmentsGroups = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowCjSMS = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowCjDynamicSetTagsInUpdateProfile = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowCjAddBranchesInWaitForTrigger = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowEventsFunnel = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowChannelsSection = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowCjEmailBcc = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_EmailFileStorePeriod = { operator: LogicExpression_Field_Operator; value: number; values: number[]; }; export type LogicExpression_Field_AllowWhatsApp = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowCjAlternativeGoalsStats = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowCjListenUserIdChanged = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowLine = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowPostEventInApp = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowAIAssistant = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowKeepUserWithoutDevice = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowCJSplitterDeviceCheck = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowTagsAutoCreation = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowAIWalletBilling = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_ApplicationSpecificFilters = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_AllowCloudPages = { operator: LogicExpression_Field_Operator; value: boolean; values: boolean[]; }; export type LogicExpression_Field_kind_CondID = { type: 'CondID'; data: LogicExpression_Field_ID; }; export type LogicExpression_Field_kind_CondIsLocked = { type: 'CondIsLocked'; data: LogicExpression_Field_IsLocked; }; export type LogicExpression_Field_kind_CondMaxDevices = { type: 'CondMaxDevices'; data: LogicExpression_Field_MaxDevices; }; export type LogicExpression_Field_kind_CondMaxUsers = { type: 'CondMaxUsers'; data: LogicExpression_Field_MaxUsers; }; export type LogicExpression_Field_kind_CondMaxPreparedFilters = { type: 'CondMaxPreparedFilters'; data: LogicExpression_Field_MaxPreparedFilters; }; export type LogicExpression_Field_kind_CondDevicesInactivityLimit = { type: 'CondDevicesInactivityLimit'; data: LogicExpression_Field_DevicesInactivityLimit; }; export type LogicExpression_Field_kind_CondAllowApi = { type: 'CondAllowApi'; data: LogicExpression_Field_AllowApi; }; export type LogicExpression_Field_kind_CondMinSendRate = { type: 'CondMinSendRate'; data: LogicExpression_Field_MinSendRate; }; export type LogicExpression_Field_kind_CondMaxSendRate = { type: 'CondMaxSendRate'; data: LogicExpression_Field_MaxSendRate; }; export type LogicExpression_Field_kind_CondAllowIePlatformUsage = { type: 'CondAllowIePlatformUsage'; data: LogicExpression_Field_AllowIePlatformUsage; }; export type LogicExpression_Field_kind_CondMaxVerifyingEmails = { type: 'CondMaxVerifyingEmails'; data: LogicExpression_Field_MaxVerifyingEmails; }; export type LogicExpression_Field_kind_CondMaxVerifyingDomains = { type: 'CondMaxVerifyingDomains'; data: LogicExpression_Field_MaxVerifyingDomains; }; export type LogicExpression_Field_kind_CondAllowMetadata = { type: 'CondAllowMetadata'; data: LogicExpression_Field_AllowMetadata; }; export type LogicExpression_Field_kind_CondMaxPushOnEventDelayInDays = { type: 'CondMaxPushOnEventDelayInDays'; data: LogicExpression_Field_MaxPushOnEventDelayInDays; }; export type LogicExpression_Field_kind_CondAllowEventStatisticsApi = { type: 'CondAllowEventStatisticsApi'; data: LogicExpression_Field_AllowEventStatisticsApi; }; export type LogicExpression_Field_kind_CondAllowTagNotSetFilter = { type: 'CondAllowTagNotSetFilter'; data: LogicExpression_Field_AllowTagNotSetFilter; }; export type LogicExpression_Field_kind_CondAllowDebugMode = { type: 'CondAllowDebugMode'; data: LogicExpression_Field_AllowDebugMode; }; export type LogicExpression_Field_kind_CondAllowTrackUninstalls = { type: 'CondAllowTrackUninstalls'; data: LogicExpression_Field_AllowTrackUninstalls; }; export type LogicExpression_Field_kind_CondEmailRateCounterAggregatePeriod = { type: 'CondEmailRateCounterAggregatePeriod'; data: LogicExpression_Field_EmailRateCounterAggregatePeriod; }; export type LogicExpression_Field_kind_CondEmailBounceRateLimit = { type: 'CondEmailBounceRateLimit'; data: LogicExpression_Field_EmailBounceRateLimit; }; export type LogicExpression_Field_kind_CondEmailComplaintRateLimit = { type: 'CondEmailComplaintRateLimit'; data: LogicExpression_Field_EmailComplaintRateLimit; }; export type LogicExpression_Field_kind_CondAllowFrequencyCapping = { type: 'CondAllowFrequencyCapping'; data: LogicExpression_Field_AllowFrequencyCapping; }; export type LogicExpression_Field_kind_CondEmailsFreeLimit = { type: 'CondEmailsFreeLimit'; data: LogicExpression_Field_EmailsFreeLimit; }; export type LogicExpression_Field_kind_CondEmailsLimited = { type: 'CondEmailsLimited'; data: LogicExpression_Field_EmailsLimited; }; export type LogicExpression_Field_kind_CondAllowContentTemplates = { type: 'CondAllowContentTemplates'; data: LogicExpression_Field_AllowContentTemplates; }; export type LogicExpression_Field_kind_CondAllowBaiduAndroidPlatformUsage = { type: 'CondAllowBaiduAndroidPlatformUsage'; data: LogicExpression_Field_AllowBaiduAndroidPlatformUsage; }; export type LogicExpression_Field_kind_CondMaxInboxTtlDays = { type: 'CondMaxInboxTtlDays'; data: LogicExpression_Field_MaxInboxTtlDays; }; export type LogicExpression_Field_kind_CondMessageHistoryStorePeriod = { type: 'CondMessageHistoryStorePeriod'; data: LogicExpression_Field_MessageHistoryStorePeriod; }; export type LogicExpression_Field_kind_CondAllowApiGetMessageLog = { type: 'CondAllowApiGetMessageLog'; data: LogicExpression_Field_AllowApiGetMessageLog; }; export type LogicExpression_Field_kind_CondDetailActionHistoryStorePeriod = { type: 'CondDetailActionHistoryStorePeriod'; data: LogicExpression_Field_DetailActionHistoryStorePeriod; }; export type LogicExpression_Field_kind_CondAllowShowDeliveryStatistics = { type: 'CondAllowShowDeliveryStatistics'; data: LogicExpression_Field_AllowShowDeliveryStatistics; }; export type LogicExpression_Field_kind_CondAllowRFMSegments = { type: 'CondAllowRFMSegments'; data: LogicExpression_Field_AllowRFMSegments; }; export type LogicExpression_Field_kind_CondAllowBestTimeToSend = { type: 'CondAllowBestTimeToSend'; data: LogicExpression_Field_AllowBestTimeToSend; }; export type LogicExpression_Field_kind_CondAllowEventSegmentation = { type: 'CondAllowEventSegmentation'; data: LogicExpression_Field_AllowEventSegmentation; }; export type LogicExpression_Field_kind_CondAllowSegmentsGroups = { type: 'CondAllowSegmentsGroups'; data: LogicExpression_Field_AllowSegmentsGroups; }; export type LogicExpression_Field_kind_CondAllowCjSMS = { type: 'CondAllowCjSMS'; data: LogicExpression_Field_AllowCjSMS; }; export type LogicExpression_Field_kind_CondAllowCjDynamicSetTagsInUpdateProfile = { type: 'CondAllowCjDynamicSetTagsInUpdateProfile'; data: LogicExpression_Field_AllowCjDynamicSetTagsInUpdateProfile; }; export type LogicExpression_Field_kind_CondAllowCjAddBranchesInWaitForTrigger = { type: 'CondAllowCjAddBranchesInWaitForTrigger'; data: LogicExpression_Field_AllowCjAddBranchesInWaitForTrigger; }; export type LogicExpression_Field_kind_CondAllowEventsFunnel = { type: 'CondAllowEventsFunnel'; data: LogicExpression_Field_AllowEventsFunnel; }; export type LogicExpression_Field_kind_CondAllowChannelsSection = { type: 'CondAllowChannelsSection'; data: LogicExpression_Field_AllowChannelsSection; }; export type LogicExpression_Field_kind_CondAllowCjEmailBcc = { type: 'CondAllowCjEmailBcc'; data: LogicExpression_Field_AllowCjEmailBcc; }; export type LogicExpression_Field_kind_CondEmailFileStorePeriod = { type: 'CondEmailFileStorePeriod'; data: LogicExpression_Field_EmailFileStorePeriod; }; export type LogicExpression_Field_kind_CondAllowWhatsApp = { type: 'CondAllowWhatsApp'; data: LogicExpression_Field_AllowWhatsApp; }; export type LogicExpression_Field_kind_CondAllowCjAlternativeGoalsStats = { type: 'CondAllowCjAlternativeGoalsStats'; data: LogicExpression_Field_AllowCjAlternativeGoalsStats; }; export type LogicExpression_Field_kind_CondAllowCjListenUserIdChanged = { type: 'CondAllowCjListenUserIdChanged'; data: LogicExpression_Field_AllowCjListenUserIdChanged; }; export type LogicExpression_Field_kind_CondAllowLine = { type: 'CondAllowLine'; data: LogicExpression_Field_AllowLine; }; export type LogicExpression_Field_kind_CondAllowPostEventInApp = { type: 'CondAllowPostEventInApp'; data: LogicExpression_Field_AllowPostEventInApp; }; export type LogicExpression_Field_kind_CondAllowAIAssistant = { type: 'CondAllowAIAssistant'; data: LogicExpression_Field_AllowAIAssistant; }; export type LogicExpression_Field_kind_CondAllowKeepUserWithoutDevice = { type: 'CondAllowKeepUserWithoutDevice'; data: LogicExpression_Field_AllowKeepUserWithoutDevice; }; export type LogicExpression_Field_kind_CondAllowCJSplitterDeviceCheck = { type: 'CondAllowCJSplitterDeviceCheck'; data: LogicExpression_Field_AllowCJSplitterDeviceCheck; }; export type LogicExpression_Field_kind_CondAllowTagsAutoCreation = { type: 'CondAllowTagsAutoCreation'; data: LogicExpression_Field_AllowTagsAutoCreation; }; export type LogicExpression_Field_kind_CondAllowAIWalletBilling = { type: 'CondAllowAIWalletBilling'; data: LogicExpression_Field_AllowAIWalletBilling; }; export type LogicExpression_Field_kind_CondApplicationSpecificFilters = { type: 'CondApplicationSpecificFilters'; data: LogicExpression_Field_ApplicationSpecificFilters; }; export type LogicExpression_Field_kind_CondAllowCloudPages = { type: 'CondAllowCloudPages'; data: LogicExpression_Field_AllowCloudPages; }; export type LogicExpression_Field_kind = LogicExpression_Field_kind_CondID | LogicExpression_Field_kind_CondIsLocked | LogicExpression_Field_kind_CondMaxDevices | LogicExpression_Field_kind_CondMaxUsers | LogicExpression_Field_kind_CondMaxPreparedFilters | LogicExpression_Field_kind_CondDevicesInactivityLimit | LogicExpression_Field_kind_CondAllowApi | LogicExpression_Field_kind_CondMinSendRate | LogicExpression_Field_kind_CondMaxSendRate | LogicExpression_Field_kind_CondAllowIePlatformUsage | LogicExpression_Field_kind_CondMaxVerifyingEmails | LogicExpression_Field_kind_CondMaxVerifyingDomains | LogicExpression_Field_kind_CondAllowMetadata | LogicExpression_Field_kind_CondMaxPushOnEventDelayInDays | LogicExpression_Field_kind_CondAllowEventStatisticsApi | LogicExpression_Field_kind_CondAllowTagNotSetFilter | LogicExpression_Field_kind_CondAllowDebugMode | LogicExpression_Field_kind_CondAllowTrackUninstalls | LogicExpression_Field_kind_CondEmailRateCounterAggregatePeriod | LogicExpression_Field_kind_CondEmailBounceRateLimit | LogicExpression_Field_kind_CondEmailComplaintRateLimit | LogicExpression_Field_kind_CondAllowFrequencyCapping | LogicExpression_Field_kind_CondEmailsFreeLimit | LogicExpression_Field_kind_CondEmailsLimited | LogicExpression_Field_kind_CondAllowContentTemplates | LogicExpression_Field_kind_CondAllowBaiduAndroidPlatformUsage | LogicExpression_Field_kind_CondMaxInboxTtlDays | LogicExpression_Field_kind_CondMessageHistoryStorePeriod | LogicExpression_Field_kind_CondAllowApiGetMessageLog | LogicExpression_Field_kind_CondDetailActionHistoryStorePeriod | LogicExpression_Field_kind_CondAllowShowDeliveryStatistics | LogicExpression_Field_kind_CondAllowRFMSegments | LogicExpression_Field_kind_CondAllowBestTimeToSend | LogicExpression_Field_kind_CondAllowEventSegmentation | LogicExpression_Field_kind_CondAllowSegmentsGroups | LogicExpression_Field_kind_CondAllowCjSMS | LogicExpression_Field_kind_CondAllowCjDynamicSetTagsInUpdateProfile | LogicExpression_Field_kind_CondAllowCjAddBranchesInWaitForTrigger | LogicExpression_Field_kind_CondAllowEventsFunnel | LogicExpression_Field_kind_CondAllowChannelsSection | LogicExpression_Field_kind_CondAllowCjEmailBcc | LogicExpression_Field_kind_CondEmailFileStorePeriod | LogicExpression_Field_kind_CondAllowWhatsApp | LogicExpression_Field_kind_CondAllowCjAlternativeGoalsStats | LogicExpression_Field_kind_CondAllowCjListenUserIdChanged | LogicExpression_Field_kind_CondAllowLine | LogicExpression_Field_kind_CondAllowPostEventInApp | LogicExpression_Field_kind_CondAllowAIAssistant | LogicExpression_Field_kind_CondAllowKeepUserWithoutDevice | LogicExpression_Field_kind_CondAllowCJSplitterDeviceCheck | LogicExpression_Field_kind_CondAllowTagsAutoCreation | LogicExpression_Field_kind_CondAllowAIWalletBilling | LogicExpression_Field_kind_CondApplicationSpecificFilters | LogicExpression_Field_kind_CondAllowCloudPages; export type LogicExpression_Field = { kind: LogicExpression_Field_kind; }; export type LogicExpression_kind_binary = { type: 'binary'; data: LogicExpression_Binary; }; export type LogicExpression_kind_field = { type: 'field'; data: LogicExpression_Field; }; export type LogicExpression_kind = LogicExpression_kind_binary | LogicExpression_kind_field; /** Abstract expression structure. That's an expressions container */ export type LogicExpression = { kind: LogicExpression_kind; }; export type Sort = { field: string; order: SortOrder; }; export type SortOrder = 'INVALID' | 'ASC' | 'DESC' | 'ASC_NULLS_LAST' | 'DESC_NULLS_LAST' | 'ASC_NULLS_FIRST' | 'DESC_NULLS_FIRST'; export type SortExpression = { sorts: Sort[]; }; export type LockLevel = 'LOCK_LEVEL_UNDEFINED' | 'LOCK_LEVEL_UPDATE' | 'LOCK_LEVEL_NO_KEY_UPDATE' | 'LOCK_LEVEL_SHARE' | 'LOCK_LEVEL_KEY_SHARE'; export type LockWaitingOption = 'LOCK_WAITING_UNDEFINED' | 'LOCK_WAITING_NOWAIT' | 'LOCK_WAITING_SKIP_LOCKED'; export type ForExpression = { level: LockLevel; waiting: LockWaitingOption; }; /** * This struct is used to avoid protoc compiler warnings about unused includes in case when * there are no usage for timestamp.* and wrappers.* * This can be removed if you figure out how to remove unused includes. */ export type __restrictionValue_crud_service_internal = { f1: string; f2: Date; f3: {}; }; export type RestrictionValuesCrudService_Create = RpcMethod; export type RestrictionValuesCrudService_CreateMany = RpcMethod; export type RestrictionValuesCrudService_Get = RpcMethod; export type RestrictionValuesCrudService_Delete = RpcMethod; export type RestrictionValuesCrudService_DeleteMany = RpcMethod; export type RestrictionValuesCrudService_Count = RpcMethod; export type RestrictionValuesCrudService_GetPage = RpcMethod; export type RestrictionValuesCrudService_List = RpcMethod; export type RestrictionValuesCrudService_Paginate = RpcMethod; export type RestrictionValuesCrudService_UpdateIsLocked = RpcMethod; export type RestrictionValuesCrudService_UpdateMaxDevices = RpcMethod; export type RestrictionValuesCrudService_UpdateMaxUsers = RpcMethod; export type RestrictionValuesCrudService_UpdateMaxPreparedFilters = RpcMethod; export type RestrictionValuesCrudService_UpdateDevicesInactivityLimit = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowApi = RpcMethod; export type RestrictionValuesCrudService_UpdateMinSendRate = RpcMethod; export type RestrictionValuesCrudService_UpdateMaxSendRate = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowIePlatformUsage = RpcMethod; export type RestrictionValuesCrudService_UpdateMaxVerifyingEmails = RpcMethod; export type RestrictionValuesCrudService_UpdateMaxVerifyingDomains = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowMetadata = RpcMethod; export type RestrictionValuesCrudService_UpdateMaxPushOnEventDelayInDays = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowEventStatisticsApi = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowTagNotSetFilter = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowDebugMode = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowTrackUninstalls = RpcMethod; export type RestrictionValuesCrudService_UpdateEmailRateCounterAggregatePeriod = RpcMethod; export type RestrictionValuesCrudService_UpdateEmailBounceRateLimit = RpcMethod; export type RestrictionValuesCrudService_UpdateEmailComplaintRateLimit = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowFrequencyCapping = RpcMethod; export type RestrictionValuesCrudService_UpdateEmailsFreeLimit = RpcMethod; export type RestrictionValuesCrudService_UpdateEmailsLimited = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowContentTemplates = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowBaiduAndroidPlatformUsage = RpcMethod; export type RestrictionValuesCrudService_UpdateMaxInboxTtlDays = RpcMethod; export type RestrictionValuesCrudService_UpdateMessageHistoryStorePeriod = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowApiGetMessageLog = RpcMethod; export type RestrictionValuesCrudService_UpdateDetailActionHistoryStorePeriod = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowShowDeliveryStatistics = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowRFMSegments = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowBestTimeToSend = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowEventSegmentation = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowSegmentsGroups = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowCjSMS = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowCjDynamicSetTagsInUpdateProfile = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowCjAddBranchesInWaitForTrigger = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowEventsFunnel = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowChannelsSection = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowCjEmailBcc = RpcMethod; export type RestrictionValuesCrudService_UpdateEmailFileStorePeriod = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowWhatsApp = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowCjAlternativeGoalsStats = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowCjListenUserIdChanged = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowLine = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowPostEventInApp = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowAIAssistant = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowKeepUserWithoutDevice = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowCJSplitterDeviceCheck = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowTagsAutoCreation = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowAIWalletBilling = RpcMethod; export type RestrictionValuesCrudService_UpdateApplicationSpecificFilters = RpcMethod; export type RestrictionValuesCrudService_UpdateAllowCloudPages = RpcMethod; export interface RestrictionValuesCrudService { Create: RestrictionValuesCrudService_Create; CreateMany: RestrictionValuesCrudService_CreateMany; Get: RestrictionValuesCrudService_Get; Delete: RestrictionValuesCrudService_Delete; DeleteMany: RestrictionValuesCrudService_DeleteMany; Count: RestrictionValuesCrudService_Count; GetPage: RestrictionValuesCrudService_GetPage; List: RestrictionValuesCrudService_List; Paginate: RestrictionValuesCrudService_Paginate; UpdateIsLocked: RestrictionValuesCrudService_UpdateIsLocked; UpdateMaxDevices: RestrictionValuesCrudService_UpdateMaxDevices; UpdateMaxUsers: RestrictionValuesCrudService_UpdateMaxUsers; UpdateMaxPreparedFilters: RestrictionValuesCrudService_UpdateMaxPreparedFilters; UpdateDevicesInactivityLimit: RestrictionValuesCrudService_UpdateDevicesInactivityLimit; UpdateAllowApi: RestrictionValuesCrudService_UpdateAllowApi; UpdateMinSendRate: RestrictionValuesCrudService_UpdateMinSendRate; UpdateMaxSendRate: RestrictionValuesCrudService_UpdateMaxSendRate; UpdateAllowIePlatformUsage: RestrictionValuesCrudService_UpdateAllowIePlatformUsage; UpdateMaxVerifyingEmails: RestrictionValuesCrudService_UpdateMaxVerifyingEmails; UpdateMaxVerifyingDomains: RestrictionValuesCrudService_UpdateMaxVerifyingDomains; UpdateAllowMetadata: RestrictionValuesCrudService_UpdateAllowMetadata; UpdateMaxPushOnEventDelayInDays: RestrictionValuesCrudService_UpdateMaxPushOnEventDelayInDays; UpdateAllowEventStatisticsApi: RestrictionValuesCrudService_UpdateAllowEventStatisticsApi; UpdateAllowTagNotSetFilter: RestrictionValuesCrudService_UpdateAllowTagNotSetFilter; UpdateAllowDebugMode: RestrictionValuesCrudService_UpdateAllowDebugMode; UpdateAllowTrackUninstalls: RestrictionValuesCrudService_UpdateAllowTrackUninstalls; UpdateEmailRateCounterAggregatePeriod: RestrictionValuesCrudService_UpdateEmailRateCounterAggregatePeriod; UpdateEmailBounceRateLimit: RestrictionValuesCrudService_UpdateEmailBounceRateLimit; UpdateEmailComplaintRateLimit: RestrictionValuesCrudService_UpdateEmailComplaintRateLimit; UpdateAllowFrequencyCapping: RestrictionValuesCrudService_UpdateAllowFrequencyCapping; UpdateEmailsFreeLimit: RestrictionValuesCrudService_UpdateEmailsFreeLimit; UpdateEmailsLimited: RestrictionValuesCrudService_UpdateEmailsLimited; UpdateAllowContentTemplates: RestrictionValuesCrudService_UpdateAllowContentTemplates; UpdateAllowBaiduAndroidPlatformUsage: RestrictionValuesCrudService_UpdateAllowBaiduAndroidPlatformUsage; UpdateMaxInboxTtlDays: RestrictionValuesCrudService_UpdateMaxInboxTtlDays; UpdateMessageHistoryStorePeriod: RestrictionValuesCrudService_UpdateMessageHistoryStorePeriod; UpdateAllowApiGetMessageLog: RestrictionValuesCrudService_UpdateAllowApiGetMessageLog; UpdateDetailActionHistoryStorePeriod: RestrictionValuesCrudService_UpdateDetailActionHistoryStorePeriod; UpdateAllowShowDeliveryStatistics: RestrictionValuesCrudService_UpdateAllowShowDeliveryStatistics; UpdateAllowRFMSegments: RestrictionValuesCrudService_UpdateAllowRFMSegments; UpdateAllowBestTimeToSend: RestrictionValuesCrudService_UpdateAllowBestTimeToSend; UpdateAllowEventSegmentation: RestrictionValuesCrudService_UpdateAllowEventSegmentation; UpdateAllowSegmentsGroups: RestrictionValuesCrudService_UpdateAllowSegmentsGroups; UpdateAllowCjSMS: RestrictionValuesCrudService_UpdateAllowCjSMS; UpdateAllowCjDynamicSetTagsInUpdateProfile: RestrictionValuesCrudService_UpdateAllowCjDynamicSetTagsInUpdateProfile; UpdateAllowCjAddBranchesInWaitForTrigger: RestrictionValuesCrudService_UpdateAllowCjAddBranchesInWaitForTrigger; UpdateAllowEventsFunnel: RestrictionValuesCrudService_UpdateAllowEventsFunnel; UpdateAllowChannelsSection: RestrictionValuesCrudService_UpdateAllowChannelsSection; UpdateAllowCjEmailBcc: RestrictionValuesCrudService_UpdateAllowCjEmailBcc; UpdateEmailFileStorePeriod: RestrictionValuesCrudService_UpdateEmailFileStorePeriod; UpdateAllowWhatsApp: RestrictionValuesCrudService_UpdateAllowWhatsApp; UpdateAllowCjAlternativeGoalsStats: RestrictionValuesCrudService_UpdateAllowCjAlternativeGoalsStats; UpdateAllowCjListenUserIdChanged: RestrictionValuesCrudService_UpdateAllowCjListenUserIdChanged; UpdateAllowLine: RestrictionValuesCrudService_UpdateAllowLine; UpdateAllowPostEventInApp: RestrictionValuesCrudService_UpdateAllowPostEventInApp; UpdateAllowAIAssistant: RestrictionValuesCrudService_UpdateAllowAIAssistant; UpdateAllowKeepUserWithoutDevice: RestrictionValuesCrudService_UpdateAllowKeepUserWithoutDevice; UpdateAllowCJSplitterDeviceCheck: RestrictionValuesCrudService_UpdateAllowCJSplitterDeviceCheck; UpdateAllowTagsAutoCreation: RestrictionValuesCrudService_UpdateAllowTagsAutoCreation; UpdateAllowAIWalletBilling: RestrictionValuesCrudService_UpdateAllowAIWalletBilling; UpdateApplicationSpecificFilters: RestrictionValuesCrudService_UpdateApplicationSpecificFilters; UpdateAllowCloudPages: RestrictionValuesCrudService_UpdateAllowCloudPages; } export type CreateRequest = { IsLocked?: boolean; MaxDevices?: number; MaxUsers?: number; MaxPreparedFilters?: number; DevicesInactivityLimit?: number; AllowApi?: boolean; MinSendRate?: number; MaxSendRate?: number; AllowIePlatformUsage?: boolean; MaxVerifyingEmails?: number; MaxVerifyingDomains?: number; AllowMetadata?: boolean; MaxPushOnEventDelayInDays?: number; AllowEventStatisticsApi?: boolean; AllowTagNotSetFilter?: boolean; AllowDebugMode?: boolean; AllowTrackUninstalls?: boolean; EmailRateCounterAggregatePeriod?: number; EmailBounceRateLimit?: number; EmailComplaintRateLimit?: number; AllowFrequencyCapping?: boolean; EmailsFreeLimit?: number; EmailsLimited?: boolean; AllowContentTemplates?: boolean; AllowBaiduAndroidPlatformUsage?: boolean; MaxInboxTtlDays?: number; MessageHistoryStorePeriod?: number; AllowApiGetMessageLog?: boolean; DetailActionHistoryStorePeriod?: number; AllowShowDeliveryStatistics?: boolean; AllowRFMSegments?: boolean; AllowBestTimeToSend?: boolean; AllowEventSegmentation?: boolean; AllowSegmentsGroups?: boolean; AllowCjSMS?: boolean; AllowCjDynamicSetTagsInUpdateProfile?: boolean; AllowCjAddBranchesInWaitForTrigger?: boolean; AllowEventsFunnel?: boolean; AllowChannelsSection?: boolean; AllowCjEmailBcc?: boolean; EmailFileStorePeriod?: number; AllowWhatsApp?: boolean; AllowCjAlternativeGoalsStats?: boolean; AllowCjListenUserIdChanged?: boolean; AllowLine?: boolean; AllowPostEventInApp?: boolean; AllowAIAssistant?: boolean; AllowKeepUserWithoutDevice?: boolean; AllowCJSplitterDeviceCheck?: boolean; AllowTagsAutoCreation?: boolean; AllowAIWalletBilling?: boolean; ApplicationSpecificFilters?: boolean; AllowCloudPages?: boolean; }; export type CreateResponse = { restrictionValue: RestrictionValue; }; export type CreateManyRequest = { restrictionValues?: CreateRequest[]; }; export type CreateManyResponse = { restrictionValues: CreateResponse[]; }; export type DeleteRequest = { ID?: number; }; export type DeleteManyRequest = { where?: LogicExpression; }; export type DeleteManyResponse = { count: number; }; export type CountRequest = { where?: LogicExpression; }; export type CountResponse = { count: number; }; export type GetPageRequest = { where?: LogicExpression; sort?: SortExpression; pageSize?: number; pageNum?: number; forLock?: ForExpression; }; export type GetPageResponse = { restrictionValues: RestrictionValue[]; total: number; }; export type ListRequest = { where?: LogicExpression; sort?: SortExpression; pageSize?: number; forLock?: ForExpression; }; export type ListResponse = { paginationToken: string; }; export type PaginateRequest = { nextPageToken?: string; }; export type PaginateResponse = { restrictionValues: RestrictionValue[]; nextPageToken: string; }; export type UpdateIsLockedRequest = { ID?: number; value?: boolean; }; export type UpdateMaxDevicesRequest = { ID?: number; value?: number; }; export type UpdateMaxUsersRequest = { ID?: number; value?: number; }; export type UpdateMaxPreparedFiltersRequest = { ID?: number; value?: number; }; export type UpdateDevicesInactivityLimitRequest = { ID?: number; value?: number; }; export type UpdateAllowApiRequest = { ID?: number; value?: boolean; }; export type UpdateMinSendRateRequest = { ID?: number; value?: number; }; export type UpdateMaxSendRateRequest = { ID?: number; value?: number; }; export type UpdateAllowIePlatformUsageRequest = { ID?: number; value?: boolean; }; export type UpdateMaxVerifyingEmailsRequest = { ID?: number; value?: number; }; export type UpdateMaxVerifyingDomainsRequest = { ID?: number; value?: number; }; export type UpdateAllowMetadataRequest = { ID?: number; value?: boolean; }; export type UpdateMaxPushOnEventDelayInDaysRequest = { ID?: number; value?: number; }; export type UpdateAllowEventStatisticsApiRequest = { ID?: number; value?: boolean; }; export type UpdateAllowTagNotSetFilterRequest = { ID?: number; value?: boolean; }; export type UpdateAllowDebugModeRequest = { ID?: number; value?: boolean; }; export type UpdateAllowTrackUninstallsRequest = { ID?: number; value?: boolean; }; export type UpdateEmailRateCounterAggregatePeriodRequest = { ID?: number; value?: number; }; export type UpdateEmailBounceRateLimitRequest = { ID?: number; value?: number; }; export type UpdateEmailComplaintRateLimitRequest = { ID?: number; value?: number; }; export type UpdateAllowFrequencyCappingRequest = { ID?: number; value?: boolean; }; export type UpdateEmailsFreeLimitRequest = { ID?: number; value?: number; }; export type UpdateEmailsLimitedRequest = { ID?: number; value?: boolean; }; export type UpdateAllowContentTemplatesRequest = { ID?: number; value?: boolean; }; export type UpdateAllowBaiduAndroidPlatformUsageRequest = { ID?: number; value?: boolean; }; export type UpdateMaxInboxTtlDaysRequest = { ID?: number; value?: number; }; export type UpdateMessageHistoryStorePeriodRequest = { ID?: number; value?: number; }; export type UpdateAllowApiGetMessageLogRequest = { ID?: number; value?: boolean; }; export type UpdateDetailActionHistoryStorePeriodRequest = { ID?: number; value?: number; }; export type UpdateAllowShowDeliveryStatisticsRequest = { ID?: number; value?: boolean; }; export type UpdateAllowRFMSegmentsRequest = { ID?: number; value?: boolean; }; export type UpdateAllowBestTimeToSendRequest = { ID?: number; value?: boolean; }; export type UpdateAllowEventSegmentationRequest = { ID?: number; value?: boolean; }; export type UpdateAllowSegmentsGroupsRequest = { ID?: number; value?: boolean; }; export type UpdateAllowCjSMSRequest = { ID?: number; value?: boolean; }; export type UpdateAllowCjDynamicSetTagsInUpdateProfileRequest = { ID?: number; value?: boolean; }; export type UpdateAllowCjAddBranchesInWaitForTriggerRequest = { ID?: number; value?: boolean; }; export type UpdateAllowEventsFunnelRequest = { ID?: number; value?: boolean; }; export type UpdateAllowChannelsSectionRequest = { ID?: number; value?: boolean; }; export type UpdateAllowCjEmailBccRequest = { ID?: number; value?: boolean; }; export type UpdateEmailFileStorePeriodRequest = { ID?: number; value?: number; }; export type UpdateAllowWhatsAppRequest = { ID?: number; value?: boolean; }; export type UpdateAllowCjAlternativeGoalsStatsRequest = { ID?: number; value?: boolean; }; export type UpdateAllowCjListenUserIdChangedRequest = { ID?: number; value?: boolean; }; export type UpdateAllowLineRequest = { ID?: number; value?: boolean; }; export type UpdateAllowPostEventInAppRequest = { ID?: number; value?: boolean; }; export type UpdateAllowAIAssistantRequest = { ID?: number; value?: boolean; }; export type UpdateAllowKeepUserWithoutDeviceRequest = { ID?: number; value?: boolean; }; export type UpdateAllowCJSplitterDeviceCheckRequest = { ID?: number; value?: boolean; }; export type UpdateAllowTagsAutoCreationRequest = { ID?: number; value?: boolean; }; export type UpdateAllowAIWalletBillingRequest = { ID?: number; value?: boolean; }; export type UpdateApplicationSpecificFiltersRequest = { ID?: number; value?: boolean; }; export type UpdateAllowCloudPagesRequest = { ID?: number; value?: boolean; }; export type GetRequest = { ID?: number; }; export type GetResponse = { restrictionValue: RestrictionValue; }; export type JoinType = 'JOIN_INVALID' | 'JOIN_INNER' | 'JOIN_LEFT' | 'JOIN_RIGHT'; /** * This struct is used to avoid protoc compiler warnings about unused includes in case when * there are no usage for timestamp.* and wrappers.* * This can be removed if you figure out how to remove unused includes. */ export type __restrictionValue_model_internal = { f1: string; f2: Date; }; export type RestrictionValue = { ID: number; IsLocked: boolean; MaxDevices: number; MaxUsers: number; MaxPreparedFilters: number; DevicesInactivityLimit: number; AllowApi: boolean; MinSendRate: number; MaxSendRate: number; AllowIePlatformUsage: boolean; MaxVerifyingEmails: number; MaxVerifyingDomains: number; AllowMetadata: boolean; MaxPushOnEventDelayInDays: number; AllowEventStatisticsApi: boolean; AllowTagNotSetFilter: boolean; AllowDebugMode: boolean; AllowTrackUninstalls: boolean; EmailRateCounterAggregatePeriod: number; EmailBounceRateLimit: number; EmailComplaintRateLimit: number; AllowFrequencyCapping: boolean; EmailsFreeLimit: number; EmailsLimited: boolean; AllowContentTemplates: boolean; AllowBaiduAndroidPlatformUsage: boolean; MaxInboxTtlDays: number; MessageHistoryStorePeriod: number; AllowApiGetMessageLog: boolean; DetailActionHistoryStorePeriod: number; AllowShowDeliveryStatistics: boolean; AllowRFMSegments: boolean; AllowBestTimeToSend: boolean; AllowEventSegmentation: boolean; AllowSegmentsGroups: boolean; AllowCjSMS: boolean; AllowCjDynamicSetTagsInUpdateProfile: boolean; AllowCjAddBranchesInWaitForTrigger: boolean; AllowEventsFunnel: boolean; AllowChannelsSection: boolean; AllowCjEmailBcc: boolean; EmailFileStorePeriod: number; AllowWhatsApp: boolean; AllowCjAlternativeGoalsStats: boolean; AllowCjListenUserIdChanged: boolean; AllowLine: boolean; AllowPostEventInApp: boolean; AllowAIAssistant: boolean; AllowKeepUserWithoutDevice: boolean; AllowCJSplitterDeviceCheck: boolean; AllowTagsAutoCreation: boolean; AllowAIWalletBilling: boolean; ApplicationSpecificFilters: boolean; AllowCloudPages: boolean; };