@pushwoosh/rpc-gateway-journey-data 0.27.164 → 0.27.166

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
@@ -2411,7 +2411,8 @@ export const data = {
2411
2411
  "LIST",
2412
2412
  "DATE",
2413
2413
  "BOOLEAN",
2414
- "FLOAT"
2414
+ "FLOAT",
2415
+ "VERSION"
2415
2416
  ]
2416
2417
  },
2417
2418
  "pushwoosh.cj.journey.PointEventConditionOperator": {
@@ -2909,6 +2910,75 @@ export const data = {
2909
2910
  },
2910
2911
  "useLatestUserDevice": {
2911
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"
2912
2982
  }
2913
2983
  }
2914
2984
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.27.164",
3
+ "version": "0.27.166",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -824,7 +824,7 @@ export type GetUserFlowResponse = {
824
824
  flows: GetUserFlowResponse_Flow[];
825
825
  };
826
826
  export type JourneyStatus = 'STATUS_DRAFT' | 'STATUS_RUNNING' | 'STATUS_FINISHED' | 'STATUS_ARCHIVED' | 'STATUS_PAUSED' | 'STATUS_UNKNOWN';
827
- export type PointEventAttributeType = 'ATTRIBUTE_UNKNOWN' | 'INTEGER' | 'STRING' | 'LIST' | 'DATE' | 'BOOLEAN' | 'FLOAT';
827
+ export type PointEventAttributeType = 'ATTRIBUTE_UNKNOWN' | 'INTEGER' | 'STRING' | 'LIST' | 'DATE' | 'BOOLEAN' | 'FLOAT' | 'VERSION';
828
828
  export type PointEventConditionOperator = 'OPERATOR_UNKNOWN' | 'EQ' | 'LTE' | 'GTE' | 'NOTEQ' | 'IN' | 'NOTIN' | 'BETWEEN' | 'STARTS_WITH' | 'ENDS_WITH' | 'CONTAINS';
829
829
  export type PointEventCondition_value_int = {
830
830
  type: 'int';
@@ -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;