@pushwoosh/rpc-gateway-journey-data 0.27.171 → 0.27.172
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 +37 -7
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +14 -7
package/data.js
CHANGED
|
@@ -1917,6 +1917,10 @@ export const data = {
|
|
|
1917
1917
|
},
|
|
1918
1918
|
"saveResult": {
|
|
1919
1919
|
"type": "pushwoosh.cj.journey.SaveResult"
|
|
1920
|
+
},
|
|
1921
|
+
"pointWarnings": {
|
|
1922
|
+
"type": "pushwoosh.cj.journey.PointValidationWarning",
|
|
1923
|
+
"array": true
|
|
1920
1924
|
}
|
|
1921
1925
|
}
|
|
1922
1926
|
},
|
|
@@ -1953,6 +1957,10 @@ export const data = {
|
|
|
1953
1957
|
"comments": {
|
|
1954
1958
|
"type": "pushwoosh.cj.journey.JourneyComment",
|
|
1955
1959
|
"array": true
|
|
1960
|
+
},
|
|
1961
|
+
"pointWarnings": {
|
|
1962
|
+
"type": "pushwoosh.cj.journey.PointValidationWarning",
|
|
1963
|
+
"array": true
|
|
1956
1964
|
}
|
|
1957
1965
|
}
|
|
1958
1966
|
},
|
|
@@ -2303,6 +2311,10 @@ export const data = {
|
|
|
2303
2311
|
"pointErrors": {
|
|
2304
2312
|
"type": "pushwoosh.cj.journey.PointValidationError",
|
|
2305
2313
|
"array": true
|
|
2314
|
+
},
|
|
2315
|
+
"pointWarnings": {
|
|
2316
|
+
"type": "pushwoosh.cj.journey.PointValidationWarning",
|
|
2317
|
+
"array": true
|
|
2306
2318
|
}
|
|
2307
2319
|
}
|
|
2308
2320
|
},
|
|
@@ -2325,6 +2337,17 @@ export const data = {
|
|
|
2325
2337
|
}
|
|
2326
2338
|
}
|
|
2327
2339
|
},
|
|
2340
|
+
"pushwoosh.cj.journey.PointValidationWarning": {
|
|
2341
|
+
"type": "I",
|
|
2342
|
+
"fields": {
|
|
2343
|
+
"uuid": {
|
|
2344
|
+
"type": "string"
|
|
2345
|
+
},
|
|
2346
|
+
"message": {
|
|
2347
|
+
"type": "string"
|
|
2348
|
+
}
|
|
2349
|
+
}
|
|
2350
|
+
},
|
|
2328
2351
|
"pushwoosh.cj.journey.GetUserFlowRequest": {
|
|
2329
2352
|
"type": "I",
|
|
2330
2353
|
"fields": {
|
|
@@ -3067,7 +3090,8 @@ export const data = {
|
|
|
3067
3090
|
"type": "pushwoosh.cj.journey.SendRate"
|
|
3068
3091
|
},
|
|
3069
3092
|
"messageType": {
|
|
3070
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
3093
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
3094
|
+
"optional": true
|
|
3071
3095
|
},
|
|
3072
3096
|
"liquidTemplateParams": {
|
|
3073
3097
|
"type": "pushwoosh.cj.journey.LiquidTemplateParams"
|
|
@@ -3404,7 +3428,8 @@ export const data = {
|
|
|
3404
3428
|
"type": "pushwoosh.cj.journey.SendRate"
|
|
3405
3429
|
},
|
|
3406
3430
|
"messageType": {
|
|
3407
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
3431
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
3432
|
+
"optional": true
|
|
3408
3433
|
},
|
|
3409
3434
|
"deliverySplitParams": {
|
|
3410
3435
|
"type": "pushwoosh.cj.journey.BehaviorSplitter"
|
|
@@ -3460,7 +3485,8 @@ export const data = {
|
|
|
3460
3485
|
"type": "pushwoosh.cj.journey.SendRate"
|
|
3461
3486
|
},
|
|
3462
3487
|
"messageType": {
|
|
3463
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
3488
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
3489
|
+
"optional": true
|
|
3464
3490
|
}
|
|
3465
3491
|
},
|
|
3466
3492
|
"oneofs": {}
|
|
@@ -3647,7 +3673,8 @@ export const data = {
|
|
|
3647
3673
|
"type": "pushwoosh.cj.journey.Capping"
|
|
3648
3674
|
},
|
|
3649
3675
|
"messageType": {
|
|
3650
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
3676
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
3677
|
+
"optional": true
|
|
3651
3678
|
},
|
|
3652
3679
|
"splitParams": {
|
|
3653
3680
|
"type": "pushwoosh.cj.journey.BehaviorSplitter"
|
|
@@ -3813,7 +3840,8 @@ export const data = {
|
|
|
3813
3840
|
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
3814
3841
|
},
|
|
3815
3842
|
"messageType": {
|
|
3816
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
3843
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
3844
|
+
"optional": true
|
|
3817
3845
|
},
|
|
3818
3846
|
"attachment": {
|
|
3819
3847
|
"type": "string"
|
|
@@ -4458,7 +4486,8 @@ export const data = {
|
|
|
4458
4486
|
"type": "pushwoosh.cj.journey.Capping"
|
|
4459
4487
|
},
|
|
4460
4488
|
"messageType": {
|
|
4461
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
4489
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
4490
|
+
"optional": true
|
|
4462
4491
|
}
|
|
4463
4492
|
},
|
|
4464
4493
|
"oneofs": {}
|
|
@@ -4490,7 +4519,8 @@ export const data = {
|
|
|
4490
4519
|
"type": "pushwoosh.cj.journey.Capping"
|
|
4491
4520
|
},
|
|
4492
4521
|
"messageType": {
|
|
4493
|
-
"type": "pushwoosh.cj.journey.MessageType"
|
|
4522
|
+
"type": "pushwoosh.cj.journey.MessageType",
|
|
4523
|
+
"optional": true
|
|
4494
4524
|
},
|
|
4495
4525
|
"onClickActions": {
|
|
4496
4526
|
"type": "pushwoosh.cj.journey.InboxOpenActions"
|
package/package.json
CHANGED
|
@@ -669,6 +669,7 @@ export type GetJourneyByUUIDResponse = {
|
|
|
669
669
|
points: Point[];
|
|
670
670
|
comments: JourneyComment[];
|
|
671
671
|
saveResult: SaveResult;
|
|
672
|
+
pointWarnings: PointValidationWarning[];
|
|
672
673
|
};
|
|
673
674
|
export type SaveResult = 'SAVE_RESULT_UNSPECIFIED' | 'SAVE_RESULT_SAVED' | 'SAVE_RESULT_NOTHING_TO_SAVE' | 'SAVE_RESULT_REFUSED_SU';
|
|
674
675
|
export type GetJourneyByUUIDResponseWithErrors = {
|
|
@@ -679,6 +680,7 @@ export type StartJourneyResponse = {
|
|
|
679
680
|
info: Info;
|
|
680
681
|
points: Point[];
|
|
681
682
|
comments: JourneyComment[];
|
|
683
|
+
pointWarnings: PointValidationWarning[];
|
|
682
684
|
};
|
|
683
685
|
export type PauseJourneyResponse = {
|
|
684
686
|
info: Info;
|
|
@@ -794,6 +796,7 @@ export type ValidateJourneyResponse = {
|
|
|
794
796
|
valid: boolean;
|
|
795
797
|
journeyErrors: JourneyValidationError[];
|
|
796
798
|
pointErrors: PointValidationError[];
|
|
799
|
+
pointWarnings: PointValidationWarning[];
|
|
797
800
|
};
|
|
798
801
|
export type JourneyValidationError = {
|
|
799
802
|
message: string;
|
|
@@ -802,6 +805,10 @@ export type PointValidationError = {
|
|
|
802
805
|
uuid: string;
|
|
803
806
|
message: string;
|
|
804
807
|
};
|
|
808
|
+
export type PointValidationWarning = {
|
|
809
|
+
uuid: string;
|
|
810
|
+
message: string;
|
|
811
|
+
};
|
|
805
812
|
export type GetUserFlowRequest = {
|
|
806
813
|
uuid?: string;
|
|
807
814
|
userId?: string;
|
|
@@ -1125,7 +1132,7 @@ export type PointParamsSmartContent = {
|
|
|
1125
1132
|
hyperparams: SmartContentHyperparams;
|
|
1126
1133
|
capping: Capping;
|
|
1127
1134
|
sendRate: SendRate;
|
|
1128
|
-
messageType
|
|
1135
|
+
messageType?: MessageType;
|
|
1129
1136
|
liquidTemplateParams: LiquidTemplateParams;
|
|
1130
1137
|
personalise: PersonalisedParams;
|
|
1131
1138
|
vouchersParams: VoucherParams;
|
|
@@ -1231,7 +1238,7 @@ export type PointParamsSendPush = {
|
|
|
1231
1238
|
inboxOptions: InboxOptions;
|
|
1232
1239
|
vouchersParams: VoucherParams;
|
|
1233
1240
|
sendRate: SendRate;
|
|
1234
|
-
messageType
|
|
1241
|
+
messageType?: MessageType;
|
|
1235
1242
|
deliverySplitParams: BehaviorSplitter;
|
|
1236
1243
|
ttl: number;
|
|
1237
1244
|
useLatestUserDevice: boolean;
|
|
@@ -1249,7 +1256,7 @@ export type PointParamsSendSms = {
|
|
|
1249
1256
|
capping: Capping;
|
|
1250
1257
|
vouchersParams: VoucherParams;
|
|
1251
1258
|
sendRate: SendRate;
|
|
1252
|
-
messageType
|
|
1259
|
+
messageType?: MessageType;
|
|
1253
1260
|
};
|
|
1254
1261
|
export type PointParamsSendLine = {
|
|
1255
1262
|
presetCode: string;
|
|
@@ -1308,7 +1315,7 @@ export type PointParamsSendViber = {
|
|
|
1308
1315
|
personalise: PersonalisedParams;
|
|
1309
1316
|
vouchersParams: VoucherParams;
|
|
1310
1317
|
capping: Capping;
|
|
1311
|
-
messageType
|
|
1318
|
+
messageType?: MessageType;
|
|
1312
1319
|
splitParams: BehaviorSplitter;
|
|
1313
1320
|
image: string;
|
|
1314
1321
|
buttonCaption: string;
|
|
@@ -1363,7 +1370,7 @@ export type PointParamsSendWhatsApp = {
|
|
|
1363
1370
|
personalise: WhatsAppPersonalisedParams;
|
|
1364
1371
|
capping: Capping;
|
|
1365
1372
|
vouchersParams: VoucherParams;
|
|
1366
|
-
messageType
|
|
1373
|
+
messageType?: MessageType;
|
|
1367
1374
|
attachment: string;
|
|
1368
1375
|
};
|
|
1369
1376
|
export type PointParamsSendEmail = {
|
|
@@ -1621,7 +1628,7 @@ export type PointParamsInapp = {
|
|
|
1621
1628
|
campaignUid?: number;
|
|
1622
1629
|
expireInDays: number;
|
|
1623
1630
|
capping: Capping;
|
|
1624
|
-
messageType
|
|
1631
|
+
messageType?: MessageType;
|
|
1625
1632
|
};
|
|
1626
1633
|
export type PointParamsSendInbox = {
|
|
1627
1634
|
presetCode: string;
|
|
@@ -1631,7 +1638,7 @@ export type PointParamsSendInbox = {
|
|
|
1631
1638
|
expireAtDate: Date;
|
|
1632
1639
|
expireInDays: number;
|
|
1633
1640
|
capping: Capping;
|
|
1634
|
-
messageType
|
|
1641
|
+
messageType?: MessageType;
|
|
1635
1642
|
onClickActions: InboxOpenActions;
|
|
1636
1643
|
};
|
|
1637
1644
|
export type InboxOpenActions = {
|