@vendasta/conversation 0.51.0 → 0.52.0
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/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/widget.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +10 -1
- package/esm2020/lib/_internal/objects/widget.mjs +4 -1
- package/fesm2015/vendasta-conversation.mjs +12 -0
- package/fesm2015/vendasta-conversation.mjs.map +1 -1
- package/fesm2020/vendasta-conversation.mjs +12 -0
- package/fesm2020/vendasta-conversation.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +3 -0
- package/lib/_internal/interfaces/widget.interface.d.ts +1 -0
- package/lib/_internal/objects/api.d.ts +3 -0
- package/lib/_internal/objects/widget.d.ts +1 -0
- package/package.json +1 -1
|
@@ -873,6 +873,9 @@ class Widget {
|
|
|
873
873
|
if (typeof this.dataSources !== 'undefined' && this.dataSources !== null) {
|
|
874
874
|
toReturn['dataSources'] = 'toApiJson' in this.dataSources ? this.dataSources.toApiJson() : this.dataSources;
|
|
875
875
|
}
|
|
876
|
+
if (typeof this.textColor !== 'undefined') {
|
|
877
|
+
toReturn['textColor'] = this.textColor;
|
|
878
|
+
}
|
|
876
879
|
return toReturn;
|
|
877
880
|
}
|
|
878
881
|
}
|
|
@@ -1349,6 +1352,9 @@ class CreateWidgetRequest {
|
|
|
1349
1352
|
if (typeof this.dataSources !== 'undefined' && this.dataSources !== null) {
|
|
1350
1353
|
toReturn['dataSources'] = 'toApiJson' in this.dataSources ? this.dataSources.toApiJson() : this.dataSources;
|
|
1351
1354
|
}
|
|
1355
|
+
if (typeof this.textColor !== 'undefined') {
|
|
1356
|
+
toReturn['textColor'] = this.textColor;
|
|
1357
|
+
}
|
|
1352
1358
|
return toReturn;
|
|
1353
1359
|
}
|
|
1354
1360
|
}
|
|
@@ -2163,6 +2169,9 @@ class GetWidgetConfigResponse {
|
|
|
2163
2169
|
if (typeof this.welcomeMessage !== 'undefined') {
|
|
2164
2170
|
toReturn['welcomeMessage'] = this.welcomeMessage;
|
|
2165
2171
|
}
|
|
2172
|
+
if (typeof this.textColor !== 'undefined') {
|
|
2173
|
+
toReturn['textColor'] = this.textColor;
|
|
2174
|
+
}
|
|
2166
2175
|
return toReturn;
|
|
2167
2176
|
}
|
|
2168
2177
|
}
|
|
@@ -3148,6 +3157,9 @@ class UpdateWidgetRequest {
|
|
|
3148
3157
|
if (typeof this.dataSources !== 'undefined' && this.dataSources !== null) {
|
|
3149
3158
|
toReturn['dataSources'] = 'toApiJson' in this.dataSources ? this.dataSources.toApiJson() : this.dataSources;
|
|
3150
3159
|
}
|
|
3160
|
+
if (typeof this.textColor !== 'undefined') {
|
|
3161
|
+
toReturn['textColor'] = this.textColor;
|
|
3162
|
+
}
|
|
3151
3163
|
return toReturn;
|
|
3152
3164
|
}
|
|
3153
3165
|
}
|