@leadping/sdk 1.0.64 → 1.0.66
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 +8 -40
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +4 -40
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -2361,15 +2361,6 @@ export function createUserDataExportFileFromDiscriminatorValue(parseNode) {
|
|
|
2361
2361
|
export function createUserDataExportResponseFromDiscriminatorValue(parseNode) {
|
|
2362
2362
|
return deserializeIntoUserDataExportResponse;
|
|
2363
2363
|
}
|
|
2364
|
-
/**
|
|
2365
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
2366
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2367
|
-
* @returns {UserIdentity}
|
|
2368
|
-
*/
|
|
2369
|
-
// @ts-ignore
|
|
2370
|
-
export function createUserIdentityFromDiscriminatorValue(parseNode) {
|
|
2371
|
-
return deserializeIntoUserIdentity;
|
|
2372
|
-
}
|
|
2373
2364
|
/**
|
|
2374
2365
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2375
2366
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3134,7 +3125,9 @@ export function deserializeIntoBlogArticleResponse(blogArticleResponse = {}) {
|
|
|
3134
3125
|
"content": n => { blogArticleResponse.content = n.getStringValue(); },
|
|
3135
3126
|
"contentUpdatedAt": n => { blogArticleResponse.contentUpdatedAt = n.getDateValue(); },
|
|
3136
3127
|
"coverImageAlt": n => { blogArticleResponse.coverImageAlt = n.getStringValue(); },
|
|
3128
|
+
"coverImageHeight": n => { blogArticleResponse.coverImageHeight = n.getNumberValue(); },
|
|
3137
3129
|
"coverImageUrl": n => { blogArticleResponse.coverImageUrl = n.getStringValue(); },
|
|
3130
|
+
"coverImageWidth": n => { blogArticleResponse.coverImageWidth = n.getNumberValue(); },
|
|
3138
3131
|
"createdAt": n => { blogArticleResponse.createdAt = n.getDateValue(); },
|
|
3139
3132
|
"excerpt": n => { blogArticleResponse.excerpt = n.getStringValue(); },
|
|
3140
3133
|
"id": n => { blogArticleResponse.id = n.getStringValue(); },
|
|
@@ -6956,19 +6949,6 @@ export function deserializeIntoUserDataExportResponse(userDataExportResponse = {
|
|
|
6956
6949
|
"status": n => { userDataExportResponse.status = n.getEnumValue(UserDataExportStatusesObject); },
|
|
6957
6950
|
};
|
|
6958
6951
|
}
|
|
6959
|
-
/**
|
|
6960
|
-
* The deserialization information for the current model
|
|
6961
|
-
* @param UserIdentity The instance to deserialize into.
|
|
6962
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6963
|
-
*/
|
|
6964
|
-
// @ts-ignore
|
|
6965
|
-
export function deserializeIntoUserIdentity(userIdentity = {}) {
|
|
6966
|
-
return {
|
|
6967
|
-
"issuer": n => { userIdentity.issuer = n.getStringValue(); },
|
|
6968
|
-
"issuerAssignedId": n => { userIdentity.issuerAssignedId = n.getStringValue(); },
|
|
6969
|
-
"signInType": n => { userIdentity.signInType = n.getStringValue(); },
|
|
6970
|
-
};
|
|
6971
|
-
}
|
|
6972
6952
|
/**
|
|
6973
6953
|
* The deserialization information for the current model
|
|
6974
6954
|
* @param UserNotificationPreferences The instance to deserialize into.
|
|
@@ -7060,7 +7040,6 @@ export function deserializeIntoUserResponse(userResponse = {}) {
|
|
|
7060
7040
|
"email": n => { userResponse.email = n.getStringValue(); },
|
|
7061
7041
|
"firstName": n => { userResponse.firstName = n.getStringValue(); },
|
|
7062
7042
|
"id": n => { userResponse.id = n.getStringValue(); },
|
|
7063
|
-
"identities": n => { userResponse.identities = n.getCollectionOfObjectValues(createUserIdentityFromDiscriminatorValue); },
|
|
7064
7043
|
"isDemo": n => { userResponse.isDemo = n.getBooleanValue(); },
|
|
7065
7044
|
"lastLoggedInAt": n => { userResponse.lastLoggedInAt = n.getDateValue(); },
|
|
7066
7045
|
"lastName": n => { userResponse.lastName = n.getStringValue(); },
|
|
@@ -7949,7 +7928,9 @@ export function serializeBlogArticleResponse(writer, blogArticleResponse = {}, i
|
|
|
7949
7928
|
writer.writeStringValue("content", blogArticleResponse.content);
|
|
7950
7929
|
writer.writeDateValue("contentUpdatedAt", blogArticleResponse.contentUpdatedAt);
|
|
7951
7930
|
writer.writeStringValue("coverImageAlt", blogArticleResponse.coverImageAlt);
|
|
7931
|
+
writer.writeNumberValue("coverImageHeight", blogArticleResponse.coverImageHeight);
|
|
7952
7932
|
writer.writeStringValue("coverImageUrl", blogArticleResponse.coverImageUrl);
|
|
7933
|
+
writer.writeNumberValue("coverImageWidth", blogArticleResponse.coverImageWidth);
|
|
7953
7934
|
writer.writeDateValue("createdAt", blogArticleResponse.createdAt);
|
|
7954
7935
|
writer.writeStringValue("excerpt", blogArticleResponse.excerpt);
|
|
7955
7936
|
writer.writeStringValue("id", blogArticleResponse.id);
|
|
@@ -12375,22 +12356,6 @@ export function serializeUserDataExportResponse(writer, userDataExportResponse =
|
|
|
12375
12356
|
writer.writeEnumValue("status", userDataExportResponse.status);
|
|
12376
12357
|
writer.writeAdditionalData(userDataExportResponse.additionalData);
|
|
12377
12358
|
}
|
|
12378
|
-
/**
|
|
12379
|
-
* Serializes information the current object
|
|
12380
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
12381
|
-
* @param UserIdentity The instance to serialize from.
|
|
12382
|
-
* @param writer Serialization writer to use to serialize this model
|
|
12383
|
-
*/
|
|
12384
|
-
// @ts-ignore
|
|
12385
|
-
export function serializeUserIdentity(writer, userIdentity = {}, isSerializingDerivedType = false) {
|
|
12386
|
-
if (!userIdentity || isSerializingDerivedType) {
|
|
12387
|
-
return;
|
|
12388
|
-
}
|
|
12389
|
-
writer.writeStringValue("issuer", userIdentity.issuer);
|
|
12390
|
-
writer.writeStringValue("issuerAssignedId", userIdentity.issuerAssignedId);
|
|
12391
|
-
writer.writeStringValue("signInType", userIdentity.signInType);
|
|
12392
|
-
writer.writeAdditionalData(userIdentity.additionalData);
|
|
12393
|
-
}
|
|
12394
12359
|
/**
|
|
12395
12360
|
* Serializes information the current object
|
|
12396
12361
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -12495,7 +12460,6 @@ export function serializeUserResponse(writer, userResponse = {}, isSerializingDe
|
|
|
12495
12460
|
writer.writeStringValue("email", userResponse.email);
|
|
12496
12461
|
writer.writeStringValue("firstName", userResponse.firstName);
|
|
12497
12462
|
writer.writeStringValue("id", userResponse.id);
|
|
12498
|
-
writer.writeCollectionOfObjectValues("identities", userResponse.identities, serializeUserIdentity);
|
|
12499
12463
|
writer.writeBooleanValue("isDemo", userResponse.isDemo);
|
|
12500
12464
|
writer.writeDateValue("lastLoggedInAt", userResponse.lastLoggedInAt);
|
|
12501
12465
|
writer.writeStringValue("lastName", userResponse.lastName);
|