@leadping/sdk 1.0.107 → 1.0.108
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/dist/models/index.d.ts +28 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +35 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -2298,6 +2298,15 @@ export function createRequestDataOptionsFromDiscriminatorValue(parseNode) {
|
|
|
2298
2298
|
export function createSendSmsRequestFromDiscriminatorValue(parseNode) {
|
|
2299
2299
|
return deserializeIntoSendSmsRequest;
|
|
2300
2300
|
}
|
|
2301
|
+
/**
|
|
2302
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2303
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2304
|
+
* @returns {SmsEventTableRow_automation}
|
|
2305
|
+
*/
|
|
2306
|
+
// @ts-ignore
|
|
2307
|
+
export function createSmsEventTableRow_automationFromDiscriminatorValue(parseNode) {
|
|
2308
|
+
return deserializeIntoSmsEventTableRow_automation;
|
|
2309
|
+
}
|
|
2301
2310
|
/**
|
|
2302
2311
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2303
2312
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -7142,6 +7151,7 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
|
|
|
7142
7151
|
"actorDisplayName": n => { smsEventTableRow.actorDisplayName = n.getStringValue(); },
|
|
7143
7152
|
"actorLeadId": n => { smsEventTableRow.actorLeadId = n.getStringValue(); },
|
|
7144
7153
|
"actorUserId": n => { smsEventTableRow.actorUserId = n.getStringValue(); },
|
|
7154
|
+
"automation": n => { smsEventTableRow.automation = n.getObjectValue(createSmsEventTableRow_automationFromDiscriminatorValue); },
|
|
7145
7155
|
"billableAmount": n => { smsEventTableRow.billableAmount = n.getNumberValue(); },
|
|
7146
7156
|
"billingStatus": n => { smsEventTableRow.billingStatus = n.getStringValue(); },
|
|
7147
7157
|
"blockedAt": n => { smsEventTableRow.blockedAt = n.getDateValue(); },
|
|
@@ -7184,6 +7194,17 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
|
|
|
7184
7194
|
"userName": n => { smsEventTableRow.userName = n.getStringValue(); },
|
|
7185
7195
|
};
|
|
7186
7196
|
}
|
|
7197
|
+
/**
|
|
7198
|
+
* The deserialization information for the current model
|
|
7199
|
+
* @param SmsEventTableRow_automation The instance to deserialize into.
|
|
7200
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
7201
|
+
*/
|
|
7202
|
+
// @ts-ignore
|
|
7203
|
+
export function deserializeIntoSmsEventTableRow_automation(smsEventTableRow_automation = {}) {
|
|
7204
|
+
return {
|
|
7205
|
+
...deserializeIntoIdNamePair(smsEventTableRow_automation),
|
|
7206
|
+
};
|
|
7207
|
+
}
|
|
7187
7208
|
/**
|
|
7188
7209
|
* The deserialization information for the current model
|
|
7189
7210
|
* @param SmsReadinessStatusResponse The instance to deserialize into.
|
|
@@ -13267,6 +13288,7 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
|
|
|
13267
13288
|
writer.writeStringValue("actorDisplayName", smsEventTableRow.actorDisplayName);
|
|
13268
13289
|
writer.writeStringValue("actorLeadId", smsEventTableRow.actorLeadId);
|
|
13269
13290
|
writer.writeStringValue("actorUserId", smsEventTableRow.actorUserId);
|
|
13291
|
+
writer.writeObjectValue("automation", smsEventTableRow.automation, serializeSmsEventTableRow_automation);
|
|
13270
13292
|
writer.writeNumberValue("billableAmount", smsEventTableRow.billableAmount);
|
|
13271
13293
|
writer.writeStringValue("billingStatus", smsEventTableRow.billingStatus);
|
|
13272
13294
|
writer.writeDateValue("blockedAt", smsEventTableRow.blockedAt);
|
|
@@ -13309,6 +13331,19 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
|
|
|
13309
13331
|
writer.writeStringValue("userName", smsEventTableRow.userName);
|
|
13310
13332
|
writer.writeAdditionalData(smsEventTableRow.additionalData);
|
|
13311
13333
|
}
|
|
13334
|
+
/**
|
|
13335
|
+
* Serializes information the current object
|
|
13336
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
13337
|
+
* @param SmsEventTableRow_automation The instance to serialize from.
|
|
13338
|
+
* @param writer Serialization writer to use to serialize this model
|
|
13339
|
+
*/
|
|
13340
|
+
// @ts-ignore
|
|
13341
|
+
export function serializeSmsEventTableRow_automation(writer, smsEventTableRow_automation = {}, isSerializingDerivedType = false) {
|
|
13342
|
+
if (!smsEventTableRow_automation || isSerializingDerivedType) {
|
|
13343
|
+
return;
|
|
13344
|
+
}
|
|
13345
|
+
serializeIdNamePair(writer, smsEventTableRow_automation, isSerializingDerivedType);
|
|
13346
|
+
}
|
|
13312
13347
|
/**
|
|
13313
13348
|
* Serializes information the current object
|
|
13314
13349
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|