@vendasta/conversation 0.57.0 → 0.59.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/inbox.api.service.mjs +2 -2
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/configuration.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/widget.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +19 -7
- package/esm2020/lib/_internal/objects/configuration.mjs +1 -1
- package/esm2020/lib/_internal/objects/widget.mjs +7 -13
- package/fesm2015/vendasta-conversation.mjs +24 -18
- package/fesm2015/vendasta-conversation.mjs.map +1 -1
- package/fesm2020/vendasta-conversation.mjs +24 -18
- package/fesm2020/vendasta-conversation.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +6 -1
- package/lib/_internal/interfaces/widget.interface.d.ts +2 -3
- package/lib/_internal/objects/api.d.ts +6 -1
- package/lib/_internal/objects/widget.d.ts +2 -3
- package/package.json +1 -1
|
@@ -72,6 +72,8 @@ export interface CreateWidgetRequestInterface {
|
|
|
72
72
|
welcomeMessage?: string;
|
|
73
73
|
dataSources?: DataSourcesInterface;
|
|
74
74
|
textColor?: string;
|
|
75
|
+
accentColor?: string;
|
|
76
|
+
accentTextColor?: string;
|
|
75
77
|
}
|
|
76
78
|
export interface CreateWidgetResponseInterface {
|
|
77
79
|
widget?: WidgetInterface;
|
|
@@ -199,6 +201,8 @@ export interface GetWidgetConfigResponseInterface {
|
|
|
199
201
|
isEnabled?: boolean;
|
|
200
202
|
welcomeMessage?: string;
|
|
201
203
|
textColor?: string;
|
|
204
|
+
accentColor?: string;
|
|
205
|
+
accentTextColor?: string;
|
|
202
206
|
}
|
|
203
207
|
export interface GetWidgetConversationResponseInterface {
|
|
204
208
|
conversation?: ConversationInterface;
|
|
@@ -369,8 +373,9 @@ export interface UpdateWidgetRequestInterface {
|
|
|
369
373
|
welcomeMessage?: string;
|
|
370
374
|
isEnabled?: boolean;
|
|
371
375
|
fieldMask?: FieldMaskInterface;
|
|
372
|
-
dataSources?: DataSourcesInterface;
|
|
373
376
|
textColor?: string;
|
|
377
|
+
accentColor?: string;
|
|
378
|
+
accentTextColor?: string;
|
|
374
379
|
}
|
|
375
380
|
export interface UpdateWidgetResponseInterface {
|
|
376
381
|
widget?: WidgetInterface;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as e from '../enums';
|
|
2
2
|
export interface DataSourcesInterface {
|
|
3
3
|
businessProfile?: boolean;
|
|
4
|
-
website?: boolean;
|
|
5
|
-
userInput?: boolean;
|
|
6
4
|
}
|
|
7
5
|
export interface WidgetInterface {
|
|
8
6
|
widgetId?: string;
|
|
@@ -15,6 +13,7 @@ export interface WidgetInterface {
|
|
|
15
13
|
updated?: Date;
|
|
16
14
|
isEnabled?: boolean;
|
|
17
15
|
welcomeMessage?: string;
|
|
18
|
-
dataSources?: DataSourcesInterface;
|
|
19
16
|
textColor?: string;
|
|
17
|
+
accentColor?: string;
|
|
18
|
+
accentTextColor?: string;
|
|
20
19
|
}
|
|
@@ -113,6 +113,8 @@ export declare class CreateWidgetRequest implements i.CreateWidgetRequestInterfa
|
|
|
113
113
|
welcomeMessage: string;
|
|
114
114
|
dataSources: DataSources;
|
|
115
115
|
textColor: string;
|
|
116
|
+
accentColor: string;
|
|
117
|
+
accentTextColor: string;
|
|
116
118
|
static fromProto(proto: any): CreateWidgetRequest;
|
|
117
119
|
constructor(kwargs?: i.CreateWidgetRequestInterface);
|
|
118
120
|
toApiJson(): object;
|
|
@@ -348,6 +350,8 @@ export declare class GetWidgetConfigResponse implements i.GetWidgetConfigRespons
|
|
|
348
350
|
isEnabled: boolean;
|
|
349
351
|
welcomeMessage: string;
|
|
350
352
|
textColor: string;
|
|
353
|
+
accentColor: string;
|
|
354
|
+
accentTextColor: string;
|
|
351
355
|
static fromProto(proto: any): GetWidgetConfigResponse;
|
|
352
356
|
constructor(kwargs?: i.GetWidgetConfigResponseInterface);
|
|
353
357
|
toApiJson(): object;
|
|
@@ -620,8 +624,9 @@ export declare class UpdateWidgetRequest implements i.UpdateWidgetRequestInterfa
|
|
|
620
624
|
welcomeMessage: string;
|
|
621
625
|
isEnabled: boolean;
|
|
622
626
|
fieldMask: FieldMask;
|
|
623
|
-
dataSources: DataSources;
|
|
624
627
|
textColor: string;
|
|
628
|
+
accentColor: string;
|
|
629
|
+
accentTextColor: string;
|
|
625
630
|
static fromProto(proto: any): UpdateWidgetRequest;
|
|
626
631
|
constructor(kwargs?: i.UpdateWidgetRequestInterface);
|
|
627
632
|
toApiJson(): object;
|
|
@@ -3,8 +3,6 @@ import * as e from '../enums';
|
|
|
3
3
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
4
|
export declare class DataSources implements i.DataSourcesInterface {
|
|
5
5
|
businessProfile: boolean;
|
|
6
|
-
website: boolean;
|
|
7
|
-
userInput: boolean;
|
|
8
6
|
static fromProto(proto: any): DataSources;
|
|
9
7
|
constructor(kwargs?: i.DataSourcesInterface);
|
|
10
8
|
toApiJson(): object;
|
|
@@ -20,8 +18,9 @@ export declare class Widget implements i.WidgetInterface {
|
|
|
20
18
|
updated: Date;
|
|
21
19
|
isEnabled: boolean;
|
|
22
20
|
welcomeMessage: string;
|
|
23
|
-
dataSources: DataSources;
|
|
24
21
|
textColor: string;
|
|
22
|
+
accentColor: string;
|
|
23
|
+
accentTextColor: string;
|
|
25
24
|
static fromProto(proto: any): Widget;
|
|
26
25
|
constructor(kwargs?: i.WidgetInterface);
|
|
27
26
|
toApiJson(): object;
|