@pushwoosh/rpc-v2-http-api-data 0.1.958 → 0.1.959
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 +12 -0
- package/package.json +1 -1
- package/presets.d.ts +8 -0
package/data.js
CHANGED
|
@@ -21176,6 +21176,9 @@ export const data = {
|
|
|
21176
21176
|
"platformProperties": {
|
|
21177
21177
|
"type": "pushwoosh.rpc_v2.presets.PlatformProperties",
|
|
21178
21178
|
"mapKeyType": "string"
|
|
21179
|
+
},
|
|
21180
|
+
"campaignCode": {
|
|
21181
|
+
"type": "string"
|
|
21179
21182
|
}
|
|
21180
21183
|
}
|
|
21181
21184
|
},
|
|
@@ -21302,6 +21305,9 @@ export const data = {
|
|
|
21302
21305
|
"platformProperties": {
|
|
21303
21306
|
"type": "pushwoosh.rpc_v2.presets.PlatformProperties",
|
|
21304
21307
|
"mapKeyType": "string"
|
|
21308
|
+
},
|
|
21309
|
+
"campaignCode": {
|
|
21310
|
+
"type": "string"
|
|
21305
21311
|
}
|
|
21306
21312
|
}
|
|
21307
21313
|
},
|
|
@@ -21393,6 +21399,9 @@ export const data = {
|
|
|
21393
21399
|
"platformProperties": {
|
|
21394
21400
|
"type": "pushwoosh.rpc_v2.presets.PlatformProperties",
|
|
21395
21401
|
"mapKeyType": "string"
|
|
21402
|
+
},
|
|
21403
|
+
"campaignCode": {
|
|
21404
|
+
"type": "string"
|
|
21396
21405
|
}
|
|
21397
21406
|
}
|
|
21398
21407
|
},
|
|
@@ -21465,6 +21474,9 @@ export const data = {
|
|
|
21465
21474
|
},
|
|
21466
21475
|
"icon": {
|
|
21467
21476
|
"type": "string"
|
|
21477
|
+
},
|
|
21478
|
+
"campaignCode": {
|
|
21479
|
+
"type": "string"
|
|
21468
21480
|
}
|
|
21469
21481
|
}
|
|
21470
21482
|
},
|
package/package.json
CHANGED
package/presets.d.ts
CHANGED
|
@@ -88,6 +88,8 @@ export type Preset = {
|
|
|
88
88
|
openAction: pushwoosh_channels_messagingApi_v2_OpenAction;
|
|
89
89
|
openActions: Record<number, pushwoosh_channels_messagingApi_v2_OpenAction>;
|
|
90
90
|
platformProperties: Record<string, PlatformProperties>;
|
|
91
|
+
/** campaign code the preset belongs to (legacy property "campaignCode") */
|
|
92
|
+
campaignCode: string;
|
|
91
93
|
};
|
|
92
94
|
export type ListPresetsResponse = {
|
|
93
95
|
presets: Preset[];
|
|
@@ -146,6 +148,8 @@ export type CreatePresetRequest = {
|
|
|
146
148
|
openAction?: pushwoosh_channels_messagingApi_v2_OpenAction;
|
|
147
149
|
openActions?: Record<number, pushwoosh_channels_messagingApi_v2_OpenAction>;
|
|
148
150
|
platformProperties?: Record<string, PlatformProperties>;
|
|
151
|
+
/** campaign code the preset belongs to (legacy property "campaignCode") */
|
|
152
|
+
campaignCode?: string;
|
|
149
153
|
};
|
|
150
154
|
export type CreatePresetResponse = {
|
|
151
155
|
preset: Preset;
|
|
@@ -191,6 +195,8 @@ export type UpdatePresetRequest = {
|
|
|
191
195
|
openAction?: pushwoosh_channels_messagingApi_v2_OpenAction;
|
|
192
196
|
openActions?: Record<number, pushwoosh_channels_messagingApi_v2_OpenAction>;
|
|
193
197
|
platformProperties?: Record<string, PlatformProperties>;
|
|
198
|
+
/** campaign code the preset belongs to (legacy property "campaignCode") */
|
|
199
|
+
campaignCode?: string;
|
|
194
200
|
};
|
|
195
201
|
export type UpdatePresetPartialRequest = {
|
|
196
202
|
code?: string;
|
|
@@ -229,6 +235,8 @@ export type UpdatePresetPartialRequest = {
|
|
|
229
235
|
banner?: string;
|
|
230
236
|
/** common icon */
|
|
231
237
|
icon?: string;
|
|
238
|
+
/** campaign code the preset belongs to (legacy property "campaignCode") */
|
|
239
|
+
campaignCode?: string;
|
|
232
240
|
};
|
|
233
241
|
export type UpdatePresetResponse = {
|
|
234
242
|
preset: Preset;
|