@idsoftsource/initial-process 3.7.5 → 3.7.6
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.
|
@@ -6593,8 +6593,8 @@ class PreviewComponent {
|
|
|
6593
6593
|
try {
|
|
6594
6594
|
const res = (isEdit && hasServerId)
|
|
6595
6595
|
? await firstValueFrom(this.userDocumentService
|
|
6596
|
-
.updateUserDocument(payload))
|
|
6597
|
-
: await firstValueFrom(this.userDocumentService.createUserDocument(payload));
|
|
6596
|
+
.updateUserDocument([payload]))
|
|
6597
|
+
: await firstValueFrom(this.userDocumentService.createUserDocument([payload]));
|
|
6598
6598
|
if (res?.failed) {
|
|
6599
6599
|
console.error('Certification validation failed:', res.failures);
|
|
6600
6600
|
this.certificationLocallySaved[index] = false;
|
|
@@ -6623,8 +6623,8 @@ class PreviewComponent {
|
|
|
6623
6623
|
try {
|
|
6624
6624
|
const res = (isEdit && hasServerId)
|
|
6625
6625
|
? await firstValueFrom(this.userDocumentService
|
|
6626
|
-
.updateUserDocument(payload))
|
|
6627
|
-
: await firstValueFrom(this.userDocumentService.createUserDocument(payload));
|
|
6626
|
+
.updateUserDocument([payload]))
|
|
6627
|
+
: await firstValueFrom(this.userDocumentService.createUserDocument([payload]));
|
|
6628
6628
|
if (res?.failed) {
|
|
6629
6629
|
console.error('License validation failed:', res.failures);
|
|
6630
6630
|
this.licenseLocallySaved[index] = false;
|
|
@@ -7185,11 +7185,11 @@ class PreviewComponent {
|
|
|
7185
7185
|
const emailId = data?.basicDetails?.email ?? null;
|
|
7186
7186
|
return data.certifications.map((exp) => {
|
|
7187
7187
|
return {
|
|
7188
|
-
id: "00000000-0000-0000-0000-000000000000",
|
|
7189
|
-
providerName: this.effectiveProviderName,
|
|
7188
|
+
// id: "00000000-0000-0000-0000-000000000000",
|
|
7189
|
+
// providerName: this.effectiveProviderName,
|
|
7190
7190
|
targetProviderId: this.effectiveTargetProviderId,
|
|
7191
7191
|
targetUserId: this.effectiveTargetUserId,
|
|
7192
|
-
userName: this.payloadUserName,
|
|
7192
|
+
// userName: this.payloadUserName,
|
|
7193
7193
|
issuedState: exp.state,
|
|
7194
7194
|
number: exp.credentialId ?? null,
|
|
7195
7195
|
issuedBy: exp.issuingOrganization,
|
|
@@ -7200,7 +7200,7 @@ class PreviewComponent {
|
|
|
7200
7200
|
expiryDate: this.formatDate(exp.expiryDate),
|
|
7201
7201
|
status: exp.credentialId ? RequestedStatus.InReview : RequestedStatus.SaveasDraft,
|
|
7202
7202
|
mainType: MainDocumentType.Certificate,
|
|
7203
|
-
emailId,
|
|
7203
|
+
// emailId,
|
|
7204
7204
|
// forUser: this.resolvedForUser,
|
|
7205
7205
|
fileId: exp.fileId ?? null,
|
|
7206
7206
|
fileUrl: exp.fileUrl ?? null,
|
|
@@ -7216,14 +7216,14 @@ class PreviewComponent {
|
|
|
7216
7216
|
const emailId = data?.basicDetails?.email ?? null;
|
|
7217
7217
|
return data.licenses.map((exp) => {
|
|
7218
7218
|
return {
|
|
7219
|
-
id: "00000000-0000-0000-0000-000000000000",
|
|
7220
|
-
providerName: this.effectiveProviderName,
|
|
7219
|
+
// id: "00000000-0000-0000-0000-000000000000",
|
|
7220
|
+
// providerName: this.effectiveProviderName,
|
|
7221
7221
|
targetProviderId: this.effectiveTargetProviderId,
|
|
7222
7222
|
targetUserId: this.effectiveTargetUserId,
|
|
7223
|
-
userName: this.payloadUserName,
|
|
7223
|
+
// userName: this.payloadUserName,
|
|
7224
7224
|
number: exp.licenseNumber,
|
|
7225
7225
|
issuedState: exp.state,
|
|
7226
|
-
emailId,
|
|
7226
|
+
// emailId,
|
|
7227
7227
|
issuedBy: exp.issuingAuthority,
|
|
7228
7228
|
documentTypeName: exp.name,
|
|
7229
7229
|
issueDate: this.formatDate(exp.issueDate),
|