@pushwoosh/rpc-v2-http-api-data 0.1.419 → 0.1.420

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.
Files changed (3) hide show
  1. package/data.js +12 -0
  2. package/package.json +1 -1
  3. package/presets.d.ts +4 -0
package/data.js CHANGED
@@ -15795,6 +15795,10 @@ export const data = {
15795
15795
  },
15796
15796
  "hidden": {
15797
15797
  "type": "boolean"
15798
+ },
15799
+ "openActions": {
15800
+ "type": "pushwoosh.channels.messagingApi.v2.OpenAction",
15801
+ "mapKeyType": "number"
15798
15802
  }
15799
15803
  }
15800
15804
  },
@@ -15904,6 +15908,10 @@ export const data = {
15904
15908
  },
15905
15909
  "hidden": {
15906
15910
  "type": "boolean"
15911
+ },
15912
+ "openActions": {
15913
+ "type": "pushwoosh.channels.messagingApi.v2.OpenAction",
15914
+ "mapKeyType": "number"
15907
15915
  }
15908
15916
  }
15909
15917
  },
@@ -15978,6 +15986,10 @@ export const data = {
15978
15986
  },
15979
15987
  "icon": {
15980
15988
  "type": "string"
15989
+ },
15990
+ "openActions": {
15991
+ "type": "pushwoosh.channels.messagingApi.v2.OpenAction",
15992
+ "mapKeyType": "number"
15981
15993
  }
15982
15994
  }
15983
15995
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.419",
3
+ "version": "0.1.420",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
package/presets.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { Content as pushwoosh_channels_messagingApi_v2_Content } from './pushwoosh_channels_messagingApi_v2';
2
+ import { OpenAction as pushwoosh_channels_messagingApi_v2_OpenAction } from './pushwoosh_channels_messagingApi_v2';
2
3
  export interface presetsService {
3
4
  List(request: ListPresetsRequest): Promise<ListPresetsResponse>;
4
5
  Get(request: GetPresetRequest): Promise<GetPresetResponse>;
@@ -44,6 +45,7 @@ export type Preset = {
44
45
  icon: string;
45
46
  journeyUuid: string;
46
47
  hidden: boolean;
48
+ openActions: Record<number, pushwoosh_channels_messagingApi_v2_OpenAction>;
47
49
  };
48
50
  export type ListPresetsResponse = {
49
51
  presets: Preset[];
@@ -79,6 +81,7 @@ export type CreatePresetRequest = {
79
81
  icon?: string;
80
82
  journeyUuid?: string;
81
83
  hidden?: boolean;
84
+ openActions?: Record<number, pushwoosh_channels_messagingApi_v2_OpenAction>;
82
85
  };
83
86
  export type CreatePresetResponse = {
84
87
  preset: Preset;
@@ -102,6 +105,7 @@ export type UpdatePresetRequest = {
102
105
  categories?: string[];
103
106
  banner?: string;
104
107
  icon?: string;
108
+ openActions?: Record<number, pushwoosh_channels_messagingApi_v2_OpenAction>;
105
109
  };
106
110
  export type UpdatePresetPartialRequest = {
107
111
  code?: string;