@pushwoosh/rpc-v2-http-api-data 0.1.429 → 0.1.431
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 +6 -3
- package/package.json +1 -1
- package/presets.d.ts +4 -3
package/data.js
CHANGED
|
@@ -15729,6 +15729,9 @@ export const data = {
|
|
|
15729
15729
|
"soundOff": {
|
|
15730
15730
|
"type": "boolean"
|
|
15731
15731
|
},
|
|
15732
|
+
"priority": {
|
|
15733
|
+
"type": "string"
|
|
15734
|
+
},
|
|
15732
15735
|
"deliveryPriority": {
|
|
15733
15736
|
"type": "string"
|
|
15734
15737
|
}
|
|
@@ -15819,7 +15822,7 @@ export const data = {
|
|
|
15819
15822
|
},
|
|
15820
15823
|
"platformProperties": {
|
|
15821
15824
|
"type": "pushwoosh.rpc_v2.presets.PlatformProperties",
|
|
15822
|
-
"mapKeyType": "
|
|
15825
|
+
"mapKeyType": "string"
|
|
15823
15826
|
}
|
|
15824
15827
|
}
|
|
15825
15828
|
},
|
|
@@ -15936,7 +15939,7 @@ export const data = {
|
|
|
15936
15939
|
},
|
|
15937
15940
|
"platformProperties": {
|
|
15938
15941
|
"type": "pushwoosh.rpc_v2.presets.PlatformProperties",
|
|
15939
|
-
"mapKeyType": "
|
|
15942
|
+
"mapKeyType": "string"
|
|
15940
15943
|
}
|
|
15941
15944
|
}
|
|
15942
15945
|
},
|
|
@@ -16018,7 +16021,7 @@ export const data = {
|
|
|
16018
16021
|
},
|
|
16019
16022
|
"platformProperties": {
|
|
16020
16023
|
"type": "pushwoosh.rpc_v2.presets.PlatformProperties",
|
|
16021
|
-
"mapKeyType": "
|
|
16024
|
+
"mapKeyType": "string"
|
|
16022
16025
|
}
|
|
16023
16026
|
}
|
|
16024
16027
|
},
|
package/package.json
CHANGED
package/presets.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export type PlatformProperties = {
|
|
|
25
25
|
badge: string;
|
|
26
26
|
sound: string;
|
|
27
27
|
soundOff: boolean;
|
|
28
|
+
priority: string;
|
|
28
29
|
deliveryPriority: string;
|
|
29
30
|
};
|
|
30
31
|
export type Preset = {
|
|
@@ -52,7 +53,7 @@ export type Preset = {
|
|
|
52
53
|
journeyUuid: string;
|
|
53
54
|
hidden: boolean;
|
|
54
55
|
openActions: Record<number, pushwoosh_channels_messagingApi_v2_OpenAction>;
|
|
55
|
-
platformProperties: Record<
|
|
56
|
+
platformProperties: Record<string, PlatformProperties>;
|
|
56
57
|
};
|
|
57
58
|
export type ListPresetsResponse = {
|
|
58
59
|
presets: Preset[];
|
|
@@ -89,7 +90,7 @@ export type CreatePresetRequest = {
|
|
|
89
90
|
journeyUuid?: string;
|
|
90
91
|
hidden?: boolean;
|
|
91
92
|
openActions?: Record<number, pushwoosh_channels_messagingApi_v2_OpenAction>;
|
|
92
|
-
platformProperties?: Record<
|
|
93
|
+
platformProperties?: Record<string, PlatformProperties>;
|
|
93
94
|
};
|
|
94
95
|
export type CreatePresetResponse = {
|
|
95
96
|
preset: Preset;
|
|
@@ -114,7 +115,7 @@ export type UpdatePresetRequest = {
|
|
|
114
115
|
banner?: string;
|
|
115
116
|
icon?: string;
|
|
116
117
|
openActions?: Record<number, pushwoosh_channels_messagingApi_v2_OpenAction>;
|
|
117
|
-
platformProperties?: Record<
|
|
118
|
+
platformProperties?: Record<string, PlatformProperties>;
|
|
118
119
|
};
|
|
119
120
|
export type UpdatePresetPartialRequest = {
|
|
120
121
|
code?: string;
|