@pushwoosh/rpc-gateway-ai-assistant 0.1.444 → 0.1.446
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 +43 -0
- package/package.json +1 -1
- package/pushwoosh_aibuilder_v1.d.ts +28 -0
package/data.js
CHANGED
|
@@ -1357,6 +1357,10 @@ export const data = {
|
|
|
1357
1357
|
"borderRadiusCss": {
|
|
1358
1358
|
"type": "string",
|
|
1359
1359
|
"optional": true
|
|
1360
|
+
},
|
|
1361
|
+
"darkSrc": {
|
|
1362
|
+
"type": "string",
|
|
1363
|
+
"optional": true
|
|
1360
1364
|
}
|
|
1361
1365
|
}
|
|
1362
1366
|
},
|
|
@@ -1892,6 +1896,41 @@ export const data = {
|
|
|
1892
1896
|
}
|
|
1893
1897
|
}
|
|
1894
1898
|
},
|
|
1899
|
+
"pushwoosh.aibuilder.v1.LogoHeaderStyle": {
|
|
1900
|
+
"type": "I",
|
|
1901
|
+
"fields": {
|
|
1902
|
+
"src": {
|
|
1903
|
+
"type": "string"
|
|
1904
|
+
},
|
|
1905
|
+
"darkSrc": {
|
|
1906
|
+
"type": "string"
|
|
1907
|
+
},
|
|
1908
|
+
"align": {
|
|
1909
|
+
"type": "pushwoosh.aibuilder.v1.TextAlign"
|
|
1910
|
+
},
|
|
1911
|
+
"width": {
|
|
1912
|
+
"type": "string"
|
|
1913
|
+
},
|
|
1914
|
+
"href": {
|
|
1915
|
+
"type": "string"
|
|
1916
|
+
},
|
|
1917
|
+
"backgroundColor": {
|
|
1918
|
+
"type": "string"
|
|
1919
|
+
},
|
|
1920
|
+
"padding": {
|
|
1921
|
+
"type": "pushwoosh.aibuilder.v1.EdgeInsets",
|
|
1922
|
+
"optional": true
|
|
1923
|
+
}
|
|
1924
|
+
}
|
|
1925
|
+
},
|
|
1926
|
+
"pushwoosh.aibuilder.v1.LogoHeaderData": {
|
|
1927
|
+
"type": "I",
|
|
1928
|
+
"fields": {
|
|
1929
|
+
"applied": {
|
|
1930
|
+
"type": "pushwoosh.aibuilder.v1.LogoHeaderStyle"
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
},
|
|
1895
1934
|
"pushwoosh.aibuilder.v1.AiBuilderBlock": {
|
|
1896
1935
|
"type": "I",
|
|
1897
1936
|
"fields": {
|
|
@@ -1942,6 +1981,10 @@ export const data = {
|
|
|
1942
1981
|
"adSlot": {
|
|
1943
1982
|
"type": "pushwoosh.aibuilder.v1.AdSlotData",
|
|
1944
1983
|
"optional": true
|
|
1984
|
+
},
|
|
1985
|
+
"logoHeader": {
|
|
1986
|
+
"type": "pushwoosh.aibuilder.v1.LogoHeaderData",
|
|
1987
|
+
"optional": true
|
|
1945
1988
|
}
|
|
1946
1989
|
},
|
|
1947
1990
|
"oneofs": {
|
package/package.json
CHANGED
|
@@ -924,6 +924,11 @@ export type Image = {
|
|
|
924
924
|
* editor instead of border_radius, which wins whenever both are present.
|
|
925
925
|
*/
|
|
926
926
|
borderRadiusCss?: string;
|
|
927
|
+
/**
|
|
928
|
+
* Source shown by clients that honour prefers-color-scheme: dark (Apple
|
|
929
|
+
* Mail, Outlook iOS); the Gmail apps keep `src`. Empty = one image for both.
|
|
930
|
+
*/
|
|
931
|
+
darkSrc?: string;
|
|
927
932
|
};
|
|
928
933
|
export type AiBuilderCard = {
|
|
929
934
|
layout: CardLayout;
|
|
@@ -1321,6 +1326,24 @@ export type AdSlotData = {
|
|
|
1321
1326
|
/** Line shown above the creative ("Sponsored"). Empty = no label. */
|
|
1322
1327
|
sponsoredLabel: string;
|
|
1323
1328
|
};
|
|
1329
|
+
/** The Brand book's logo-header look, as it lands in the stand-in card. */
|
|
1330
|
+
export type LogoHeaderStyle = {
|
|
1331
|
+
src: string;
|
|
1332
|
+
darkSrc: string;
|
|
1333
|
+
align: TextAlign;
|
|
1334
|
+
/** CSS length, same contract as Image.width. */
|
|
1335
|
+
width: string;
|
|
1336
|
+
href: string;
|
|
1337
|
+
backgroundColor: string;
|
|
1338
|
+
padding?: EdgeInsets;
|
|
1339
|
+
};
|
|
1340
|
+
/**
|
|
1341
|
+
* Brand-book logo header; `applied` is what the brand last wrote into the stand-in
|
|
1342
|
+
* card, so a differing card value is the user's edit and survives "Apply brand styles".
|
|
1343
|
+
*/
|
|
1344
|
+
export type LogoHeaderData = {
|
|
1345
|
+
applied: LogoHeaderStyle;
|
|
1346
|
+
};
|
|
1324
1347
|
export type AiBuilderBlock_block_card = {
|
|
1325
1348
|
type: 'card';
|
|
1326
1349
|
data: AiBuilderCard;
|
|
@@ -1379,6 +1402,11 @@ export type AiBuilderBlock = {
|
|
|
1379
1402
|
* as products and news; the creative arrives at send time, not from here.
|
|
1380
1403
|
*/
|
|
1381
1404
|
adSlot?: AdSlotData;
|
|
1405
|
+
/**
|
|
1406
|
+
* Brand-book logo header. Unlike the repeaters it does not own the
|
|
1407
|
+
* rendering: the stand-in card IS the output.
|
|
1408
|
+
*/
|
|
1409
|
+
logoHeader?: LogoHeaderData;
|
|
1382
1410
|
block: AiBuilderBlock_block;
|
|
1383
1411
|
};
|
|
1384
1412
|
/**
|