@pushwoosh/rpc-v2-http-api-data 0.1.427 → 0.1.429

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 +29 -0
  2. package/package.json +1 -1
  3. package/presets.d.ts +9 -0
package/data.js CHANGED
@@ -15717,6 +15717,23 @@ export const data = {
15717
15717
  }
15718
15718
  }
15719
15719
  },
15720
+ "pushwoosh.rpc_v2.presets.PlatformProperties": {
15721
+ "type": "I",
15722
+ "fields": {
15723
+ "badge": {
15724
+ "type": "string"
15725
+ },
15726
+ "sound": {
15727
+ "type": "string"
15728
+ },
15729
+ "soundOff": {
15730
+ "type": "boolean"
15731
+ },
15732
+ "deliveryPriority": {
15733
+ "type": "string"
15734
+ }
15735
+ }
15736
+ },
15720
15737
  "pushwoosh.rpc_v2.presets.Preset": {
15721
15738
  "type": "I",
15722
15739
  "fields": {
@@ -15799,6 +15816,10 @@ export const data = {
15799
15816
  "openActions": {
15800
15817
  "type": "pushwoosh.channels.messagingApi.v2.OpenAction",
15801
15818
  "mapKeyType": "number"
15819
+ },
15820
+ "platformProperties": {
15821
+ "type": "pushwoosh.rpc_v2.presets.PlatformProperties",
15822
+ "mapKeyType": "number"
15802
15823
  }
15803
15824
  }
15804
15825
  },
@@ -15912,6 +15933,10 @@ export const data = {
15912
15933
  "openActions": {
15913
15934
  "type": "pushwoosh.channels.messagingApi.v2.OpenAction",
15914
15935
  "mapKeyType": "number"
15936
+ },
15937
+ "platformProperties": {
15938
+ "type": "pushwoosh.rpc_v2.presets.PlatformProperties",
15939
+ "mapKeyType": "number"
15915
15940
  }
15916
15941
  }
15917
15942
  },
@@ -15990,6 +16015,10 @@ export const data = {
15990
16015
  "openActions": {
15991
16016
  "type": "pushwoosh.channels.messagingApi.v2.OpenAction",
15992
16017
  "mapKeyType": "number"
16018
+ },
16019
+ "platformProperties": {
16020
+ "type": "pushwoosh.rpc_v2.presets.PlatformProperties",
16021
+ "mapKeyType": "number"
15993
16022
  }
15994
16023
  }
15995
16024
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.427",
3
+ "version": "0.1.429",
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
@@ -21,6 +21,12 @@ export type ListPresetsRequest = {
21
21
  searchByCategory?: string[];
22
22
  showHidden?: boolean;
23
23
  };
24
+ export type PlatformProperties = {
25
+ badge: string;
26
+ sound: string;
27
+ soundOff: boolean;
28
+ deliveryPriority: string;
29
+ };
24
30
  export type Preset = {
25
31
  name: string;
26
32
  code: string;
@@ -46,6 +52,7 @@ export type Preset = {
46
52
  journeyUuid: string;
47
53
  hidden: boolean;
48
54
  openActions: Record<number, pushwoosh_channels_messagingApi_v2_OpenAction>;
55
+ platformProperties: Record<number, PlatformProperties>;
49
56
  };
50
57
  export type ListPresetsResponse = {
51
58
  presets: Preset[];
@@ -82,6 +89,7 @@ export type CreatePresetRequest = {
82
89
  journeyUuid?: string;
83
90
  hidden?: boolean;
84
91
  openActions?: Record<number, pushwoosh_channels_messagingApi_v2_OpenAction>;
92
+ platformProperties?: Record<number, PlatformProperties>;
85
93
  };
86
94
  export type CreatePresetResponse = {
87
95
  preset: Preset;
@@ -106,6 +114,7 @@ export type UpdatePresetRequest = {
106
114
  banner?: string;
107
115
  icon?: string;
108
116
  openActions?: Record<number, pushwoosh_channels_messagingApi_v2_OpenAction>;
117
+ platformProperties?: Record<number, PlatformProperties>;
109
118
  };
110
119
  export type UpdatePresetPartialRequest = {
111
120
  code?: string;