@experts_hub/shared 1.0.91 → 1.0.93

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.
@@ -10,6 +10,12 @@ export declare enum ModeOfWork {
10
10
  REMOTE = "REMOTE",
11
11
  BOTH = "BOTH"
12
12
  }
13
+ export declare enum OnboardingStepEnum {
14
+ UPLOAD_RESUME = "UPLOAD_RESUME",
15
+ AI_VIDEO_ASSESMENT = "AI_VIDEO_ASSESMENT",
16
+ CODING_CHALLENGE = "CODING_CHALLENGE",
17
+ PROFILE_COMPLETION = "PROFILE_COMPLETION"
18
+ }
13
19
  export declare class FreelancerProfile extends BaseEntity {
14
20
  userId: number;
15
21
  user: User;
@@ -27,4 +33,5 @@ export declare class FreelancerProfile extends BaseEntity {
27
33
  githubProfileLink: string;
28
34
  stackOverflowProfileLink: string;
29
35
  portfolioLink: string;
36
+ oboardingStepCompleted: OnboardingStepEnum;
30
37
  }
package/dist/index.d.mts CHANGED
@@ -270,6 +270,12 @@ declare enum ModeOfWork {
270
270
  REMOTE = "REMOTE",
271
271
  BOTH = "BOTH"
272
272
  }
273
+ declare enum OnboardingStepEnum {
274
+ UPLOAD_RESUME = "UPLOAD_RESUME",
275
+ AI_VIDEO_ASSESMENT = "AI_VIDEO_ASSESMENT",
276
+ CODING_CHALLENGE = "CODING_CHALLENGE",
277
+ PROFILE_COMPLETION = "PROFILE_COMPLETION"
278
+ }
273
279
  declare class FreelancerProfile extends BaseEntity {
274
280
  userId: number;
275
281
  user: User;
@@ -287,6 +293,7 @@ declare class FreelancerProfile extends BaseEntity {
287
293
  githubProfileLink: string;
288
294
  stackOverflowProfileLink: string;
289
295
  portfolioLink: string;
296
+ oboardingStepCompleted: OnboardingStepEnum;
290
297
  }
291
298
 
292
299
  declare class Skill extends BaseEntity {
@@ -673,4 +680,4 @@ declare class JobRoles extends BaseEntity {
673
680
  isActive: boolean;
674
681
  }
675
682
 
676
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BankDetails, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
683
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BankDetails, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.d.ts CHANGED
@@ -270,6 +270,12 @@ declare enum ModeOfWork {
270
270
  REMOTE = "REMOTE",
271
271
  BOTH = "BOTH"
272
272
  }
273
+ declare enum OnboardingStepEnum {
274
+ UPLOAD_RESUME = "UPLOAD_RESUME",
275
+ AI_VIDEO_ASSESMENT = "AI_VIDEO_ASSESMENT",
276
+ CODING_CHALLENGE = "CODING_CHALLENGE",
277
+ PROFILE_COMPLETION = "PROFILE_COMPLETION"
278
+ }
273
279
  declare class FreelancerProfile extends BaseEntity {
274
280
  userId: number;
275
281
  user: User;
@@ -287,6 +293,7 @@ declare class FreelancerProfile extends BaseEntity {
287
293
  githubProfileLink: string;
288
294
  stackOverflowProfileLink: string;
289
295
  portfolioLink: string;
296
+ oboardingStepCompleted: OnboardingStepEnum;
290
297
  }
291
298
 
292
299
  declare class Skill extends BaseEntity {
@@ -673,4 +680,4 @@ declare class JobRoles extends BaseEntity {
673
680
  isActive: boolean;
674
681
  }
675
682
 
676
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BankDetails, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
683
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BankDetails, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.js CHANGED
@@ -76,6 +76,7 @@ __export(index_exports, {
76
76
  NatureOfWork: () => NatureOfWork,
77
77
  ONBOARDING_PATTERN: () => ONBOARDING_PATTERN,
78
78
  OTP_PATTERN: () => OTP_PATTERN,
79
+ OnboardingStepEnum: () => OnboardingStepEnum,
79
80
  Otp: () => Otp,
80
81
  PROFILE_PATTERN: () => PROFILE_PATTERN,
81
82
  QUESTION_PATTERN: () => QUESTION_PATTERN,
@@ -199,17 +200,6 @@ var IfscOrOtherFieldsConstraint = class {
199
200
  IfscOrOtherFieldsConstraint = __decorateClass([
200
201
  (0, import_class_validator4.ValidatorConstraint)({ async: false })
201
202
  ], IfscOrOtherFieldsConstraint);
202
- function IfscOrOtherFields(relatedFields, validationOptions) {
203
- return function(object, propertyName) {
204
- (0, import_class_validator4.registerDecorator)({
205
- target: object.constructor,
206
- propertyName,
207
- options: validationOptions,
208
- constraints: [relatedFields],
209
- validator: IfscOrOtherFieldsConstraint
210
- });
211
- };
212
- }
213
203
 
214
204
  // src/modules/onboarding/dto/freelancer-create-account.dto.ts
215
205
  var FreelancerCreateAccountDto = class {
@@ -646,6 +636,13 @@ var ModeOfWork = /* @__PURE__ */ ((ModeOfWork2) => {
646
636
  ModeOfWork2["BOTH"] = "BOTH";
647
637
  return ModeOfWork2;
648
638
  })(ModeOfWork || {});
639
+ var OnboardingStepEnum = /* @__PURE__ */ ((OnboardingStepEnum2) => {
640
+ OnboardingStepEnum2["UPLOAD_RESUME"] = "UPLOAD_RESUME";
641
+ OnboardingStepEnum2["AI_VIDEO_ASSESMENT"] = "AI_VIDEO_ASSESMENT";
642
+ OnboardingStepEnum2["CODING_CHALLENGE"] = "CODING_CHALLENGE";
643
+ OnboardingStepEnum2["PROFILE_COMPLETION"] = "PROFILE_COMPLETION";
644
+ return OnboardingStepEnum2;
645
+ })(OnboardingStepEnum || {});
649
646
  var FreelancerProfile = class extends BaseEntity {
650
647
  };
651
648
  // individual index to find profile by user
@@ -710,11 +707,23 @@ __decorateClass([
710
707
  (0, import_typeorm5.Column)({ name: "github_profile_link", type: "varchar", nullable: true })
711
708
  ], FreelancerProfile.prototype, "githubProfileLink", 2);
712
709
  __decorateClass([
713
- (0, import_typeorm5.Column)({ name: "stack_overflow_profile_link", type: "varchar", nullable: true })
710
+ (0, import_typeorm5.Column)({
711
+ name: "stack_overflow_profile_link",
712
+ type: "varchar",
713
+ nullable: true
714
+ })
714
715
  ], FreelancerProfile.prototype, "stackOverflowProfileLink", 2);
715
716
  __decorateClass([
716
717
  (0, import_typeorm5.Column)({ name: "portfolio_link", type: "varchar", nullable: true })
717
718
  ], FreelancerProfile.prototype, "portfolioLink", 2);
719
+ __decorateClass([
720
+ (0, import_typeorm5.Column)({
721
+ name: "onboarding_step_completed",
722
+ type: "enum",
723
+ enum: OnboardingStepEnum,
724
+ nullable: true
725
+ })
726
+ ], FreelancerProfile.prototype, "oboardingStepCompleted", 2);
718
727
  FreelancerProfile = __decorateClass([
719
728
  (0, import_typeorm5.Entity)("freelancer_profiles")
720
729
  ], FreelancerProfile);
@@ -1444,22 +1453,20 @@ __decorateClass([
1444
1453
  (0, import_class_validator24.IsNotEmpty)({ message: "Please enter Branch Name." })
1445
1454
  ], FreelancerBankDetailsDto.prototype, "branchName", 2);
1446
1455
  __decorateClass([
1447
- (0, import_class_validator24.IsOptional)(),
1448
- IfscOrOtherFields(["routingNo", "abaNumber", "iban"], {
1449
- message: "IFSC Code is required ."
1450
- })
1456
+ (0, import_class_validator24.ValidateIf)((dto) => dto.accountScope === "domestic"),
1457
+ (0, import_class_validator24.IsNotEmpty)({ message: "IFSC Code is required for domestic accounts." })
1451
1458
  ], FreelancerBankDetailsDto.prototype, "ifscCode", 2);
1452
1459
  __decorateClass([
1453
- (0, import_class_validator24.ValidateIf)((dto) => !dto.ifscCode),
1454
- (0, import_class_validator24.IsNotEmpty)({ message: "Routing Number/Sort Code is required " })
1460
+ (0, import_class_validator24.ValidateIf)((dto) => dto.accountScope === "international"),
1461
+ (0, import_class_validator24.IsNotEmpty)({ message: "Routing Number/Sort Code is required for international accounts." })
1455
1462
  ], FreelancerBankDetailsDto.prototype, "routingNo", 2);
1456
1463
  __decorateClass([
1457
- (0, import_class_validator24.ValidateIf)((dto) => !dto.ifscCode),
1458
- (0, import_class_validator24.IsNotEmpty)({ message: "ABA Number is required " })
1464
+ (0, import_class_validator24.ValidateIf)((dto) => dto.accountScope === "international"),
1465
+ (0, import_class_validator24.IsNotEmpty)({ message: "ABA Number is required for international accounts." })
1459
1466
  ], FreelancerBankDetailsDto.prototype, "abaNumber", 2);
1460
1467
  __decorateClass([
1461
- (0, import_class_validator24.ValidateIf)((dto) => !dto.ifscCode),
1462
- (0, import_class_validator24.IsNotEmpty)({ message: "IBAN is required " })
1468
+ (0, import_class_validator24.ValidateIf)((dto) => dto.accountScope === "international"),
1469
+ (0, import_class_validator24.IsNotEmpty)({ message: "IBAN is required for international accounts." })
1463
1470
  ], FreelancerBankDetailsDto.prototype, "iban", 2);
1464
1471
  __decorateClass([
1465
1472
  (0, import_class_validator24.IsOptional)()
@@ -1718,6 +1725,7 @@ JobRoles = __decorateClass([
1718
1725
  NatureOfWork,
1719
1726
  ONBOARDING_PATTERN,
1720
1727
  OTP_PATTERN,
1728
+ OnboardingStepEnum,
1721
1729
  Otp,
1722
1730
  PROFILE_PATTERN,
1723
1731
  QUESTION_PATTERN,
package/dist/index.mjs CHANGED
@@ -126,17 +126,6 @@ var IfscOrOtherFieldsConstraint = class {
126
126
  IfscOrOtherFieldsConstraint = __decorateClass([
127
127
  ValidatorConstraint({ async: false })
128
128
  ], IfscOrOtherFieldsConstraint);
129
- function IfscOrOtherFields(relatedFields, validationOptions) {
130
- return function(object, propertyName) {
131
- registerDecorator({
132
- target: object.constructor,
133
- propertyName,
134
- options: validationOptions,
135
- constraints: [relatedFields],
136
- validator: IfscOrOtherFieldsConstraint
137
- });
138
- };
139
- }
140
129
 
141
130
  // src/modules/onboarding/dto/freelancer-create-account.dto.ts
142
131
  var FreelancerCreateAccountDto = class {
@@ -646,6 +635,13 @@ var ModeOfWork = /* @__PURE__ */ ((ModeOfWork2) => {
646
635
  ModeOfWork2["BOTH"] = "BOTH";
647
636
  return ModeOfWork2;
648
637
  })(ModeOfWork || {});
638
+ var OnboardingStepEnum = /* @__PURE__ */ ((OnboardingStepEnum2) => {
639
+ OnboardingStepEnum2["UPLOAD_RESUME"] = "UPLOAD_RESUME";
640
+ OnboardingStepEnum2["AI_VIDEO_ASSESMENT"] = "AI_VIDEO_ASSESMENT";
641
+ OnboardingStepEnum2["CODING_CHALLENGE"] = "CODING_CHALLENGE";
642
+ OnboardingStepEnum2["PROFILE_COMPLETION"] = "PROFILE_COMPLETION";
643
+ return OnboardingStepEnum2;
644
+ })(OnboardingStepEnum || {});
649
645
  var FreelancerProfile = class extends BaseEntity {
650
646
  };
651
647
  // individual index to find profile by user
@@ -710,11 +706,23 @@ __decorateClass([
710
706
  Column5({ name: "github_profile_link", type: "varchar", nullable: true })
711
707
  ], FreelancerProfile.prototype, "githubProfileLink", 2);
712
708
  __decorateClass([
713
- Column5({ name: "stack_overflow_profile_link", type: "varchar", nullable: true })
709
+ Column5({
710
+ name: "stack_overflow_profile_link",
711
+ type: "varchar",
712
+ nullable: true
713
+ })
714
714
  ], FreelancerProfile.prototype, "stackOverflowProfileLink", 2);
715
715
  __decorateClass([
716
716
  Column5({ name: "portfolio_link", type: "varchar", nullable: true })
717
717
  ], FreelancerProfile.prototype, "portfolioLink", 2);
718
+ __decorateClass([
719
+ Column5({
720
+ name: "onboarding_step_completed",
721
+ type: "enum",
722
+ enum: OnboardingStepEnum,
723
+ nullable: true
724
+ })
725
+ ], FreelancerProfile.prototype, "oboardingStepCompleted", 2);
718
726
  FreelancerProfile = __decorateClass([
719
727
  Entity4("freelancer_profiles")
720
728
  ], FreelancerProfile);
@@ -1486,22 +1494,20 @@ __decorateClass([
1486
1494
  IsNotEmpty19({ message: "Please enter Branch Name." })
1487
1495
  ], FreelancerBankDetailsDto.prototype, "branchName", 2);
1488
1496
  __decorateClass([
1489
- IsOptional8(),
1490
- IfscOrOtherFields(["routingNo", "abaNumber", "iban"], {
1491
- message: "IFSC Code is required ."
1492
- })
1497
+ ValidateIf((dto) => dto.accountScope === "domestic"),
1498
+ IsNotEmpty19({ message: "IFSC Code is required for domestic accounts." })
1493
1499
  ], FreelancerBankDetailsDto.prototype, "ifscCode", 2);
1494
1500
  __decorateClass([
1495
- ValidateIf((dto) => !dto.ifscCode),
1496
- IsNotEmpty19({ message: "Routing Number/Sort Code is required " })
1501
+ ValidateIf((dto) => dto.accountScope === "international"),
1502
+ IsNotEmpty19({ message: "Routing Number/Sort Code is required for international accounts." })
1497
1503
  ], FreelancerBankDetailsDto.prototype, "routingNo", 2);
1498
1504
  __decorateClass([
1499
- ValidateIf((dto) => !dto.ifscCode),
1500
- IsNotEmpty19({ message: "ABA Number is required " })
1505
+ ValidateIf((dto) => dto.accountScope === "international"),
1506
+ IsNotEmpty19({ message: "ABA Number is required for international accounts." })
1501
1507
  ], FreelancerBankDetailsDto.prototype, "abaNumber", 2);
1502
1508
  __decorateClass([
1503
- ValidateIf((dto) => !dto.ifscCode),
1504
- IsNotEmpty19({ message: "IBAN is required " })
1509
+ ValidateIf((dto) => dto.accountScope === "international"),
1510
+ IsNotEmpty19({ message: "IBAN is required for international accounts." })
1505
1511
  ], FreelancerBankDetailsDto.prototype, "iban", 2);
1506
1512
  __decorateClass([
1507
1513
  IsOptional8()
@@ -1759,6 +1765,7 @@ export {
1759
1765
  NatureOfWork,
1760
1766
  ONBOARDING_PATTERN,
1761
1767
  OTP_PATTERN,
1768
+ OnboardingStepEnum,
1762
1769
  Otp,
1763
1770
  PROFILE_PATTERN,
1764
1771
  QUESTION_PATTERN,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.91",
3
+ "version": "1.0.93",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",