@leadping/sdk 1.0.65 → 1.0.67
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 +0 -40
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +0 -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
|
|
@@ -6958,19 +6949,6 @@ export function deserializeIntoUserDataExportResponse(userDataExportResponse = {
|
|
|
6958
6949
|
"status": n => { userDataExportResponse.status = n.getEnumValue(UserDataExportStatusesObject); },
|
|
6959
6950
|
};
|
|
6960
6951
|
}
|
|
6961
|
-
/**
|
|
6962
|
-
* The deserialization information for the current model
|
|
6963
|
-
* @param UserIdentity The instance to deserialize into.
|
|
6964
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6965
|
-
*/
|
|
6966
|
-
// @ts-ignore
|
|
6967
|
-
export function deserializeIntoUserIdentity(userIdentity = {}) {
|
|
6968
|
-
return {
|
|
6969
|
-
"issuer": n => { userIdentity.issuer = n.getStringValue(); },
|
|
6970
|
-
"issuerAssignedId": n => { userIdentity.issuerAssignedId = n.getStringValue(); },
|
|
6971
|
-
"signInType": n => { userIdentity.signInType = n.getStringValue(); },
|
|
6972
|
-
};
|
|
6973
|
-
}
|
|
6974
6952
|
/**
|
|
6975
6953
|
* The deserialization information for the current model
|
|
6976
6954
|
* @param UserNotificationPreferences The instance to deserialize into.
|
|
@@ -7062,7 +7040,6 @@ export function deserializeIntoUserResponse(userResponse = {}) {
|
|
|
7062
7040
|
"email": n => { userResponse.email = n.getStringValue(); },
|
|
7063
7041
|
"firstName": n => { userResponse.firstName = n.getStringValue(); },
|
|
7064
7042
|
"id": n => { userResponse.id = n.getStringValue(); },
|
|
7065
|
-
"identities": n => { userResponse.identities = n.getCollectionOfObjectValues(createUserIdentityFromDiscriminatorValue); },
|
|
7066
7043
|
"isDemo": n => { userResponse.isDemo = n.getBooleanValue(); },
|
|
7067
7044
|
"lastLoggedInAt": n => { userResponse.lastLoggedInAt = n.getDateValue(); },
|
|
7068
7045
|
"lastName": n => { userResponse.lastName = n.getStringValue(); },
|
|
@@ -12379,22 +12356,6 @@ export function serializeUserDataExportResponse(writer, userDataExportResponse =
|
|
|
12379
12356
|
writer.writeEnumValue("status", userDataExportResponse.status);
|
|
12380
12357
|
writer.writeAdditionalData(userDataExportResponse.additionalData);
|
|
12381
12358
|
}
|
|
12382
|
-
/**
|
|
12383
|
-
* Serializes information the current object
|
|
12384
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
12385
|
-
* @param UserIdentity The instance to serialize from.
|
|
12386
|
-
* @param writer Serialization writer to use to serialize this model
|
|
12387
|
-
*/
|
|
12388
|
-
// @ts-ignore
|
|
12389
|
-
export function serializeUserIdentity(writer, userIdentity = {}, isSerializingDerivedType = false) {
|
|
12390
|
-
if (!userIdentity || isSerializingDerivedType) {
|
|
12391
|
-
return;
|
|
12392
|
-
}
|
|
12393
|
-
writer.writeStringValue("issuer", userIdentity.issuer);
|
|
12394
|
-
writer.writeStringValue("issuerAssignedId", userIdentity.issuerAssignedId);
|
|
12395
|
-
writer.writeStringValue("signInType", userIdentity.signInType);
|
|
12396
|
-
writer.writeAdditionalData(userIdentity.additionalData);
|
|
12397
|
-
}
|
|
12398
12359
|
/**
|
|
12399
12360
|
* Serializes information the current object
|
|
12400
12361
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -12499,7 +12460,6 @@ export function serializeUserResponse(writer, userResponse = {}, isSerializingDe
|
|
|
12499
12460
|
writer.writeStringValue("email", userResponse.email);
|
|
12500
12461
|
writer.writeStringValue("firstName", userResponse.firstName);
|
|
12501
12462
|
writer.writeStringValue("id", userResponse.id);
|
|
12502
|
-
writer.writeCollectionOfObjectValues("identities", userResponse.identities, serializeUserIdentity);
|
|
12503
12463
|
writer.writeBooleanValue("isDemo", userResponse.isDemo);
|
|
12504
12464
|
writer.writeDateValue("lastLoggedInAt", userResponse.lastLoggedInAt);
|
|
12505
12465
|
writer.writeStringValue("lastName", userResponse.lastName);
|