@pushwoosh/rpc-v2-http-api-data 0.2.150 → 0.2.152

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.
package/data.js CHANGED
@@ -1599,6 +1599,36 @@ export const data = {
1599
1599
  "response": "pushwoosh.accounts.alerts.v1.DeleteResponse",
1600
1600
  "method": "delete",
1601
1601
  "path": "/api/v1/delete"
1602
+ },
1603
+ "Get": {
1604
+ "request": "pushwoosh.accounts.alerts.v1.GetRequest",
1605
+ "response": "pushwoosh.accounts.alerts.v1.GetResponse",
1606
+ "method": "get",
1607
+ "path": "/api/v1/get"
1608
+ },
1609
+ "ListGroup": {
1610
+ "request": "pushwoosh.accounts.alerts.v1.ListGroupRequest",
1611
+ "response": "pushwoosh.accounts.alerts.v1.ListGroupResponse",
1612
+ "method": "get",
1613
+ "path": "/api/v1/list-group"
1614
+ },
1615
+ "UpdateUnread": {
1616
+ "request": "pushwoosh.accounts.alerts.v1.UpdateUnreadRequest",
1617
+ "response": "pushwoosh.accounts.alerts.v1.UpdateUnreadResponse",
1618
+ "method": "put",
1619
+ "path": "/api/v1/update-unread"
1620
+ },
1621
+ "Recall": {
1622
+ "request": "pushwoosh.accounts.alerts.v1.RecallRequest",
1623
+ "response": "pushwoosh.accounts.alerts.v1.RecallResponse",
1624
+ "method": "post",
1625
+ "path": "/api/v1/recall"
1626
+ },
1627
+ "UpdateGroup": {
1628
+ "request": "pushwoosh.accounts.alerts.v1.UpdateGroupRequest",
1629
+ "response": "pushwoosh.accounts.alerts.v1.UpdateGroupResponse",
1630
+ "method": "put",
1631
+ "path": "/api/v1/update-group"
1602
1632
  }
1603
1633
  }
1604
1634
  },
@@ -1619,6 +1649,18 @@ export const data = {
1619
1649
  "actionLinkLabel": {
1620
1650
  "type": "string",
1621
1651
  "optional": true
1652
+ },
1653
+ "imageUrl": {
1654
+ "type": "string",
1655
+ "optional": true
1656
+ },
1657
+ "secondaryActionLink": {
1658
+ "type": "string",
1659
+ "optional": true
1660
+ },
1661
+ "secondaryActionLinkLabel": {
1662
+ "type": "string",
1663
+ "optional": true
1622
1664
  }
1623
1665
  }
1624
1666
  },
@@ -1644,7 +1686,8 @@ export const data = {
1644
1686
  "ALERT_TYPE_UNSPECIFIED",
1645
1687
  "ALERT_TYPE_BLOCKING",
1646
1688
  "ALERT_TYPE_DISMISSABLE",
1647
- "ALERT_TYPE_TOP_BANNER"
1689
+ "ALERT_TYPE_TOP_BANNER",
1690
+ "ALERT_TYPE_PRODUCT_UPDATE"
1648
1691
  ]
1649
1692
  },
1650
1693
  "pushwoosh.accounts.alerts.v1.AlertStatus": {
@@ -1704,6 +1747,13 @@ export const data = {
1704
1747
  },
1705
1748
  "accountId": {
1706
1749
  "type": "number"
1750
+ },
1751
+ "userId": {
1752
+ "type": "number"
1753
+ },
1754
+ "excludeTypes": {
1755
+ "type": "pushwoosh.accounts.alerts.v1.AlertType",
1756
+ "array": true
1707
1757
  }
1708
1758
  }
1709
1759
  },
@@ -1755,6 +1805,18 @@ export const data = {
1755
1805
  "actionLinkLabel": {
1756
1806
  "type": "string",
1757
1807
  "optional": true
1808
+ },
1809
+ "imageUrl": {
1810
+ "type": "string",
1811
+ "optional": true
1812
+ },
1813
+ "secondaryActionLink": {
1814
+ "type": "string",
1815
+ "optional": true
1816
+ },
1817
+ "secondaryActionLinkLabel": {
1818
+ "type": "string",
1819
+ "optional": true
1758
1820
  }
1759
1821
  }
1760
1822
  },
@@ -1809,6 +1871,13 @@ export const data = {
1809
1871
  "uniqueKey": {
1810
1872
  "type": "string",
1811
1873
  "optional": true
1874
+ },
1875
+ "accountIds": {
1876
+ "type": "number",
1877
+ "array": true
1878
+ },
1879
+ "allAccounts": {
1880
+ "type": "boolean"
1812
1881
  }
1813
1882
  }
1814
1883
  },
@@ -1829,6 +1898,9 @@ export const data = {
1829
1898
  "alerts": {
1830
1899
  "type": "pushwoosh.accounts.alerts.v1.UpdateStatusRequest.Alert",
1831
1900
  "array": true
1901
+ },
1902
+ "userId": {
1903
+ "type": "number"
1832
1904
  }
1833
1905
  }
1834
1906
  },
@@ -1838,7 +1910,226 @@ export const data = {
1838
1910
  },
1839
1911
  "pushwoosh.accounts.alerts.v1.SendResponse": {
1840
1912
  "type": "I",
1841
- "fields": {}
1913
+ "fields": {
1914
+ "groupUuid": {
1915
+ "type": "string"
1916
+ },
1917
+ "created": {
1918
+ "type": "number"
1919
+ }
1920
+ }
1921
+ },
1922
+ "pushwoosh.accounts.alerts.v1.UpdateUnreadRequest": {
1923
+ "type": "I",
1924
+ "fields": {
1925
+ "groupUuid": {
1926
+ "type": "string"
1927
+ },
1928
+ "title": {
1929
+ "type": "string",
1930
+ "optional": true
1931
+ },
1932
+ "content": {
1933
+ "type": "string",
1934
+ "optional": true
1935
+ },
1936
+ "actionLink": {
1937
+ "type": "string",
1938
+ "optional": true
1939
+ },
1940
+ "actionLinkLabel": {
1941
+ "type": "string",
1942
+ "optional": true
1943
+ },
1944
+ "severity": {
1945
+ "type": "pushwoosh.accounts.alerts.v1.AlertSeverity",
1946
+ "optional": true
1947
+ },
1948
+ "expiry": {
1949
+ "type": "Date",
1950
+ "optional": true
1951
+ },
1952
+ "imageUrl": {
1953
+ "type": "string",
1954
+ "optional": true
1955
+ },
1956
+ "secondaryActionLink": {
1957
+ "type": "string",
1958
+ "optional": true
1959
+ },
1960
+ "secondaryActionLinkLabel": {
1961
+ "type": "string",
1962
+ "optional": true
1963
+ }
1964
+ }
1965
+ },
1966
+ "pushwoosh.accounts.alerts.v1.UpdateUnreadResponse": {
1967
+ "type": "I",
1968
+ "fields": {
1969
+ "updated": {
1970
+ "type": "number"
1971
+ }
1972
+ }
1973
+ },
1974
+ "pushwoosh.accounts.alerts.v1.UpdateGroupRequest": {
1975
+ "type": "I",
1976
+ "fields": {
1977
+ "groupUuid": {
1978
+ "type": "string"
1979
+ },
1980
+ "title": {
1981
+ "type": "string",
1982
+ "optional": true
1983
+ },
1984
+ "content": {
1985
+ "type": "string",
1986
+ "optional": true
1987
+ },
1988
+ "actionLink": {
1989
+ "type": "string",
1990
+ "optional": true
1991
+ },
1992
+ "actionLinkLabel": {
1993
+ "type": "string",
1994
+ "optional": true
1995
+ },
1996
+ "severity": {
1997
+ "type": "pushwoosh.accounts.alerts.v1.AlertSeverity",
1998
+ "optional": true
1999
+ },
2000
+ "expiry": {
2001
+ "type": "Date",
2002
+ "optional": true
2003
+ },
2004
+ "imageUrl": {
2005
+ "type": "string",
2006
+ "optional": true
2007
+ },
2008
+ "secondaryActionLink": {
2009
+ "type": "string",
2010
+ "optional": true
2011
+ },
2012
+ "secondaryActionLinkLabel": {
2013
+ "type": "string",
2014
+ "optional": true
2015
+ },
2016
+ "type": {
2017
+ "type": "pushwoosh.accounts.alerts.v1.AlertType",
2018
+ "optional": true
2019
+ }
2020
+ }
2021
+ },
2022
+ "pushwoosh.accounts.alerts.v1.UpdateGroupResponse": {
2023
+ "type": "I",
2024
+ "fields": {
2025
+ "updated": {
2026
+ "type": "number"
2027
+ }
2028
+ }
2029
+ },
2030
+ "pushwoosh.accounts.alerts.v1.ListGroupRequest": {
2031
+ "type": "I",
2032
+ "fields": {
2033
+ "status": {
2034
+ "type": "pushwoosh.accounts.alerts.v1.AlertStatus"
2035
+ },
2036
+ "titleSearch": {
2037
+ "type": "string",
2038
+ "optional": true
2039
+ },
2040
+ "page": {
2041
+ "type": "number"
2042
+ },
2043
+ "perPage": {
2044
+ "type": "number"
2045
+ },
2046
+ "orderBy": {
2047
+ "type": "pushwoosh.accounts.alerts.v1.OrderBy"
2048
+ },
2049
+ "orderDirection": {
2050
+ "type": "pushwoosh.accounts.alerts.v1.OrderDirection"
2051
+ }
2052
+ }
2053
+ },
2054
+ "pushwoosh.accounts.alerts.v1.ListGroupResponse.AlertGroup": {
2055
+ "type": "I",
2056
+ "fields": {
2057
+ "groupUuid": {
2058
+ "type": "string"
2059
+ },
2060
+ "type": {
2061
+ "type": "pushwoosh.accounts.alerts.v1.AlertType"
2062
+ },
2063
+ "severity": {
2064
+ "type": "pushwoosh.accounts.alerts.v1.AlertSeverity"
2065
+ },
2066
+ "title": {
2067
+ "type": "string"
2068
+ },
2069
+ "content": {
2070
+ "type": "string",
2071
+ "optional": true
2072
+ },
2073
+ "created": {
2074
+ "type": "Date",
2075
+ "optional": true
2076
+ },
2077
+ "expiry": {
2078
+ "type": "Date",
2079
+ "optional": true
2080
+ },
2081
+ "actionLink": {
2082
+ "type": "string",
2083
+ "optional": true
2084
+ },
2085
+ "actionLinkLabel": {
2086
+ "type": "string",
2087
+ "optional": true
2088
+ },
2089
+ "recipientsCount": {
2090
+ "type": "number"
2091
+ },
2092
+ "unreadCount": {
2093
+ "type": "number"
2094
+ },
2095
+ "readCount": {
2096
+ "type": "number"
2097
+ }
2098
+ }
2099
+ },
2100
+ "pushwoosh.accounts.alerts.v1.ListGroupResponse": {
2101
+ "type": "I",
2102
+ "fields": {
2103
+ "groups": {
2104
+ "type": "pushwoosh.accounts.alerts.v1.ListGroupResponse.AlertGroup",
2105
+ "array": true
2106
+ },
2107
+ "page": {
2108
+ "type": "number"
2109
+ },
2110
+ "perPage": {
2111
+ "type": "number"
2112
+ },
2113
+ "total": {
2114
+ "type": "number"
2115
+ }
2116
+ }
2117
+ },
2118
+ "pushwoosh.accounts.alerts.v1.RecallRequest": {
2119
+ "type": "I",
2120
+ "fields": {
2121
+ "groupUuid": {
2122
+ "type": "string"
2123
+ }
2124
+ }
2125
+ },
2126
+ "pushwoosh.accounts.alerts.v1.RecallResponse": {
2127
+ "type": "I",
2128
+ "fields": {
2129
+ "recalled": {
2130
+ "type": "number"
2131
+ }
2132
+ }
1842
2133
  },
1843
2134
  "pushwoosh.accounts.alerts.v1.GetHighestSeverityRequest": {
1844
2135
  "type": "I",
@@ -1848,6 +2139,13 @@ export const data = {
1848
2139
  },
1849
2140
  "status": {
1850
2141
  "type": "pushwoosh.accounts.alerts.v1.AlertStatus"
2142
+ },
2143
+ "userId": {
2144
+ "type": "number"
2145
+ },
2146
+ "excludeTypes": {
2147
+ "type": "pushwoosh.accounts.alerts.v1.AlertType",
2148
+ "array": true
1851
2149
  }
1852
2150
  }
1853
2151
  },
@@ -1864,20 +2162,108 @@ export const data = {
1864
2162
  "fields": {
1865
2163
  "ids": {
1866
2164
  "type": "number",
1867
- "array": true
2165
+ "array": true
2166
+ },
2167
+ "uniqueKeys": {
2168
+ "type": "string",
2169
+ "array": true
2170
+ },
2171
+ "accountId": {
2172
+ "type": "number"
2173
+ }
2174
+ }
2175
+ },
2176
+ "pushwoosh.accounts.alerts.v1.DeleteResponse": {
2177
+ "type": "I",
2178
+ "fields": {}
2179
+ },
2180
+ "pushwoosh.accounts.alerts.v1.GetRequest": {
2181
+ "type": "I",
2182
+ "fields": {
2183
+ "uuid": {
2184
+ "type": "string"
2185
+ },
2186
+ "uniqueKey": {
2187
+ "type": "string"
2188
+ },
2189
+ "accountId": {
2190
+ "type": "number"
2191
+ }
2192
+ }
2193
+ },
2194
+ "pushwoosh.accounts.alerts.v1.GetResponse.Alert": {
2195
+ "type": "I",
2196
+ "fields": {
2197
+ "type": {
2198
+ "type": "pushwoosh.accounts.alerts.v1.AlertType"
2199
+ },
2200
+ "status": {
2201
+ "type": "pushwoosh.accounts.alerts.v1.AlertStatus"
2202
+ },
2203
+ "severity": {
2204
+ "type": "pushwoosh.accounts.alerts.v1.AlertSeverity"
2205
+ },
2206
+ "title": {
2207
+ "type": "string"
2208
+ },
2209
+ "content": {
2210
+ "type": "string",
2211
+ "optional": true
2212
+ },
2213
+ "created": {
2214
+ "type": "Date",
2215
+ "optional": true
2216
+ },
2217
+ "expiry": {
2218
+ "type": "Date",
2219
+ "optional": true
2220
+ },
2221
+ "uuid": {
2222
+ "type": "string"
2223
+ },
2224
+ "uniqueKey": {
2225
+ "type": "string"
2226
+ },
2227
+ "accountId": {
2228
+ "type": "number"
2229
+ },
2230
+ "applicationId": {
2231
+ "type": "number",
2232
+ "optional": true
1868
2233
  },
1869
- "uniqueKeys": {
2234
+ "meta": {
2235
+ "type": "object",
2236
+ "optional": true
2237
+ },
2238
+ "actionLink": {
1870
2239
  "type": "string",
1871
- "array": true
2240
+ "optional": true
1872
2241
  },
1873
- "accountId": {
1874
- "type": "number"
2242
+ "actionLinkLabel": {
2243
+ "type": "string",
2244
+ "optional": true
2245
+ },
2246
+ "imageUrl": {
2247
+ "type": "string",
2248
+ "optional": true
2249
+ },
2250
+ "secondaryActionLink": {
2251
+ "type": "string",
2252
+ "optional": true
2253
+ },
2254
+ "secondaryActionLinkLabel": {
2255
+ "type": "string",
2256
+ "optional": true
1875
2257
  }
1876
2258
  }
1877
2259
  },
1878
- "pushwoosh.accounts.alerts.v1.DeleteResponse": {
2260
+ "pushwoosh.accounts.alerts.v1.GetResponse": {
1879
2261
  "type": "I",
1880
- "fields": {}
2262
+ "fields": {
2263
+ "alert": {
2264
+ "type": "pushwoosh.accounts.alerts.v1.GetResponse.Alert"
2265
+ }
2266
+ }
1881
2267
  },
1882
2268
  "pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoService": {
1883
2269
  "type": "S",
@@ -4489,42 +4875,6 @@ export const data = {
4489
4875
  "method": "put",
4490
4876
  "path": "/api/applications/{code}/account_group_permissions"
4491
4877
  },
4492
- "GetControlGroupSettings": {
4493
- "request": "pushwoosh.rpc_v2.applications.GetControlGroupSettingsRequest",
4494
- "response": "pushwoosh.rpc_v2.applications.GetControlGroupSettingsResponse",
4495
- "method": "get",
4496
- "path": "/api/applications/{code}/control_group"
4497
- },
4498
- "UpdateControlGroupPercentage": {
4499
- "request": "pushwoosh.rpc_v2.applications.UpdateControlGroupPercentageRequest",
4500
- "response": "pushwoosh.rpc_v2.applications.UpdateControlGroupPercentageResponse",
4501
- "method": "post",
4502
- "path": "/api/applications/{code}/control_group"
4503
- },
4504
- "DisableControlGroup": {
4505
- "request": "pushwoosh.rpc_v2.applications.DisableControlGroupRequest",
4506
- "response": "pushwoosh.rpc_v2.applications.DisableControlGroupResponse",
4507
- "method": "delete",
4508
- "path": "/api/applications/{code}/control_group"
4509
- },
4510
- "ForceUpdateControlGroupCalculation": {
4511
- "request": "pushwoosh.rpc_v2.applications.ForceUpdateControlGroupCalculationRequest",
4512
- "response": "pushwoosh.rpc_v2.applications.ForceUpdateControlGroupCalculationResponse",
4513
- "method": "post",
4514
- "path": "/api/applications/{code}/control_group/recalculate"
4515
- },
4516
- "GetControlGroupCalculationStatus": {
4517
- "request": "pushwoosh.rpc_v2.applications.GetControlGroupCalculationStatusRequest",
4518
- "response": "pushwoosh.rpc_v2.applications.GetControlGroupCalculationStatusResponse",
4519
- "method": "get",
4520
- "path": "/api/applications/{code}/control_group/calculation_status"
4521
- },
4522
- "GetControlGroupAnalytics": {
4523
- "request": "pushwoosh.rpc_v2.applications.GetControlGroupAnalyticsRequest",
4524
- "response": "pushwoosh.rpc_v2.applications.GetControlGroupAnalyticsResponse",
4525
- "method": "get",
4526
- "path": "/api/applications/{code}/control_group/analytics"
4527
- },
4528
4878
  "GetDOIConfig": {
4529
4879
  "request": "pushwoosh.rpc_v2.applications.GetDOIConfigRequest",
4530
4880
  "response": "pushwoosh.rpc_v2.applications.GetDOIConfigResponse",
@@ -4539,15 +4889,6 @@ export const data = {
4539
4889
  }
4540
4890
  }
4541
4891
  },
4542
- "pushwoosh.rpc_v2.applications.ControlGroupTaskStatus": {
4543
- "type": "E",
4544
- "values": [
4545
- "CONTROL_GROUP_TASK_STATUS_UNSPECIFIED",
4546
- "CONTROL_GROUP_TASK_STATUS_NOT_STARTED",
4547
- "CONTROL_GROUP_TASK_STATUS_IN_PROGRESS",
4548
- "CONTROL_GROUP_TASK_STATUS_COMPLETED"
4549
- ]
4550
- },
4551
4892
  "pushwoosh.rpc_v2.applications.ApplicationPlatformSubscribersCount": {
4552
4893
  "type": "I",
4553
4894
  "fields": {
@@ -4872,241 +5213,38 @@ export const data = {
4872
5213
  },
4873
5214
  "pushwoosh.rpc_v2.applications.GetAccountGroupPermissionsRequest": {
4874
5215
  "type": "I",
4875
- "fields": {
4876
- "code": {
4877
- "type": "string"
4878
- }
4879
- }
4880
- },
4881
- "pushwoosh.rpc_v2.applications.GetAccountGroupPermissionsResponse": {
4882
- "type": "I",
4883
- "fields": {
4884
- "permissions": {
4885
- "type": "pushwoosh.rpc_v2.applications.AccountGroupPermissions",
4886
- "array": true
4887
- }
4888
- }
4889
- },
4890
- "pushwoosh.rpc_v2.applications.SaveAccountGroupPermissionsRequest": {
4891
- "type": "I",
4892
- "fields": {
4893
- "code": {
4894
- "type": "string"
4895
- },
4896
- "permissions": {
4897
- "type": "pushwoosh.rpc_v2.applications.AccountGroupPermissions",
4898
- "array": true
4899
- }
4900
- }
4901
- },
4902
- "pushwoosh.rpc_v2.applications.SaveAccountGroupPermissionsResponse": {
4903
- "type": "I",
4904
- "fields": {
4905
- "permissions": {
4906
- "type": "pushwoosh.rpc_v2.applications.AccountGroupPermissions",
4907
- "array": true
4908
- }
4909
- }
4910
- },
4911
- "pushwoosh.rpc_v2.applications.GetControlGroupSettingsRequest": {
4912
- "type": "I",
4913
- "fields": {
4914
- "code": {
4915
- "type": "string"
4916
- }
4917
- }
4918
- },
4919
- "pushwoosh.rpc_v2.applications.GetControlGroupSettingsResponse": {
4920
- "type": "I",
4921
- "fields": {
4922
- "percentage": {
4923
- "type": "number"
4924
- },
4925
- "enabled": {
4926
- "type": "boolean"
4927
- },
4928
- "totalUsers": {
4929
- "type": "number"
4930
- },
4931
- "controlGroupUsers": {
4932
- "type": "number"
4933
- },
4934
- "calculationStatus": {
4935
- "type": "pushwoosh.rpc_v2.applications.ControlGroupTaskStatus"
4936
- },
4937
- "lastModifiedAt": {
4938
- "type": "Date"
4939
- },
4940
- "lastModifiedBy": {
4941
- "type": "string"
4942
- },
4943
- "hasData": {
4944
- "type": "boolean"
4945
- }
4946
- }
4947
- },
4948
- "pushwoosh.rpc_v2.applications.UpdateControlGroupPercentageRequest": {
4949
- "type": "I",
4950
- "fields": {
4951
- "code": {
4952
- "type": "string"
4953
- },
4954
- "percentage": {
4955
- "type": "number"
4956
- }
4957
- }
4958
- },
4959
- "pushwoosh.rpc_v2.applications.UpdateControlGroupPercentageResponse": {
4960
- "type": "I",
4961
- "fields": {}
4962
- },
4963
- "pushwoosh.rpc_v2.applications.DisableControlGroupRequest": {
4964
- "type": "I",
4965
- "fields": {
4966
- "code": {
4967
- "type": "string"
4968
- }
4969
- }
4970
- },
4971
- "pushwoosh.rpc_v2.applications.DisableControlGroupResponse": {
4972
- "type": "I",
4973
- "fields": {}
4974
- },
4975
- "pushwoosh.rpc_v2.applications.ForceUpdateControlGroupCalculationRequest": {
4976
- "type": "I",
4977
- "fields": {
4978
- "code": {
4979
- "type": "string"
4980
- }
4981
- }
4982
- },
4983
- "pushwoosh.rpc_v2.applications.ForceUpdateControlGroupCalculationResponse": {
4984
- "type": "I",
4985
- "fields": {}
4986
- },
4987
- "pushwoosh.rpc_v2.applications.GetControlGroupCalculationStatusRequest": {
4988
- "type": "I",
4989
- "fields": {
4990
- "code": {
4991
- "type": "string"
4992
- }
4993
- }
4994
- },
4995
- "pushwoosh.rpc_v2.applications.GetControlGroupCalculationStatusResponse": {
4996
- "type": "I",
4997
- "fields": {
4998
- "totalUsers": {
4999
- "type": "number"
5000
- },
5001
- "controlGroupUsers": {
5002
- "type": "number"
5003
- },
5004
- "calculationStatus": {
5005
- "type": "pushwoosh.rpc_v2.applications.ControlGroupTaskStatus"
5006
- },
5007
- "hasData": {
5008
- "type": "boolean"
5009
- }
5010
- }
5011
- },
5012
- "pushwoosh.rpc_v2.applications.ShuffleControlGroupRequest": {
5013
- "type": "I",
5014
- "fields": {
5015
- "code": {
5016
- "type": "string"
5017
- }
5018
- }
5019
- },
5020
- "pushwoosh.rpc_v2.applications.ShuffleControlGroupResponse": {
5021
- "type": "I",
5022
- "fields": {}
5023
- },
5024
- "pushwoosh.rpc_v2.applications.GetControlGroupAnalyticsRequest.WindowDays": {
5025
- "type": "E",
5026
- "values": [
5027
- "WINDOW_DAYS_UNSPECIFIED",
5028
- "WINDOW_DAYS_3",
5029
- "WINDOW_DAYS_7",
5030
- "WINDOW_DAYS_30"
5031
- ]
5032
- },
5033
- "pushwoosh.rpc_v2.applications.GetControlGroupAnalyticsRequest": {
5034
- "type": "I",
5035
- "fields": {
5036
- "code": {
5037
- "type": "string"
5038
- },
5039
- "windowDays": {
5040
- "type": "pushwoosh.rpc_v2.applications.GetControlGroupAnalyticsRequest.WindowDays"
5041
- }
5042
- }
5043
- },
5044
- "pushwoosh.rpc_v2.applications.ControlGroupAnalyticsGroup": {
5045
- "type": "I",
5046
- "fields": {
5047
- "users": {
5048
- "type": "number"
5049
- },
5050
- "conversions": {
5051
- "type": "number"
5052
- },
5053
- "conversionRate": {
5054
- "type": "number"
5055
- },
5056
- "eventsPerUser": {
5057
- "type": "number"
5058
- }
5059
- }
5060
- },
5061
- "pushwoosh.rpc_v2.applications.ControlGroupAnalyticsEvent.Significance": {
5062
- "type": "E",
5063
- "values": [
5064
- "SIGNIFICANCE_UNSPECIFIED",
5065
- "SIGNIFICANCE_NOT_ENOUGH_DATA",
5066
- "SIGNIFICANCE_NOT_SIGNIFICANT",
5067
- "SIGNIFICANCE_SIGNIFICANT"
5068
- ]
5069
- },
5070
- "pushwoosh.rpc_v2.applications.ControlGroupAnalyticsEvent": {
5071
- "type": "I",
5072
- "fields": {
5073
- "event": {
5074
- "type": "string"
5075
- },
5076
- "treatment": {
5077
- "type": "pushwoosh.rpc_v2.applications.ControlGroupAnalyticsGroup"
5078
- },
5079
- "control": {
5080
- "type": "pushwoosh.rpc_v2.applications.ControlGroupAnalyticsGroup"
5081
- },
5082
- "upliftPct": {
5083
- "type": "number"
5084
- },
5085
- "incrementalEvents": {
5086
- "type": "number"
5087
- },
5088
- "percentOfTreatment": {
5089
- "type": "number"
5090
- },
5091
- "zScore": {
5092
- "type": "number"
5093
- },
5094
- "pValue": {
5095
- "type": "number"
5096
- },
5097
- "confidencePct": {
5098
- "type": "number"
5216
+ "fields": {
5217
+ "code": {
5218
+ "type": "string"
5219
+ }
5220
+ }
5221
+ },
5222
+ "pushwoosh.rpc_v2.applications.GetAccountGroupPermissionsResponse": {
5223
+ "type": "I",
5224
+ "fields": {
5225
+ "permissions": {
5226
+ "type": "pushwoosh.rpc_v2.applications.AccountGroupPermissions",
5227
+ "array": true
5228
+ }
5229
+ }
5230
+ },
5231
+ "pushwoosh.rpc_v2.applications.SaveAccountGroupPermissionsRequest": {
5232
+ "type": "I",
5233
+ "fields": {
5234
+ "code": {
5235
+ "type": "string"
5099
5236
  },
5100
- "significance": {
5101
- "type": "pushwoosh.rpc_v2.applications.ControlGroupAnalyticsEvent.Significance"
5237
+ "permissions": {
5238
+ "type": "pushwoosh.rpc_v2.applications.AccountGroupPermissions",
5239
+ "array": true
5102
5240
  }
5103
5241
  }
5104
5242
  },
5105
- "pushwoosh.rpc_v2.applications.GetControlGroupAnalyticsResponse": {
5243
+ "pushwoosh.rpc_v2.applications.SaveAccountGroupPermissionsResponse": {
5106
5244
  "type": "I",
5107
5245
  "fields": {
5108
- "events": {
5109
- "type": "pushwoosh.rpc_v2.applications.ControlGroupAnalyticsEvent",
5246
+ "permissions": {
5247
+ "type": "pushwoosh.rpc_v2.applications.AccountGroupPermissions",
5110
5248
  "array": true
5111
5249
  }
5112
5250
  }
@@ -6121,6 +6259,273 @@ export const data = {
6121
6259
  "type": "I",
6122
6260
  "fields": {}
6123
6261
  },
6262
+ "pushwoosh.rpc_v2.applications_controlgroup.ApplicationsControlGroupService": {
6263
+ "type": "S",
6264
+ "key": "applicationsControlGroup",
6265
+ "methods": {
6266
+ "GetSettings": {
6267
+ "request": "pushwoosh.rpc_v2.applications_controlgroup.GetSettingsRequest",
6268
+ "response": "pushwoosh.rpc_v2.applications_controlgroup.GetSettingsResponse",
6269
+ "method": "get",
6270
+ "path": "/api/applications/{code}/control_group"
6271
+ },
6272
+ "UpdatePercentage": {
6273
+ "request": "pushwoosh.rpc_v2.applications_controlgroup.UpdatePercentageRequest",
6274
+ "response": "pushwoosh.rpc_v2.applications_controlgroup.UpdatePercentageResponse",
6275
+ "method": "post",
6276
+ "path": "/api/applications/{code}/control_group"
6277
+ },
6278
+ "Disable": {
6279
+ "request": "pushwoosh.rpc_v2.applications_controlgroup.DisableRequest",
6280
+ "response": "pushwoosh.rpc_v2.applications_controlgroup.DisableResponse",
6281
+ "method": "delete",
6282
+ "path": "/api/applications/{code}/control_group"
6283
+ },
6284
+ "Reshuffle": {
6285
+ "request": "pushwoosh.rpc_v2.applications_controlgroup.ReshuffleRequest",
6286
+ "response": "pushwoosh.rpc_v2.applications_controlgroup.ReshuffleResponse",
6287
+ "method": "post",
6288
+ "path": "/api/applications/{code}/control_group/reshuffle"
6289
+ },
6290
+ "ForceUpdateCalculation": {
6291
+ "request": "pushwoosh.rpc_v2.applications_controlgroup.ForceUpdateCalculationRequest",
6292
+ "response": "pushwoosh.rpc_v2.applications_controlgroup.ForceUpdateCalculationResponse",
6293
+ "method": "post",
6294
+ "path": "/api/applications/{code}/control_group/recalculate"
6295
+ },
6296
+ "GetCalculationStatus": {
6297
+ "request": "pushwoosh.rpc_v2.applications_controlgroup.GetCalculationStatusRequest",
6298
+ "response": "pushwoosh.rpc_v2.applications_controlgroup.GetCalculationStatusResponse",
6299
+ "method": "get",
6300
+ "path": "/api/applications/{code}/control_group/calculation_status"
6301
+ },
6302
+ "GetAnalytics": {
6303
+ "request": "pushwoosh.rpc_v2.applications_controlgroup.GetAnalyticsRequest",
6304
+ "response": "pushwoosh.rpc_v2.applications_controlgroup.GetAnalyticsResponse",
6305
+ "method": "get",
6306
+ "path": "/api/applications/{code}/control_group/analytics"
6307
+ }
6308
+ }
6309
+ },
6310
+ "pushwoosh.rpc_v2.applications_controlgroup.TaskStatus": {
6311
+ "type": "E",
6312
+ "values": [
6313
+ "TASK_STATUS_UNSPECIFIED",
6314
+ "TASK_STATUS_NOT_STARTED",
6315
+ "TASK_STATUS_IN_PROGRESS",
6316
+ "TASK_STATUS_COMPLETED"
6317
+ ]
6318
+ },
6319
+ "pushwoosh.rpc_v2.applications_controlgroup.GetSettingsRequest": {
6320
+ "type": "I",
6321
+ "fields": {
6322
+ "code": {
6323
+ "type": "string"
6324
+ }
6325
+ }
6326
+ },
6327
+ "pushwoosh.rpc_v2.applications_controlgroup.GetSettingsResponse": {
6328
+ "type": "I",
6329
+ "fields": {
6330
+ "percentage": {
6331
+ "type": "number"
6332
+ },
6333
+ "enabled": {
6334
+ "type": "boolean"
6335
+ },
6336
+ "totalUsers": {
6337
+ "type": "number"
6338
+ },
6339
+ "controlGroupUsers": {
6340
+ "type": "number"
6341
+ },
6342
+ "calculationStatus": {
6343
+ "type": "pushwoosh.rpc_v2.applications_controlgroup.TaskStatus"
6344
+ },
6345
+ "lastModifiedAt": {
6346
+ "type": "Date"
6347
+ },
6348
+ "lastModifiedBy": {
6349
+ "type": "string"
6350
+ },
6351
+ "hasData": {
6352
+ "type": "boolean"
6353
+ },
6354
+ "generation": {
6355
+ "type": "number"
6356
+ }
6357
+ }
6358
+ },
6359
+ "pushwoosh.rpc_v2.applications_controlgroup.UpdatePercentageRequest": {
6360
+ "type": "I",
6361
+ "fields": {
6362
+ "code": {
6363
+ "type": "string"
6364
+ },
6365
+ "percentage": {
6366
+ "type": "number"
6367
+ }
6368
+ }
6369
+ },
6370
+ "pushwoosh.rpc_v2.applications_controlgroup.UpdatePercentageResponse": {
6371
+ "type": "I",
6372
+ "fields": {}
6373
+ },
6374
+ "pushwoosh.rpc_v2.applications_controlgroup.ReshuffleRequest": {
6375
+ "type": "I",
6376
+ "fields": {
6377
+ "code": {
6378
+ "type": "string"
6379
+ }
6380
+ }
6381
+ },
6382
+ "pushwoosh.rpc_v2.applications_controlgroup.ReshuffleResponse": {
6383
+ "type": "I",
6384
+ "fields": {
6385
+ "generation": {
6386
+ "type": "number"
6387
+ }
6388
+ }
6389
+ },
6390
+ "pushwoosh.rpc_v2.applications_controlgroup.DisableRequest": {
6391
+ "type": "I",
6392
+ "fields": {
6393
+ "code": {
6394
+ "type": "string"
6395
+ }
6396
+ }
6397
+ },
6398
+ "pushwoosh.rpc_v2.applications_controlgroup.DisableResponse": {
6399
+ "type": "I",
6400
+ "fields": {}
6401
+ },
6402
+ "pushwoosh.rpc_v2.applications_controlgroup.ForceUpdateCalculationRequest": {
6403
+ "type": "I",
6404
+ "fields": {
6405
+ "code": {
6406
+ "type": "string"
6407
+ }
6408
+ }
6409
+ },
6410
+ "pushwoosh.rpc_v2.applications_controlgroup.ForceUpdateCalculationResponse": {
6411
+ "type": "I",
6412
+ "fields": {}
6413
+ },
6414
+ "pushwoosh.rpc_v2.applications_controlgroup.GetCalculationStatusRequest": {
6415
+ "type": "I",
6416
+ "fields": {
6417
+ "code": {
6418
+ "type": "string"
6419
+ }
6420
+ }
6421
+ },
6422
+ "pushwoosh.rpc_v2.applications_controlgroup.GetCalculationStatusResponse": {
6423
+ "type": "I",
6424
+ "fields": {
6425
+ "totalUsers": {
6426
+ "type": "number"
6427
+ },
6428
+ "controlGroupUsers": {
6429
+ "type": "number"
6430
+ },
6431
+ "calculationStatus": {
6432
+ "type": "pushwoosh.rpc_v2.applications_controlgroup.TaskStatus"
6433
+ },
6434
+ "hasData": {
6435
+ "type": "boolean"
6436
+ }
6437
+ }
6438
+ },
6439
+ "pushwoosh.rpc_v2.applications_controlgroup.GetAnalyticsRequest.WindowDays": {
6440
+ "type": "E",
6441
+ "values": [
6442
+ "WINDOW_DAYS_UNSPECIFIED",
6443
+ "WINDOW_DAYS_3",
6444
+ "WINDOW_DAYS_7",
6445
+ "WINDOW_DAYS_30"
6446
+ ]
6447
+ },
6448
+ "pushwoosh.rpc_v2.applications_controlgroup.GetAnalyticsRequest": {
6449
+ "type": "I",
6450
+ "fields": {
6451
+ "code": {
6452
+ "type": "string"
6453
+ },
6454
+ "windowDays": {
6455
+ "type": "pushwoosh.rpc_v2.applications_controlgroup.GetAnalyticsRequest.WindowDays"
6456
+ }
6457
+ }
6458
+ },
6459
+ "pushwoosh.rpc_v2.applications_controlgroup.AnalyticsGroup": {
6460
+ "type": "I",
6461
+ "fields": {
6462
+ "users": {
6463
+ "type": "number"
6464
+ },
6465
+ "conversions": {
6466
+ "type": "number"
6467
+ },
6468
+ "conversionRate": {
6469
+ "type": "number"
6470
+ },
6471
+ "eventsPerUser": {
6472
+ "type": "number"
6473
+ }
6474
+ }
6475
+ },
6476
+ "pushwoosh.rpc_v2.applications_controlgroup.AnalyticsEvent.Significance": {
6477
+ "type": "E",
6478
+ "values": [
6479
+ "SIGNIFICANCE_UNSPECIFIED",
6480
+ "SIGNIFICANCE_NOT_ENOUGH_DATA",
6481
+ "SIGNIFICANCE_NOT_SIGNIFICANT",
6482
+ "SIGNIFICANCE_SIGNIFICANT"
6483
+ ]
6484
+ },
6485
+ "pushwoosh.rpc_v2.applications_controlgroup.AnalyticsEvent": {
6486
+ "type": "I",
6487
+ "fields": {
6488
+ "event": {
6489
+ "type": "string"
6490
+ },
6491
+ "treatment": {
6492
+ "type": "pushwoosh.rpc_v2.applications_controlgroup.AnalyticsGroup"
6493
+ },
6494
+ "control": {
6495
+ "type": "pushwoosh.rpc_v2.applications_controlgroup.AnalyticsGroup"
6496
+ },
6497
+ "upliftPct": {
6498
+ "type": "number"
6499
+ },
6500
+ "incrementalEvents": {
6501
+ "type": "number"
6502
+ },
6503
+ "percentOfTreatment": {
6504
+ "type": "number"
6505
+ },
6506
+ "zScore": {
6507
+ "type": "number"
6508
+ },
6509
+ "pValue": {
6510
+ "type": "number"
6511
+ },
6512
+ "confidencePct": {
6513
+ "type": "number"
6514
+ },
6515
+ "significance": {
6516
+ "type": "pushwoosh.rpc_v2.applications_controlgroup.AnalyticsEvent.Significance"
6517
+ }
6518
+ }
6519
+ },
6520
+ "pushwoosh.rpc_v2.applications_controlgroup.GetAnalyticsResponse": {
6521
+ "type": "I",
6522
+ "fields": {
6523
+ "events": {
6524
+ "type": "pushwoosh.rpc_v2.applications_controlgroup.AnalyticsEvent",
6525
+ "array": true
6526
+ }
6527
+ }
6528
+ },
6124
6529
  "pushwoosh.rpc_v2.applications_groups.ApplicationsGroupsService": {
6125
6530
  "type": "S",
6126
6531
  "key": "applicationsGroups",
@@ -16388,6 +16793,10 @@ export const data = {
16388
16793
  },
16389
16794
  "orderDirection": {
16390
16795
  "type": "pushwoosh.accounts.alerts.v1.OrderDirection"
16796
+ },
16797
+ "excludeTypes": {
16798
+ "type": "pushwoosh.accounts.alerts.v1.AlertType",
16799
+ "array": true
16391
16800
  }
16392
16801
  }
16393
16802
  },
@@ -16435,6 +16844,18 @@ export const data = {
16435
16844
  "actionLinkLabel": {
16436
16845
  "type": "string",
16437
16846
  "optional": true
16847
+ },
16848
+ "imageUrl": {
16849
+ "type": "string",
16850
+ "optional": true
16851
+ },
16852
+ "secondaryActionLink": {
16853
+ "type": "string",
16854
+ "optional": true
16855
+ },
16856
+ "secondaryActionLinkLabel": {
16857
+ "type": "string",
16858
+ "optional": true
16438
16859
  }
16439
16860
  }
16440
16861
  },
@@ -16485,6 +16906,10 @@ export const data = {
16485
16906
  "fields": {
16486
16907
  "status": {
16487
16908
  "type": "pushwoosh.accounts.alerts.v1.AlertStatus"
16909
+ },
16910
+ "excludeTypes": {
16911
+ "type": "pushwoosh.accounts.alerts.v1.AlertType",
16912
+ "array": true
16488
16913
  }
16489
16914
  }
16490
16915
  },