@pushwoosh/rpc-v2-http-api-data 0.1.776 → 0.1.778
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 +23 -0
- package/email_categories.d.ts +7 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -6170,6 +6170,12 @@ export const data = {
|
|
|
6170
6170
|
"response": "pushwoosh.rpc_v2.email_categories.EnableResponse",
|
|
6171
6171
|
"method": "post",
|
|
6172
6172
|
"path": "/api/email_categories/enable"
|
|
6173
|
+
},
|
|
6174
|
+
"Info": {
|
|
6175
|
+
"request": "pushwoosh.rpc_v2.email_categories.InfoRequest",
|
|
6176
|
+
"response": "pushwoosh.rpc_v2.email_categories.InfoResponse",
|
|
6177
|
+
"method": "post",
|
|
6178
|
+
"path": "/api/email_categories/info"
|
|
6173
6179
|
}
|
|
6174
6180
|
}
|
|
6175
6181
|
},
|
|
@@ -6317,6 +6323,23 @@ export const data = {
|
|
|
6317
6323
|
"type": "I",
|
|
6318
6324
|
"fields": {}
|
|
6319
6325
|
},
|
|
6326
|
+
"pushwoosh.rpc_v2.email_categories.InfoRequest": {
|
|
6327
|
+
"type": "I",
|
|
6328
|
+
"fields": {
|
|
6329
|
+
"application": {
|
|
6330
|
+
"type": "string"
|
|
6331
|
+
}
|
|
6332
|
+
}
|
|
6333
|
+
},
|
|
6334
|
+
"pushwoosh.rpc_v2.email_categories.InfoResponse": {
|
|
6335
|
+
"type": "I",
|
|
6336
|
+
"fields": {
|
|
6337
|
+
"subscribedUsers": {
|
|
6338
|
+
"type": "number",
|
|
6339
|
+
"mapKeyType": "string"
|
|
6340
|
+
}
|
|
6341
|
+
}
|
|
6342
|
+
},
|
|
6320
6343
|
"pushwoosh.rpc_v2.accounts.EmailTemplatesService": {
|
|
6321
6344
|
"type": "S",
|
|
6322
6345
|
"key": "emailTemplates",
|
package/email_categories.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export interface EmailCategoriesService {
|
|
|
6
6
|
Delete(request: DeleteRequest): Promise<DeleteResponse>;
|
|
7
7
|
List(request: ListRequest): Promise<ListResponse>;
|
|
8
8
|
Enable(request: EnableRequest): Promise<EnableResponse>;
|
|
9
|
+
Info(request: InfoRequest): Promise<InfoResponse>;
|
|
9
10
|
}
|
|
10
11
|
export type Category = {
|
|
11
12
|
code: string;
|
|
@@ -57,3 +58,9 @@ export type EnableRequest = {
|
|
|
57
58
|
value?: boolean;
|
|
58
59
|
};
|
|
59
60
|
export type EnableResponse = {};
|
|
61
|
+
export type InfoRequest = {
|
|
62
|
+
application?: string;
|
|
63
|
+
};
|
|
64
|
+
export type InfoResponse = {
|
|
65
|
+
subscribedUsers: Record<string, number>;
|
|
66
|
+
};
|