@pushwoosh/rpc-gateway-journey-data 0.27.187 → 0.27.189
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 +168 -0
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +53 -0
package/data.js
CHANGED
|
@@ -3730,10 +3730,50 @@ export const data = {
|
|
|
3730
3730
|
},
|
|
3731
3731
|
"buttonAction": {
|
|
3732
3732
|
"type": "string"
|
|
3733
|
+
},
|
|
3734
|
+
"carousel": {
|
|
3735
|
+
"type": "pushwoosh.cj.journey.ViberCarousel"
|
|
3733
3736
|
}
|
|
3734
3737
|
},
|
|
3735
3738
|
"oneofs": {}
|
|
3736
3739
|
},
|
|
3740
|
+
"pushwoosh.cj.journey.ViberCarousel": {
|
|
3741
|
+
"type": "I",
|
|
3742
|
+
"fields": {
|
|
3743
|
+
"items": {
|
|
3744
|
+
"type": "pushwoosh.cj.journey.ViberCarouselItem",
|
|
3745
|
+
"array": true
|
|
3746
|
+
}
|
|
3747
|
+
}
|
|
3748
|
+
},
|
|
3749
|
+
"pushwoosh.cj.journey.ViberCarouselItem": {
|
|
3750
|
+
"type": "I",
|
|
3751
|
+
"fields": {
|
|
3752
|
+
"title": {
|
|
3753
|
+
"type": "string"
|
|
3754
|
+
},
|
|
3755
|
+
"image": {
|
|
3756
|
+
"type": "string"
|
|
3757
|
+
},
|
|
3758
|
+
"primaryButton": {
|
|
3759
|
+
"type": "pushwoosh.cj.journey.ViberCarouselButton"
|
|
3760
|
+
},
|
|
3761
|
+
"secondaryButton": {
|
|
3762
|
+
"type": "pushwoosh.cj.journey.ViberCarouselButton"
|
|
3763
|
+
}
|
|
3764
|
+
}
|
|
3765
|
+
},
|
|
3766
|
+
"pushwoosh.cj.journey.ViberCarouselButton": {
|
|
3767
|
+
"type": "I",
|
|
3768
|
+
"fields": {
|
|
3769
|
+
"caption": {
|
|
3770
|
+
"type": "string"
|
|
3771
|
+
},
|
|
3772
|
+
"action": {
|
|
3773
|
+
"type": "string"
|
|
3774
|
+
}
|
|
3775
|
+
}
|
|
3776
|
+
},
|
|
3737
3777
|
"pushwoosh.cj.journey.WhatsAppPersonalisedParams": {
|
|
3738
3778
|
"type": "I",
|
|
3739
3779
|
"fields": {
|
|
@@ -7218,6 +7258,21 @@ export const data = {
|
|
|
7218
7258
|
"fields": {
|
|
7219
7259
|
"code": {
|
|
7220
7260
|
"type": "string"
|
|
7261
|
+
},
|
|
7262
|
+
"orderBy": {
|
|
7263
|
+
"type": "pushwoosh.cj.journey.PresetListOrderBy"
|
|
7264
|
+
},
|
|
7265
|
+
"orderDirection": {
|
|
7266
|
+
"type": "pushwoosh.cj.journey.PresetListOrderDirection"
|
|
7267
|
+
},
|
|
7268
|
+
"page": {
|
|
7269
|
+
"type": "number"
|
|
7270
|
+
},
|
|
7271
|
+
"perPage": {
|
|
7272
|
+
"type": "number"
|
|
7273
|
+
},
|
|
7274
|
+
"search": {
|
|
7275
|
+
"type": "string"
|
|
7221
7276
|
}
|
|
7222
7277
|
}
|
|
7223
7278
|
},
|
|
@@ -7235,6 +7290,9 @@ export const data = {
|
|
|
7235
7290
|
"items": {
|
|
7236
7291
|
"type": "pushwoosh.cj.journey.WhatsAppPresetByAppCodeItem",
|
|
7237
7292
|
"array": true
|
|
7293
|
+
},
|
|
7294
|
+
"total": {
|
|
7295
|
+
"type": "number"
|
|
7238
7296
|
}
|
|
7239
7297
|
}
|
|
7240
7298
|
},
|
|
@@ -7310,6 +7368,21 @@ export const data = {
|
|
|
7310
7368
|
"fields": {
|
|
7311
7369
|
"code": {
|
|
7312
7370
|
"type": "string"
|
|
7371
|
+
},
|
|
7372
|
+
"orderBy": {
|
|
7373
|
+
"type": "pushwoosh.cj.journey.PresetListOrderBy"
|
|
7374
|
+
},
|
|
7375
|
+
"orderDirection": {
|
|
7376
|
+
"type": "pushwoosh.cj.journey.PresetListOrderDirection"
|
|
7377
|
+
},
|
|
7378
|
+
"page": {
|
|
7379
|
+
"type": "number"
|
|
7380
|
+
},
|
|
7381
|
+
"perPage": {
|
|
7382
|
+
"type": "number"
|
|
7383
|
+
},
|
|
7384
|
+
"search": {
|
|
7385
|
+
"type": "string"
|
|
7313
7386
|
}
|
|
7314
7387
|
}
|
|
7315
7388
|
},
|
|
@@ -7327,6 +7400,9 @@ export const data = {
|
|
|
7327
7400
|
"items": {
|
|
7328
7401
|
"type": "pushwoosh.cj.journey.EmailPresetByAppCodeItem",
|
|
7329
7402
|
"array": true
|
|
7403
|
+
},
|
|
7404
|
+
"total": {
|
|
7405
|
+
"type": "number"
|
|
7330
7406
|
}
|
|
7331
7407
|
}
|
|
7332
7408
|
},
|
|
@@ -7360,6 +7436,12 @@ export const data = {
|
|
|
7360
7436
|
},
|
|
7361
7437
|
"approval": {
|
|
7362
7438
|
"type": "pushwoosh.cj.journey.PresetContentApproval"
|
|
7439
|
+
},
|
|
7440
|
+
"created": {
|
|
7441
|
+
"type": "Date"
|
|
7442
|
+
},
|
|
7443
|
+
"updated": {
|
|
7444
|
+
"type": "Date"
|
|
7363
7445
|
}
|
|
7364
7446
|
}
|
|
7365
7447
|
},
|
|
@@ -7542,9 +7624,38 @@ export const data = {
|
|
|
7542
7624
|
},
|
|
7543
7625
|
"search": {
|
|
7544
7626
|
"type": "string"
|
|
7627
|
+
},
|
|
7628
|
+
"orderBy": {
|
|
7629
|
+
"type": "pushwoosh.cj.journey.PresetListOrderBy"
|
|
7630
|
+
},
|
|
7631
|
+
"orderDirection": {
|
|
7632
|
+
"type": "pushwoosh.cj.journey.PresetListOrderDirection"
|
|
7633
|
+
},
|
|
7634
|
+
"page": {
|
|
7635
|
+
"type": "number"
|
|
7636
|
+
},
|
|
7637
|
+
"perPage": {
|
|
7638
|
+
"type": "number"
|
|
7545
7639
|
}
|
|
7546
7640
|
}
|
|
7547
7641
|
},
|
|
7642
|
+
"pushwoosh.cj.journey.PresetListOrderBy": {
|
|
7643
|
+
"type": "E",
|
|
7644
|
+
"values": [
|
|
7645
|
+
"PRESET_LIST_ORDER_BY_UNSPECIFIED",
|
|
7646
|
+
"PRESET_LIST_ORDER_BY_NAME",
|
|
7647
|
+
"PRESET_LIST_ORDER_BY_CREATED",
|
|
7648
|
+
"PRESET_LIST_ORDER_BY_UPDATED"
|
|
7649
|
+
]
|
|
7650
|
+
},
|
|
7651
|
+
"pushwoosh.cj.journey.PresetListOrderDirection": {
|
|
7652
|
+
"type": "E",
|
|
7653
|
+
"values": [
|
|
7654
|
+
"PRESET_LIST_ORDER_DIRECTION_UNSPECIFIED",
|
|
7655
|
+
"PRESET_LIST_ORDER_DIRECTION_ASC",
|
|
7656
|
+
"PRESET_LIST_ORDER_DIRECTION_DESC"
|
|
7657
|
+
]
|
|
7658
|
+
},
|
|
7548
7659
|
"pushwoosh.cj.journey.GetRichMediaByApplicationCodeResponse": {
|
|
7549
7660
|
"type": "I",
|
|
7550
7661
|
"fields": {
|
|
@@ -7559,6 +7670,9 @@ export const data = {
|
|
|
7559
7670
|
"items": {
|
|
7560
7671
|
"type": "pushwoosh.cj.journey.RichMediaItem",
|
|
7561
7672
|
"array": true
|
|
7673
|
+
},
|
|
7674
|
+
"total": {
|
|
7675
|
+
"type": "number"
|
|
7562
7676
|
}
|
|
7563
7677
|
}
|
|
7564
7678
|
},
|
|
@@ -7597,6 +7711,12 @@ export const data = {
|
|
|
7597
7711
|
},
|
|
7598
7712
|
"zipContent": {
|
|
7599
7713
|
"type": "string"
|
|
7714
|
+
},
|
|
7715
|
+
"created": {
|
|
7716
|
+
"type": "Date"
|
|
7717
|
+
},
|
|
7718
|
+
"updated": {
|
|
7719
|
+
"type": "Date"
|
|
7600
7720
|
}
|
|
7601
7721
|
}
|
|
7602
7722
|
},
|
|
@@ -7624,6 +7744,21 @@ export const data = {
|
|
|
7624
7744
|
"fields": {
|
|
7625
7745
|
"code": {
|
|
7626
7746
|
"type": "string"
|
|
7747
|
+
},
|
|
7748
|
+
"orderBy": {
|
|
7749
|
+
"type": "pushwoosh.cj.journey.PresetListOrderBy"
|
|
7750
|
+
},
|
|
7751
|
+
"orderDirection": {
|
|
7752
|
+
"type": "pushwoosh.cj.journey.PresetListOrderDirection"
|
|
7753
|
+
},
|
|
7754
|
+
"page": {
|
|
7755
|
+
"type": "number"
|
|
7756
|
+
},
|
|
7757
|
+
"perPage": {
|
|
7758
|
+
"type": "number"
|
|
7759
|
+
},
|
|
7760
|
+
"search": {
|
|
7761
|
+
"type": "string"
|
|
7627
7762
|
}
|
|
7628
7763
|
}
|
|
7629
7764
|
},
|
|
@@ -7641,6 +7776,9 @@ export const data = {
|
|
|
7641
7776
|
"items": {
|
|
7642
7777
|
"type": "pushwoosh.cj.journey.LinePresetByAppCodeItem",
|
|
7643
7778
|
"array": true
|
|
7779
|
+
},
|
|
7780
|
+
"total": {
|
|
7781
|
+
"type": "number"
|
|
7644
7782
|
}
|
|
7645
7783
|
}
|
|
7646
7784
|
},
|
|
@@ -7655,6 +7793,12 @@ export const data = {
|
|
|
7655
7793
|
},
|
|
7656
7794
|
"content": {
|
|
7657
7795
|
"type": "string"
|
|
7796
|
+
},
|
|
7797
|
+
"created": {
|
|
7798
|
+
"type": "Date"
|
|
7799
|
+
},
|
|
7800
|
+
"updated": {
|
|
7801
|
+
"type": "Date"
|
|
7658
7802
|
}
|
|
7659
7803
|
}
|
|
7660
7804
|
},
|
|
@@ -7663,6 +7807,21 @@ export const data = {
|
|
|
7663
7807
|
"fields": {
|
|
7664
7808
|
"code": {
|
|
7665
7809
|
"type": "string"
|
|
7810
|
+
},
|
|
7811
|
+
"orderBy": {
|
|
7812
|
+
"type": "pushwoosh.cj.journey.PresetListOrderBy"
|
|
7813
|
+
},
|
|
7814
|
+
"orderDirection": {
|
|
7815
|
+
"type": "pushwoosh.cj.journey.PresetListOrderDirection"
|
|
7816
|
+
},
|
|
7817
|
+
"page": {
|
|
7818
|
+
"type": "number"
|
|
7819
|
+
},
|
|
7820
|
+
"perPage": {
|
|
7821
|
+
"type": "number"
|
|
7822
|
+
},
|
|
7823
|
+
"search": {
|
|
7824
|
+
"type": "string"
|
|
7666
7825
|
}
|
|
7667
7826
|
}
|
|
7668
7827
|
},
|
|
@@ -7680,6 +7839,9 @@ export const data = {
|
|
|
7680
7839
|
"items": {
|
|
7681
7840
|
"type": "pushwoosh.cj.journey.SmsPresetByAppCodeItem",
|
|
7682
7841
|
"array": true
|
|
7842
|
+
},
|
|
7843
|
+
"total": {
|
|
7844
|
+
"type": "number"
|
|
7683
7845
|
}
|
|
7684
7846
|
}
|
|
7685
7847
|
},
|
|
@@ -7694,6 +7856,12 @@ export const data = {
|
|
|
7694
7856
|
},
|
|
7695
7857
|
"content": {
|
|
7696
7858
|
"type": "string"
|
|
7859
|
+
},
|
|
7860
|
+
"created": {
|
|
7861
|
+
"type": "Date"
|
|
7862
|
+
},
|
|
7863
|
+
"updated": {
|
|
7864
|
+
"type": "Date"
|
|
7697
7865
|
}
|
|
7698
7866
|
}
|
|
7699
7867
|
},
|
package/package.json
CHANGED
|
@@ -1332,6 +1332,20 @@ export type PointParamsSendViber = {
|
|
|
1332
1332
|
image: string;
|
|
1333
1333
|
buttonCaption: string;
|
|
1334
1334
|
buttonAction: string;
|
|
1335
|
+
carousel: ViberCarousel;
|
|
1336
|
+
};
|
|
1337
|
+
export type ViberCarousel = {
|
|
1338
|
+
items: ViberCarouselItem[];
|
|
1339
|
+
};
|
|
1340
|
+
export type ViberCarouselItem = {
|
|
1341
|
+
title: string;
|
|
1342
|
+
image: string;
|
|
1343
|
+
primaryButton: ViberCarouselButton;
|
|
1344
|
+
secondaryButton: ViberCarouselButton;
|
|
1345
|
+
};
|
|
1346
|
+
export type ViberCarouselButton = {
|
|
1347
|
+
caption: string;
|
|
1348
|
+
action: string;
|
|
1335
1349
|
};
|
|
1336
1350
|
export type WhatsAppPersonalisedParams = {
|
|
1337
1351
|
enabled: boolean;
|
|
@@ -2553,12 +2567,18 @@ export type VoucherPool = {
|
|
|
2553
2567
|
};
|
|
2554
2568
|
export type GetWhatsAppPresetsByAppCodeRequest = {
|
|
2555
2569
|
code?: string;
|
|
2570
|
+
orderBy?: PresetListOrderBy;
|
|
2571
|
+
orderDirection?: PresetListOrderDirection;
|
|
2572
|
+
page?: number;
|
|
2573
|
+
perPage?: number;
|
|
2574
|
+
search?: string;
|
|
2556
2575
|
};
|
|
2557
2576
|
export type GetWhatsAppPresetsByAppCodeResponse = {
|
|
2558
2577
|
payload: WhatsAppPresetsByAppCodePayload;
|
|
2559
2578
|
};
|
|
2560
2579
|
export type WhatsAppPresetsByAppCodePayload = {
|
|
2561
2580
|
items: WhatsAppPresetByAppCodeItem[];
|
|
2581
|
+
total: number;
|
|
2562
2582
|
};
|
|
2563
2583
|
export type WhatsAppPresetByAppCodeItem = {
|
|
2564
2584
|
content: string;
|
|
@@ -2584,12 +2604,18 @@ export type WhatsAppButtonURLVariables = {
|
|
|
2584
2604
|
};
|
|
2585
2605
|
export type GetEmailPresetsByAppCodeRequest = {
|
|
2586
2606
|
code?: string;
|
|
2607
|
+
orderBy?: PresetListOrderBy;
|
|
2608
|
+
orderDirection?: PresetListOrderDirection;
|
|
2609
|
+
page?: number;
|
|
2610
|
+
perPage?: number;
|
|
2611
|
+
search?: string;
|
|
2587
2612
|
};
|
|
2588
2613
|
export type GetEmailPresetsByAppCodeResponse = {
|
|
2589
2614
|
payload: EmailPresetsByAppCodePayload;
|
|
2590
2615
|
};
|
|
2591
2616
|
export type EmailPresetsByAppCodePayload = {
|
|
2592
2617
|
items: EmailPresetByAppCodeItem[];
|
|
2618
|
+
total: number;
|
|
2593
2619
|
};
|
|
2594
2620
|
export type EmailPresetByAppCodeItem = {
|
|
2595
2621
|
uid: number;
|
|
@@ -2601,6 +2627,8 @@ export type EmailPresetByAppCodeItem = {
|
|
|
2601
2627
|
name: string;
|
|
2602
2628
|
replyTo: ReplyTo;
|
|
2603
2629
|
approval: PresetContentApproval;
|
|
2630
|
+
created: Date;
|
|
2631
|
+
updated: Date;
|
|
2604
2632
|
};
|
|
2605
2633
|
export type SendFrom = {
|
|
2606
2634
|
name: string;
|
|
@@ -2664,12 +2692,19 @@ export type GetRichMediaByApplicationCodeRequest = {
|
|
|
2664
2692
|
noContent?: boolean;
|
|
2665
2693
|
noParams?: boolean;
|
|
2666
2694
|
search?: string;
|
|
2695
|
+
orderBy?: PresetListOrderBy;
|
|
2696
|
+
orderDirection?: PresetListOrderDirection;
|
|
2697
|
+
page?: number;
|
|
2698
|
+
perPage?: number;
|
|
2667
2699
|
};
|
|
2700
|
+
export type PresetListOrderBy = 'PRESET_LIST_ORDER_BY_UNSPECIFIED' | 'PRESET_LIST_ORDER_BY_NAME' | 'PRESET_LIST_ORDER_BY_CREATED' | 'PRESET_LIST_ORDER_BY_UPDATED';
|
|
2701
|
+
export type PresetListOrderDirection = 'PRESET_LIST_ORDER_DIRECTION_UNSPECIFIED' | 'PRESET_LIST_ORDER_DIRECTION_ASC' | 'PRESET_LIST_ORDER_DIRECTION_DESC';
|
|
2668
2702
|
export type GetRichMediaByApplicationCodeResponse = {
|
|
2669
2703
|
payload: RichMediaByApplicationCodePayload;
|
|
2670
2704
|
};
|
|
2671
2705
|
export type RichMediaByApplicationCodePayload = {
|
|
2672
2706
|
items: RichMediaItem[];
|
|
2707
|
+
total: number;
|
|
2673
2708
|
};
|
|
2674
2709
|
export type RichMediaItem = {
|
|
2675
2710
|
name: string;
|
|
@@ -2683,6 +2718,8 @@ export type RichMediaItem = {
|
|
|
2683
2718
|
fileHash: string;
|
|
2684
2719
|
isSystem: boolean;
|
|
2685
2720
|
zipContent: string;
|
|
2721
|
+
created: Date;
|
|
2722
|
+
updated: Date;
|
|
2686
2723
|
};
|
|
2687
2724
|
export type GetRichMediaByCodeRequest = {
|
|
2688
2725
|
code?: string;
|
|
@@ -2693,31 +2730,47 @@ export type GetRichMediaByCodeResponse = {
|
|
|
2693
2730
|
};
|
|
2694
2731
|
export type GetLinePresetsByAppCodeRequest = {
|
|
2695
2732
|
code?: string;
|
|
2733
|
+
orderBy?: PresetListOrderBy;
|
|
2734
|
+
orderDirection?: PresetListOrderDirection;
|
|
2735
|
+
page?: number;
|
|
2736
|
+
perPage?: number;
|
|
2737
|
+
search?: string;
|
|
2696
2738
|
};
|
|
2697
2739
|
export type GetLinePresetsByAppCodeResponse = {
|
|
2698
2740
|
payload: LinePresetsByAppCodePayload;
|
|
2699
2741
|
};
|
|
2700
2742
|
export type LinePresetsByAppCodePayload = {
|
|
2701
2743
|
items: LinePresetByAppCodeItem[];
|
|
2744
|
+
total: number;
|
|
2702
2745
|
};
|
|
2703
2746
|
export type LinePresetByAppCodeItem = {
|
|
2704
2747
|
code: string;
|
|
2705
2748
|
name: string;
|
|
2706
2749
|
content: string;
|
|
2750
|
+
created: Date;
|
|
2751
|
+
updated: Date;
|
|
2707
2752
|
};
|
|
2708
2753
|
export type GetSmsPresetsByAppCodeRequest = {
|
|
2709
2754
|
code?: string;
|
|
2755
|
+
orderBy?: PresetListOrderBy;
|
|
2756
|
+
orderDirection?: PresetListOrderDirection;
|
|
2757
|
+
page?: number;
|
|
2758
|
+
perPage?: number;
|
|
2759
|
+
search?: string;
|
|
2710
2760
|
};
|
|
2711
2761
|
export type GetSmsPresetsByAppCodeResponse = {
|
|
2712
2762
|
payload: SmsPresetsByAppCodePayload;
|
|
2713
2763
|
};
|
|
2714
2764
|
export type SmsPresetsByAppCodePayload = {
|
|
2715
2765
|
items: SmsPresetByAppCodeItem[];
|
|
2766
|
+
total: number;
|
|
2716
2767
|
};
|
|
2717
2768
|
export type SmsPresetByAppCodeItem = {
|
|
2718
2769
|
code: string;
|
|
2719
2770
|
name: string;
|
|
2720
2771
|
content: string;
|
|
2772
|
+
created: Date;
|
|
2773
|
+
updated: Date;
|
|
2721
2774
|
};
|
|
2722
2775
|
export type GetWalletCampaignsByAppCodeRequest = {
|
|
2723
2776
|
code?: string;
|