controlresell 2.16.0 → 2.16.2
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/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.d.ts +8 -8
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.js +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.js.map +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.ts +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +148 -29
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js +2 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.ts +2 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts +3 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.js +1 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.js.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.ts +1 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.d.ts +0 -3
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.js +0 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.js.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.ts +0 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerTriggerCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerTriggerVariant.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreference.d.ts +140 -28
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreference.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceCase.d.ts +54 -10
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceCase.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.d.ts +38 -6
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.js +2 -2
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.js.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.ts +2 -2
- package/src/index.d.ts +0 -1
- package/src/index.d.ts.map +1 -1
- package/src/index.js +0 -1
- package/src/index.js.map +1 -1
- package/src/index.ts +0 -1
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.d.ts +0 -4
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.d.ts.map +0 -1
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.js +0 -5
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.js.map +0 -1
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.ts +0 -6
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
3
3
|
state: z.ZodEnum<["NONE", "TRIAL", "TRIAL_ENDED", "ACTIVE", "CANCELING", "GRACE_PERIOD", "EXPIRED"]>;
|
|
4
4
|
isEligibleToTrial: z.ZodBoolean;
|
|
5
5
|
trialDaysRemaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6
|
-
history: z.ZodArray<z.ZodObject<{
|
|
6
|
+
history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
7
|
id: z.ZodString;
|
|
8
8
|
userId: z.ZodNumber;
|
|
9
9
|
type: z.ZodEnum<["TRIAL_STARTED", "TRIAL_UPGRADED", "TRIAL_EXPIRED", "LEVEL_ADDED", "LEVEL_REMOVED", "MULTIPLIER_CHANGED", "SUBSCRIPTION_PAUSED", "SUBSCRIPTION_RESUMED", "SUBSCRIPTION_CANCELED", "PAYMENT_SUCCEEDED", "PAYMENT_FAILED"]>;
|
|
@@ -139,10 +139,11 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
139
139
|
endDate: Date;
|
|
140
140
|
convertedToPaid: boolean;
|
|
141
141
|
} | null | undefined;
|
|
142
|
-
}>, "many"
|
|
142
|
+
}>, "many">>>;
|
|
143
143
|
}, "strip", z.ZodTypeAny, {
|
|
144
144
|
state: "NONE" | "ACTIVE" | "TRIAL" | "TRIAL_ENDED" | "CANCELING" | "GRACE_PERIOD" | "EXPIRED";
|
|
145
|
-
|
|
145
|
+
isEligibleToTrial: boolean;
|
|
146
|
+
history?: {
|
|
146
147
|
type: "PAYMENT_FAILED" | "TRIAL_STARTED" | "TRIAL_UPGRADED" | "TRIAL_EXPIRED" | "LEVEL_ADDED" | "LEVEL_REMOVED" | "MULTIPLIER_CHANGED" | "SUBSCRIPTION_PAUSED" | "SUBSCRIPTION_RESUMED" | "SUBSCRIPTION_CANCELED" | "PAYMENT_SUCCEEDED";
|
|
147
148
|
id: string;
|
|
148
149
|
createdAt: Date;
|
|
@@ -174,12 +175,12 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
174
175
|
endDate: Date;
|
|
175
176
|
convertedToPaid: boolean;
|
|
176
177
|
} | null | undefined;
|
|
177
|
-
}[];
|
|
178
|
-
isEligibleToTrial: boolean;
|
|
178
|
+
}[] | null | undefined;
|
|
179
179
|
trialDaysRemaining?: number | null | undefined;
|
|
180
180
|
}, {
|
|
181
181
|
state: "NONE" | "ACTIVE" | "TRIAL" | "TRIAL_ENDED" | "CANCELING" | "GRACE_PERIOD" | "EXPIRED";
|
|
182
|
-
|
|
182
|
+
isEligibleToTrial: boolean;
|
|
183
|
+
history?: {
|
|
183
184
|
type: "PAYMENT_FAILED" | "TRIAL_STARTED" | "TRIAL_UPGRADED" | "TRIAL_EXPIRED" | "LEVEL_ADDED" | "LEVEL_REMOVED" | "MULTIPLIER_CHANGED" | "SUBSCRIPTION_PAUSED" | "SUBSCRIPTION_RESUMED" | "SUBSCRIPTION_CANCELED" | "PAYMENT_SUCCEEDED";
|
|
184
185
|
id: string;
|
|
185
186
|
createdAt: Date;
|
|
@@ -211,8 +212,7 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
|
211
212
|
endDate: Date;
|
|
212
213
|
convertedToPaid: boolean;
|
|
213
214
|
} | null | undefined;
|
|
214
|
-
}[];
|
|
215
|
-
isEligibleToTrial: boolean;
|
|
215
|
+
}[] | null | undefined;
|
|
216
216
|
trialDaysRemaining?: number | null | undefined;
|
|
217
217
|
}>;
|
|
218
218
|
export type SubscriptionStatus = z.infer<typeof SubscriptionStatusSchema>;
|
|
@@ -5,6 +5,6 @@ export const SubscriptionStatusSchema = z.object({
|
|
|
5
5
|
state: SubscriptionStateSchema,
|
|
6
6
|
isEligibleToTrial: z.boolean(),
|
|
7
7
|
trialDaysRemaining: z.number().int().nullish(),
|
|
8
|
-
history: z.array(SubscriptionHistorySchema)
|
|
8
|
+
history: z.array(SubscriptionHistorySchema).nullish()
|
|
9
9
|
});
|
|
10
10
|
//# sourceMappingURL=SubscriptionStatus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionStatus.js","sourceRoot":"","sources":["SubscriptionStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,uBAAuB,EAAC,MAAM,iDAAiD,CAAA;AACvF,OAAO,EAAC,yBAAyB,EAAC,MAAM,mDAAmD,CAAA;AAE3F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,uBAAuB;IAC9B,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC9B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE;IAC9C,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"SubscriptionStatus.js","sourceRoot":"","sources":["SubscriptionStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,uBAAuB,EAAC,MAAM,iDAAiD,CAAA;AACvF,OAAO,EAAC,yBAAyB,EAAC,MAAM,mDAAmD,CAAA;AAE3F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,uBAAuB;IAC9B,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC9B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE;IAC9C,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,OAAO,EAAE;CACxD,CAAC,CAAA"}
|
|
@@ -6,6 +6,6 @@ export const SubscriptionStatusSchema = z.object({
|
|
|
6
6
|
state: SubscriptionStateSchema,
|
|
7
7
|
isEligibleToTrial: z.boolean(),
|
|
8
8
|
trialDaysRemaining: z.number().int().nullish(),
|
|
9
|
-
history: z.array(SubscriptionHistorySchema)
|
|
9
|
+
history: z.array(SubscriptionHistorySchema).nullish()
|
|
10
10
|
})
|
|
11
11
|
export type SubscriptionStatus = z.infer<typeof SubscriptionStatusSchema>
|
package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts
CHANGED
|
@@ -3,11 +3,98 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
userId: z.ZodNumber;
|
|
5
5
|
enabled: z.ZodBoolean;
|
|
6
|
+
profileCases: z.ZodArray<z.ZodObject<{
|
|
7
|
+
caseId: z.ZodString;
|
|
8
|
+
enabled: z.ZodBoolean;
|
|
9
|
+
disableOnManualMessage: z.ZodBoolean;
|
|
10
|
+
savedFiltersId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
12
|
+
variantId: z.ZodString;
|
|
13
|
+
variantWeight: z.ZodNumber;
|
|
14
|
+
settings: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
15
|
+
description: z.ZodString;
|
|
16
|
+
type: z.ZodLiteral<"CUSTOM">;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
type: "CUSTOM";
|
|
19
|
+
description: string;
|
|
20
|
+
}, {
|
|
21
|
+
type: "CUSTOM";
|
|
22
|
+
description: string;
|
|
23
|
+
}>, z.ZodObject<{
|
|
24
|
+
type: z.ZodLiteral<"FRIENDLY_AND_CASUAL">;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
type: "FRIENDLY_AND_CASUAL";
|
|
27
|
+
}, {
|
|
28
|
+
type: "FRIENDLY_AND_CASUAL";
|
|
29
|
+
}>, z.ZodObject<{
|
|
30
|
+
type: z.ZodLiteral<"PROFESSIONAL_AND_POLITE">;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
type: "PROFESSIONAL_AND_POLITE";
|
|
33
|
+
}, {
|
|
34
|
+
type: "PROFESSIONAL_AND_POLITE";
|
|
35
|
+
}>]>;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
variantId: string;
|
|
38
|
+
variantWeight: number;
|
|
39
|
+
settings: {
|
|
40
|
+
type: "CUSTOM";
|
|
41
|
+
description: string;
|
|
42
|
+
} | {
|
|
43
|
+
type: "FRIENDLY_AND_CASUAL";
|
|
44
|
+
} | {
|
|
45
|
+
type: "PROFESSIONAL_AND_POLITE";
|
|
46
|
+
};
|
|
47
|
+
}, {
|
|
48
|
+
variantId: string;
|
|
49
|
+
variantWeight: number;
|
|
50
|
+
settings: {
|
|
51
|
+
type: "CUSTOM";
|
|
52
|
+
description: string;
|
|
53
|
+
} | {
|
|
54
|
+
type: "FRIENDLY_AND_CASUAL";
|
|
55
|
+
} | {
|
|
56
|
+
type: "PROFESSIONAL_AND_POLITE";
|
|
57
|
+
};
|
|
58
|
+
}>, "many">;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
enabled: boolean;
|
|
61
|
+
caseId: string;
|
|
62
|
+
variants: {
|
|
63
|
+
variantId: string;
|
|
64
|
+
variantWeight: number;
|
|
65
|
+
settings: {
|
|
66
|
+
type: "CUSTOM";
|
|
67
|
+
description: string;
|
|
68
|
+
} | {
|
|
69
|
+
type: "FRIENDLY_AND_CASUAL";
|
|
70
|
+
} | {
|
|
71
|
+
type: "PROFESSIONAL_AND_POLITE";
|
|
72
|
+
};
|
|
73
|
+
}[];
|
|
74
|
+
disableOnManualMessage: boolean;
|
|
75
|
+
savedFiltersId?: string | null | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
enabled: boolean;
|
|
78
|
+
caseId: string;
|
|
79
|
+
variants: {
|
|
80
|
+
variantId: string;
|
|
81
|
+
variantWeight: number;
|
|
82
|
+
settings: {
|
|
83
|
+
type: "CUSTOM";
|
|
84
|
+
description: string;
|
|
85
|
+
} | {
|
|
86
|
+
type: "FRIENDLY_AND_CASUAL";
|
|
87
|
+
} | {
|
|
88
|
+
type: "PROFESSIONAL_AND_POLITE";
|
|
89
|
+
};
|
|
90
|
+
}[];
|
|
91
|
+
disableOnManualMessage: boolean;
|
|
92
|
+
savedFiltersId?: string | null | undefined;
|
|
93
|
+
}>, "many">;
|
|
6
94
|
questions: z.ZodArray<z.ZodObject<{
|
|
7
95
|
caseId: z.ZodString;
|
|
8
96
|
enabled: z.ZodBoolean;
|
|
9
97
|
savedFiltersId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
disableOnManualMessage: z.ZodBoolean;
|
|
11
98
|
question: z.ZodString;
|
|
12
99
|
variants: z.ZodArray<z.ZodObject<{
|
|
13
100
|
variantId: z.ZodString;
|
|
@@ -31,7 +118,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
31
118
|
variantWeight: number;
|
|
32
119
|
exampleAnswersList: string[];
|
|
33
120
|
}[];
|
|
34
|
-
disableOnManualMessage: boolean;
|
|
35
121
|
savedFiltersId?: string | null | undefined;
|
|
36
122
|
}, {
|
|
37
123
|
enabled: boolean;
|
|
@@ -42,7 +128,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
42
128
|
variantWeight: number;
|
|
43
129
|
exampleAnswersList: string[];
|
|
44
130
|
}[];
|
|
45
|
-
disableOnManualMessage: boolean;
|
|
46
131
|
savedFiltersId?: string | null | undefined;
|
|
47
132
|
}>, "many">;
|
|
48
133
|
automaticReminderTriggerCases: z.ZodArray<z.ZodObject<{
|
|
@@ -81,7 +166,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
81
166
|
variantId: string;
|
|
82
167
|
variantWeight: number;
|
|
83
168
|
initialDelaySeconds: number;
|
|
84
|
-
includeOffer: boolean;
|
|
85
169
|
attachedMessage: {
|
|
86
170
|
type: "AI";
|
|
87
171
|
} | {
|
|
@@ -90,11 +174,11 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
90
174
|
} | {
|
|
91
175
|
type: "NONE";
|
|
92
176
|
};
|
|
177
|
+
includeOffer: boolean;
|
|
93
178
|
}, {
|
|
94
179
|
variantId: string;
|
|
95
180
|
variantWeight: number;
|
|
96
181
|
initialDelaySeconds: number;
|
|
97
|
-
includeOffer: boolean;
|
|
98
182
|
attachedMessage: {
|
|
99
183
|
type: "AI";
|
|
100
184
|
} | {
|
|
@@ -103,6 +187,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
103
187
|
} | {
|
|
104
188
|
type: "NONE";
|
|
105
189
|
};
|
|
190
|
+
includeOffer: boolean;
|
|
106
191
|
}>, "many">;
|
|
107
192
|
}, "strip", z.ZodTypeAny, {
|
|
108
193
|
enabled: boolean;
|
|
@@ -111,7 +196,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
111
196
|
variantId: string;
|
|
112
197
|
variantWeight: number;
|
|
113
198
|
initialDelaySeconds: number;
|
|
114
|
-
includeOffer: boolean;
|
|
115
199
|
attachedMessage: {
|
|
116
200
|
type: "AI";
|
|
117
201
|
} | {
|
|
@@ -120,6 +204,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
120
204
|
} | {
|
|
121
205
|
type: "NONE";
|
|
122
206
|
};
|
|
207
|
+
includeOffer: boolean;
|
|
123
208
|
}[];
|
|
124
209
|
disableOnManualMessage: boolean;
|
|
125
210
|
savedFiltersId?: string | null | undefined;
|
|
@@ -130,7 +215,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
130
215
|
variantId: string;
|
|
131
216
|
variantWeight: number;
|
|
132
217
|
initialDelaySeconds: number;
|
|
133
|
-
includeOffer: boolean;
|
|
134
218
|
attachedMessage: {
|
|
135
219
|
type: "AI";
|
|
136
220
|
} | {
|
|
@@ -139,6 +223,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
139
223
|
} | {
|
|
140
224
|
type: "NONE";
|
|
141
225
|
};
|
|
226
|
+
includeOffer: boolean;
|
|
142
227
|
}[];
|
|
143
228
|
disableOnManualMessage: boolean;
|
|
144
229
|
savedFiltersId?: string | null | undefined;
|
|
@@ -179,7 +264,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
179
264
|
variantId: string;
|
|
180
265
|
variantWeight: number;
|
|
181
266
|
initialDelaySeconds: number;
|
|
182
|
-
includeOffer: boolean;
|
|
183
267
|
attachedMessage: {
|
|
184
268
|
type: "AI";
|
|
185
269
|
} | {
|
|
@@ -188,11 +272,11 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
188
272
|
} | {
|
|
189
273
|
type: "NONE";
|
|
190
274
|
};
|
|
275
|
+
includeOffer: boolean;
|
|
191
276
|
}, {
|
|
192
277
|
variantId: string;
|
|
193
278
|
variantWeight: number;
|
|
194
279
|
initialDelaySeconds: number;
|
|
195
|
-
includeOffer: boolean;
|
|
196
280
|
attachedMessage: {
|
|
197
281
|
type: "AI";
|
|
198
282
|
} | {
|
|
@@ -201,6 +285,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
201
285
|
} | {
|
|
202
286
|
type: "NONE";
|
|
203
287
|
};
|
|
288
|
+
includeOffer: boolean;
|
|
204
289
|
}>, "many">;
|
|
205
290
|
}, "strip", z.ZodTypeAny, {
|
|
206
291
|
enabled: boolean;
|
|
@@ -209,7 +294,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
209
294
|
variantId: string;
|
|
210
295
|
variantWeight: number;
|
|
211
296
|
initialDelaySeconds: number;
|
|
212
|
-
includeOffer: boolean;
|
|
213
297
|
attachedMessage: {
|
|
214
298
|
type: "AI";
|
|
215
299
|
} | {
|
|
@@ -218,6 +302,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
218
302
|
} | {
|
|
219
303
|
type: "NONE";
|
|
220
304
|
};
|
|
305
|
+
includeOffer: boolean;
|
|
221
306
|
}[];
|
|
222
307
|
disableOnManualMessage: boolean;
|
|
223
308
|
savedFiltersId?: string | null | undefined;
|
|
@@ -228,7 +313,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
228
313
|
variantId: string;
|
|
229
314
|
variantWeight: number;
|
|
230
315
|
initialDelaySeconds: number;
|
|
231
|
-
includeOffer: boolean;
|
|
232
316
|
attachedMessage: {
|
|
233
317
|
type: "AI";
|
|
234
318
|
} | {
|
|
@@ -237,6 +321,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
237
321
|
} | {
|
|
238
322
|
type: "NONE";
|
|
239
323
|
};
|
|
324
|
+
includeOffer: boolean;
|
|
240
325
|
}[];
|
|
241
326
|
disableOnManualMessage: boolean;
|
|
242
327
|
savedFiltersId?: string | null | undefined;
|
|
@@ -277,7 +362,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
277
362
|
variantId: string;
|
|
278
363
|
variantWeight: number;
|
|
279
364
|
initialDelaySeconds: number;
|
|
280
|
-
includeOffer: boolean;
|
|
281
365
|
attachedMessage: {
|
|
282
366
|
type: "AI";
|
|
283
367
|
} | {
|
|
@@ -286,11 +370,11 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
286
370
|
} | {
|
|
287
371
|
type: "NONE";
|
|
288
372
|
};
|
|
373
|
+
includeOffer: boolean;
|
|
289
374
|
}, {
|
|
290
375
|
variantId: string;
|
|
291
376
|
variantWeight: number;
|
|
292
377
|
initialDelaySeconds: number;
|
|
293
|
-
includeOffer: boolean;
|
|
294
378
|
attachedMessage: {
|
|
295
379
|
type: "AI";
|
|
296
380
|
} | {
|
|
@@ -299,6 +383,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
299
383
|
} | {
|
|
300
384
|
type: "NONE";
|
|
301
385
|
};
|
|
386
|
+
includeOffer: boolean;
|
|
302
387
|
}>, "many">;
|
|
303
388
|
}, "strip", z.ZodTypeAny, {
|
|
304
389
|
enabled: boolean;
|
|
@@ -307,7 +392,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
307
392
|
variantId: string;
|
|
308
393
|
variantWeight: number;
|
|
309
394
|
initialDelaySeconds: number;
|
|
310
|
-
includeOffer: boolean;
|
|
311
395
|
attachedMessage: {
|
|
312
396
|
type: "AI";
|
|
313
397
|
} | {
|
|
@@ -316,6 +400,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
316
400
|
} | {
|
|
317
401
|
type: "NONE";
|
|
318
402
|
};
|
|
403
|
+
includeOffer: boolean;
|
|
319
404
|
}[];
|
|
320
405
|
disableOnManualMessage: boolean;
|
|
321
406
|
savedFiltersId?: string | null | undefined;
|
|
@@ -326,7 +411,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
326
411
|
variantId: string;
|
|
327
412
|
variantWeight: number;
|
|
328
413
|
initialDelaySeconds: number;
|
|
329
|
-
includeOffer: boolean;
|
|
330
414
|
attachedMessage: {
|
|
331
415
|
type: "AI";
|
|
332
416
|
} | {
|
|
@@ -335,6 +419,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
335
419
|
} | {
|
|
336
420
|
type: "NONE";
|
|
337
421
|
};
|
|
422
|
+
includeOffer: boolean;
|
|
338
423
|
}[];
|
|
339
424
|
disableOnManualMessage: boolean;
|
|
340
425
|
savedFiltersId?: string | null | undefined;
|
|
@@ -375,7 +460,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
375
460
|
variantId: string;
|
|
376
461
|
variantWeight: number;
|
|
377
462
|
initialDelaySeconds: number;
|
|
378
|
-
includeOffer: boolean;
|
|
379
463
|
attachedMessage: {
|
|
380
464
|
type: "AI";
|
|
381
465
|
} | {
|
|
@@ -384,11 +468,11 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
384
468
|
} | {
|
|
385
469
|
type: "NONE";
|
|
386
470
|
};
|
|
471
|
+
includeOffer: boolean;
|
|
387
472
|
}, {
|
|
388
473
|
variantId: string;
|
|
389
474
|
variantWeight: number;
|
|
390
475
|
initialDelaySeconds: number;
|
|
391
|
-
includeOffer: boolean;
|
|
392
476
|
attachedMessage: {
|
|
393
477
|
type: "AI";
|
|
394
478
|
} | {
|
|
@@ -397,6 +481,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
397
481
|
} | {
|
|
398
482
|
type: "NONE";
|
|
399
483
|
};
|
|
484
|
+
includeOffer: boolean;
|
|
400
485
|
}>, "many">;
|
|
401
486
|
}, "strip", z.ZodTypeAny, {
|
|
402
487
|
enabled: boolean;
|
|
@@ -405,7 +490,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
405
490
|
variantId: string;
|
|
406
491
|
variantWeight: number;
|
|
407
492
|
initialDelaySeconds: number;
|
|
408
|
-
includeOffer: boolean;
|
|
409
493
|
attachedMessage: {
|
|
410
494
|
type: "AI";
|
|
411
495
|
} | {
|
|
@@ -414,6 +498,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
414
498
|
} | {
|
|
415
499
|
type: "NONE";
|
|
416
500
|
};
|
|
501
|
+
includeOffer: boolean;
|
|
417
502
|
}[];
|
|
418
503
|
disableOnManualMessage: boolean;
|
|
419
504
|
savedFiltersId?: string | null | undefined;
|
|
@@ -424,7 +509,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
424
509
|
variantId: string;
|
|
425
510
|
variantWeight: number;
|
|
426
511
|
initialDelaySeconds: number;
|
|
427
|
-
includeOffer: boolean;
|
|
428
512
|
attachedMessage: {
|
|
429
513
|
type: "AI";
|
|
430
514
|
} | {
|
|
@@ -433,6 +517,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
433
517
|
} | {
|
|
434
518
|
type: "NONE";
|
|
435
519
|
};
|
|
520
|
+
includeOffer: boolean;
|
|
436
521
|
}[];
|
|
437
522
|
disableOnManualMessage: boolean;
|
|
438
523
|
savedFiltersId?: string | null | undefined;
|
|
@@ -448,11 +533,28 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
448
533
|
variantWeight: number;
|
|
449
534
|
exampleAnswersList: string[];
|
|
450
535
|
}[];
|
|
451
|
-
disableOnManualMessage: boolean;
|
|
452
536
|
savedFiltersId?: string | null | undefined;
|
|
453
537
|
}[];
|
|
454
538
|
id: string;
|
|
455
539
|
userId: number;
|
|
540
|
+
profileCases: {
|
|
541
|
+
enabled: boolean;
|
|
542
|
+
caseId: string;
|
|
543
|
+
variants: {
|
|
544
|
+
variantId: string;
|
|
545
|
+
variantWeight: number;
|
|
546
|
+
settings: {
|
|
547
|
+
type: "CUSTOM";
|
|
548
|
+
description: string;
|
|
549
|
+
} | {
|
|
550
|
+
type: "FRIENDLY_AND_CASUAL";
|
|
551
|
+
} | {
|
|
552
|
+
type: "PROFESSIONAL_AND_POLITE";
|
|
553
|
+
};
|
|
554
|
+
}[];
|
|
555
|
+
disableOnManualMessage: boolean;
|
|
556
|
+
savedFiltersId?: string | null | undefined;
|
|
557
|
+
}[];
|
|
456
558
|
automaticReminderTriggerCases: {
|
|
457
559
|
enabled: boolean;
|
|
458
560
|
caseId: string;
|
|
@@ -460,7 +562,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
460
562
|
variantId: string;
|
|
461
563
|
variantWeight: number;
|
|
462
564
|
initialDelaySeconds: number;
|
|
463
|
-
includeOffer: boolean;
|
|
464
565
|
attachedMessage: {
|
|
465
566
|
type: "AI";
|
|
466
567
|
} | {
|
|
@@ -469,6 +570,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
469
570
|
} | {
|
|
470
571
|
type: "NONE";
|
|
471
572
|
};
|
|
573
|
+
includeOffer: boolean;
|
|
472
574
|
}[];
|
|
473
575
|
disableOnManualMessage: boolean;
|
|
474
576
|
savedFiltersId?: string | null | undefined;
|
|
@@ -480,7 +582,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
480
582
|
variantId: string;
|
|
481
583
|
variantWeight: number;
|
|
482
584
|
initialDelaySeconds: number;
|
|
483
|
-
includeOffer: boolean;
|
|
484
585
|
attachedMessage: {
|
|
485
586
|
type: "AI";
|
|
486
587
|
} | {
|
|
@@ -489,6 +590,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
489
590
|
} | {
|
|
490
591
|
type: "NONE";
|
|
491
592
|
};
|
|
593
|
+
includeOffer: boolean;
|
|
492
594
|
}[];
|
|
493
595
|
disableOnManualMessage: boolean;
|
|
494
596
|
savedFiltersId?: string | null | undefined;
|
|
@@ -500,7 +602,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
500
602
|
variantId: string;
|
|
501
603
|
variantWeight: number;
|
|
502
604
|
initialDelaySeconds: number;
|
|
503
|
-
includeOffer: boolean;
|
|
504
605
|
attachedMessage: {
|
|
505
606
|
type: "AI";
|
|
506
607
|
} | {
|
|
@@ -509,6 +610,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
509
610
|
} | {
|
|
510
611
|
type: "NONE";
|
|
511
612
|
};
|
|
613
|
+
includeOffer: boolean;
|
|
512
614
|
}[];
|
|
513
615
|
disableOnManualMessage: boolean;
|
|
514
616
|
savedFiltersId?: string | null | undefined;
|
|
@@ -520,7 +622,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
520
622
|
variantId: string;
|
|
521
623
|
variantWeight: number;
|
|
522
624
|
initialDelaySeconds: number;
|
|
523
|
-
includeOffer: boolean;
|
|
524
625
|
attachedMessage: {
|
|
525
626
|
type: "AI";
|
|
526
627
|
} | {
|
|
@@ -529,6 +630,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
529
630
|
} | {
|
|
530
631
|
type: "NONE";
|
|
531
632
|
};
|
|
633
|
+
includeOffer: boolean;
|
|
532
634
|
}[];
|
|
533
635
|
disableOnManualMessage: boolean;
|
|
534
636
|
savedFiltersId?: string | null | undefined;
|
|
@@ -544,11 +646,28 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
544
646
|
variantWeight: number;
|
|
545
647
|
exampleAnswersList: string[];
|
|
546
648
|
}[];
|
|
547
|
-
disableOnManualMessage: boolean;
|
|
548
649
|
savedFiltersId?: string | null | undefined;
|
|
549
650
|
}[];
|
|
550
651
|
id: string;
|
|
551
652
|
userId: number;
|
|
653
|
+
profileCases: {
|
|
654
|
+
enabled: boolean;
|
|
655
|
+
caseId: string;
|
|
656
|
+
variants: {
|
|
657
|
+
variantId: string;
|
|
658
|
+
variantWeight: number;
|
|
659
|
+
settings: {
|
|
660
|
+
type: "CUSTOM";
|
|
661
|
+
description: string;
|
|
662
|
+
} | {
|
|
663
|
+
type: "FRIENDLY_AND_CASUAL";
|
|
664
|
+
} | {
|
|
665
|
+
type: "PROFESSIONAL_AND_POLITE";
|
|
666
|
+
};
|
|
667
|
+
}[];
|
|
668
|
+
disableOnManualMessage: boolean;
|
|
669
|
+
savedFiltersId?: string | null | undefined;
|
|
670
|
+
}[];
|
|
552
671
|
automaticReminderTriggerCases: {
|
|
553
672
|
enabled: boolean;
|
|
554
673
|
caseId: string;
|
|
@@ -556,7 +675,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
556
675
|
variantId: string;
|
|
557
676
|
variantWeight: number;
|
|
558
677
|
initialDelaySeconds: number;
|
|
559
|
-
includeOffer: boolean;
|
|
560
678
|
attachedMessage: {
|
|
561
679
|
type: "AI";
|
|
562
680
|
} | {
|
|
@@ -565,6 +683,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
565
683
|
} | {
|
|
566
684
|
type: "NONE";
|
|
567
685
|
};
|
|
686
|
+
includeOffer: boolean;
|
|
568
687
|
}[];
|
|
569
688
|
disableOnManualMessage: boolean;
|
|
570
689
|
savedFiltersId?: string | null | undefined;
|
|
@@ -576,7 +695,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
576
695
|
variantId: string;
|
|
577
696
|
variantWeight: number;
|
|
578
697
|
initialDelaySeconds: number;
|
|
579
|
-
includeOffer: boolean;
|
|
580
698
|
attachedMessage: {
|
|
581
699
|
type: "AI";
|
|
582
700
|
} | {
|
|
@@ -585,6 +703,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
585
703
|
} | {
|
|
586
704
|
type: "NONE";
|
|
587
705
|
};
|
|
706
|
+
includeOffer: boolean;
|
|
588
707
|
}[];
|
|
589
708
|
disableOnManualMessage: boolean;
|
|
590
709
|
savedFiltersId?: string | null | undefined;
|
|
@@ -596,7 +715,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
596
715
|
variantId: string;
|
|
597
716
|
variantWeight: number;
|
|
598
717
|
initialDelaySeconds: number;
|
|
599
|
-
includeOffer: boolean;
|
|
600
718
|
attachedMessage: {
|
|
601
719
|
type: "AI";
|
|
602
720
|
} | {
|
|
@@ -605,6 +723,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
605
723
|
} | {
|
|
606
724
|
type: "NONE";
|
|
607
725
|
};
|
|
726
|
+
includeOffer: boolean;
|
|
608
727
|
}[];
|
|
609
728
|
disableOnManualMessage: boolean;
|
|
610
729
|
savedFiltersId?: string | null | undefined;
|
|
@@ -616,7 +735,6 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
616
735
|
variantId: string;
|
|
617
736
|
variantWeight: number;
|
|
618
737
|
initialDelaySeconds: number;
|
|
619
|
-
includeOffer: boolean;
|
|
620
738
|
attachedMessage: {
|
|
621
739
|
type: "AI";
|
|
622
740
|
} | {
|
|
@@ -625,6 +743,7 @@ export declare const AutomaticAnswerPreferenceSchema: z.ZodObject<{
|
|
|
625
743
|
} | {
|
|
626
744
|
type: "NONE";
|
|
627
745
|
};
|
|
746
|
+
includeOffer: boolean;
|
|
628
747
|
}[];
|
|
629
748
|
disableOnManualMessage: boolean;
|
|
630
749
|
savedFiltersId?: string | null | undefined;
|
package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutomaticAnswerPreference.d.ts","sourceRoot":"","sources":["AutomaticAnswerPreference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"AutomaticAnswerPreference.d.ts","sourceRoot":"","sources":["AutomaticAnswerPreference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU1C,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { AutomaticAnswerProfileCaseSchema } from "./AutomaticAnswerProfileCase";
|
|
2
3
|
import { AutomaticAnswerQuestionCaseSchema } from "./AutomaticAnswerQuestionCase";
|
|
3
4
|
import { AutomaticAnswerTriggerCaseSchema } from "./AutomaticAnswerTriggerCase";
|
|
4
5
|
export const AutomaticAnswerPreferenceSchema = z.object({
|
|
5
6
|
id: z.string().uuid(),
|
|
6
7
|
userId: z.number(),
|
|
7
8
|
enabled: z.boolean(),
|
|
9
|
+
profileCases: z.array(AutomaticAnswerProfileCaseSchema),
|
|
8
10
|
questions: z.array(AutomaticAnswerQuestionCaseSchema),
|
|
9
11
|
automaticReminderTriggerCases: z.array(AutomaticAnswerTriggerCaseSchema),
|
|
10
12
|
buyerPaidTriggerCases: z.array(AutomaticAnswerTriggerCaseSchema),
|
package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutomaticAnswerPreference.js","sourceRoot":"","sources":["AutomaticAnswerPreference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,iCAAiC,EAAC,MAAM,+BAA+B,CAAA;AAC/E,OAAO,EAAC,gCAAgC,EAAC,MAAM,8BAA8B,CAAA;AAE7E,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC;IACrD,6BAA6B,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC;IACxE,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC;IAChE,0BAA0B,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC;IACrE,iCAAiC,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC;CAC/E,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"AutomaticAnswerPreference.js","sourceRoot":"","sources":["AutomaticAnswerPreference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,gCAAgC,EAAC,MAAM,8BAA8B,CAAA;AAC7E,OAAO,EAAC,iCAAiC,EAAC,MAAM,+BAA+B,CAAA;AAC/E,OAAO,EAAC,gCAAgC,EAAC,MAAM,8BAA8B,CAAA;AAE7E,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC;IACvD,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC;IACrD,6BAA6B,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC;IACxE,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC;IAChE,0BAA0B,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC;IACrE,iCAAiC,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC;CAC/E,CAAC,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
|
+
import {AutomaticAnswerProfileCaseSchema} from "./AutomaticAnswerProfileCase"
|
|
2
3
|
import {AutomaticAnswerQuestionCaseSchema} from "./AutomaticAnswerQuestionCase"
|
|
3
4
|
import {AutomaticAnswerTriggerCaseSchema} from "./AutomaticAnswerTriggerCase"
|
|
4
5
|
|
|
@@ -6,6 +7,7 @@ export const AutomaticAnswerPreferenceSchema = z.object({
|
|
|
6
7
|
id: z.string().uuid(),
|
|
7
8
|
userId: z.number(),
|
|
8
9
|
enabled: z.boolean(),
|
|
10
|
+
profileCases: z.array(AutomaticAnswerProfileCaseSchema),
|
|
9
11
|
questions: z.array(AutomaticAnswerQuestionCaseSchema),
|
|
10
12
|
automaticReminderTriggerCases: z.array(AutomaticAnswerTriggerCaseSchema),
|
|
11
13
|
buyerPaidTriggerCases: z.array(AutomaticAnswerTriggerCaseSchema),
|
package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const AutomaticAnswerProfileCaseSchema: z.ZodObject<{
|
|
3
3
|
caseId: z.ZodString;
|
|
4
4
|
enabled: z.ZodBoolean;
|
|
5
|
+
disableOnManualMessage: z.ZodBoolean;
|
|
5
6
|
savedFiltersId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
7
|
variants: z.ZodArray<z.ZodObject<{
|
|
7
8
|
variantId: z.ZodString;
|
|
@@ -66,6 +67,7 @@ export declare const AutomaticAnswerProfileCaseSchema: z.ZodObject<{
|
|
|
66
67
|
type: "PROFESSIONAL_AND_POLITE";
|
|
67
68
|
};
|
|
68
69
|
}[];
|
|
70
|
+
disableOnManualMessage: boolean;
|
|
69
71
|
savedFiltersId?: string | null | undefined;
|
|
70
72
|
}, {
|
|
71
73
|
enabled: boolean;
|
|
@@ -82,6 +84,7 @@ export declare const AutomaticAnswerProfileCaseSchema: z.ZodObject<{
|
|
|
82
84
|
type: "PROFESSIONAL_AND_POLITE";
|
|
83
85
|
};
|
|
84
86
|
}[];
|
|
87
|
+
disableOnManualMessage: boolean;
|
|
85
88
|
savedFiltersId?: string | null | undefined;
|
|
86
89
|
}>;
|
|
87
90
|
export type AutomaticAnswerProfileCase = z.infer<typeof AutomaticAnswerProfileCaseSchema>;
|
package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutomaticAnswerProfileCase.d.ts","sourceRoot":"","sources":["AutomaticAnswerProfileCase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,gCAAgC
|
|
1
|
+
{"version":3,"file":"AutomaticAnswerProfileCase.d.ts","sourceRoot":"","sources":["AutomaticAnswerProfileCase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM3C,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA"}
|