@pushwoosh/rpc-v2-http-api-data 0.1.868 → 0.1.871

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/account_groups.d.ts +17 -8
  2. package/account_invites.d.ts +9 -4
  3. package/account_overview.d.ts +3 -1
  4. package/account_users.d.ts +5 -2
  5. package/accounts.d.ts +53 -26
  6. package/accounts_get_auth_info.d.ts +3 -1
  7. package/api_tokens.d.ts +19 -9
  8. package/applications.d.ts +31 -15
  9. package/applications_alerts.d.ts +3 -1
  10. package/applications_configurations.d.ts +5 -2
  11. package/applications_email_froms.d.ts +5 -2
  12. package/applications_groups.d.ts +11 -5
  13. package/applications_info.d.ts +3 -2
  14. package/applications_sounds.d.ts +3 -1
  15. package/applications_statistics.d.ts +11 -5
  16. package/campaigns.d.ts +11 -5
  17. package/categories.d.ts +3 -1
  18. package/cloud_pages.d.ts +13 -6
  19. package/commonTypes.d.ts +9 -0
  20. package/customer_journey.d.ts +5 -2
  21. package/deeplinks.d.ts +11 -5
  22. package/devices.d.ts +3 -1
  23. package/email_categories.d.ts +17 -8
  24. package/emails_configurations.d.ts +17 -8
  25. package/events.d.ts +19 -9
  26. package/export_messages.d.ts +9 -4
  27. package/filters.d.ts +29 -14
  28. package/frequency_capping.d.ts +7 -3
  29. package/geozones.d.ts +9 -5
  30. package/geozones_clusters.d.ts +7 -4
  31. package/inapp_messages.d.ts +15 -7
  32. package/integrations.d.ts +41 -20
  33. package/internal_alerts.d.ts +7 -3
  34. package/ios_categories.d.ts +11 -5
  35. package/kakao_presets.d.ts +15 -7
  36. package/line_presets.d.ts +13 -6
  37. package/media_files.d.ts +3 -1
  38. package/messages.d.ts +21 -10
  39. package/package.json +1 -1
  40. package/popup_forms.d.ts +15 -7
  41. package/presets.d.ts +15 -7
  42. package/pushwoosh_accounts_alerts_v1.d.ts +11 -5
  43. package/pushwoosh_channels_messagingApi_v2.d.ts +5 -3
  44. package/pushwoosh_objects_filters_v1.d.ts +61 -30
  45. package/pushwoosh_objects_restrictionValues_v1.d.ts +223 -111
  46. package/pushwoosh_rpc_segments_v3.d.ts +38 -47
  47. package/referral_partners.d.ts +17 -8
  48. package/restrictions.d.ts +3 -1
  49. package/rich_medias.d.ts +25 -12
  50. package/segment_statistics.d.ts +7 -3
  51. package/send_rate.d.ts +5 -2
  52. package/sms_presets.d.ts +11 -5
  53. package/statistics_dashboards.d.ts +13 -6
  54. package/statistics_dashboards_widgets.d.ts +19 -9
  55. package/subscription_prompt.d.ts +9 -4
  56. package/tags.d.ts +13 -6
  57. package/test_devices.d.ts +9 -4
  58. package/users.d.ts +7 -3
  59. package/vouchers.d.ts +15 -7
  60. package/whatsapp.d.ts +9 -4
  61. package/whatsapp_presets.d.ts +5 -2
@@ -1,3 +1,4 @@
1
+ import { RpcMethod } from './commonTypes';
1
2
  export type __restrictionValue_collection_internal = {
2
3
  f1: string;
3
4
  f2: Date;
@@ -972,118 +973,229 @@ export type __restrictionValue_crud_service_internal = {
972
973
  f2: Date;
973
974
  f3: {};
974
975
  };
976
+ export type RestrictionValuesCrudService_Create = RpcMethod<CreateRequest, CreateResponse>;
977
+ export type RestrictionValuesCrudService_CreateMany = RpcMethod<CreateManyRequest, CreateManyResponse>;
978
+ export type RestrictionValuesCrudService_Get = RpcMethod<GetRequest, GetResponse>;
979
+ export type RestrictionValuesCrudService_Delete = RpcMethod<DeleteRequest, {}>;
980
+ export type RestrictionValuesCrudService_DeleteMany = RpcMethod<DeleteManyRequest, DeleteManyResponse>;
981
+ export type RestrictionValuesCrudService_Count = RpcMethod<CountRequest, CountResponse>;
982
+ export type RestrictionValuesCrudService_GetPage = RpcMethod<GetPageRequest, GetPageResponse>;
983
+ export type RestrictionValuesCrudService_List = RpcMethod<ListRequest, ListResponse>;
984
+ export type RestrictionValuesCrudService_Paginate = RpcMethod<PaginateRequest, PaginateResponse>;
985
+ export type RestrictionValuesCrudService_UpdateIsLocked = RpcMethod<UpdateIsLockedRequest, {}>;
986
+ export type RestrictionValuesCrudService_UpdateMaxCampaigns = RpcMethod<UpdateMaxCampaignsRequest, {}>;
987
+ export type RestrictionValuesCrudService_UpdateMaxDeeplinks = RpcMethod<UpdateMaxDeeplinksRequest, {}>;
988
+ export type RestrictionValuesCrudService_UpdateMaxApplicationGroups = RpcMethod<UpdateMaxApplicationGroupsRequest, {}>;
989
+ export type RestrictionValuesCrudService_UpdateMaxApps = RpcMethod<UpdateMaxAppsRequest, {}>;
990
+ export type RestrictionValuesCrudService_UpdateMaxTags = RpcMethod<UpdateMaxTagsRequest, {}>;
991
+ export type RestrictionValuesCrudService_UpdateMaxGeozones = RpcMethod<UpdateMaxGeozonesRequest, {}>;
992
+ export type RestrictionValuesCrudService_UpdateMaxDevices = RpcMethod<UpdateMaxDevicesRequest, {}>;
993
+ export type RestrictionValuesCrudService_UpdateMaxUsers = RpcMethod<UpdateMaxUsersRequest, {}>;
994
+ export type RestrictionValuesCrudService_UpdateMaxApiTokens = RpcMethod<UpdateMaxApiTokensRequest, {}>;
995
+ export type RestrictionValuesCrudService_UpdateMaxPresets = RpcMethod<UpdateMaxPresetsRequest, {}>;
996
+ export type RestrictionValuesCrudService_UpdateMaxTestDevices = RpcMethod<UpdateMaxTestDevicesRequest, {}>;
997
+ export type RestrictionValuesCrudService_UpdateMaxGeozoneRange = RpcMethod<UpdateMaxGeozoneRangeRequest, {}>;
998
+ export type RestrictionValuesCrudService_UpdateMaxRssFeeds = RpcMethod<UpdateMaxRssFeedsRequest, {}>;
999
+ export type RestrictionValuesCrudService_UpdateMaxIOSCategories = RpcMethod<UpdateMaxIOSCategoriesRequest, {}>;
1000
+ export type RestrictionValuesCrudService_UpdateMaxTwitterFeeds = RpcMethod<UpdateMaxTwitterFeedsRequest, {}>;
1001
+ export type RestrictionValuesCrudService_UpdateMaxInapps = RpcMethod<UpdateMaxInappsRequest, {}>;
1002
+ export type RestrictionValuesCrudService_UpdateMaxEvents = RpcMethod<UpdateMaxEventsRequest, {}>;
1003
+ export type RestrictionValuesCrudService_UpdateMaxCreateMessage = RpcMethod<UpdateMaxCreateMessageRequest, {}>;
1004
+ export type RestrictionValuesCrudService_UpdateMaxRichmedia = RpcMethod<UpdateMaxRichmediaRequest, {}>;
1005
+ export type RestrictionValuesCrudService_UpdateMaxPreparedFilters = RpcMethod<UpdateMaxPreparedFiltersRequest, {}>;
1006
+ export type RestrictionValuesCrudService_UpdateMaxFilters = RpcMethod<UpdateMaxFiltersRequest, {}>;
1007
+ export type RestrictionValuesCrudService_UpdateDevicesInactivityLimit = RpcMethod<UpdateDevicesInactivityLimitRequest, {}>;
1008
+ export type RestrictionValuesCrudService_UpdateAllowApi = RpcMethod<UpdateAllowApiRequest, {}>;
1009
+ export type RestrictionValuesCrudService_UpdateAllowStatsAccess = RpcMethod<UpdateAllowStatsAccessRequest, {}>;
1010
+ export type RestrictionValuesCrudService_UpdateAllowApiStatsAccess = RpcMethod<UpdateAllowApiStatsAccessRequest, {}>;
1011
+ export type RestrictionValuesCrudService_UpdateAllowGeozoneApi = RpcMethod<UpdateAllowGeozoneApiRequest, {}>;
1012
+ export type RestrictionValuesCrudService_UpdateAllowABTests = RpcMethod<UpdateAllowABTestsRequest, {}>;
1013
+ export type RestrictionValuesCrudService_UpdateAllowBackup = RpcMethod<UpdateAllowBackupRequest, {}>;
1014
+ export type RestrictionValuesCrudService_UpdateAllowApplicationApi = RpcMethod<UpdateAllowApplicationApiRequest, {}>;
1015
+ export type RestrictionValuesCrudService_UpdateAllowRemotePage = RpcMethod<UpdateAllowRemotePageRequest, {}>;
1016
+ export type RestrictionValuesCrudService_UpdateAllowScheduling = RpcMethod<UpdateAllowSchedulingRequest, {}>;
1017
+ export type RestrictionValuesCrudService_UpdateAllowCustomData = RpcMethod<UpdateAllowCustomDataRequest, {}>;
1018
+ export type RestrictionValuesCrudService_UpdateAllowMultiLanguage = RpcMethod<UpdateAllowMultiLanguageRequest, {}>;
1019
+ export type RestrictionValuesCrudService_UpdateAllowAutoConfig = RpcMethod<UpdateAllowAutoConfigRequest, {}>;
1020
+ export type RestrictionValuesCrudService_UpdateAllowCsvMessage = RpcMethod<UpdateAllowCsvMessageRequest, {}>;
1021
+ export type RestrictionValuesCrudService_UpdateAllowCampaignApi = RpcMethod<UpdateAllowCampaignApiRequest, {}>;
1022
+ export type RestrictionValuesCrudService_UpdateAllowPushHistoryApi = RpcMethod<UpdateAllowPushHistoryApiRequest, {}>;
1023
+ export type RestrictionValuesCrudService_UpdateAllowTagsApi = RpcMethod<UpdateAllowTagsApiRequest, {}>;
1024
+ export type RestrictionValuesCrudService_UpdateAllowPushByUser = RpcMethod<UpdateAllowPushByUserRequest, {}>;
1025
+ export type RestrictionValuesCrudService_UpdateAllowFilterApi = RpcMethod<UpdateAllowFilterApiRequest, {}>;
1026
+ export type RestrictionValuesCrudService_UpdateAllowTwoFactorAuth = RpcMethod<UpdateAllowTwoFactorAuthRequest, {}>;
1027
+ export type RestrictionValuesCrudService_UpdateAllowBroadcastMessageSegmentation = RpcMethod<UpdateAllowBroadcastMessageSegmentationRequest, {}>;
1028
+ export type RestrictionValuesCrudService_UpdateAllowPushOnEvent = RpcMethod<UpdateAllowPushOnEventRequest, {}>;
1029
+ export type RestrictionValuesCrudService_UpdateAllowCompileFilter = RpcMethod<UpdateAllowCompileFilterRequest, {}>;
1030
+ export type RestrictionValuesCrudService_UpdateMinSendRate = RpcMethod<UpdateMinSendRateRequest, {}>;
1031
+ export type RestrictionValuesCrudService_UpdateMaxSendRate = RpcMethod<UpdateMaxSendRateRequest, {}>;
1032
+ export type RestrictionValuesCrudService_UpdateAllowSendToGeozone = RpcMethod<UpdateAllowSendToGeozoneRequest, {}>;
1033
+ export type RestrictionValuesCrudService_UpdateAllowUseIosNewsstand = RpcMethod<UpdateAllowUseIosNewsstandRequest, {}>;
1034
+ export type RestrictionValuesCrudService_UpdateAllowGetUsersDetails = RpcMethod<UpdateAllowGetUsersDetailsRequest, {}>;
1035
+ export type RestrictionValuesCrudService_UpdateAllowGoalTracking = RpcMethod<UpdateAllowGoalTrackingRequest, {}>;
1036
+ export type RestrictionValuesCrudService_UpdateAllowIePlatformUsage = RpcMethod<UpdateAllowIePlatformUsageRequest, {}>;
1037
+ export type RestrictionValuesCrudService_UpdateAllowInbox = RpcMethod<UpdateAllowInboxRequest, {}>;
1038
+ export type RestrictionValuesCrudService_UpdateMaxEmailTemplates = RpcMethod<UpdateMaxEmailTemplatesRequest, {}>;
1039
+ export type RestrictionValuesCrudService_UpdateMaxUserSpecificTags = RpcMethod<UpdateMaxUserSpecificTagsRequest, {}>;
1040
+ export type RestrictionValuesCrudService_UpdateAllowGdpr = RpcMethod<UpdateAllowGdprRequest, {}>;
1041
+ export type RestrictionValuesCrudService_UpdateMaxVerifyingEmails = RpcMethod<UpdateMaxVerifyingEmailsRequest, {}>;
1042
+ export type RestrictionValuesCrudService_UpdateMaxVerifyingDomains = RpcMethod<UpdateMaxVerifyingDomainsRequest, {}>;
1043
+ export type RestrictionValuesCrudService_UpdateAllowSendExternalStats = RpcMethod<UpdateAllowSendExternalStatsRequest, {}>;
1044
+ export type RestrictionValuesCrudService_UpdateAllowCustomRssPollingInterval = RpcMethod<UpdateAllowCustomRssPollingIntervalRequest, {}>;
1045
+ export type RestrictionValuesCrudService_UpdateAllowMetadata = RpcMethod<UpdateAllowMetadataRequest, {}>;
1046
+ export type RestrictionValuesCrudService_UpdateMaxPushOnEventDelayInDays = RpcMethod<UpdateMaxPushOnEventDelayInDaysRequest, {}>;
1047
+ export type RestrictionValuesCrudService_UpdateAllowEventStatisticsApi = RpcMethod<UpdateAllowEventStatisticsApiRequest, {}>;
1048
+ export type RestrictionValuesCrudService_UpdateAllowTagNotSetFilter = RpcMethod<UpdateAllowTagNotSetFilterRequest, {}>;
1049
+ export type RestrictionValuesCrudService_UpdateAllowDebugMode = RpcMethod<UpdateAllowDebugModeRequest, {}>;
1050
+ export type RestrictionValuesCrudService_UpdateAllowFbMessenger = RpcMethod<UpdateAllowFbMessengerRequest, {}>;
1051
+ export type RestrictionValuesCrudService_UpdateAllowTrackUninstalls = RpcMethod<UpdateAllowTrackUninstallsRequest, {}>;
1052
+ export type RestrictionValuesCrudService_UpdateEmailRateCounterAggregatePeriod = RpcMethod<UpdateEmailRateCounterAggregatePeriodRequest, {}>;
1053
+ export type RestrictionValuesCrudService_UpdateEmailBounceRateLimit = RpcMethod<UpdateEmailBounceRateLimitRequest, {}>;
1054
+ export type RestrictionValuesCrudService_UpdateEmailComplaintRateLimit = RpcMethod<UpdateEmailComplaintRateLimitRequest, {}>;
1055
+ export type RestrictionValuesCrudService_UpdateAllowFrequencyCapping = RpcMethod<UpdateAllowFrequencyCappingRequest, {}>;
1056
+ export type RestrictionValuesCrudService_UpdateMaxUsersPerDevice = RpcMethod<UpdateMaxUsersPerDeviceRequest, {}>;
1057
+ export type RestrictionValuesCrudService_UpdateEmailsFreeLimit = RpcMethod<UpdateEmailsFreeLimitRequest, {}>;
1058
+ export type RestrictionValuesCrudService_UpdateEmailsLimited = RpcMethod<UpdateEmailsLimitedRequest, {}>;
1059
+ export type RestrictionValuesCrudService_UpdateAllowContentTemplates = RpcMethod<UpdateAllowContentTemplatesRequest, {}>;
1060
+ export type RestrictionValuesCrudService_UpdateAllowBaiduAndroidPlatformUsage = RpcMethod<UpdateAllowBaiduAndroidPlatformUsageRequest, {}>;
1061
+ export type RestrictionValuesCrudService_UpdateMaxInboxTtlDays = RpcMethod<UpdateMaxInboxTtlDaysRequest, {}>;
1062
+ export type RestrictionValuesCrudService_UpdateMessageHistoryStorePeriod = RpcMethod<UpdateMessageHistoryStorePeriodRequest, {}>;
1063
+ export type RestrictionValuesCrudService_UpdateAllowApiGetMessageLog = RpcMethod<UpdateAllowApiGetMessageLogRequest, {}>;
1064
+ export type RestrictionValuesCrudService_UpdateDetailActionHistoryStorePeriod = RpcMethod<UpdateDetailActionHistoryStorePeriodRequest, {}>;
1065
+ export type RestrictionValuesCrudService_UpdateAllowShowDeliveryStatistics = RpcMethod<UpdateAllowShowDeliveryStatisticsRequest, {}>;
1066
+ export type RestrictionValuesCrudService_UpdateAllowRFMSegments = RpcMethod<UpdateAllowRFMSegmentsRequest, {}>;
1067
+ export type RestrictionValuesCrudService_UpdateAllowBestTimeToSend = RpcMethod<UpdateAllowBestTimeToSendRequest, {}>;
1068
+ export type RestrictionValuesCrudService_UpdateAllowEventSegmentation = RpcMethod<UpdateAllowEventSegmentationRequest, {}>;
1069
+ export type RestrictionValuesCrudService_UpdateAllowSegmentsGroups = RpcMethod<UpdateAllowSegmentsGroupsRequest, {}>;
1070
+ export type RestrictionValuesCrudService_UpdateAllowCjSMS = RpcMethod<UpdateAllowCjSMSRequest, {}>;
1071
+ export type RestrictionValuesCrudService_UpdateAllowCjDynamicSetTagsInUpdateProfile = RpcMethod<UpdateAllowCjDynamicSetTagsInUpdateProfileRequest, {}>;
1072
+ export type RestrictionValuesCrudService_UpdateAllowCjAddBranchesInWaitForTrigger = RpcMethod<UpdateAllowCjAddBranchesInWaitForTriggerRequest, {}>;
1073
+ export type RestrictionValuesCrudService_UpdateAllowEventsFunnel = RpcMethod<UpdateAllowEventsFunnelRequest, {}>;
1074
+ export type RestrictionValuesCrudService_UpdateAllowChannelsSection = RpcMethod<UpdateAllowChannelsSectionRequest, {}>;
1075
+ export type RestrictionValuesCrudService_UpdateAllowCjEmailBcc = RpcMethod<UpdateAllowCjEmailBccRequest, {}>;
1076
+ export type RestrictionValuesCrudService_UpdateEmailFileStorePeriod = RpcMethod<UpdateEmailFileStorePeriodRequest, {}>;
1077
+ export type RestrictionValuesCrudService_UpdateAllowWhatsApp = RpcMethod<UpdateAllowWhatsAppRequest, {}>;
1078
+ export type RestrictionValuesCrudService_UpdateAllowCjAlternativeGoalsStats = RpcMethod<UpdateAllowCjAlternativeGoalsStatsRequest, {}>;
1079
+ export type RestrictionValuesCrudService_UpdateAllowCjListenUserIdChanged = RpcMethod<UpdateAllowCjListenUserIdChangedRequest, {}>;
1080
+ export type RestrictionValuesCrudService_UpdateAllowLine = RpcMethod<UpdateAllowLineRequest, {}>;
1081
+ export type RestrictionValuesCrudService_UpdateAllowPostEventInApp = RpcMethod<UpdateAllowPostEventInAppRequest, {}>;
1082
+ export type RestrictionValuesCrudService_UpdateAllowAIAssistant = RpcMethod<UpdateAllowAIAssistantRequest, {}>;
1083
+ export type RestrictionValuesCrudService_UpdateAllowKeepUserWithoutDevice = RpcMethod<UpdateAllowKeepUserWithoutDeviceRequest, {}>;
1084
+ export type RestrictionValuesCrudService_UpdateAllowCJSplitterDeviceCheck = RpcMethod<UpdateAllowCJSplitterDeviceCheckRequest, {}>;
1085
+ export type RestrictionValuesCrudService_UpdateAllowTagsAutoCreation = RpcMethod<UpdateAllowTagsAutoCreationRequest, {}>;
1086
+ export type RestrictionValuesCrudService_UpdateAllowAIWalletBilling = RpcMethod<UpdateAllowAIWalletBillingRequest, {}>;
975
1087
  export interface RestrictionValuesCrudService {
976
- Create(request: CreateRequest): Promise<CreateResponse>;
977
- CreateMany(request: CreateManyRequest): Promise<CreateManyResponse>;
978
- Get(request: GetRequest): Promise<GetResponse>;
979
- Delete(request: DeleteRequest): Promise<{}>;
980
- DeleteMany(request: DeleteManyRequest): Promise<DeleteManyResponse>;
981
- Count(request: CountRequest): Promise<CountResponse>;
982
- GetPage(request: GetPageRequest): Promise<GetPageResponse>;
983
- List(request: ListRequest): Promise<ListResponse>;
984
- Paginate(request: PaginateRequest): Promise<PaginateResponse>;
985
- UpdateIsLocked(request: UpdateIsLockedRequest): Promise<{}>;
986
- UpdateMaxCampaigns(request: UpdateMaxCampaignsRequest): Promise<{}>;
987
- UpdateMaxDeeplinks(request: UpdateMaxDeeplinksRequest): Promise<{}>;
988
- UpdateMaxApplicationGroups(request: UpdateMaxApplicationGroupsRequest): Promise<{}>;
989
- UpdateMaxApps(request: UpdateMaxAppsRequest): Promise<{}>;
990
- UpdateMaxTags(request: UpdateMaxTagsRequest): Promise<{}>;
991
- UpdateMaxGeozones(request: UpdateMaxGeozonesRequest): Promise<{}>;
992
- UpdateMaxDevices(request: UpdateMaxDevicesRequest): Promise<{}>;
993
- UpdateMaxUsers(request: UpdateMaxUsersRequest): Promise<{}>;
994
- UpdateMaxApiTokens(request: UpdateMaxApiTokensRequest): Promise<{}>;
995
- UpdateMaxPresets(request: UpdateMaxPresetsRequest): Promise<{}>;
996
- UpdateMaxTestDevices(request: UpdateMaxTestDevicesRequest): Promise<{}>;
997
- UpdateMaxGeozoneRange(request: UpdateMaxGeozoneRangeRequest): Promise<{}>;
998
- UpdateMaxRssFeeds(request: UpdateMaxRssFeedsRequest): Promise<{}>;
999
- UpdateMaxIOSCategories(request: UpdateMaxIOSCategoriesRequest): Promise<{}>;
1000
- UpdateMaxTwitterFeeds(request: UpdateMaxTwitterFeedsRequest): Promise<{}>;
1001
- UpdateMaxInapps(request: UpdateMaxInappsRequest): Promise<{}>;
1002
- UpdateMaxEvents(request: UpdateMaxEventsRequest): Promise<{}>;
1003
- UpdateMaxCreateMessage(request: UpdateMaxCreateMessageRequest): Promise<{}>;
1004
- UpdateMaxRichmedia(request: UpdateMaxRichmediaRequest): Promise<{}>;
1005
- UpdateMaxPreparedFilters(request: UpdateMaxPreparedFiltersRequest): Promise<{}>;
1006
- UpdateMaxFilters(request: UpdateMaxFiltersRequest): Promise<{}>;
1007
- UpdateDevicesInactivityLimit(request: UpdateDevicesInactivityLimitRequest): Promise<{}>;
1008
- UpdateAllowApi(request: UpdateAllowApiRequest): Promise<{}>;
1009
- UpdateAllowStatsAccess(request: UpdateAllowStatsAccessRequest): Promise<{}>;
1010
- UpdateAllowApiStatsAccess(request: UpdateAllowApiStatsAccessRequest): Promise<{}>;
1011
- UpdateAllowGeozoneApi(request: UpdateAllowGeozoneApiRequest): Promise<{}>;
1012
- UpdateAllowABTests(request: UpdateAllowABTestsRequest): Promise<{}>;
1013
- UpdateAllowBackup(request: UpdateAllowBackupRequest): Promise<{}>;
1014
- UpdateAllowApplicationApi(request: UpdateAllowApplicationApiRequest): Promise<{}>;
1015
- UpdateAllowRemotePage(request: UpdateAllowRemotePageRequest): Promise<{}>;
1016
- UpdateAllowScheduling(request: UpdateAllowSchedulingRequest): Promise<{}>;
1017
- UpdateAllowCustomData(request: UpdateAllowCustomDataRequest): Promise<{}>;
1018
- UpdateAllowMultiLanguage(request: UpdateAllowMultiLanguageRequest): Promise<{}>;
1019
- UpdateAllowAutoConfig(request: UpdateAllowAutoConfigRequest): Promise<{}>;
1020
- UpdateAllowCsvMessage(request: UpdateAllowCsvMessageRequest): Promise<{}>;
1021
- UpdateAllowCampaignApi(request: UpdateAllowCampaignApiRequest): Promise<{}>;
1022
- UpdateAllowPushHistoryApi(request: UpdateAllowPushHistoryApiRequest): Promise<{}>;
1023
- UpdateAllowTagsApi(request: UpdateAllowTagsApiRequest): Promise<{}>;
1024
- UpdateAllowPushByUser(request: UpdateAllowPushByUserRequest): Promise<{}>;
1025
- UpdateAllowFilterApi(request: UpdateAllowFilterApiRequest): Promise<{}>;
1026
- UpdateAllowTwoFactorAuth(request: UpdateAllowTwoFactorAuthRequest): Promise<{}>;
1027
- UpdateAllowBroadcastMessageSegmentation(request: UpdateAllowBroadcastMessageSegmentationRequest): Promise<{}>;
1028
- UpdateAllowPushOnEvent(request: UpdateAllowPushOnEventRequest): Promise<{}>;
1029
- UpdateAllowCompileFilter(request: UpdateAllowCompileFilterRequest): Promise<{}>;
1030
- UpdateMinSendRate(request: UpdateMinSendRateRequest): Promise<{}>;
1031
- UpdateMaxSendRate(request: UpdateMaxSendRateRequest): Promise<{}>;
1032
- UpdateAllowSendToGeozone(request: UpdateAllowSendToGeozoneRequest): Promise<{}>;
1033
- UpdateAllowUseIosNewsstand(request: UpdateAllowUseIosNewsstandRequest): Promise<{}>;
1034
- UpdateAllowGetUsersDetails(request: UpdateAllowGetUsersDetailsRequest): Promise<{}>;
1035
- UpdateAllowGoalTracking(request: UpdateAllowGoalTrackingRequest): Promise<{}>;
1036
- UpdateAllowIePlatformUsage(request: UpdateAllowIePlatformUsageRequest): Promise<{}>;
1037
- UpdateAllowInbox(request: UpdateAllowInboxRequest): Promise<{}>;
1038
- UpdateMaxEmailTemplates(request: UpdateMaxEmailTemplatesRequest): Promise<{}>;
1039
- UpdateMaxUserSpecificTags(request: UpdateMaxUserSpecificTagsRequest): Promise<{}>;
1040
- UpdateAllowGdpr(request: UpdateAllowGdprRequest): Promise<{}>;
1041
- UpdateMaxVerifyingEmails(request: UpdateMaxVerifyingEmailsRequest): Promise<{}>;
1042
- UpdateMaxVerifyingDomains(request: UpdateMaxVerifyingDomainsRequest): Promise<{}>;
1043
- UpdateAllowSendExternalStats(request: UpdateAllowSendExternalStatsRequest): Promise<{}>;
1044
- UpdateAllowCustomRssPollingInterval(request: UpdateAllowCustomRssPollingIntervalRequest): Promise<{}>;
1045
- UpdateAllowMetadata(request: UpdateAllowMetadataRequest): Promise<{}>;
1046
- UpdateMaxPushOnEventDelayInDays(request: UpdateMaxPushOnEventDelayInDaysRequest): Promise<{}>;
1047
- UpdateAllowEventStatisticsApi(request: UpdateAllowEventStatisticsApiRequest): Promise<{}>;
1048
- UpdateAllowTagNotSetFilter(request: UpdateAllowTagNotSetFilterRequest): Promise<{}>;
1049
- UpdateAllowDebugMode(request: UpdateAllowDebugModeRequest): Promise<{}>;
1050
- UpdateAllowFbMessenger(request: UpdateAllowFbMessengerRequest): Promise<{}>;
1051
- UpdateAllowTrackUninstalls(request: UpdateAllowTrackUninstallsRequest): Promise<{}>;
1052
- UpdateEmailRateCounterAggregatePeriod(request: UpdateEmailRateCounterAggregatePeriodRequest): Promise<{}>;
1053
- UpdateEmailBounceRateLimit(request: UpdateEmailBounceRateLimitRequest): Promise<{}>;
1054
- UpdateEmailComplaintRateLimit(request: UpdateEmailComplaintRateLimitRequest): Promise<{}>;
1055
- UpdateAllowFrequencyCapping(request: UpdateAllowFrequencyCappingRequest): Promise<{}>;
1056
- UpdateMaxUsersPerDevice(request: UpdateMaxUsersPerDeviceRequest): Promise<{}>;
1057
- UpdateEmailsFreeLimit(request: UpdateEmailsFreeLimitRequest): Promise<{}>;
1058
- UpdateEmailsLimited(request: UpdateEmailsLimitedRequest): Promise<{}>;
1059
- UpdateAllowContentTemplates(request: UpdateAllowContentTemplatesRequest): Promise<{}>;
1060
- UpdateAllowBaiduAndroidPlatformUsage(request: UpdateAllowBaiduAndroidPlatformUsageRequest): Promise<{}>;
1061
- UpdateMaxInboxTtlDays(request: UpdateMaxInboxTtlDaysRequest): Promise<{}>;
1062
- UpdateMessageHistoryStorePeriod(request: UpdateMessageHistoryStorePeriodRequest): Promise<{}>;
1063
- UpdateAllowApiGetMessageLog(request: UpdateAllowApiGetMessageLogRequest): Promise<{}>;
1064
- UpdateDetailActionHistoryStorePeriod(request: UpdateDetailActionHistoryStorePeriodRequest): Promise<{}>;
1065
- UpdateAllowShowDeliveryStatistics(request: UpdateAllowShowDeliveryStatisticsRequest): Promise<{}>;
1066
- UpdateAllowRFMSegments(request: UpdateAllowRFMSegmentsRequest): Promise<{}>;
1067
- UpdateAllowBestTimeToSend(request: UpdateAllowBestTimeToSendRequest): Promise<{}>;
1068
- UpdateAllowEventSegmentation(request: UpdateAllowEventSegmentationRequest): Promise<{}>;
1069
- UpdateAllowSegmentsGroups(request: UpdateAllowSegmentsGroupsRequest): Promise<{}>;
1070
- UpdateAllowCjSMS(request: UpdateAllowCjSMSRequest): Promise<{}>;
1071
- UpdateAllowCjDynamicSetTagsInUpdateProfile(request: UpdateAllowCjDynamicSetTagsInUpdateProfileRequest): Promise<{}>;
1072
- UpdateAllowCjAddBranchesInWaitForTrigger(request: UpdateAllowCjAddBranchesInWaitForTriggerRequest): Promise<{}>;
1073
- UpdateAllowEventsFunnel(request: UpdateAllowEventsFunnelRequest): Promise<{}>;
1074
- UpdateAllowChannelsSection(request: UpdateAllowChannelsSectionRequest): Promise<{}>;
1075
- UpdateAllowCjEmailBcc(request: UpdateAllowCjEmailBccRequest): Promise<{}>;
1076
- UpdateEmailFileStorePeriod(request: UpdateEmailFileStorePeriodRequest): Promise<{}>;
1077
- UpdateAllowWhatsApp(request: UpdateAllowWhatsAppRequest): Promise<{}>;
1078
- UpdateAllowCjAlternativeGoalsStats(request: UpdateAllowCjAlternativeGoalsStatsRequest): Promise<{}>;
1079
- UpdateAllowCjListenUserIdChanged(request: UpdateAllowCjListenUserIdChangedRequest): Promise<{}>;
1080
- UpdateAllowLine(request: UpdateAllowLineRequest): Promise<{}>;
1081
- UpdateAllowPostEventInApp(request: UpdateAllowPostEventInAppRequest): Promise<{}>;
1082
- UpdateAllowAIAssistant(request: UpdateAllowAIAssistantRequest): Promise<{}>;
1083
- UpdateAllowKeepUserWithoutDevice(request: UpdateAllowKeepUserWithoutDeviceRequest): Promise<{}>;
1084
- UpdateAllowCJSplitterDeviceCheck(request: UpdateAllowCJSplitterDeviceCheckRequest): Promise<{}>;
1085
- UpdateAllowTagsAutoCreation(request: UpdateAllowTagsAutoCreationRequest): Promise<{}>;
1086
- UpdateAllowAIWalletBilling(request: UpdateAllowAIWalletBillingRequest): Promise<{}>;
1088
+ Create: RestrictionValuesCrudService_Create;
1089
+ CreateMany: RestrictionValuesCrudService_CreateMany;
1090
+ Get: RestrictionValuesCrudService_Get;
1091
+ Delete: RestrictionValuesCrudService_Delete;
1092
+ DeleteMany: RestrictionValuesCrudService_DeleteMany;
1093
+ Count: RestrictionValuesCrudService_Count;
1094
+ GetPage: RestrictionValuesCrudService_GetPage;
1095
+ List: RestrictionValuesCrudService_List;
1096
+ Paginate: RestrictionValuesCrudService_Paginate;
1097
+ UpdateIsLocked: RestrictionValuesCrudService_UpdateIsLocked;
1098
+ UpdateMaxCampaigns: RestrictionValuesCrudService_UpdateMaxCampaigns;
1099
+ UpdateMaxDeeplinks: RestrictionValuesCrudService_UpdateMaxDeeplinks;
1100
+ UpdateMaxApplicationGroups: RestrictionValuesCrudService_UpdateMaxApplicationGroups;
1101
+ UpdateMaxApps: RestrictionValuesCrudService_UpdateMaxApps;
1102
+ UpdateMaxTags: RestrictionValuesCrudService_UpdateMaxTags;
1103
+ UpdateMaxGeozones: RestrictionValuesCrudService_UpdateMaxGeozones;
1104
+ UpdateMaxDevices: RestrictionValuesCrudService_UpdateMaxDevices;
1105
+ UpdateMaxUsers: RestrictionValuesCrudService_UpdateMaxUsers;
1106
+ UpdateMaxApiTokens: RestrictionValuesCrudService_UpdateMaxApiTokens;
1107
+ UpdateMaxPresets: RestrictionValuesCrudService_UpdateMaxPresets;
1108
+ UpdateMaxTestDevices: RestrictionValuesCrudService_UpdateMaxTestDevices;
1109
+ UpdateMaxGeozoneRange: RestrictionValuesCrudService_UpdateMaxGeozoneRange;
1110
+ UpdateMaxRssFeeds: RestrictionValuesCrudService_UpdateMaxRssFeeds;
1111
+ UpdateMaxIOSCategories: RestrictionValuesCrudService_UpdateMaxIOSCategories;
1112
+ UpdateMaxTwitterFeeds: RestrictionValuesCrudService_UpdateMaxTwitterFeeds;
1113
+ UpdateMaxInapps: RestrictionValuesCrudService_UpdateMaxInapps;
1114
+ UpdateMaxEvents: RestrictionValuesCrudService_UpdateMaxEvents;
1115
+ UpdateMaxCreateMessage: RestrictionValuesCrudService_UpdateMaxCreateMessage;
1116
+ UpdateMaxRichmedia: RestrictionValuesCrudService_UpdateMaxRichmedia;
1117
+ UpdateMaxPreparedFilters: RestrictionValuesCrudService_UpdateMaxPreparedFilters;
1118
+ UpdateMaxFilters: RestrictionValuesCrudService_UpdateMaxFilters;
1119
+ UpdateDevicesInactivityLimit: RestrictionValuesCrudService_UpdateDevicesInactivityLimit;
1120
+ UpdateAllowApi: RestrictionValuesCrudService_UpdateAllowApi;
1121
+ UpdateAllowStatsAccess: RestrictionValuesCrudService_UpdateAllowStatsAccess;
1122
+ UpdateAllowApiStatsAccess: RestrictionValuesCrudService_UpdateAllowApiStatsAccess;
1123
+ UpdateAllowGeozoneApi: RestrictionValuesCrudService_UpdateAllowGeozoneApi;
1124
+ UpdateAllowABTests: RestrictionValuesCrudService_UpdateAllowABTests;
1125
+ UpdateAllowBackup: RestrictionValuesCrudService_UpdateAllowBackup;
1126
+ UpdateAllowApplicationApi: RestrictionValuesCrudService_UpdateAllowApplicationApi;
1127
+ UpdateAllowRemotePage: RestrictionValuesCrudService_UpdateAllowRemotePage;
1128
+ UpdateAllowScheduling: RestrictionValuesCrudService_UpdateAllowScheduling;
1129
+ UpdateAllowCustomData: RestrictionValuesCrudService_UpdateAllowCustomData;
1130
+ UpdateAllowMultiLanguage: RestrictionValuesCrudService_UpdateAllowMultiLanguage;
1131
+ UpdateAllowAutoConfig: RestrictionValuesCrudService_UpdateAllowAutoConfig;
1132
+ UpdateAllowCsvMessage: RestrictionValuesCrudService_UpdateAllowCsvMessage;
1133
+ UpdateAllowCampaignApi: RestrictionValuesCrudService_UpdateAllowCampaignApi;
1134
+ UpdateAllowPushHistoryApi: RestrictionValuesCrudService_UpdateAllowPushHistoryApi;
1135
+ UpdateAllowTagsApi: RestrictionValuesCrudService_UpdateAllowTagsApi;
1136
+ UpdateAllowPushByUser: RestrictionValuesCrudService_UpdateAllowPushByUser;
1137
+ UpdateAllowFilterApi: RestrictionValuesCrudService_UpdateAllowFilterApi;
1138
+ UpdateAllowTwoFactorAuth: RestrictionValuesCrudService_UpdateAllowTwoFactorAuth;
1139
+ UpdateAllowBroadcastMessageSegmentation: RestrictionValuesCrudService_UpdateAllowBroadcastMessageSegmentation;
1140
+ UpdateAllowPushOnEvent: RestrictionValuesCrudService_UpdateAllowPushOnEvent;
1141
+ UpdateAllowCompileFilter: RestrictionValuesCrudService_UpdateAllowCompileFilter;
1142
+ UpdateMinSendRate: RestrictionValuesCrudService_UpdateMinSendRate;
1143
+ UpdateMaxSendRate: RestrictionValuesCrudService_UpdateMaxSendRate;
1144
+ UpdateAllowSendToGeozone: RestrictionValuesCrudService_UpdateAllowSendToGeozone;
1145
+ UpdateAllowUseIosNewsstand: RestrictionValuesCrudService_UpdateAllowUseIosNewsstand;
1146
+ UpdateAllowGetUsersDetails: RestrictionValuesCrudService_UpdateAllowGetUsersDetails;
1147
+ UpdateAllowGoalTracking: RestrictionValuesCrudService_UpdateAllowGoalTracking;
1148
+ UpdateAllowIePlatformUsage: RestrictionValuesCrudService_UpdateAllowIePlatformUsage;
1149
+ UpdateAllowInbox: RestrictionValuesCrudService_UpdateAllowInbox;
1150
+ UpdateMaxEmailTemplates: RestrictionValuesCrudService_UpdateMaxEmailTemplates;
1151
+ UpdateMaxUserSpecificTags: RestrictionValuesCrudService_UpdateMaxUserSpecificTags;
1152
+ UpdateAllowGdpr: RestrictionValuesCrudService_UpdateAllowGdpr;
1153
+ UpdateMaxVerifyingEmails: RestrictionValuesCrudService_UpdateMaxVerifyingEmails;
1154
+ UpdateMaxVerifyingDomains: RestrictionValuesCrudService_UpdateMaxVerifyingDomains;
1155
+ UpdateAllowSendExternalStats: RestrictionValuesCrudService_UpdateAllowSendExternalStats;
1156
+ UpdateAllowCustomRssPollingInterval: RestrictionValuesCrudService_UpdateAllowCustomRssPollingInterval;
1157
+ UpdateAllowMetadata: RestrictionValuesCrudService_UpdateAllowMetadata;
1158
+ UpdateMaxPushOnEventDelayInDays: RestrictionValuesCrudService_UpdateMaxPushOnEventDelayInDays;
1159
+ UpdateAllowEventStatisticsApi: RestrictionValuesCrudService_UpdateAllowEventStatisticsApi;
1160
+ UpdateAllowTagNotSetFilter: RestrictionValuesCrudService_UpdateAllowTagNotSetFilter;
1161
+ UpdateAllowDebugMode: RestrictionValuesCrudService_UpdateAllowDebugMode;
1162
+ UpdateAllowFbMessenger: RestrictionValuesCrudService_UpdateAllowFbMessenger;
1163
+ UpdateAllowTrackUninstalls: RestrictionValuesCrudService_UpdateAllowTrackUninstalls;
1164
+ UpdateEmailRateCounterAggregatePeriod: RestrictionValuesCrudService_UpdateEmailRateCounterAggregatePeriod;
1165
+ UpdateEmailBounceRateLimit: RestrictionValuesCrudService_UpdateEmailBounceRateLimit;
1166
+ UpdateEmailComplaintRateLimit: RestrictionValuesCrudService_UpdateEmailComplaintRateLimit;
1167
+ UpdateAllowFrequencyCapping: RestrictionValuesCrudService_UpdateAllowFrequencyCapping;
1168
+ UpdateMaxUsersPerDevice: RestrictionValuesCrudService_UpdateMaxUsersPerDevice;
1169
+ UpdateEmailsFreeLimit: RestrictionValuesCrudService_UpdateEmailsFreeLimit;
1170
+ UpdateEmailsLimited: RestrictionValuesCrudService_UpdateEmailsLimited;
1171
+ UpdateAllowContentTemplates: RestrictionValuesCrudService_UpdateAllowContentTemplates;
1172
+ UpdateAllowBaiduAndroidPlatformUsage: RestrictionValuesCrudService_UpdateAllowBaiduAndroidPlatformUsage;
1173
+ UpdateMaxInboxTtlDays: RestrictionValuesCrudService_UpdateMaxInboxTtlDays;
1174
+ UpdateMessageHistoryStorePeriod: RestrictionValuesCrudService_UpdateMessageHistoryStorePeriod;
1175
+ UpdateAllowApiGetMessageLog: RestrictionValuesCrudService_UpdateAllowApiGetMessageLog;
1176
+ UpdateDetailActionHistoryStorePeriod: RestrictionValuesCrudService_UpdateDetailActionHistoryStorePeriod;
1177
+ UpdateAllowShowDeliveryStatistics: RestrictionValuesCrudService_UpdateAllowShowDeliveryStatistics;
1178
+ UpdateAllowRFMSegments: RestrictionValuesCrudService_UpdateAllowRFMSegments;
1179
+ UpdateAllowBestTimeToSend: RestrictionValuesCrudService_UpdateAllowBestTimeToSend;
1180
+ UpdateAllowEventSegmentation: RestrictionValuesCrudService_UpdateAllowEventSegmentation;
1181
+ UpdateAllowSegmentsGroups: RestrictionValuesCrudService_UpdateAllowSegmentsGroups;
1182
+ UpdateAllowCjSMS: RestrictionValuesCrudService_UpdateAllowCjSMS;
1183
+ UpdateAllowCjDynamicSetTagsInUpdateProfile: RestrictionValuesCrudService_UpdateAllowCjDynamicSetTagsInUpdateProfile;
1184
+ UpdateAllowCjAddBranchesInWaitForTrigger: RestrictionValuesCrudService_UpdateAllowCjAddBranchesInWaitForTrigger;
1185
+ UpdateAllowEventsFunnel: RestrictionValuesCrudService_UpdateAllowEventsFunnel;
1186
+ UpdateAllowChannelsSection: RestrictionValuesCrudService_UpdateAllowChannelsSection;
1187
+ UpdateAllowCjEmailBcc: RestrictionValuesCrudService_UpdateAllowCjEmailBcc;
1188
+ UpdateEmailFileStorePeriod: RestrictionValuesCrudService_UpdateEmailFileStorePeriod;
1189
+ UpdateAllowWhatsApp: RestrictionValuesCrudService_UpdateAllowWhatsApp;
1190
+ UpdateAllowCjAlternativeGoalsStats: RestrictionValuesCrudService_UpdateAllowCjAlternativeGoalsStats;
1191
+ UpdateAllowCjListenUserIdChanged: RestrictionValuesCrudService_UpdateAllowCjListenUserIdChanged;
1192
+ UpdateAllowLine: RestrictionValuesCrudService_UpdateAllowLine;
1193
+ UpdateAllowPostEventInApp: RestrictionValuesCrudService_UpdateAllowPostEventInApp;
1194
+ UpdateAllowAIAssistant: RestrictionValuesCrudService_UpdateAllowAIAssistant;
1195
+ UpdateAllowKeepUserWithoutDevice: RestrictionValuesCrudService_UpdateAllowKeepUserWithoutDevice;
1196
+ UpdateAllowCJSplitterDeviceCheck: RestrictionValuesCrudService_UpdateAllowCJSplitterDeviceCheck;
1197
+ UpdateAllowTagsAutoCreation: RestrictionValuesCrudService_UpdateAllowTagsAutoCreation;
1198
+ UpdateAllowAIWalletBilling: RestrictionValuesCrudService_UpdateAllowAIWalletBilling;
1087
1199
  }
1088
1200
  export type CreateRequest = {
1089
1201
  IsLocked?: boolean;
@@ -1,3 +1,4 @@
1
+ import { RpcMethodV3 } from './commonTypes';
1
2
  import { Common_FailedPreconditions as pushwoosh_rpc_errors_v3_Common_FailedPreconditions } from './pushwoosh_rpc_errors_v3';
2
3
  import { FilterExpression as pushwoosh_objects_filters_v1_FilterExpression } from './pushwoosh_objects_filters_v1';
3
4
  export type SegmentsService_Create_FieldViolations = {
@@ -95,53 +96,43 @@ export type SegmentsService_Create_FailedPreconditions = {
95
96
  type: 'HIGH_SPEED_SEGMENTS_LIMIT_REACHED';
96
97
  description: string;
97
98
  };
98
- export type SegmentsService_List = ((request: ListRequest) => Promise<ListResponse>) & {
99
- Error(e: unknown): {
100
- error: unknown;
101
- failedPreconditions?: undefined;
102
- } | {
103
- error?: undefined;
104
- failedPreconditions?: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
105
- };
106
- };
107
- export type SegmentsService_Get = ((request: GetRequest) => Promise<GetResponse>) & {
108
- Error(e: unknown): {
109
- error: unknown;
110
- failedPreconditions?: undefined;
111
- } | {
112
- error?: undefined;
113
- failedPreconditions?: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
114
- };
115
- };
116
- export type SegmentsService_Create = ((request: CreateRequest) => Promise<CreateResponse>) & {
117
- Error(e: unknown): {
118
- error: unknown;
119
- fieldViolations?: undefined;
120
- failedPreconditions?: undefined;
121
- } | {
122
- error?: undefined;
123
- fieldViolations?: SegmentsService_Create_FieldViolations[];
124
- failedPreconditions?: SegmentsService_Create_FailedPreconditions | pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
125
- };
126
- };
127
- export type SegmentsService_Update = ((request: UpdateRequest) => Promise<UpdateResponse>) & {
128
- Error(e: unknown): {
129
- error: unknown;
130
- failedPreconditions?: undefined;
131
- } | {
132
- error?: undefined;
133
- failedPreconditions?: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
134
- };
135
- };
136
- export type SegmentsService_Delete = ((request: DeleteRequest) => Promise<DeleteResponse>) & {
137
- Error(e: unknown): {
138
- error: unknown;
139
- failedPreconditions?: undefined;
140
- } | {
141
- error?: undefined;
142
- failedPreconditions?: SegmentsService_Delete_FailedPreconditions | pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
143
- };
144
- };
99
+ export type SegmentsService_List = RpcMethodV3<ListRequest, ListResponse, {
100
+ error: unknown;
101
+ failedPreconditions?: undefined;
102
+ } | {
103
+ error?: undefined;
104
+ failedPreconditions?: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
105
+ }>;
106
+ export type SegmentsService_Get = RpcMethodV3<GetRequest, GetResponse, {
107
+ error: unknown;
108
+ failedPreconditions?: undefined;
109
+ } | {
110
+ error?: undefined;
111
+ failedPreconditions?: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
112
+ }>;
113
+ export type SegmentsService_Create = RpcMethodV3<CreateRequest, CreateResponse, {
114
+ error: unknown;
115
+ fieldViolations?: undefined;
116
+ failedPreconditions?: undefined;
117
+ } | {
118
+ error?: undefined;
119
+ fieldViolations?: SegmentsService_Create_FieldViolations[];
120
+ failedPreconditions?: SegmentsService_Create_FailedPreconditions | pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
121
+ }>;
122
+ export type SegmentsService_Update = RpcMethodV3<UpdateRequest, UpdateResponse, {
123
+ error: unknown;
124
+ failedPreconditions?: undefined;
125
+ } | {
126
+ error?: undefined;
127
+ failedPreconditions?: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
128
+ }>;
129
+ export type SegmentsService_Delete = RpcMethodV3<DeleteRequest, DeleteResponse, {
130
+ error: unknown;
131
+ failedPreconditions?: undefined;
132
+ } | {
133
+ error?: undefined;
134
+ failedPreconditions?: SegmentsService_Delete_FailedPreconditions | pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
135
+ }>;
145
136
  export interface SegmentsService {
146
137
  List: SegmentsService_List;
147
138
  Get: SegmentsService_Get;
@@ -1,12 +1,21 @@
1
+ import { RpcMethod } from './commonTypes';
2
+ export type ReferralPartnerService_Get = RpcMethod<GetRequest, GetResponse>;
3
+ export type ReferralPartnerService_Create = RpcMethod<CreateRequest, CreateResponse>;
4
+ export type ReferralPartnerService_GetWithdrawalsHistory = RpcMethod<GetWithdrawalsHistoryRequest, GetWithdrawalsHistoryResponse>;
5
+ export type ReferralPartnerService_GetTotalStatistics = RpcMethod<GetTotalStatisticsRequest, GetTotalStatisticsResponse>;
6
+ export type ReferralPartnerService_UpdateWithdrawalInfo = RpcMethod<UpdateWithdrawalInfoRequest, UpdateWithdrawalInfoResponse>;
7
+ export type ReferralPartnerService_CreateWithdrawal = RpcMethod<CreateWithdrawalRequest, CreateWithdrawalResponse>;
8
+ export type ReferralPartnerService_GetWithdrawalAdditionalInfo = RpcMethod<GetWithdrawalAdditionalInfoRequest, GetWithdrawalAdditionalInfoResponse>;
9
+ export type ReferralPartnerService_GetCurrencies = RpcMethod<GetCurrenciesRequest, GetCurrenciesResponse>;
1
10
  export interface ReferralPartnerService {
2
- Get(request: GetRequest): Promise<GetResponse>;
3
- Create(request: CreateRequest): Promise<CreateResponse>;
4
- GetWithdrawalsHistory(request: GetWithdrawalsHistoryRequest): Promise<GetWithdrawalsHistoryResponse>;
5
- GetTotalStatistics(request: GetTotalStatisticsRequest): Promise<GetTotalStatisticsResponse>;
6
- UpdateWithdrawalInfo(request: UpdateWithdrawalInfoRequest): Promise<UpdateWithdrawalInfoResponse>;
7
- CreateWithdrawal(request: CreateWithdrawalRequest): Promise<CreateWithdrawalResponse>;
8
- GetWithdrawalAdditionalInfo(request: GetWithdrawalAdditionalInfoRequest): Promise<GetWithdrawalAdditionalInfoResponse>;
9
- GetCurrencies(request: GetCurrenciesRequest): Promise<GetCurrenciesResponse>;
11
+ Get: ReferralPartnerService_Get;
12
+ Create: ReferralPartnerService_Create;
13
+ GetWithdrawalsHistory: ReferralPartnerService_GetWithdrawalsHistory;
14
+ GetTotalStatistics: ReferralPartnerService_GetTotalStatistics;
15
+ UpdateWithdrawalInfo: ReferralPartnerService_UpdateWithdrawalInfo;
16
+ CreateWithdrawal: ReferralPartnerService_CreateWithdrawal;
17
+ GetWithdrawalAdditionalInfo: ReferralPartnerService_GetWithdrawalAdditionalInfo;
18
+ GetCurrencies: ReferralPartnerService_GetCurrencies;
10
19
  }
11
20
  export type GetRequest = {};
12
21
  export type GetResponse_Status = 'UNKNOWN' | 'ACTIVE' | 'BLOCKED';
package/restrictions.d.ts CHANGED
@@ -1,6 +1,8 @@
1
+ import { RpcMethod } from './commonTypes';
1
2
  import { RestrictionValue as pushwoosh_objects_restrictionValues_v1_RestrictionValue } from './pushwoosh_objects_restrictionValues_v1';
3
+ export type RestrictionsService_GetRestrictionValues = RpcMethod<GetRestrictionValuesRequest, GetRestrictionValuesResponse>;
2
4
  export interface RestrictionsService {
3
- GetRestrictionValues(request: GetRestrictionValuesRequest): Promise<GetRestrictionValuesResponse>;
5
+ GetRestrictionValues: RestrictionsService_GetRestrictionValues;
4
6
  }
5
7
  export type GetRestrictionValuesRequest = {};
6
8
  export type GetRestrictionValuesResponse = {
package/rich_medias.d.ts CHANGED
@@ -1,16 +1,29 @@
1
+ import { RpcMethod } from './commonTypes';
2
+ export type RichMediaService_Create = RpcMethod<CreateRequest, CreateResponse>;
3
+ export type RichMediaService_Clone = RpcMethod<CloneRequest, CloneResponse>;
4
+ export type RichMediaService_Delete = RpcMethod<DeleteRequest, DeleteResponse>;
5
+ export type RichMediaService_Get = RpcMethod<GetRequest, GetResponse>;
6
+ export type RichMediaService_GetBlockTemplate = RpcMethod<GetBlockTemplateRequest, GetBlockTemplateResponse>;
7
+ export type RichMediaService_SaveBlockTemplate = RpcMethod<SaveBlockTemplateRequest, SaveBlockTemplateResponse>;
8
+ export type RichMediaService_List = RpcMethod<ListRequest, ListResponse>;
9
+ export type RichMediaService_GetDetailedStatistics = RpcMethod<GetDetailedStatisticsRequest, GetDetailedStatisticsResponse>;
10
+ export type RichMediaService_GetDetailedActionStatistics = RpcMethod<GetDetailedActionStatisticsRequest, GetDetailedActionStatisticsResponse>;
11
+ export type RichMediaService_GetSendChannels = RpcMethod<GetSendChannelsRequest, GetSendChannelsResponse>;
12
+ export type RichMediaService_GetDevices = RpcMethod<GetDevicesRequest, GetDevicesResponse>;
13
+ export type RichMediaService_GetEvents = RpcMethod<GetEventsRequest, GetEventsResponse>;
1
14
  export interface RichMediaService {
2
- Create(request: CreateRequest): Promise<CreateResponse>;
3
- Clone(request: CloneRequest): Promise<CloneResponse>;
4
- Delete(request: DeleteRequest): Promise<DeleteResponse>;
5
- Get(request: GetRequest): Promise<GetResponse>;
6
- GetBlockTemplate(request: GetBlockTemplateRequest): Promise<GetBlockTemplateResponse>;
7
- SaveBlockTemplate(request: SaveBlockTemplateRequest): Promise<SaveBlockTemplateResponse>;
8
- List(request: ListRequest): Promise<ListResponse>;
9
- GetDetailedStatistics(request: GetDetailedStatisticsRequest): Promise<GetDetailedStatisticsResponse>;
10
- GetDetailedActionStatistics(request: GetDetailedActionStatisticsRequest): Promise<GetDetailedActionStatisticsResponse>;
11
- GetSendChannels(request: GetSendChannelsRequest): Promise<GetSendChannelsResponse>;
12
- GetDevices(request: GetDevicesRequest): Promise<GetDevicesResponse>;
13
- GetEvents(request: GetEventsRequest): Promise<GetEventsResponse>;
15
+ Create: RichMediaService_Create;
16
+ Clone: RichMediaService_Clone;
17
+ Delete: RichMediaService_Delete;
18
+ Get: RichMediaService_Get;
19
+ GetBlockTemplate: RichMediaService_GetBlockTemplate;
20
+ SaveBlockTemplate: RichMediaService_SaveBlockTemplate;
21
+ List: RichMediaService_List;
22
+ GetDetailedStatistics: RichMediaService_GetDetailedStatistics;
23
+ GetDetailedActionStatistics: RichMediaService_GetDetailedActionStatistics;
24
+ GetSendChannels: RichMediaService_GetSendChannels;
25
+ GetDevices: RichMediaService_GetDevices;
26
+ GetEvents: RichMediaService_GetEvents;
14
27
  }
15
28
  export type ActionType = 'ACTION_TYPE_UNSPECIFIED' | 'ELEMENT_CLICK' | 'FORM_SUBMIT' | 'OPEN' | 'CLOSE';
16
29
  export type RichMediaSendChannel = 'RichMediaSendChannel_UNDEFINED' | 'IN_APP' | 'CJ' | 'PUSH';
@@ -1,7 +1,11 @@
1
+ import { RpcMethod } from './commonTypes';
2
+ export type SegmentStatisticsService_Prepare = RpcMethod<PrepareRequest, PrepareResponse>;
3
+ export type SegmentStatisticsService_Status = RpcMethod<StatusRequest, StatusResponse>;
4
+ export type SegmentStatisticsService_GetSegmentSizeChanges = RpcMethod<GetSegmentSizeChangesRequest, GetSegmentSizeChangesResponse>;
1
5
  export interface SegmentStatisticsService {
2
- Prepare(request: PrepareRequest): Promise<PrepareResponse>;
3
- Status(request: StatusRequest): Promise<StatusResponse>;
4
- GetSegmentSizeChanges(request: GetSegmentSizeChangesRequest): Promise<GetSegmentSizeChangesResponse>;
6
+ Prepare: SegmentStatisticsService_Prepare;
7
+ Status: SegmentStatisticsService_Status;
8
+ GetSegmentSizeChanges: SegmentStatisticsService_GetSegmentSizeChanges;
5
9
  }
6
10
  export type PrepareRequest = {
7
11
  segments?: string[];
package/send_rate.d.ts CHANGED
@@ -1,6 +1,9 @@
1
+ import { RpcMethod } from './commonTypes';
2
+ export type SendRateService_Get = RpcMethod<GetSendRateRequest, GetSendRateResponse>;
3
+ export type SendRateService_Update = RpcMethod<UpdateSendRateRequest, UpdateSendRateResponse>;
1
4
  export interface SendRateService {
2
- Get(request: GetSendRateRequest): Promise<GetSendRateResponse>;
3
- Update(request: UpdateSendRateRequest): Promise<UpdateSendRateResponse>;
5
+ Get: SendRateService_Get;
6
+ Update: SendRateService_Update;
4
7
  }
5
8
  export type Info = {
6
9
  count: number;
package/sms_presets.d.ts CHANGED
@@ -1,9 +1,15 @@
1
+ import { RpcMethod } from './commonTypes';
2
+ export type smsPresetsService_List = RpcMethod<ListSmsPresetsRequest, ListSmsPresetsResponse>;
3
+ export type smsPresetsService_Get = RpcMethod<GetSmsPresetRequest, GetSmsPresetResponse>;
4
+ export type smsPresetsService_Create = RpcMethod<CreateSmsPresetRequest, CreateSmsPresetResponse>;
5
+ export type smsPresetsService_Update = RpcMethod<UpdateSmsPresetRequest, UpdateSmsPresetResponse>;
6
+ export type smsPresetsService_Delete = RpcMethod<DeleteSmsPresetRequest, DeleteSmsPresetResponse>;
1
7
  export interface smsPresetsService {
2
- List(request: ListSmsPresetsRequest): Promise<ListSmsPresetsResponse>;
3
- Get(request: GetSmsPresetRequest): Promise<GetSmsPresetResponse>;
4
- Create(request: CreateSmsPresetRequest): Promise<CreateSmsPresetResponse>;
5
- Update(request: UpdateSmsPresetRequest): Promise<UpdateSmsPresetResponse>;
6
- Delete(request: DeleteSmsPresetRequest): Promise<DeleteSmsPresetResponse>;
8
+ List: smsPresetsService_List;
9
+ Get: smsPresetsService_Get;
10
+ Create: smsPresetsService_Create;
11
+ Update: smsPresetsService_Update;
12
+ Delete: smsPresetsService_Delete;
7
13
  }
8
14
  export type ListSmsPresetsRequest_OrderBy = 'NAME' | 'CREATED' | 'UPDATED';
9
15
  export type ListSmsPresetsRequest_OrderDirection = 'ASC' | 'DESC';