@pushwoosh/rpc-v2-http-api-data 0.1.775 → 0.1.777
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 +35 -0
- package/email_categories.d.ts +7 -0
- package/package.json +1 -1
- package/presets.d.ts +4 -0
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",
|
|
@@ -20521,6 +20544,9 @@ export const data = {
|
|
|
20521
20544
|
"inboxDays": {
|
|
20522
20545
|
"type": "number"
|
|
20523
20546
|
},
|
|
20547
|
+
"inboxDate": {
|
|
20548
|
+
"type": "Date"
|
|
20549
|
+
},
|
|
20524
20550
|
"categories": {
|
|
20525
20551
|
"type": "string",
|
|
20526
20552
|
"array": true
|
|
@@ -20653,6 +20679,9 @@ export const data = {
|
|
|
20653
20679
|
"inboxDays": {
|
|
20654
20680
|
"type": "number"
|
|
20655
20681
|
},
|
|
20682
|
+
"inboxDate": {
|
|
20683
|
+
"type": "Date"
|
|
20684
|
+
},
|
|
20656
20685
|
"customData": {
|
|
20657
20686
|
"type": "object"
|
|
20658
20687
|
},
|
|
@@ -20747,6 +20776,9 @@ export const data = {
|
|
|
20747
20776
|
"inboxDays": {
|
|
20748
20777
|
"type": "number"
|
|
20749
20778
|
},
|
|
20779
|
+
"inboxDate": {
|
|
20780
|
+
"type": "Date"
|
|
20781
|
+
},
|
|
20750
20782
|
"customData": {
|
|
20751
20783
|
"type": "object"
|
|
20752
20784
|
},
|
|
@@ -20827,6 +20859,9 @@ export const data = {
|
|
|
20827
20859
|
"inboxDays": {
|
|
20828
20860
|
"type": "number"
|
|
20829
20861
|
},
|
|
20862
|
+
"inboxDate": {
|
|
20863
|
+
"type": "Date"
|
|
20864
|
+
},
|
|
20830
20865
|
"customData": {
|
|
20831
20866
|
"type": "object"
|
|
20832
20867
|
},
|
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
|
+
};
|
package/package.json
CHANGED
package/presets.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export type Preset = {
|
|
|
45
45
|
inboxImage: string;
|
|
46
46
|
inboxIcon: string;
|
|
47
47
|
inboxDays: number;
|
|
48
|
+
inboxDate: Date;
|
|
48
49
|
categories: string[];
|
|
49
50
|
created: Date;
|
|
50
51
|
updated: Date;
|
|
@@ -87,6 +88,7 @@ export type CreatePresetRequest = {
|
|
|
87
88
|
inboxImage?: string;
|
|
88
89
|
inboxIcon?: string;
|
|
89
90
|
inboxDays?: number;
|
|
91
|
+
inboxDate?: Date;
|
|
90
92
|
customData?: object;
|
|
91
93
|
categories?: string[];
|
|
92
94
|
banner?: string;
|
|
@@ -116,6 +118,7 @@ export type UpdatePresetRequest = {
|
|
|
116
118
|
inboxImage?: string;
|
|
117
119
|
inboxIcon?: string;
|
|
118
120
|
inboxDays?: number;
|
|
121
|
+
inboxDate?: Date;
|
|
119
122
|
customData?: object;
|
|
120
123
|
categories?: string[];
|
|
121
124
|
banner?: string;
|
|
@@ -140,6 +143,7 @@ export type UpdatePresetPartialRequest = {
|
|
|
140
143
|
inboxImage?: string;
|
|
141
144
|
inboxIcon?: string;
|
|
142
145
|
inboxDays?: number;
|
|
146
|
+
inboxDate?: Date;
|
|
143
147
|
customData?: object;
|
|
144
148
|
categories?: string[];
|
|
145
149
|
banner?: string;
|