@pushwoosh/rpc-v2-http-api-data 0.1.653 → 0.1.655

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/applications.d.ts CHANGED
@@ -8,6 +8,8 @@ export interface ApplicationsService {
8
8
  SetShortenerConfiguration(request: SetShortenerConfigurationRequest): Promise<SetShortenerConfigurationResponse>;
9
9
  UpdateURLParams(request: UpdateURLParamsRequest): Promise<UpdateURLParamsResponse>;
10
10
  SendEmailVerification(request: SendEmailVerificationRequest): Promise<SendEmailVerificationResponse>;
11
+ GetAccountGroupPermissions(request: GetAccountGroupPermissionsRequest): Promise<GetAccountGroupPermissionsResponse>;
12
+ SaveAccountGroupPermissions(request: SaveAccountGroupPermissionsRequest): Promise<SaveAccountGroupPermissionsResponse>;
11
13
  }
12
14
  export type ApplicationPlatformSubscribersCount = {
13
15
  pushEnabled: number;
@@ -96,3 +98,22 @@ export type SendEmailVerificationRequest = {
96
98
  description?: string;
97
99
  };
98
100
  export type SendEmailVerificationResponse = {};
101
+ export type AccountGroupPermissions = {
102
+ groupName: string;
103
+ see: boolean;
104
+ modify: boolean;
105
+ send: boolean;
106
+ };
107
+ export type GetAccountGroupPermissionsRequest = {
108
+ code?: string;
109
+ };
110
+ export type GetAccountGroupPermissionsResponse = {
111
+ permissions: AccountGroupPermissions[];
112
+ };
113
+ export type SaveAccountGroupPermissionsRequest = {
114
+ code?: string;
115
+ permissions?: AccountGroupPermissions[];
116
+ };
117
+ export type SaveAccountGroupPermissionsResponse = {
118
+ permissions: AccountGroupPermissions[];
119
+ };
package/data.js CHANGED
@@ -1785,6 +1785,18 @@ export const data = {
1785
1785
  "response": "pushwoosh.rpc_v2.applications.SendEmailVerificationResponse",
1786
1786
  "method": "post",
1787
1787
  "path": "/api/applications/{code}:send_email_verification"
1788
+ },
1789
+ "GetAccountGroupPermissions": {
1790
+ "request": "pushwoosh.rpc_v2.applications.GetAccountGroupPermissionsRequest",
1791
+ "response": "pushwoosh.rpc_v2.applications.GetAccountGroupPermissionsResponse",
1792
+ "method": "get",
1793
+ "path": "/api/applications/{code}/account_group_permissions"
1794
+ },
1795
+ "SaveAccountGroupPermissions": {
1796
+ "request": "pushwoosh.rpc_v2.applications.SaveAccountGroupPermissionsRequest",
1797
+ "response": "pushwoosh.rpc_v2.applications.SaveAccountGroupPermissionsResponse",
1798
+ "method": "put",
1799
+ "path": "/api/applications/{code}/account_group_permissions"
1788
1800
  }
1789
1801
  }
1790
1802
  },
@@ -2054,6 +2066,61 @@ export const data = {
2054
2066
  "type": "I",
2055
2067
  "fields": {}
2056
2068
  },
2069
+ "pushwoosh.rpc_v2.applications.AccountGroupPermissions": {
2070
+ "type": "I",
2071
+ "fields": {
2072
+ "groupName": {
2073
+ "type": "string"
2074
+ },
2075
+ "see": {
2076
+ "type": "boolean"
2077
+ },
2078
+ "modify": {
2079
+ "type": "boolean"
2080
+ },
2081
+ "send": {
2082
+ "type": "boolean"
2083
+ }
2084
+ }
2085
+ },
2086
+ "pushwoosh.rpc_v2.applications.GetAccountGroupPermissionsRequest": {
2087
+ "type": "I",
2088
+ "fields": {
2089
+ "code": {
2090
+ "type": "string"
2091
+ }
2092
+ }
2093
+ },
2094
+ "pushwoosh.rpc_v2.applications.GetAccountGroupPermissionsResponse": {
2095
+ "type": "I",
2096
+ "fields": {
2097
+ "permissions": {
2098
+ "type": "pushwoosh.rpc_v2.applications.AccountGroupPermissions",
2099
+ "array": true
2100
+ }
2101
+ }
2102
+ },
2103
+ "pushwoosh.rpc_v2.applications.SaveAccountGroupPermissionsRequest": {
2104
+ "type": "I",
2105
+ "fields": {
2106
+ "code": {
2107
+ "type": "string"
2108
+ },
2109
+ "permissions": {
2110
+ "type": "pushwoosh.rpc_v2.applications.AccountGroupPermissions",
2111
+ "array": true
2112
+ }
2113
+ }
2114
+ },
2115
+ "pushwoosh.rpc_v2.applications.SaveAccountGroupPermissionsResponse": {
2116
+ "type": "I",
2117
+ "fields": {
2118
+ "permissions": {
2119
+ "type": "pushwoosh.rpc_v2.applications.AccountGroupPermissions",
2120
+ "array": true
2121
+ }
2122
+ }
2123
+ },
2057
2124
  "pushwoosh.rpc_v2.applications.email_froms.ApplicationEmailFromsService": {
2058
2125
  "type": "S",
2059
2126
  "key": "applicationEmailFroms",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.653",
3
+ "version": "0.1.655",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",