@pushwoosh/rpc-gateway-journey-data 0.26.394 → 0.26.397
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/commonTypes.js +1 -0
- package/data.js +15 -1
- package/index.js +1 -0
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +4 -2
- package/pushwoosh_cj_journey.js +1 -0
- package/pushwoosh_cj_journey_category.js +1 -0
- package/pushwoosh_objects_filters_v1.js +1 -0
package/commonTypes.js
CHANGED
package/data.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
+
/* Autogenerated code */
|
|
2
3
|
export const data = {
|
|
3
4
|
"pushwoosh.cj.journey.Journey": {
|
|
4
5
|
"type": "S",
|
|
@@ -947,7 +948,7 @@ export const data = {
|
|
|
947
948
|
"type": "number"
|
|
948
949
|
},
|
|
949
950
|
"avrCTR": {
|
|
950
|
-
"type": "
|
|
951
|
+
"type": "number"
|
|
951
952
|
}
|
|
952
953
|
}
|
|
953
954
|
},
|
|
@@ -2417,6 +2418,9 @@ export const data = {
|
|
|
2417
2418
|
},
|
|
2418
2419
|
"sendRate": {
|
|
2419
2420
|
"type": "pushwoosh.cj.journey.SendRate"
|
|
2421
|
+
},
|
|
2422
|
+
"messageType": {
|
|
2423
|
+
"type": "pushwoosh.cj.journey.MessageType"
|
|
2420
2424
|
}
|
|
2421
2425
|
},
|
|
2422
2426
|
"oneofs": {}
|
|
@@ -2862,6 +2866,13 @@ export const data = {
|
|
|
2862
2866
|
"SEND"
|
|
2863
2867
|
]
|
|
2864
2868
|
},
|
|
2869
|
+
"pushwoosh.cj.journey.MessageType": {
|
|
2870
|
+
"type": "E",
|
|
2871
|
+
"values": [
|
|
2872
|
+
"Marketing",
|
|
2873
|
+
"Transactional"
|
|
2874
|
+
]
|
|
2875
|
+
},
|
|
2865
2876
|
"pushwoosh.cj.journey.IntTagValueList": {
|
|
2866
2877
|
"type": "I",
|
|
2867
2878
|
"fields": {
|
|
@@ -3254,6 +3265,9 @@ export const data = {
|
|
|
3254
3265
|
},
|
|
3255
3266
|
"capping": {
|
|
3256
3267
|
"type": "pushwoosh.cj.journey.Capping"
|
|
3268
|
+
},
|
|
3269
|
+
"messageType": {
|
|
3270
|
+
"type": "pushwoosh.cj.journey.MessageType"
|
|
3257
3271
|
}
|
|
3258
3272
|
},
|
|
3259
3273
|
"oneofs": {}
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DoubleValue as google_protobuf_DoubleValue } from './google_protobuf';
|
|
2
1
|
import { FilterExpression as pushwoosh_objects_filters_v1_FilterExpression } from './pushwoosh_objects_filters_v1';
|
|
3
2
|
export interface Journey {
|
|
4
3
|
GetJourneysList(request: GetJourneysListRequest): Promise<GetJourneysListResponse>;
|
|
@@ -314,7 +313,7 @@ export type JourneyStatsPayloadGet = {
|
|
|
314
313
|
export type JourneySummaryStats = {
|
|
315
314
|
in: number;
|
|
316
315
|
goals: number;
|
|
317
|
-
avrCTR:
|
|
316
|
+
avrCTR: number;
|
|
318
317
|
};
|
|
319
318
|
export type RenameRequest = {
|
|
320
319
|
uuid?: string;
|
|
@@ -893,6 +892,7 @@ export type PointParamsSendPush = {
|
|
|
893
892
|
inboxOptions: InboxOptions;
|
|
894
893
|
vouchersParams: VoucherParams;
|
|
895
894
|
sendRate: SendRate;
|
|
895
|
+
messageType: MessageType;
|
|
896
896
|
};
|
|
897
897
|
export type PointParamsSendSms = {
|
|
898
898
|
presetCode: string;
|
|
@@ -1035,6 +1035,7 @@ export type PointParamsSendData = {
|
|
|
1035
1035
|
vouchersParams: VoucherParams;
|
|
1036
1036
|
};
|
|
1037
1037
|
export type UnsubscribedPolicy = 'UNKNOWN' | 'IGNORE' | 'SEND';
|
|
1038
|
+
export type MessageType = 'Marketing' | 'Transactional';
|
|
1038
1039
|
export type IntTagValueList = {
|
|
1039
1040
|
value: number[];
|
|
1040
1041
|
};
|
|
@@ -1210,6 +1211,7 @@ export type PointParamsInapp = {
|
|
|
1210
1211
|
campaignUid?: number;
|
|
1211
1212
|
expireInDays: number;
|
|
1212
1213
|
capping: Capping;
|
|
1214
|
+
messageType: MessageType;
|
|
1213
1215
|
};
|
|
1214
1216
|
export type Filter = 'CUSTOM' | 'EMAIL_EXISTS' | 'PUSH_TOKEN_EXISTS' | 'SMS_TOKEN_EXISTS' | 'WHATSAPP_TOKEN_EXISTS' | 'LINE_TOKEN_EXISTS';
|
|
1215
1217
|
export type PointParamsFilter = {
|
package/pushwoosh_cj_journey.js
CHANGED