@pushwoosh/rpc-v2-http-api-data 0.2.46 → 0.2.48
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/package.json +1 -1
- package/rich_medias.d.ts +12 -4
package/package.json
CHANGED
package/rich_medias.d.ts
CHANGED
|
@@ -254,9 +254,13 @@ export type CreateNativeRequest = {
|
|
|
254
254
|
name?: string;
|
|
255
255
|
/** Content of native-config.json: json object with displayType and the matching display block. */
|
|
256
256
|
content?: string;
|
|
257
|
-
/**
|
|
257
|
+
/**
|
|
258
|
+
* Json object of localizations: default texts under the "default" key, extra languages
|
|
259
|
+
* keyed by language code, e.g. {"default": {...}, "de": {...}}. Legacy payloads with the
|
|
260
|
+
* default texts keyed by default_language are accepted and normalized on save.
|
|
261
|
+
*/
|
|
258
262
|
localization?: string;
|
|
259
|
-
/**
|
|
263
|
+
/** Real language code of the default localization, e.g. "en". */
|
|
260
264
|
defaultLanguage?: string;
|
|
261
265
|
};
|
|
262
266
|
export type CreateNativeResponse = {
|
|
@@ -270,9 +274,13 @@ export type UpdateNativeRequest = {
|
|
|
270
274
|
name?: string;
|
|
271
275
|
/** Content of native-config.json: json object with displayType and the matching display block. */
|
|
272
276
|
content?: string;
|
|
273
|
-
/**
|
|
277
|
+
/**
|
|
278
|
+
* Json object of localizations: default texts under the "default" key, extra languages
|
|
279
|
+
* keyed by language code, e.g. {"default": {...}, "de": {...}}. Legacy payloads with the
|
|
280
|
+
* default texts keyed by default_language are accepted and normalized on save.
|
|
281
|
+
*/
|
|
274
282
|
localization?: string;
|
|
275
|
-
/**
|
|
283
|
+
/** Real language code of the default localization, e.g. "en". */
|
|
276
284
|
defaultLanguage?: string;
|
|
277
285
|
};
|
|
278
286
|
export type UpdateNativeResponse = {
|