@idsoftsource/initial-process 3.6.3 → 3.6.5

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.
@@ -6515,8 +6515,8 @@ class PreviewComponent {
6515
6515
  try {
6516
6516
  const res = (isEdit && hasServerId)
6517
6517
  ? await firstValueFrom(this.userDocumentService
6518
- .updateUserDocument(payload))
6519
- : await firstValueFrom(this.userDocumentService.createUserDocument(payload));
6518
+ .updateUserDocument([payload]))
6519
+ : await firstValueFrom(this.userDocumentService.createUserDocument([payload]));
6520
6520
  if (res?.failed) {
6521
6521
  console.error('Certification validation failed:', res.failures);
6522
6522
  this.certificationLocallySaved[index] = false;
@@ -6545,8 +6545,8 @@ class PreviewComponent {
6545
6545
  try {
6546
6546
  const res = (isEdit && hasServerId)
6547
6547
  ? await firstValueFrom(this.userDocumentService
6548
- .updateUserDocument(payload))
6549
- : await firstValueFrom(this.userDocumentService.createUserDocument(payload));
6548
+ .updateUserDocument([payload]))
6549
+ : await firstValueFrom(this.userDocumentService.createUserDocument([payload]));
6550
6550
  if (res?.failed) {
6551
6551
  console.error('License validation failed:', res.failures);
6552
6552
  this.licenseLocallySaved[index] = false;
@@ -9471,7 +9471,7 @@ class CertificationComponent {
9471
9471
  };
9472
9472
  if (this.editingIndex >= 0) {
9473
9473
  this.userDocumentService
9474
- .updateUserDocument(apiPayload)
9474
+ .updateUserDocument([apiPayload])
9475
9475
  .subscribe({
9476
9476
  next: (res) => {
9477
9477
  if (res?.failed) {
@@ -9496,7 +9496,7 @@ class CertificationComponent {
9496
9496
  }
9497
9497
  else {
9498
9498
  this.userDocumentService
9499
- .createUserDocument(apiPayload)
9499
+ .createUserDocument([apiPayload])
9500
9500
  .subscribe({
9501
9501
  next: (res) => {
9502
9502
  if (res?.failed) {
@@ -10992,7 +10992,7 @@ class LicensesComponent {
10992
10992
  };
10993
10993
  if (this.editingIndex >= 0) {
10994
10994
  this.userDocumentService
10995
- .updateUserDocument(apiPayload)
10995
+ .updateUserDocument([apiPayload])
10996
10996
  .subscribe({
10997
10997
  next: (res) => {
10998
10998
  if (res?.failed) {
@@ -11017,7 +11017,7 @@ class LicensesComponent {
11017
11017
  }
11018
11018
  else {
11019
11019
  this.userDocumentService
11020
- .createUserDocument(apiPayload)
11020
+ .createUserDocument([apiPayload])
11021
11021
  .subscribe({
11022
11022
  next: (res) => {
11023
11023
  if (res?.failed) {