@leadping/sdk 1.0.60 → 1.0.61
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 +32 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +37 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -1776,6 +1776,15 @@ export function createPhoneNumberSearchResult_locationFromDiscriminatorValue(par
|
|
|
1776
1776
|
export function createPhoneNumberSearchResultFromDiscriminatorValue(parseNode) {
|
|
1777
1777
|
return deserializeIntoPhoneNumberSearchResult;
|
|
1778
1778
|
}
|
|
1779
|
+
/**
|
|
1780
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1781
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1782
|
+
* @returns {PhoneNumberStatusResponse_location}
|
|
1783
|
+
*/
|
|
1784
|
+
// @ts-ignore
|
|
1785
|
+
export function createPhoneNumberStatusResponse_locationFromDiscriminatorValue(parseNode) {
|
|
1786
|
+
return deserializeIntoPhoneNumberStatusResponse_location;
|
|
1787
|
+
}
|
|
1779
1788
|
/**
|
|
1780
1789
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1781
1790
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3136,6 +3145,7 @@ export function deserializeIntoBlogArticleResponse(blogArticleResponse = {}) {
|
|
|
3136
3145
|
"seoTitle": n => { blogArticleResponse.seoTitle = n.getStringValue(); },
|
|
3137
3146
|
"slug": n => { blogArticleResponse.slug = n.getStringValue(); },
|
|
3138
3147
|
"title": n => { blogArticleResponse.title = n.getStringValue(); },
|
|
3148
|
+
"unpublishedAt": n => { blogArticleResponse.unpublishedAt = n.getDateValue(); },
|
|
3139
3149
|
};
|
|
3140
3150
|
}
|
|
3141
3151
|
/**
|
|
@@ -5817,6 +5827,7 @@ export function deserializeIntoPhoneNumberSearchResult_location(phoneNumberSearc
|
|
|
5817
5827
|
export function deserializeIntoPhoneNumberStatusResponse(phoneNumberStatusResponse = {}) {
|
|
5818
5828
|
return {
|
|
5819
5829
|
"callsPossible": n => { phoneNumberStatusResponse.callsPossible = n.getNumberValue(); },
|
|
5830
|
+
"location": n => { phoneNumberStatusResponse.location = n.getObjectValue(createPhoneNumberStatusResponse_locationFromDiscriminatorValue); },
|
|
5820
5831
|
"messagesPossible": n => { phoneNumberStatusResponse.messagesPossible = n.getNumberValue(); },
|
|
5821
5832
|
"number": n => { phoneNumberStatusResponse.number = n.getStringValue(); },
|
|
5822
5833
|
"optOutMetrics": n => { phoneNumberStatusResponse.optOutMetrics = n.getObjectValue(createPhoneNumberOptOutMetricsResponseFromDiscriminatorValue); },
|
|
@@ -5826,6 +5837,17 @@ export function deserializeIntoPhoneNumberStatusResponse(phoneNumberStatusRespon
|
|
|
5826
5837
|
"trafficMetrics": n => { phoneNumberStatusResponse.trafficMetrics = n.getObjectValue(createPhoneNumberTrafficMetricsResponseFromDiscriminatorValue); },
|
|
5827
5838
|
};
|
|
5828
5839
|
}
|
|
5840
|
+
/**
|
|
5841
|
+
* The deserialization information for the current model
|
|
5842
|
+
* @param PhoneNumberStatusResponse_location The instance to deserialize into.
|
|
5843
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5844
|
+
*/
|
|
5845
|
+
// @ts-ignore
|
|
5846
|
+
export function deserializeIntoPhoneNumberStatusResponse_location(phoneNumberStatusResponse_location = {}) {
|
|
5847
|
+
return {
|
|
5848
|
+
...deserializeIntoPhoneNumberLocation(phoneNumberStatusResponse_location),
|
|
5849
|
+
};
|
|
5850
|
+
}
|
|
5829
5851
|
/**
|
|
5830
5852
|
* The deserialization information for the current model
|
|
5831
5853
|
* @param PhoneNumberStatusResponse_outboundCapacity The instance to deserialize into.
|
|
@@ -7910,6 +7932,7 @@ export function serializeBlogArticleResponse(writer, blogArticleResponse = {}, i
|
|
|
7910
7932
|
writer.writeStringValue("seoTitle", blogArticleResponse.seoTitle);
|
|
7911
7933
|
writer.writeStringValue("slug", blogArticleResponse.slug);
|
|
7912
7934
|
writer.writeStringValue("title", blogArticleResponse.title);
|
|
7935
|
+
writer.writeDateValue("unpublishedAt", blogArticleResponse.unpublishedAt);
|
|
7913
7936
|
writer.writeAdditionalData(blogArticleResponse.additionalData);
|
|
7914
7937
|
}
|
|
7915
7938
|
/**
|
|
@@ -11019,6 +11042,7 @@ export function serializePhoneNumberStatusResponse(writer, phoneNumberStatusResp
|
|
|
11019
11042
|
return;
|
|
11020
11043
|
}
|
|
11021
11044
|
writer.writeNumberValue("callsPossible", phoneNumberStatusResponse.callsPossible);
|
|
11045
|
+
writer.writeObjectValue("location", phoneNumberStatusResponse.location, serializePhoneNumberStatusResponse_location);
|
|
11022
11046
|
writer.writeNumberValue("messagesPossible", phoneNumberStatusResponse.messagesPossible);
|
|
11023
11047
|
writer.writeStringValue("number", phoneNumberStatusResponse.number);
|
|
11024
11048
|
writer.writeObjectValue("optOutMetrics", phoneNumberStatusResponse.optOutMetrics, serializePhoneNumberOptOutMetricsResponse);
|
|
@@ -11028,6 +11052,19 @@ export function serializePhoneNumberStatusResponse(writer, phoneNumberStatusResp
|
|
|
11028
11052
|
writer.writeObjectValue("trafficMetrics", phoneNumberStatusResponse.trafficMetrics, serializePhoneNumberTrafficMetricsResponse);
|
|
11029
11053
|
writer.writeAdditionalData(phoneNumberStatusResponse.additionalData);
|
|
11030
11054
|
}
|
|
11055
|
+
/**
|
|
11056
|
+
* Serializes information the current object
|
|
11057
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11058
|
+
* @param PhoneNumberStatusResponse_location The instance to serialize from.
|
|
11059
|
+
* @param writer Serialization writer to use to serialize this model
|
|
11060
|
+
*/
|
|
11061
|
+
// @ts-ignore
|
|
11062
|
+
export function serializePhoneNumberStatusResponse_location(writer, phoneNumberStatusResponse_location = {}, isSerializingDerivedType = false) {
|
|
11063
|
+
if (!phoneNumberStatusResponse_location || isSerializingDerivedType) {
|
|
11064
|
+
return;
|
|
11065
|
+
}
|
|
11066
|
+
serializePhoneNumberLocation(writer, phoneNumberStatusResponse_location, isSerializingDerivedType);
|
|
11067
|
+
}
|
|
11031
11068
|
/**
|
|
11032
11069
|
* Serializes information the current object
|
|
11033
11070
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|