@leadping/sdk 1.0.107 → 1.0.109
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 +44 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +43 -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
|
|
@@ -5851,6 +5860,8 @@ export function deserializeIntoOrganizationMemberTableRow(organizationMemberTabl
|
|
|
5851
5860
|
export function deserializeIntoOrganizationRequest(organizationRequest = {}) {
|
|
5852
5861
|
return {
|
|
5853
5862
|
"address": n => { organizationRequest.address = n.getObjectValue(createOrganizationRequest_addressFromDiscriminatorValue); },
|
|
5863
|
+
"automaticallyClearAppointmentSet": n => { organizationRequest.automaticallyClearAppointmentSet = n.getBooleanValue(); },
|
|
5864
|
+
"automaticallyMarkAppointmentSet": n => { organizationRequest.automaticallyMarkAppointmentSet = n.getBooleanValue(); },
|
|
5854
5865
|
"automaticallyMarkLeadsCalled": n => { organizationRequest.automaticallyMarkLeadsCalled = n.getBooleanValue(); },
|
|
5855
5866
|
"calledLeadStatusId": n => { organizationRequest.calledLeadStatusId = n.getStringValue(); },
|
|
5856
5867
|
"description": n => { organizationRequest.description = n.getStringValue(); },
|
|
@@ -5888,6 +5899,8 @@ export function deserializeIntoOrganizationResponse(organizationResponse = {}) {
|
|
|
5888
5899
|
"accountBalance": n => { organizationResponse.accountBalance = n.getNumberValue(); },
|
|
5889
5900
|
"activation": n => { organizationResponse.activation = n.getObjectValue(createOrganizationResponse_activationFromDiscriminatorValue); },
|
|
5890
5901
|
"address": n => { organizationResponse.address = n.getObjectValue(createOrganizationResponse_addressFromDiscriminatorValue); },
|
|
5902
|
+
"automaticallyClearAppointmentSet": n => { organizationResponse.automaticallyClearAppointmentSet = n.getBooleanValue(); },
|
|
5903
|
+
"automaticallyMarkAppointmentSet": n => { organizationResponse.automaticallyMarkAppointmentSet = n.getBooleanValue(); },
|
|
5891
5904
|
"automaticallyMarkLeadsCalled": n => { organizationResponse.automaticallyMarkLeadsCalled = n.getBooleanValue(); },
|
|
5892
5905
|
"autoRefillAmount": n => { organizationResponse.autoRefillAmount = n.getNumberValue(); },
|
|
5893
5906
|
"autoRefillEnabled": n => { organizationResponse.autoRefillEnabled = n.getBooleanValue(); },
|
|
@@ -7142,6 +7155,7 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
|
|
|
7142
7155
|
"actorDisplayName": n => { smsEventTableRow.actorDisplayName = n.getStringValue(); },
|
|
7143
7156
|
"actorLeadId": n => { smsEventTableRow.actorLeadId = n.getStringValue(); },
|
|
7144
7157
|
"actorUserId": n => { smsEventTableRow.actorUserId = n.getStringValue(); },
|
|
7158
|
+
"automation": n => { smsEventTableRow.automation = n.getObjectValue(createSmsEventTableRow_automationFromDiscriminatorValue); },
|
|
7145
7159
|
"billableAmount": n => { smsEventTableRow.billableAmount = n.getNumberValue(); },
|
|
7146
7160
|
"billingStatus": n => { smsEventTableRow.billingStatus = n.getStringValue(); },
|
|
7147
7161
|
"blockedAt": n => { smsEventTableRow.blockedAt = n.getDateValue(); },
|
|
@@ -7184,6 +7198,17 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
|
|
|
7184
7198
|
"userName": n => { smsEventTableRow.userName = n.getStringValue(); },
|
|
7185
7199
|
};
|
|
7186
7200
|
}
|
|
7201
|
+
/**
|
|
7202
|
+
* The deserialization information for the current model
|
|
7203
|
+
* @param SmsEventTableRow_automation The instance to deserialize into.
|
|
7204
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
7205
|
+
*/
|
|
7206
|
+
// @ts-ignore
|
|
7207
|
+
export function deserializeIntoSmsEventTableRow_automation(smsEventTableRow_automation = {}) {
|
|
7208
|
+
return {
|
|
7209
|
+
...deserializeIntoIdNamePair(smsEventTableRow_automation),
|
|
7210
|
+
};
|
|
7211
|
+
}
|
|
7187
7212
|
/**
|
|
7188
7213
|
* The deserialization information for the current model
|
|
7189
7214
|
* @param SmsReadinessStatusResponse The instance to deserialize into.
|
|
@@ -11753,6 +11778,8 @@ export function serializeOrganizationRequest(writer, organizationRequest = {}, i
|
|
|
11753
11778
|
return;
|
|
11754
11779
|
}
|
|
11755
11780
|
writer.writeObjectValue("address", organizationRequest.address, serializeOrganizationRequest_address);
|
|
11781
|
+
writer.writeBooleanValue("automaticallyClearAppointmentSet", organizationRequest.automaticallyClearAppointmentSet);
|
|
11782
|
+
writer.writeBooleanValue("automaticallyMarkAppointmentSet", organizationRequest.automaticallyMarkAppointmentSet);
|
|
11756
11783
|
writer.writeBooleanValue("automaticallyMarkLeadsCalled", organizationRequest.automaticallyMarkLeadsCalled);
|
|
11757
11784
|
writer.writeStringValue("calledLeadStatusId", organizationRequest.calledLeadStatusId);
|
|
11758
11785
|
writer.writeStringValue("description", organizationRequest.description);
|
|
@@ -11795,6 +11822,8 @@ export function serializeOrganizationResponse(writer, organizationResponse = {},
|
|
|
11795
11822
|
writer.writeNumberValue("accountBalance", organizationResponse.accountBalance);
|
|
11796
11823
|
writer.writeObjectValue("activation", organizationResponse.activation, serializeOrganizationResponse_activation);
|
|
11797
11824
|
writer.writeObjectValue("address", organizationResponse.address, serializeOrganizationResponse_address);
|
|
11825
|
+
writer.writeBooleanValue("automaticallyClearAppointmentSet", organizationResponse.automaticallyClearAppointmentSet);
|
|
11826
|
+
writer.writeBooleanValue("automaticallyMarkAppointmentSet", organizationResponse.automaticallyMarkAppointmentSet);
|
|
11798
11827
|
writer.writeBooleanValue("automaticallyMarkLeadsCalled", organizationResponse.automaticallyMarkLeadsCalled);
|
|
11799
11828
|
writer.writeNumberValue("autoRefillAmount", organizationResponse.autoRefillAmount);
|
|
11800
11829
|
writer.writeBooleanValue("autoRefillEnabled", organizationResponse.autoRefillEnabled);
|
|
@@ -13267,6 +13296,7 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
|
|
|
13267
13296
|
writer.writeStringValue("actorDisplayName", smsEventTableRow.actorDisplayName);
|
|
13268
13297
|
writer.writeStringValue("actorLeadId", smsEventTableRow.actorLeadId);
|
|
13269
13298
|
writer.writeStringValue("actorUserId", smsEventTableRow.actorUserId);
|
|
13299
|
+
writer.writeObjectValue("automation", smsEventTableRow.automation, serializeSmsEventTableRow_automation);
|
|
13270
13300
|
writer.writeNumberValue("billableAmount", smsEventTableRow.billableAmount);
|
|
13271
13301
|
writer.writeStringValue("billingStatus", smsEventTableRow.billingStatus);
|
|
13272
13302
|
writer.writeDateValue("blockedAt", smsEventTableRow.blockedAt);
|
|
@@ -13309,6 +13339,19 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
|
|
|
13309
13339
|
writer.writeStringValue("userName", smsEventTableRow.userName);
|
|
13310
13340
|
writer.writeAdditionalData(smsEventTableRow.additionalData);
|
|
13311
13341
|
}
|
|
13342
|
+
/**
|
|
13343
|
+
* Serializes information the current object
|
|
13344
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
13345
|
+
* @param SmsEventTableRow_automation The instance to serialize from.
|
|
13346
|
+
* @param writer Serialization writer to use to serialize this model
|
|
13347
|
+
*/
|
|
13348
|
+
// @ts-ignore
|
|
13349
|
+
export function serializeSmsEventTableRow_automation(writer, smsEventTableRow_automation = {}, isSerializingDerivedType = false) {
|
|
13350
|
+
if (!smsEventTableRow_automation || isSerializingDerivedType) {
|
|
13351
|
+
return;
|
|
13352
|
+
}
|
|
13353
|
+
serializeIdNamePair(writer, smsEventTableRow_automation, isSerializingDerivedType);
|
|
13354
|
+
}
|
|
13312
13355
|
/**
|
|
13313
13356
|
* Serializes information the current object
|
|
13314
13357
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|