@pushwoosh/rpc-v2-http-api-data 0.2.173 → 0.2.175
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 +15 -0
- package/geozones.d.ts +4 -0
- package/package.json +1 -1
- package/sms_presets.d.ts +9 -4
package/data.js
CHANGED
|
@@ -14835,6 +14835,12 @@ export const data = {
|
|
|
14835
14835
|
},
|
|
14836
14836
|
"inboxIcon": {
|
|
14837
14837
|
"type": "string"
|
|
14838
|
+
},
|
|
14839
|
+
"startDate": {
|
|
14840
|
+
"type": "string"
|
|
14841
|
+
},
|
|
14842
|
+
"endDate": {
|
|
14843
|
+
"type": "string"
|
|
14838
14844
|
}
|
|
14839
14845
|
}
|
|
14840
14846
|
},
|
|
@@ -28015,6 +28021,9 @@ export const data = {
|
|
|
28015
28021
|
},
|
|
28016
28022
|
"anchorTag": {
|
|
28017
28023
|
"type": "string"
|
|
28024
|
+
},
|
|
28025
|
+
"newsFeedCode": {
|
|
28026
|
+
"type": "string"
|
|
28018
28027
|
}
|
|
28019
28028
|
}
|
|
28020
28029
|
},
|
|
@@ -28035,6 +28044,12 @@ export const data = {
|
|
|
28035
28044
|
},
|
|
28036
28045
|
"url": {
|
|
28037
28046
|
"type": "string"
|
|
28047
|
+
},
|
|
28048
|
+
"summary": {
|
|
28049
|
+
"type": "string"
|
|
28050
|
+
},
|
|
28051
|
+
"author": {
|
|
28052
|
+
"type": "string"
|
|
28038
28053
|
}
|
|
28039
28054
|
}
|
|
28040
28055
|
},
|
package/geozones.d.ts
CHANGED
|
@@ -39,6 +39,10 @@ export type Properties = {
|
|
|
39
39
|
remotePage: string;
|
|
40
40
|
inboxExpireDays: number;
|
|
41
41
|
inboxIcon: string;
|
|
42
|
+
/** Inclusive "YYYY-MM-DD" bounds read in the timetable timezone; empty = unbounded. */
|
|
43
|
+
startDate: string;
|
|
44
|
+
/** Inclusive last day the geozone may send; empty = no expiry. */
|
|
45
|
+
endDate: string;
|
|
42
46
|
};
|
|
43
47
|
export type Geozone = {
|
|
44
48
|
code: string;
|
package/package.json
CHANGED
package/sms_presets.d.ts
CHANGED
|
@@ -55,10 +55,12 @@ export type SmsProductsSource_Rule = {
|
|
|
55
55
|
strategy: string;
|
|
56
56
|
/** Device tag holding the anchor product id of "also_bought"; empty = unset. */
|
|
57
57
|
anchorTag: string;
|
|
58
|
+
/** Registry code of the news feed a "news" body reads; empty = every feed of the application. */
|
|
59
|
+
newsFeedCode: string;
|
|
58
60
|
};
|
|
59
61
|
/**
|
|
60
|
-
* One hand-picked product
|
|
61
|
-
* the tokens an item template can spend; catalog_id backs
|
|
62
|
+
* One hand-picked row — a catalog product or a news article — frozen as the editor saw it.
|
|
63
|
+
* The fields are exactly the tokens an item template can spend; catalog_id backs Refresh.
|
|
62
64
|
*/
|
|
63
65
|
export type SmsProductsSource_Picked = {
|
|
64
66
|
catalogId: string;
|
|
@@ -66,6 +68,9 @@ export type SmsProductsSource_Picked = {
|
|
|
66
68
|
price: string;
|
|
67
69
|
category: string;
|
|
68
70
|
url: string;
|
|
71
|
+
/** Only a hand-picked news article carries these; a product row leaves them empty. */
|
|
72
|
+
summary: string;
|
|
73
|
+
author: string;
|
|
69
74
|
};
|
|
70
75
|
/**
|
|
71
76
|
* Catalog-driven body: the rule that picks products and the per-locale parts wrapped
|
|
@@ -91,8 +96,8 @@ export type SmsProductsSource = {
|
|
|
91
96
|
/** Opens the message, sent once, before the product list. */
|
|
92
97
|
intro: Record<string, string>;
|
|
93
98
|
/**
|
|
94
|
-
* Where the rows come from: "manual" reads `picked`,
|
|
95
|
-
* reads `rule
|
|
99
|
+
* Where the rows come from: "manual" reads `picked`, "news" reads `rule` against the news
|
|
100
|
+
* feed, anything else (including "") reads `rule` — what presets written before it carry.
|
|
96
101
|
*/
|
|
97
102
|
mode: string;
|
|
98
103
|
/** The hand-picked rows. A send fetches nothing for them, so the segment count is exact. */
|