@pushwoosh/rpc-gateway-journey-data 0.27.165 → 0.27.167
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 +69 -0
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +23 -0
package/data.js
CHANGED
|
@@ -2910,6 +2910,75 @@ export const data = {
|
|
|
2910
2910
|
},
|
|
2911
2911
|
"useLatestUserDevice": {
|
|
2912
2912
|
"type": "boolean"
|
|
2913
|
+
},
|
|
2914
|
+
"android": {
|
|
2915
|
+
"type": "pushwoosh.cj.journey.AndroidLiveUpdate"
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
},
|
|
2919
|
+
"pushwoosh.cj.journey.AndroidLiveUpdateContent": {
|
|
2920
|
+
"type": "I",
|
|
2921
|
+
"fields": {
|
|
2922
|
+
"title": {
|
|
2923
|
+
"type": "string"
|
|
2924
|
+
},
|
|
2925
|
+
"body": {
|
|
2926
|
+
"type": "string"
|
|
2927
|
+
}
|
|
2928
|
+
}
|
|
2929
|
+
},
|
|
2930
|
+
"pushwoosh.cj.journey.AndroidLiveUpdateSegment": {
|
|
2931
|
+
"type": "I",
|
|
2932
|
+
"fields": {
|
|
2933
|
+
"color": {
|
|
2934
|
+
"type": "string"
|
|
2935
|
+
},
|
|
2936
|
+
"length": {
|
|
2937
|
+
"type": "number"
|
|
2938
|
+
}
|
|
2939
|
+
}
|
|
2940
|
+
},
|
|
2941
|
+
"pushwoosh.cj.journey.AndroidLiveUpdate": {
|
|
2942
|
+
"type": "I",
|
|
2943
|
+
"fields": {
|
|
2944
|
+
"content": {
|
|
2945
|
+
"type": "pushwoosh.cj.journey.AndroidLiveUpdateContent",
|
|
2946
|
+
"mapKeyType": "string"
|
|
2947
|
+
},
|
|
2948
|
+
"progress": {
|
|
2949
|
+
"type": "string"
|
|
2950
|
+
},
|
|
2951
|
+
"progressIndeterminate": {
|
|
2952
|
+
"type": "boolean"
|
|
2953
|
+
},
|
|
2954
|
+
"hideProgressBar": {
|
|
2955
|
+
"type": "boolean"
|
|
2956
|
+
},
|
|
2957
|
+
"segments": {
|
|
2958
|
+
"type": "pushwoosh.cj.journey.AndroidLiveUpdateSegment",
|
|
2959
|
+
"array": true
|
|
2960
|
+
},
|
|
2961
|
+
"when": {
|
|
2962
|
+
"type": "string"
|
|
2963
|
+
},
|
|
2964
|
+
"whenAfter": {
|
|
2965
|
+
"type": "number"
|
|
2966
|
+
},
|
|
2967
|
+
"chronometer": {
|
|
2968
|
+
"type": "boolean"
|
|
2969
|
+
},
|
|
2970
|
+
"chronometerCountDown": {
|
|
2971
|
+
"type": "boolean"
|
|
2972
|
+
},
|
|
2973
|
+
"hideWhen": {
|
|
2974
|
+
"type": "boolean"
|
|
2975
|
+
},
|
|
2976
|
+
"extras": {
|
|
2977
|
+
"type": "string",
|
|
2978
|
+
"mapKeyType": "string"
|
|
2979
|
+
},
|
|
2980
|
+
"timeToLive": {
|
|
2981
|
+
"type": "number"
|
|
2913
2982
|
}
|
|
2914
2983
|
}
|
|
2915
2984
|
},
|
package/package.json
CHANGED
|
@@ -1073,6 +1073,29 @@ export type PointParamsSendLiveActivity = {
|
|
|
1073
1073
|
sendRate: SendRate;
|
|
1074
1074
|
personalise: PersonalisedParams;
|
|
1075
1075
|
useLatestUserDevice: boolean;
|
|
1076
|
+
android: AndroidLiveUpdate;
|
|
1077
|
+
};
|
|
1078
|
+
export type AndroidLiveUpdateContent = {
|
|
1079
|
+
title: string;
|
|
1080
|
+
body: string;
|
|
1081
|
+
};
|
|
1082
|
+
export type AndroidLiveUpdateSegment = {
|
|
1083
|
+
color: string;
|
|
1084
|
+
length: number;
|
|
1085
|
+
};
|
|
1086
|
+
export type AndroidLiveUpdate = {
|
|
1087
|
+
content: Record<string, AndroidLiveUpdateContent>;
|
|
1088
|
+
progress: string;
|
|
1089
|
+
progressIndeterminate: boolean;
|
|
1090
|
+
hideProgressBar: boolean;
|
|
1091
|
+
segments: AndroidLiveUpdateSegment[];
|
|
1092
|
+
when: string;
|
|
1093
|
+
whenAfter: number;
|
|
1094
|
+
chronometer: boolean;
|
|
1095
|
+
chronometerCountDown: boolean;
|
|
1096
|
+
hideWhen: boolean;
|
|
1097
|
+
extras: Record<string, string>;
|
|
1098
|
+
timeToLive: number;
|
|
1076
1099
|
};
|
|
1077
1100
|
export type PointParamsHoldoutSplit = {
|
|
1078
1101
|
percentage: number;
|