@experts_hub/shared 1.0.220 → 1.0.222

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.
@@ -28,6 +28,8 @@ export declare class CompanyProfile extends BaseEntity {
28
28
  webSite: string;
29
29
  aboutCompany: string;
30
30
  isServiceAgreementSigned: boolean;
31
+ serviceAgreementUrl: string;
32
+ serviceAggrementSignedOn: Date;
31
33
  companyAddress: string;
32
34
  phoneNumber: string;
33
35
  skills: string[];
@@ -45,4 +45,6 @@ export declare class FreelancerProfile extends BaseEntity {
45
45
  address: string;
46
46
  about: string;
47
47
  profileCompletedPercentage: Record<string, number>;
48
+ serviceAgreementUrl: string;
49
+ serviceAggrementSignedOn: Date;
48
50
  }
package/dist/index.d.mts CHANGED
@@ -281,6 +281,7 @@ declare const CLIENT_PROFILE_PATTERN: {
281
281
  updateClientProfile: string;
282
282
  updateClientLogo: string;
283
283
  changeClientPassword: string;
284
+ uploadClientServiceAgreement: string;
284
285
  };
285
286
 
286
287
  declare class UpdateCompanyProfileDto {
@@ -454,6 +455,7 @@ declare const PROFILE_PATTERN: {
454
455
  changeFreelancerPassword: string;
455
456
  uploadFreelancerProfilePic: string;
456
457
  updateFreelancerProfile: string;
458
+ uploadFreelancerServiceAgreement: string;
457
459
  };
458
460
 
459
461
  declare class FreelancerChangePasswordDto {
@@ -643,6 +645,8 @@ declare class FreelancerProfile extends BaseEntity {
643
645
  address: string;
644
646
  about: string;
645
647
  profileCompletedPercentage: Record<string, number>;
648
+ serviceAgreementUrl: string;
649
+ serviceAggrementSignedOn: Date;
646
650
  }
647
651
 
648
652
  declare enum KindOfHire {
@@ -673,6 +677,8 @@ declare class CompanyProfile extends BaseEntity {
673
677
  webSite: string;
674
678
  aboutCompany: string;
675
679
  isServiceAgreementSigned: boolean;
680
+ serviceAgreementUrl: string;
681
+ serviceAggrementSignedOn: Date;
676
682
  companyAddress: string;
677
683
  phoneNumber: string;
678
684
  skills: string[];
package/dist/index.d.ts CHANGED
@@ -281,6 +281,7 @@ declare const CLIENT_PROFILE_PATTERN: {
281
281
  updateClientProfile: string;
282
282
  updateClientLogo: string;
283
283
  changeClientPassword: string;
284
+ uploadClientServiceAgreement: string;
284
285
  };
285
286
 
286
287
  declare class UpdateCompanyProfileDto {
@@ -454,6 +455,7 @@ declare const PROFILE_PATTERN: {
454
455
  changeFreelancerPassword: string;
455
456
  uploadFreelancerProfilePic: string;
456
457
  updateFreelancerProfile: string;
458
+ uploadFreelancerServiceAgreement: string;
457
459
  };
458
460
 
459
461
  declare class FreelancerChangePasswordDto {
@@ -643,6 +645,8 @@ declare class FreelancerProfile extends BaseEntity {
643
645
  address: string;
644
646
  about: string;
645
647
  profileCompletedPercentage: Record<string, number>;
648
+ serviceAgreementUrl: string;
649
+ serviceAggrementSignedOn: Date;
646
650
  }
647
651
 
648
652
  declare enum KindOfHire {
@@ -673,6 +677,8 @@ declare class CompanyProfile extends BaseEntity {
673
677
  webSite: string;
674
678
  aboutCompany: string;
675
679
  isServiceAgreementSigned: boolean;
680
+ serviceAgreementUrl: string;
681
+ serviceAggrementSignedOn: Date;
676
682
  companyAddress: string;
677
683
  phoneNumber: string;
678
684
  skills: string[];
package/dist/index.js CHANGED
@@ -740,7 +740,8 @@ var CLIENT_PROFILE_PATTERN = {
740
740
  fetchClientProfile: "fetch.client.profile",
741
741
  updateClientProfile: "update.client.profile",
742
742
  updateClientLogo: "update.client.logo",
743
- changeClientPassword: "change.client.password"
743
+ changeClientPassword: "change.client.password",
744
+ uploadClientServiceAgreement: "upload.client.service.agreement"
744
745
  };
745
746
 
746
747
  // src/modules/user/client-profile/dto/update-client-profile.dto.ts
@@ -968,7 +969,8 @@ var PROFILE_PATTERN = {
968
969
  fetchFreelancerScreeningResult: "fetch.freelancer.screening.result",
969
970
  changeFreelancerPassword: "change.freelancer.password",
970
971
  uploadFreelancerProfilePic: "upload.freelancer.profilepic",
971
- updateFreelancerProfile: "update.freelancer.profile"
972
+ updateFreelancerProfile: "update.freelancer.profile",
973
+ uploadFreelancerServiceAgreement: "upload.freelancer.service.agreement"
972
974
  };
973
975
 
974
976
  // src/modules/user/freelancer-profile/dto/freelancer-change-password.dto.ts
@@ -1472,8 +1474,25 @@ __decorateClass([
1472
1474
  (0, import_typeorm5.Column)({ name: "about", type: "varchar", nullable: true })
1473
1475
  ], FreelancerProfile.prototype, "about", 2);
1474
1476
  __decorateClass([
1475
- (0, import_typeorm5.Column)({ name: "profile_completed_percentage", type: "json", default: { about: 0, skills: 0, project: 0, experience: 0, education: 0, declaration: 0 } })
1477
+ (0, import_typeorm5.Column)({
1478
+ name: "profile_completed_percentage",
1479
+ type: "json",
1480
+ default: {
1481
+ about: 0,
1482
+ skills: 0,
1483
+ project: 0,
1484
+ experience: 0,
1485
+ education: 0,
1486
+ declaration: 0
1487
+ }
1488
+ })
1476
1489
  ], FreelancerProfile.prototype, "profileCompletedPercentage", 2);
1490
+ __decorateClass([
1491
+ (0, import_typeorm5.Column)({ name: "service_agreement_url", type: "varchar", nullable: true })
1492
+ ], FreelancerProfile.prototype, "serviceAgreementUrl", 2);
1493
+ __decorateClass([
1494
+ (0, import_typeorm5.Column)({ name: "service_agreement_signed_on", type: "date", nullable: true })
1495
+ ], FreelancerProfile.prototype, "serviceAggrementSignedOn", 2);
1477
1496
  FreelancerProfile = __decorateClass([
1478
1497
  (0, import_typeorm5.Entity)("freelancer_profiles")
1479
1498
  ], FreelancerProfile);
@@ -1534,6 +1553,12 @@ __decorateClass([
1534
1553
  default: false
1535
1554
  })
1536
1555
  ], CompanyProfile.prototype, "isServiceAgreementSigned", 2);
1556
+ __decorateClass([
1557
+ (0, import_typeorm6.Column)({ name: "service_agreement_url", type: "varchar", nullable: true })
1558
+ ], CompanyProfile.prototype, "serviceAgreementUrl", 2);
1559
+ __decorateClass([
1560
+ (0, import_typeorm6.Column)({ name: "service_agreement_signed_on", type: "date", nullable: true })
1561
+ ], CompanyProfile.prototype, "serviceAggrementSignedOn", 2);
1537
1562
  __decorateClass([
1538
1563
  (0, import_typeorm6.Column)({ name: "company_address", type: "varchar", nullable: true })
1539
1564
  ], CompanyProfile.prototype, "companyAddress", 2);
package/dist/index.mjs CHANGED
@@ -586,7 +586,8 @@ var CLIENT_PROFILE_PATTERN = {
586
586
  fetchClientProfile: "fetch.client.profile",
587
587
  updateClientProfile: "update.client.profile",
588
588
  updateClientLogo: "update.client.logo",
589
- changeClientPassword: "change.client.password"
589
+ changeClientPassword: "change.client.password",
590
+ uploadClientServiceAgreement: "upload.client.service.agreement"
590
591
  };
591
592
 
592
593
  // src/modules/user/client-profile/dto/update-client-profile.dto.ts
@@ -839,7 +840,8 @@ var PROFILE_PATTERN = {
839
840
  fetchFreelancerScreeningResult: "fetch.freelancer.screening.result",
840
841
  changeFreelancerPassword: "change.freelancer.password",
841
842
  uploadFreelancerProfilePic: "upload.freelancer.profilepic",
842
- updateFreelancerProfile: "update.freelancer.profile"
843
+ updateFreelancerProfile: "update.freelancer.profile",
844
+ uploadFreelancerServiceAgreement: "upload.freelancer.service.agreement"
843
845
  };
844
846
 
845
847
  // src/modules/user/freelancer-profile/dto/freelancer-change-password.dto.ts
@@ -1409,8 +1411,25 @@ __decorateClass([
1409
1411
  Column5({ name: "about", type: "varchar", nullable: true })
1410
1412
  ], FreelancerProfile.prototype, "about", 2);
1411
1413
  __decorateClass([
1412
- Column5({ name: "profile_completed_percentage", type: "json", default: { about: 0, skills: 0, project: 0, experience: 0, education: 0, declaration: 0 } })
1414
+ Column5({
1415
+ name: "profile_completed_percentage",
1416
+ type: "json",
1417
+ default: {
1418
+ about: 0,
1419
+ skills: 0,
1420
+ project: 0,
1421
+ experience: 0,
1422
+ education: 0,
1423
+ declaration: 0
1424
+ }
1425
+ })
1413
1426
  ], FreelancerProfile.prototype, "profileCompletedPercentage", 2);
1427
+ __decorateClass([
1428
+ Column5({ name: "service_agreement_url", type: "varchar", nullable: true })
1429
+ ], FreelancerProfile.prototype, "serviceAgreementUrl", 2);
1430
+ __decorateClass([
1431
+ Column5({ name: "service_agreement_signed_on", type: "date", nullable: true })
1432
+ ], FreelancerProfile.prototype, "serviceAggrementSignedOn", 2);
1414
1433
  FreelancerProfile = __decorateClass([
1415
1434
  Entity4("freelancer_profiles")
1416
1435
  ], FreelancerProfile);
@@ -1471,6 +1490,12 @@ __decorateClass([
1471
1490
  default: false
1472
1491
  })
1473
1492
  ], CompanyProfile.prototype, "isServiceAgreementSigned", 2);
1493
+ __decorateClass([
1494
+ Column6({ name: "service_agreement_url", type: "varchar", nullable: true })
1495
+ ], CompanyProfile.prototype, "serviceAgreementUrl", 2);
1496
+ __decorateClass([
1497
+ Column6({ name: "service_agreement_signed_on", type: "date", nullable: true })
1498
+ ], CompanyProfile.prototype, "serviceAggrementSignedOn", 2);
1474
1499
  __decorateClass([
1475
1500
  Column6({ name: "company_address", type: "varchar", nullable: true })
1476
1501
  ], CompanyProfile.prototype, "companyAddress", 2);
@@ -3,4 +3,5 @@ export declare const CLIENT_PROFILE_PATTERN: {
3
3
  updateClientProfile: string;
4
4
  updateClientLogo: string;
5
5
  changeClientPassword: string;
6
+ uploadClientServiceAgreement: string;
6
7
  };
@@ -4,4 +4,5 @@ export declare const PROFILE_PATTERN: {
4
4
  changeFreelancerPassword: string;
5
5
  uploadFreelancerProfilePic: string;
6
6
  updateFreelancerProfile: string;
7
+ uploadFreelancerServiceAgreement: string;
7
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.220",
3
+ "version": "1.0.222",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",