@vendasta/meetings 0.78.0 → 0.79.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/conversation-analysis.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/conversation-analysis.mjs +19 -1
- package/fesm2015/vendasta-meetings.mjs +18 -0
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +18 -0
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/interfaces/conversation-analysis.interface.d.ts +3 -0
- package/lib/_internal/objects/conversation-analysis.d.ts +3 -0
- package/package.json +1 -1
|
@@ -4165,6 +4165,15 @@ class ProcessedTranscript {
|
|
|
4165
4165
|
if (proto.salesScore) {
|
|
4166
4166
|
m.salesScore = parseInt(proto.salesScore, 10);
|
|
4167
4167
|
}
|
|
4168
|
+
if (proto.created) {
|
|
4169
|
+
m.created = new Date(proto.created);
|
|
4170
|
+
}
|
|
4171
|
+
if (proto.updated) {
|
|
4172
|
+
m.updated = new Date(proto.updated);
|
|
4173
|
+
}
|
|
4174
|
+
if (proto.deleted) {
|
|
4175
|
+
m.deleted = new Date(proto.deleted);
|
|
4176
|
+
}
|
|
4168
4177
|
return m;
|
|
4169
4178
|
}
|
|
4170
4179
|
constructor(kwargs) {
|
|
@@ -4217,6 +4226,15 @@ class ProcessedTranscript {
|
|
|
4217
4226
|
if (typeof this.promptUsed !== 'undefined') {
|
|
4218
4227
|
toReturn['promptUsed'] = this.promptUsed;
|
|
4219
4228
|
}
|
|
4229
|
+
if (typeof this.created !== 'undefined' && this.created !== null) {
|
|
4230
|
+
toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;
|
|
4231
|
+
}
|
|
4232
|
+
if (typeof this.updated !== 'undefined' && this.updated !== null) {
|
|
4233
|
+
toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;
|
|
4234
|
+
}
|
|
4235
|
+
if (typeof this.deleted !== 'undefined' && this.deleted !== null) {
|
|
4236
|
+
toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;
|
|
4237
|
+
}
|
|
4220
4238
|
return toReturn;
|
|
4221
4239
|
}
|
|
4222
4240
|
}
|