@pushwoosh/rpc-gateway-ai-assistant 0.1.477 → 0.1.480
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 +32 -0
- package/package.json +1 -1
- package/pushwoosh_aigen_v1.d.ts +20 -0
package/data.js
CHANGED
|
@@ -2988,6 +2988,38 @@ export const data = {
|
|
|
2988
2988
|
},
|
|
2989
2989
|
"brandVoice": {
|
|
2990
2990
|
"type": "string"
|
|
2991
|
+
},
|
|
2992
|
+
"legal": {
|
|
2993
|
+
"type": "pushwoosh.aigen.v1.AiGenLegal"
|
|
2994
|
+
}
|
|
2995
|
+
}
|
|
2996
|
+
},
|
|
2997
|
+
"pushwoosh.aigen.v1.AiGenLegal": {
|
|
2998
|
+
"type": "I",
|
|
2999
|
+
"fields": {
|
|
3000
|
+
"companyName": {
|
|
3001
|
+
"type": "string"
|
|
3002
|
+
},
|
|
3003
|
+
"address": {
|
|
3004
|
+
"type": "string"
|
|
3005
|
+
},
|
|
3006
|
+
"links": {
|
|
3007
|
+
"type": "pushwoosh.aigen.v1.AiGenLegalLink",
|
|
3008
|
+
"array": true
|
|
3009
|
+
}
|
|
3010
|
+
}
|
|
3011
|
+
},
|
|
3012
|
+
"pushwoosh.aigen.v1.AiGenLegalLink": {
|
|
3013
|
+
"type": "I",
|
|
3014
|
+
"fields": {
|
|
3015
|
+
"kind": {
|
|
3016
|
+
"type": "string"
|
|
3017
|
+
},
|
|
3018
|
+
"url": {
|
|
3019
|
+
"type": "string"
|
|
3020
|
+
},
|
|
3021
|
+
"label": {
|
|
3022
|
+
"type": "string"
|
|
2991
3023
|
}
|
|
2992
3024
|
}
|
|
2993
3025
|
},
|
package/package.json
CHANGED
package/pushwoosh_aigen_v1.d.ts
CHANGED
|
@@ -734,6 +734,26 @@ export type AiGenExtractThemeResponse = {
|
|
|
734
734
|
logoUrl: string;
|
|
735
735
|
/** How the brand talks, 1-3 sentences, for a copywriter to imitate. Empty without copy. */
|
|
736
736
|
brandVoice: string;
|
|
737
|
+
/**
|
|
738
|
+
* Company details read off site_url's footer and imprint/contact pages, every value
|
|
739
|
+
* verbatim from the site. Always set; fields stay empty without site_url or a find.
|
|
740
|
+
*/
|
|
741
|
+
legal: AiGenLegal;
|
|
742
|
+
};
|
|
743
|
+
/** AiGenLegal is the legal block an email footer needs; a field the site does not show stays empty. */
|
|
744
|
+
export type AiGenLegal = {
|
|
745
|
+
companyName: string;
|
|
746
|
+
/** One line, as the site writes it. */
|
|
747
|
+
address: string;
|
|
748
|
+
links: AiGenLegalLink[];
|
|
749
|
+
};
|
|
750
|
+
export type AiGenLegalLink = {
|
|
751
|
+
/** privacy | terms | imprint | contact | unsubscribe | other */
|
|
752
|
+
kind: string;
|
|
753
|
+
/** A link found on the site (http(s) or mailto). */
|
|
754
|
+
url: string;
|
|
755
|
+
/** The link's own text on the site. */
|
|
756
|
+
label: string;
|
|
737
757
|
};
|
|
738
758
|
export type AiGenTranslateRequest = {
|
|
739
759
|
/** Application code, for account/app scoping middleware and logging. */
|