@pushwoosh/rpc-gateway-journey-data 0.26.326 → 0.26.327
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 +44 -22
- package/index.js +1 -0
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +15 -16
- 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",
|
|
@@ -798,7 +799,7 @@ export const data = {
|
|
|
798
799
|
"type": "number"
|
|
799
800
|
},
|
|
800
801
|
"avrCTR": {
|
|
801
|
-
"type": "
|
|
802
|
+
"type": "number"
|
|
802
803
|
}
|
|
803
804
|
}
|
|
804
805
|
},
|
|
@@ -2220,10 +2221,12 @@ export const data = {
|
|
|
2220
2221
|
"type": "string"
|
|
2221
2222
|
},
|
|
2222
2223
|
"campaignCode": {
|
|
2223
|
-
"type": "string"
|
|
2224
|
+
"type": "string",
|
|
2225
|
+
"optional": true
|
|
2224
2226
|
},
|
|
2225
2227
|
"campaignUid": {
|
|
2226
|
-
"type": "number"
|
|
2228
|
+
"type": "number",
|
|
2229
|
+
"optional": true
|
|
2227
2230
|
},
|
|
2228
2231
|
"splitParams": {
|
|
2229
2232
|
"type": "pushwoosh.cj.journey.BehaviorSplitter"
|
|
@@ -2255,7 +2258,8 @@ export const data = {
|
|
|
2255
2258
|
"sendRate": {
|
|
2256
2259
|
"type": "pushwoosh.cj.journey.SendRate"
|
|
2257
2260
|
}
|
|
2258
|
-
}
|
|
2261
|
+
},
|
|
2262
|
+
"oneofs": {}
|
|
2259
2263
|
},
|
|
2260
2264
|
"pushwoosh.cj.journey.PointParamsSendSms": {
|
|
2261
2265
|
"type": "I",
|
|
@@ -2270,10 +2274,12 @@ export const data = {
|
|
|
2270
2274
|
"type": "string"
|
|
2271
2275
|
},
|
|
2272
2276
|
"campaignCode": {
|
|
2273
|
-
"type": "string"
|
|
2277
|
+
"type": "string",
|
|
2278
|
+
"optional": true
|
|
2274
2279
|
},
|
|
2275
2280
|
"campaignUid": {
|
|
2276
|
-
"type": "number"
|
|
2281
|
+
"type": "number",
|
|
2282
|
+
"optional": true
|
|
2277
2283
|
},
|
|
2278
2284
|
"splitParams": {
|
|
2279
2285
|
"type": "pushwoosh.cj.journey.BehaviorSplitter"
|
|
@@ -2296,7 +2302,8 @@ export const data = {
|
|
|
2296
2302
|
"sendRate": {
|
|
2297
2303
|
"type": "pushwoosh.cj.journey.SendRate"
|
|
2298
2304
|
}
|
|
2299
|
-
}
|
|
2305
|
+
},
|
|
2306
|
+
"oneofs": {}
|
|
2300
2307
|
},
|
|
2301
2308
|
"pushwoosh.cj.journey.PointParamsSendLine": {
|
|
2302
2309
|
"type": "I",
|
|
@@ -2311,10 +2318,12 @@ export const data = {
|
|
|
2311
2318
|
"type": "string"
|
|
2312
2319
|
},
|
|
2313
2320
|
"campaignCode": {
|
|
2314
|
-
"type": "string"
|
|
2321
|
+
"type": "string",
|
|
2322
|
+
"optional": true
|
|
2315
2323
|
},
|
|
2316
2324
|
"campaignUid": {
|
|
2317
|
-
"type": "number"
|
|
2325
|
+
"type": "number",
|
|
2326
|
+
"optional": true
|
|
2318
2327
|
},
|
|
2319
2328
|
"splitParams": {
|
|
2320
2329
|
"type": "pushwoosh.cj.journey.BehaviorSplitter"
|
|
@@ -2334,7 +2343,8 @@ export const data = {
|
|
|
2334
2343
|
"vouchersParams": {
|
|
2335
2344
|
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
2336
2345
|
}
|
|
2337
|
-
}
|
|
2346
|
+
},
|
|
2347
|
+
"oneofs": {}
|
|
2338
2348
|
},
|
|
2339
2349
|
"pushwoosh.cj.journey.WhatsAppPersonalisedParams": {
|
|
2340
2350
|
"type": "I",
|
|
@@ -2405,10 +2415,12 @@ export const data = {
|
|
|
2405
2415
|
"type": "string"
|
|
2406
2416
|
},
|
|
2407
2417
|
"campaignCode": {
|
|
2408
|
-
"type": "string"
|
|
2418
|
+
"type": "string",
|
|
2419
|
+
"optional": true
|
|
2409
2420
|
},
|
|
2410
2421
|
"campaignUid": {
|
|
2411
|
-
"type": "number"
|
|
2422
|
+
"type": "number",
|
|
2423
|
+
"optional": true
|
|
2412
2424
|
},
|
|
2413
2425
|
"splitParams": {
|
|
2414
2426
|
"type": "pushwoosh.cj.journey.BehaviorSplitter"
|
|
@@ -2425,7 +2437,8 @@ export const data = {
|
|
|
2425
2437
|
"vouchersParams": {
|
|
2426
2438
|
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
2427
2439
|
}
|
|
2428
|
-
}
|
|
2440
|
+
},
|
|
2441
|
+
"oneofs": {}
|
|
2429
2442
|
},
|
|
2430
2443
|
"pushwoosh.cj.journey.PointParamsSendEmail": {
|
|
2431
2444
|
"type": "I",
|
|
@@ -2437,10 +2450,12 @@ export const data = {
|
|
|
2437
2450
|
"type": "string"
|
|
2438
2451
|
},
|
|
2439
2452
|
"campaignCode": {
|
|
2440
|
-
"type": "string"
|
|
2453
|
+
"type": "string",
|
|
2454
|
+
"optional": true
|
|
2441
2455
|
},
|
|
2442
2456
|
"campaignUid": {
|
|
2443
|
-
"type": "number"
|
|
2457
|
+
"type": "number",
|
|
2458
|
+
"optional": true
|
|
2444
2459
|
},
|
|
2445
2460
|
"splitParams": {
|
|
2446
2461
|
"type": "pushwoosh.cj.journey.BehaviorSplitter"
|
|
@@ -2489,7 +2504,8 @@ export const data = {
|
|
|
2489
2504
|
"sendRate": {
|
|
2490
2505
|
"type": "pushwoosh.cj.journey.SendRate"
|
|
2491
2506
|
}
|
|
2492
|
-
}
|
|
2507
|
+
},
|
|
2508
|
+
"oneofs": {}
|
|
2493
2509
|
},
|
|
2494
2510
|
"pushwoosh.cj.journey.From": {
|
|
2495
2511
|
"type": "I",
|
|
@@ -2523,10 +2539,12 @@ export const data = {
|
|
|
2523
2539
|
"type": "string"
|
|
2524
2540
|
},
|
|
2525
2541
|
"campaignCode": {
|
|
2526
|
-
"type": "string"
|
|
2542
|
+
"type": "string",
|
|
2543
|
+
"optional": true
|
|
2527
2544
|
},
|
|
2528
2545
|
"campaignUid": {
|
|
2529
|
-
"type": "number"
|
|
2546
|
+
"type": "number",
|
|
2547
|
+
"optional": true
|
|
2530
2548
|
},
|
|
2531
2549
|
"sendByUserId": {
|
|
2532
2550
|
"type": "boolean"
|
|
@@ -2540,7 +2558,8 @@ export const data = {
|
|
|
2540
2558
|
"vouchersParams": {
|
|
2541
2559
|
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
2542
2560
|
}
|
|
2543
|
-
}
|
|
2561
|
+
},
|
|
2562
|
+
"oneofs": {}
|
|
2544
2563
|
},
|
|
2545
2564
|
"pushwoosh.cj.journey.UnsubscribedPolicy": {
|
|
2546
2565
|
"type": "E",
|
|
@@ -2781,10 +2800,12 @@ export const data = {
|
|
|
2781
2800
|
"type": "string"
|
|
2782
2801
|
},
|
|
2783
2802
|
"campaignCode": {
|
|
2784
|
-
"type": "string"
|
|
2803
|
+
"type": "string",
|
|
2804
|
+
"optional": true
|
|
2785
2805
|
},
|
|
2786
2806
|
"campaignUid": {
|
|
2787
|
-
"type": "number"
|
|
2807
|
+
"type": "number",
|
|
2808
|
+
"optional": true
|
|
2788
2809
|
},
|
|
2789
2810
|
"expireInDays": {
|
|
2790
2811
|
"type": "number"
|
|
@@ -2792,7 +2813,8 @@ export const data = {
|
|
|
2792
2813
|
"capping": {
|
|
2793
2814
|
"type": "pushwoosh.cj.journey.Capping"
|
|
2794
2815
|
}
|
|
2795
|
-
}
|
|
2816
|
+
},
|
|
2817
|
+
"oneofs": {}
|
|
2796
2818
|
},
|
|
2797
2819
|
"pushwoosh.cj.journey.Filter": {
|
|
2798
2820
|
"type": "E",
|
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>;
|
|
@@ -270,7 +269,7 @@ export type JourneyStatsPayloadGet = {
|
|
|
270
269
|
export type JourneySummaryStats = {
|
|
271
270
|
in: number;
|
|
272
271
|
goals: number;
|
|
273
|
-
avrCTR:
|
|
272
|
+
avrCTR: number;
|
|
274
273
|
};
|
|
275
274
|
export type RenameRequest = {
|
|
276
275
|
uuid?: string;
|
|
@@ -830,8 +829,8 @@ export type PointParamsSendPush = {
|
|
|
830
829
|
content: string;
|
|
831
830
|
title: string;
|
|
832
831
|
applicationCode: string;
|
|
833
|
-
campaignCode
|
|
834
|
-
campaignUid
|
|
832
|
+
campaignCode?: string;
|
|
833
|
+
campaignUid?: number;
|
|
835
834
|
splitParams: BehaviorSplitter;
|
|
836
835
|
sendByUserId: boolean;
|
|
837
836
|
waitOptimalTime: boolean;
|
|
@@ -847,8 +846,8 @@ export type PointParamsSendSms = {
|
|
|
847
846
|
presetCode: string;
|
|
848
847
|
content: string;
|
|
849
848
|
applicationCode: string;
|
|
850
|
-
campaignCode
|
|
851
|
-
campaignUid
|
|
849
|
+
campaignCode?: string;
|
|
850
|
+
campaignUid?: number;
|
|
852
851
|
splitParams: BehaviorSplitter;
|
|
853
852
|
sendByUserId: boolean;
|
|
854
853
|
liquidTemplateParams: LiquidTemplateParams;
|
|
@@ -861,8 +860,8 @@ export type PointParamsSendLine = {
|
|
|
861
860
|
presetCode: string;
|
|
862
861
|
content: string;
|
|
863
862
|
applicationCode: string;
|
|
864
|
-
campaignCode
|
|
865
|
-
campaignUid
|
|
863
|
+
campaignCode?: string;
|
|
864
|
+
campaignUid?: number;
|
|
866
865
|
splitParams: BehaviorSplitter;
|
|
867
866
|
sendByUserId: boolean;
|
|
868
867
|
liquidTemplateParams: LiquidTemplateParams;
|
|
@@ -893,8 +892,8 @@ export type PointParamsSendWhatsApp = {
|
|
|
893
892
|
presetCode: string;
|
|
894
893
|
content: string;
|
|
895
894
|
applicationCode: string;
|
|
896
|
-
campaignCode
|
|
897
|
-
campaignUid
|
|
895
|
+
campaignCode?: string;
|
|
896
|
+
campaignUid?: number;
|
|
898
897
|
splitParams: BehaviorSplitter;
|
|
899
898
|
sendByUserId: boolean;
|
|
900
899
|
personalise: WhatsAppPersonalisedParams;
|
|
@@ -904,8 +903,8 @@ export type PointParamsSendWhatsApp = {
|
|
|
904
903
|
export type PointParamsSendEmail = {
|
|
905
904
|
applicationCode: string;
|
|
906
905
|
presetCode: string;
|
|
907
|
-
campaignCode
|
|
908
|
-
campaignUid
|
|
906
|
+
campaignCode?: string;
|
|
907
|
+
campaignUid?: number;
|
|
909
908
|
splitParams: BehaviorSplitter;
|
|
910
909
|
sendOnlyToSubscribed: boolean;
|
|
911
910
|
liquidTemplateParams: LiquidTemplateParams;
|
|
@@ -933,8 +932,8 @@ export type ReplyTo = {
|
|
|
933
932
|
export type PointParamsSendData = {
|
|
934
933
|
content: string;
|
|
935
934
|
applicationCode: string;
|
|
936
|
-
campaignCode
|
|
937
|
-
campaignUid
|
|
935
|
+
campaignCode?: string;
|
|
936
|
+
campaignUid?: number;
|
|
938
937
|
sendByUserId: boolean;
|
|
939
938
|
liquidTemplateParams: LiquidTemplateParams;
|
|
940
939
|
personalise: PersonalisedParams;
|
|
@@ -1046,8 +1045,8 @@ export type PointWaitEventInfo = {
|
|
|
1046
1045
|
export type PointParamsInapp = {
|
|
1047
1046
|
richmediaCode: string;
|
|
1048
1047
|
applicationCode: string;
|
|
1049
|
-
campaignCode
|
|
1050
|
-
campaignUid
|
|
1048
|
+
campaignCode?: string;
|
|
1049
|
+
campaignUid?: number;
|
|
1051
1050
|
expireInDays: number;
|
|
1052
1051
|
capping: Capping;
|
|
1053
1052
|
};
|
package/pushwoosh_cj_journey.js
CHANGED