@pushwoosh/rpc-gateway-journey-data 0.26.325 → 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/data.js CHANGED
@@ -2221,10 +2221,12 @@ export const data = {
2221
2221
  "type": "string"
2222
2222
  },
2223
2223
  "campaignCode": {
2224
- "type": "string"
2224
+ "type": "string",
2225
+ "optional": true
2225
2226
  },
2226
2227
  "campaignUid": {
2227
- "type": "number"
2228
+ "type": "number",
2229
+ "optional": true
2228
2230
  },
2229
2231
  "splitParams": {
2230
2232
  "type": "pushwoosh.cj.journey.BehaviorSplitter"
@@ -2256,7 +2258,8 @@ export const data = {
2256
2258
  "sendRate": {
2257
2259
  "type": "pushwoosh.cj.journey.SendRate"
2258
2260
  }
2259
- }
2261
+ },
2262
+ "oneofs": {}
2260
2263
  },
2261
2264
  "pushwoosh.cj.journey.PointParamsSendSms": {
2262
2265
  "type": "I",
@@ -2271,10 +2274,12 @@ export const data = {
2271
2274
  "type": "string"
2272
2275
  },
2273
2276
  "campaignCode": {
2274
- "type": "string"
2277
+ "type": "string",
2278
+ "optional": true
2275
2279
  },
2276
2280
  "campaignUid": {
2277
- "type": "number"
2281
+ "type": "number",
2282
+ "optional": true
2278
2283
  },
2279
2284
  "splitParams": {
2280
2285
  "type": "pushwoosh.cj.journey.BehaviorSplitter"
@@ -2297,7 +2302,8 @@ export const data = {
2297
2302
  "sendRate": {
2298
2303
  "type": "pushwoosh.cj.journey.SendRate"
2299
2304
  }
2300
- }
2305
+ },
2306
+ "oneofs": {}
2301
2307
  },
2302
2308
  "pushwoosh.cj.journey.PointParamsSendLine": {
2303
2309
  "type": "I",
@@ -2312,10 +2318,12 @@ export const data = {
2312
2318
  "type": "string"
2313
2319
  },
2314
2320
  "campaignCode": {
2315
- "type": "string"
2321
+ "type": "string",
2322
+ "optional": true
2316
2323
  },
2317
2324
  "campaignUid": {
2318
- "type": "number"
2325
+ "type": "number",
2326
+ "optional": true
2319
2327
  },
2320
2328
  "splitParams": {
2321
2329
  "type": "pushwoosh.cj.journey.BehaviorSplitter"
@@ -2335,7 +2343,8 @@ export const data = {
2335
2343
  "vouchersParams": {
2336
2344
  "type": "pushwoosh.cj.journey.VoucherParams"
2337
2345
  }
2338
- }
2346
+ },
2347
+ "oneofs": {}
2339
2348
  },
2340
2349
  "pushwoosh.cj.journey.WhatsAppPersonalisedParams": {
2341
2350
  "type": "I",
@@ -2406,10 +2415,12 @@ export const data = {
2406
2415
  "type": "string"
2407
2416
  },
2408
2417
  "campaignCode": {
2409
- "type": "string"
2418
+ "type": "string",
2419
+ "optional": true
2410
2420
  },
2411
2421
  "campaignUid": {
2412
- "type": "number"
2422
+ "type": "number",
2423
+ "optional": true
2413
2424
  },
2414
2425
  "splitParams": {
2415
2426
  "type": "pushwoosh.cj.journey.BehaviorSplitter"
@@ -2426,7 +2437,8 @@ export const data = {
2426
2437
  "vouchersParams": {
2427
2438
  "type": "pushwoosh.cj.journey.VoucherParams"
2428
2439
  }
2429
- }
2440
+ },
2441
+ "oneofs": {}
2430
2442
  },
2431
2443
  "pushwoosh.cj.journey.PointParamsSendEmail": {
2432
2444
  "type": "I",
@@ -2438,10 +2450,12 @@ export const data = {
2438
2450
  "type": "string"
2439
2451
  },
2440
2452
  "campaignCode": {
2441
- "type": "string"
2453
+ "type": "string",
2454
+ "optional": true
2442
2455
  },
2443
2456
  "campaignUid": {
2444
- "type": "number"
2457
+ "type": "number",
2458
+ "optional": true
2445
2459
  },
2446
2460
  "splitParams": {
2447
2461
  "type": "pushwoosh.cj.journey.BehaviorSplitter"
@@ -2490,7 +2504,8 @@ export const data = {
2490
2504
  "sendRate": {
2491
2505
  "type": "pushwoosh.cj.journey.SendRate"
2492
2506
  }
2493
- }
2507
+ },
2508
+ "oneofs": {}
2494
2509
  },
2495
2510
  "pushwoosh.cj.journey.From": {
2496
2511
  "type": "I",
@@ -2524,10 +2539,12 @@ export const data = {
2524
2539
  "type": "string"
2525
2540
  },
2526
2541
  "campaignCode": {
2527
- "type": "string"
2542
+ "type": "string",
2543
+ "optional": true
2528
2544
  },
2529
2545
  "campaignUid": {
2530
- "type": "number"
2546
+ "type": "number",
2547
+ "optional": true
2531
2548
  },
2532
2549
  "sendByUserId": {
2533
2550
  "type": "boolean"
@@ -2541,7 +2558,8 @@ export const data = {
2541
2558
  "vouchersParams": {
2542
2559
  "type": "pushwoosh.cj.journey.VoucherParams"
2543
2560
  }
2544
- }
2561
+ },
2562
+ "oneofs": {}
2545
2563
  },
2546
2564
  "pushwoosh.cj.journey.UnsubscribedPolicy": {
2547
2565
  "type": "E",
@@ -2782,10 +2800,12 @@ export const data = {
2782
2800
  "type": "string"
2783
2801
  },
2784
2802
  "campaignCode": {
2785
- "type": "string"
2803
+ "type": "string",
2804
+ "optional": true
2786
2805
  },
2787
2806
  "campaignUid": {
2788
- "type": "number"
2807
+ "type": "number",
2808
+ "optional": true
2789
2809
  },
2790
2810
  "expireInDays": {
2791
2811
  "type": "number"
@@ -2793,7 +2813,8 @@ export const data = {
2793
2813
  "capping": {
2794
2814
  "type": "pushwoosh.cj.journey.Capping"
2795
2815
  }
2796
- }
2816
+ },
2817
+ "oneofs": {}
2797
2818
  },
2798
2819
  "pushwoosh.cj.journey.Filter": {
2799
2820
  "type": "E",
@@ -4204,6 +4225,9 @@ export const data = {
4204
4225
  },
4205
4226
  "count": {
4206
4227
  "type": "number"
4228
+ },
4229
+ "userDrop": {
4230
+ "type": "boolean"
4207
4231
  }
4208
4232
  }
4209
4233
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.26.325",
3
+ "version": "0.26.327",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -829,8 +829,8 @@ export type PointParamsSendPush = {
829
829
  content: string;
830
830
  title: string;
831
831
  applicationCode: string;
832
- campaignCode: string;
833
- campaignUid: number;
832
+ campaignCode?: string;
833
+ campaignUid?: number;
834
834
  splitParams: BehaviorSplitter;
835
835
  sendByUserId: boolean;
836
836
  waitOptimalTime: boolean;
@@ -846,8 +846,8 @@ export type PointParamsSendSms = {
846
846
  presetCode: string;
847
847
  content: string;
848
848
  applicationCode: string;
849
- campaignCode: string;
850
- campaignUid: number;
849
+ campaignCode?: string;
850
+ campaignUid?: number;
851
851
  splitParams: BehaviorSplitter;
852
852
  sendByUserId: boolean;
853
853
  liquidTemplateParams: LiquidTemplateParams;
@@ -860,8 +860,8 @@ export type PointParamsSendLine = {
860
860
  presetCode: string;
861
861
  content: string;
862
862
  applicationCode: string;
863
- campaignCode: string;
864
- campaignUid: number;
863
+ campaignCode?: string;
864
+ campaignUid?: number;
865
865
  splitParams: BehaviorSplitter;
866
866
  sendByUserId: boolean;
867
867
  liquidTemplateParams: LiquidTemplateParams;
@@ -892,8 +892,8 @@ export type PointParamsSendWhatsApp = {
892
892
  presetCode: string;
893
893
  content: string;
894
894
  applicationCode: string;
895
- campaignCode: string;
896
- campaignUid: number;
895
+ campaignCode?: string;
896
+ campaignUid?: number;
897
897
  splitParams: BehaviorSplitter;
898
898
  sendByUserId: boolean;
899
899
  personalise: WhatsAppPersonalisedParams;
@@ -903,8 +903,8 @@ export type PointParamsSendWhatsApp = {
903
903
  export type PointParamsSendEmail = {
904
904
  applicationCode: string;
905
905
  presetCode: string;
906
- campaignCode: string;
907
- campaignUid: number;
906
+ campaignCode?: string;
907
+ campaignUid?: number;
908
908
  splitParams: BehaviorSplitter;
909
909
  sendOnlyToSubscribed: boolean;
910
910
  liquidTemplateParams: LiquidTemplateParams;
@@ -932,8 +932,8 @@ export type ReplyTo = {
932
932
  export type PointParamsSendData = {
933
933
  content: string;
934
934
  applicationCode: string;
935
- campaignCode: string;
936
- campaignUid: number;
935
+ campaignCode?: string;
936
+ campaignUid?: number;
937
937
  sendByUserId: boolean;
938
938
  liquidTemplateParams: LiquidTemplateParams;
939
939
  personalise: PersonalisedParams;
@@ -1045,8 +1045,8 @@ export type PointWaitEventInfo = {
1045
1045
  export type PointParamsInapp = {
1046
1046
  richmediaCode: string;
1047
1047
  applicationCode: string;
1048
- campaignCode: string;
1049
- campaignUid: number;
1048
+ campaignCode?: string;
1049
+ campaignUid?: number;
1050
1050
  expireInDays: number;
1051
1051
  capping: Capping;
1052
1052
  };
@@ -1537,6 +1537,7 @@ export type GetJourneyDeliveryReportResponse_DeliveryError = {
1537
1537
  name: string;
1538
1538
  description: string;
1539
1539
  count: number;
1540
+ userDrop: boolean;
1540
1541
  };
1541
1542
  export type GetJourneyDeliveryReportResponse = {
1542
1543
  push: GetJourneyDeliveryReportResponse_DeliveryError[];