@pushwoosh/rpc-v2-http-api-data 0.2.18 → 0.2.20
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 +0 -33
- package/inapp_messages.d.ts +2 -14
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -12006,21 +12006,12 @@ export const data = {
|
|
|
12006
12006
|
"updated": {
|
|
12007
12007
|
"type": "Date"
|
|
12008
12008
|
},
|
|
12009
|
-
"eventId": {
|
|
12010
|
-
"type": "number"
|
|
12011
|
-
},
|
|
12012
|
-
"eventName": {
|
|
12013
|
-
"type": "string"
|
|
12014
|
-
},
|
|
12015
12009
|
"filterName": {
|
|
12016
12010
|
"type": "string"
|
|
12017
12011
|
},
|
|
12018
12012
|
"filterCode": {
|
|
12019
12013
|
"type": "string"
|
|
12020
12014
|
},
|
|
12021
|
-
"devicesFilter": {
|
|
12022
|
-
"type": "string"
|
|
12023
|
-
},
|
|
12024
12015
|
"segment": {
|
|
12025
12016
|
"type": "string"
|
|
12026
12017
|
},
|
|
@@ -12160,18 +12151,6 @@ export const data = {
|
|
|
12160
12151
|
"type": "string",
|
|
12161
12152
|
"optional": true
|
|
12162
12153
|
},
|
|
12163
|
-
"eventId": {
|
|
12164
|
-
"type": "number",
|
|
12165
|
-
"optional": true
|
|
12166
|
-
},
|
|
12167
|
-
"eventName": {
|
|
12168
|
-
"type": "string",
|
|
12169
|
-
"optional": true
|
|
12170
|
-
},
|
|
12171
|
-
"devicesFilter": {
|
|
12172
|
-
"type": "string",
|
|
12173
|
-
"optional": true
|
|
12174
|
-
},
|
|
12175
12154
|
"startDate": {
|
|
12176
12155
|
"type": "Date",
|
|
12177
12156
|
"optional": true
|
|
@@ -12255,18 +12234,6 @@ export const data = {
|
|
|
12255
12234
|
"type": "string",
|
|
12256
12235
|
"optional": true
|
|
12257
12236
|
},
|
|
12258
|
-
"eventId": {
|
|
12259
|
-
"type": "number",
|
|
12260
|
-
"optional": true
|
|
12261
|
-
},
|
|
12262
|
-
"eventName": {
|
|
12263
|
-
"type": "string",
|
|
12264
|
-
"optional": true
|
|
12265
|
-
},
|
|
12266
|
-
"devicesFilter": {
|
|
12267
|
-
"type": "string",
|
|
12268
|
-
"optional": true
|
|
12269
|
-
},
|
|
12270
12237
|
"startDate": {
|
|
12271
12238
|
"type": "Date",
|
|
12272
12239
|
"optional": true
|
package/inapp_messages.d.ts
CHANGED
|
@@ -40,11 +40,8 @@ export type Inapp = {
|
|
|
40
40
|
startDate: Date;
|
|
41
41
|
endDate: Date;
|
|
42
42
|
updated: Date;
|
|
43
|
-
eventId: number;
|
|
44
|
-
eventName: string;
|
|
45
43
|
filterName: string;
|
|
46
44
|
filterCode: string;
|
|
47
|
-
devicesFilter: string;
|
|
48
45
|
segment: string;
|
|
49
46
|
priority: number;
|
|
50
47
|
richMediaCode: string;
|
|
@@ -90,14 +87,8 @@ export type CreateInappRequest = {
|
|
|
90
87
|
richMediaCode?: string;
|
|
91
88
|
filterName?: string;
|
|
92
89
|
filterCode?: string;
|
|
93
|
-
/** JSON */
|
|
90
|
+
/** JSON (only capping is read/written server-side) */
|
|
94
91
|
segment?: string;
|
|
95
|
-
/** required for PUBLISH (either event_id or event_name) */
|
|
96
|
-
eventId?: number;
|
|
97
|
-
/** required for PUBLISH (either event_id or event_name) */
|
|
98
|
-
eventName?: string;
|
|
99
|
-
/** JSON */
|
|
100
|
-
devicesFilter?: string;
|
|
101
92
|
startDate?: Date;
|
|
102
93
|
endDate?: Date;
|
|
103
94
|
timezone?: string;
|
|
@@ -105,6 +96,7 @@ export type CreateInappRequest = {
|
|
|
105
96
|
messageType?: Inapp_MessageType;
|
|
106
97
|
tagFilterExpression?: pushwoosh_objects_filters_v1_FilterExpression;
|
|
107
98
|
eventFilterExpression?: pushwoosh_objects_filters_v1_FilterExpression;
|
|
99
|
+
/** required for PUBLISH */
|
|
108
100
|
triggerFilterExpression?: pushwoosh_objects_filters_v1_FilterExpression;
|
|
109
101
|
};
|
|
110
102
|
export type CreateInappResponse = {
|
|
@@ -122,10 +114,6 @@ export type UpdateInappRequest = {
|
|
|
122
114
|
filterCode?: string;
|
|
123
115
|
/** JSON */
|
|
124
116
|
segment?: string;
|
|
125
|
-
eventId?: number;
|
|
126
|
-
eventName?: string;
|
|
127
|
-
/** JSON */
|
|
128
|
-
devicesFilter?: string;
|
|
129
117
|
startDate?: Date;
|
|
130
118
|
endDate?: Date;
|
|
131
119
|
priority?: number;
|