@experts_hub/shared 1.0.585 → 1.0.586

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/index.mjs CHANGED
@@ -8566,11 +8566,12 @@ var ADMIN_ROLE_PATTERN = {
8566
8566
  adminUpdateRole: "admin.update.role",
8567
8567
  adminDeleteRole: "admin.delete.role",
8568
8568
  attachPermissionsToRole: "attach.permissions.to.role",
8569
- fetchAdminRolePermissions: "fetch.admin.role.permissions"
8569
+ fetchAdminRolePermissions: "fetch.admin.role.permissions",
8570
+ updateAdminRoleStatus: "update.admin.role.status"
8570
8571
  };
8571
8572
 
8572
8573
  // src/modules/admin-role/dto/create-admin-role.dto.ts
8573
- import { IsNotEmpty as IsNotEmpty73, IsOptional as IsOptional49, IsString as IsString52 } from "class-validator";
8574
+ import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty73, IsOptional as IsOptional49, IsString as IsString52 } from "class-validator";
8574
8575
  var CreateAdminRoleDto = class {
8575
8576
  };
8576
8577
  __decorateClass([
@@ -8581,6 +8582,10 @@ __decorateClass([
8581
8582
  IsOptional49(),
8582
8583
  IsString52({ message: "Role description must be a string." })
8583
8584
  ], CreateAdminRoleDto.prototype, "roleDescription", 2);
8585
+ __decorateClass([
8586
+ IsOptional49(),
8587
+ IsBoolean15({ message: "Is active must be a boolean value" })
8588
+ ], CreateAdminRoleDto.prototype, "iaActive", 2);
8584
8589
 
8585
8590
  // src/modules/admin-role/dto/update-admin-role.dto.ts
8586
8591
  import { IsBoolean as IsBoolean16, IsNotEmpty as IsNotEmpty74, IsOptional as IsOptional50, IsString as IsString53 } from "class-validator";
@@ -8612,6 +8617,15 @@ __decorateClass([
8612
8617
  IsString54({ message: "Permission IDs must be a comma-separated string." })
8613
8618
  ], AttachPermissionsToRoleDto.prototype, "permissionIds", 2);
8614
8619
 
8620
+ // src/modules/admin-role/dto/update-admin-role-status.dto.ts
8621
+ import { IsBoolean as IsBoolean17, IsNotEmpty as IsNotEmpty76 } from "class-validator";
8622
+ var UpdateAdminRoleStatusDto = class {
8623
+ };
8624
+ __decorateClass([
8625
+ IsNotEmpty76({ message: "Please specify admin role status." }),
8626
+ IsBoolean17({ message: "Is active must be a boolean value" })
8627
+ ], UpdateAdminRoleStatusDto.prototype, "isActive", 2);
8628
+
8615
8629
  // src/modules/admin-permission/pattern/pattern.ts
8616
8630
  var ADMIN_PERMISSION_PATTERN = {
8617
8631
  fetchAdminPermissions: "fetch.admin.permissions"
@@ -8691,7 +8705,7 @@ var INTERVIEW_PATTERN = {
8691
8705
  // src/modules/interview/dto/interview-invite.dto.ts
8692
8706
  import {
8693
8707
  IsString as IsString55,
8694
- IsNotEmpty as IsNotEmpty76,
8708
+ IsNotEmpty as IsNotEmpty77,
8695
8709
  IsArray as IsArray18,
8696
8710
  ArrayNotEmpty as ArrayNotEmpty12,
8697
8711
  IsEmail as IsEmail17,
@@ -8721,7 +8735,7 @@ __decorateClass([
8721
8735
  var NewCandidateDto = class {
8722
8736
  };
8723
8737
  __decorateClass([
8724
- IsNotEmpty76({ message: "Please enter the candidate name" }),
8738
+ IsNotEmpty77({ message: "Please enter the candidate name" }),
8725
8739
  IsString55({ message: "Name must be a string" })
8726
8740
  ], NewCandidateDto.prototype, "name", 2);
8727
8741
  __decorateClass([
@@ -8761,7 +8775,7 @@ __decorateClass([
8761
8775
  // src/modules/interview/dto/create-f2f-interview.dto.ts
8762
8776
  import {
8763
8777
  IsString as IsString56,
8764
- IsNotEmpty as IsNotEmpty77,
8778
+ IsNotEmpty as IsNotEmpty78,
8765
8779
  IsEmail as IsEmail18,
8766
8780
  IsNumber as IsNumber17
8767
8781
  } from "class-validator";
@@ -8769,11 +8783,11 @@ var CreateF2FInterviewDto = class {
8769
8783
  };
8770
8784
  __decorateClass([
8771
8785
  IsEmail18({}, { message: "Please enter a valid email address." }),
8772
- IsNotEmpty77({ message: "Invitee email is required." })
8786
+ IsNotEmpty78({ message: "Invitee email is required." })
8773
8787
  ], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
8774
8788
  __decorateClass([
8775
8789
  IsString56({ message: "Invitee name must be a string." }),
8776
- IsNotEmpty77({ message: "Invitee name is required." })
8790
+ IsNotEmpty78({ message: "Invitee name is required." })
8777
8791
  ], CreateF2FInterviewDto.prototype, "inviteeName", 2);
8778
8792
  __decorateClass([
8779
8793
  IsNumber17({}, { message: "Interview ID must be a number." })
@@ -8785,7 +8799,7 @@ __decorateClass([
8785
8799
  // src/modules/interview/dto/create-f2f-interview-direct.dto.ts
8786
8800
  import {
8787
8801
  IsString as IsString57,
8788
- IsNotEmpty as IsNotEmpty78,
8802
+ IsNotEmpty as IsNotEmpty79,
8789
8803
  IsEmail as IsEmail19,
8790
8804
  IsNumber as IsNumber18
8791
8805
  } from "class-validator";
@@ -8793,11 +8807,11 @@ var CreateF2FInterviewDirectDto = class {
8793
8807
  };
8794
8808
  __decorateClass([
8795
8809
  IsEmail19({}, { message: "Please enter a valid email address." }),
8796
- IsNotEmpty78({ message: "Invitee email is required." })
8810
+ IsNotEmpty79({ message: "Invitee email is required." })
8797
8811
  ], CreateF2FInterviewDirectDto.prototype, "inviteeEmail", 2);
8798
8812
  __decorateClass([
8799
8813
  IsString57({ message: "Invitee name must be a string." }),
8800
- IsNotEmpty78({ message: "Invitee name is required." })
8814
+ IsNotEmpty79({ message: "Invitee name is required." })
8801
8815
  ], CreateF2FInterviewDirectDto.prototype, "inviteeName", 2);
8802
8816
  __decorateClass([
8803
8817
  IsNumber18({}, { message: "Job ID must be a number." })
@@ -8809,19 +8823,19 @@ __decorateClass([
8809
8823
  // src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
8810
8824
  import {
8811
8825
  IsString as IsString58,
8812
- IsNotEmpty as IsNotEmpty79
8826
+ IsNotEmpty as IsNotEmpty80
8813
8827
  } from "class-validator";
8814
8828
  var CreateF2FInterviewRescheduleRequestDto = class {
8815
8829
  };
8816
8830
  __decorateClass([
8817
- IsNotEmpty79({ message: "F2F Interview ID is required." })
8831
+ IsNotEmpty80({ message: "F2F Interview ID is required." })
8818
8832
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "f2FInterviewId", 2);
8819
8833
  __decorateClass([
8820
- IsNotEmpty79({ message: "Rescheduled date is required." })
8834
+ IsNotEmpty80({ message: "Rescheduled date is required." })
8821
8835
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
8822
8836
  __decorateClass([
8823
8837
  IsString58({ message: "Rescheduled slot must be a string." }),
8824
- IsNotEmpty79({ message: "Rescheduled slot is required." })
8838
+ IsNotEmpty80({ message: "Rescheduled slot is required." })
8825
8839
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
8826
8840
  __decorateClass([
8827
8841
  IsString58({ message: "Freelancer reason must be a string." })
@@ -8830,12 +8844,12 @@ __decorateClass([
8830
8844
  // src/modules/interview/dto/create-ai-interview-reschedule-request.dto.ts
8831
8845
  import {
8832
8846
  IsString as IsString59,
8833
- IsNotEmpty as IsNotEmpty80
8847
+ IsNotEmpty as IsNotEmpty81
8834
8848
  } from "class-validator";
8835
8849
  var CreateAIInterviewRescheduleRequestDto = class {
8836
8850
  };
8837
8851
  __decorateClass([
8838
- IsNotEmpty80({ message: "AI Interview ID is required." })
8852
+ IsNotEmpty81({ message: "AI Interview ID is required." })
8839
8853
  ], CreateAIInterviewRescheduleRequestDto.prototype, "aiInterviewId", 2);
8840
8854
  __decorateClass([
8841
8855
  IsString59({ message: "Freelancer reason must be a string." })
@@ -8861,11 +8875,11 @@ __decorateClass([
8861
8875
  ], RejectF2FInterviewRescheduleRequestDto.prototype, "reason", 2);
8862
8876
 
8863
8877
  // src/modules/interview/dto/capture-ai-interview-result-public.dto.ts
8864
- import { IsNotEmpty as IsNotEmpty81, IsString as IsString62, IsOptional as IsOptional55, IsObject as IsObject6 } from "class-validator";
8878
+ import { IsNotEmpty as IsNotEmpty82, IsString as IsString62, IsOptional as IsOptional55, IsObject as IsObject6 } from "class-validator";
8865
8879
  var CaptureAiInterviewResultPublicDto = class {
8866
8880
  };
8867
8881
  __decorateClass([
8868
- IsNotEmpty81({ message: "AI Interview UUID is required" }),
8882
+ IsNotEmpty82({ message: "AI Interview UUID is required" }),
8869
8883
  IsString62({ message: "AI Interview UUID must be a string" })
8870
8884
  ], CaptureAiInterviewResultPublicDto.prototype, "aiInterviewUuid", 2);
8871
8885
  __decorateClass([
@@ -8878,15 +8892,15 @@ __decorateClass([
8878
8892
  ], CaptureAiInterviewResultPublicDto.prototype, "status", 2);
8879
8893
 
8880
8894
  // src/modules/interview/dto/create-interview-basic-information.dto.ts
8881
- import { IsNotEmpty as IsNotEmpty82, IsString as IsString63, IsNumber as IsNumber19 } from "class-validator";
8895
+ import { IsNotEmpty as IsNotEmpty83, IsString as IsString63, IsNumber as IsNumber19 } from "class-validator";
8882
8896
  var CreateInterviewBasicInformationDto = class {
8883
8897
  };
8884
8898
  __decorateClass([
8885
- IsNotEmpty82({ message: "Job ID is required" }),
8899
+ IsNotEmpty83({ message: "Job ID is required" }),
8886
8900
  IsNumber19({}, { message: "Job ID must be a number" })
8887
8901
  ], CreateInterviewBasicInformationDto.prototype, "jobId", 2);
8888
8902
  __decorateClass([
8889
- IsNotEmpty82({ message: "Interview name is required" }),
8903
+ IsNotEmpty83({ message: "Interview name is required" }),
8890
8904
  IsString63({ message: "Interview name must be a string" })
8891
8905
  ], CreateInterviewBasicInformationDto.prototype, "interviewName", 2);
8892
8906
 
@@ -8955,51 +8969,51 @@ var CONTRACT_PATTERN = {
8955
8969
  };
8956
8970
 
8957
8971
  // src/modules/contract/dto/sign-contract-for-client.dto.ts
8958
- import { IsEnum as IsEnum31, IsNotEmpty as IsNotEmpty83, IsNumber as IsNumber21 } from "class-validator";
8972
+ import { IsEnum as IsEnum31, IsNotEmpty as IsNotEmpty84, IsNumber as IsNumber21 } from "class-validator";
8959
8973
  import { Type as Type14 } from "class-transformer";
8960
8974
  var SignContractForClientDto = class {
8961
8975
  };
8962
8976
  __decorateClass([
8963
- IsNotEmpty83({ message: "Job Id is required." }),
8977
+ IsNotEmpty84({ message: "Job Id is required." }),
8964
8978
  Type14(() => Number),
8965
8979
  IsNumber21({}, { message: "Job ID must be a number." })
8966
8980
  ], SignContractForClientDto.prototype, "jobId", 2);
8967
8981
  __decorateClass([
8968
- IsNotEmpty83({ message: "Freelancer ID is required." }),
8982
+ IsNotEmpty84({ message: "Freelancer ID is required." }),
8969
8983
  Type14(() => Number),
8970
8984
  IsNumber21({}, { message: "Freelancer ID must be a number." })
8971
8985
  ], SignContractForClientDto.prototype, "freelancerId", 2);
8972
8986
  __decorateClass([
8973
- IsNotEmpty83({ message: "Contract type is required." }),
8987
+ IsNotEmpty84({ message: "Contract type is required." }),
8974
8988
  IsEnum31(ContractTypeEnum)
8975
8989
  ], SignContractForClientDto.prototype, "contractType", 2);
8976
8990
 
8977
8991
  // src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
8978
- import { IsEnum as IsEnum32, IsNotEmpty as IsNotEmpty84, IsNumber as IsNumber22 } from "class-validator";
8992
+ import { IsEnum as IsEnum32, IsNotEmpty as IsNotEmpty85, IsNumber as IsNumber22 } from "class-validator";
8979
8993
  import { Type as Type15 } from "class-transformer";
8980
8994
  var SignContractForFreelancerDto = class {
8981
8995
  };
8982
8996
  __decorateClass([
8983
- IsNotEmpty84({ message: "Job Id is required." }),
8997
+ IsNotEmpty85({ message: "Job Id is required." }),
8984
8998
  Type15(() => Number),
8985
8999
  IsNumber22({}, { message: "Job ID must be a number." })
8986
9000
  ], SignContractForFreelancerDto.prototype, "jobId", 2);
8987
9001
  __decorateClass([
8988
- IsNotEmpty84({ message: "Client ID is required." }),
9002
+ IsNotEmpty85({ message: "Client ID is required." }),
8989
9003
  Type15(() => Number),
8990
9004
  IsNumber22({}, { message: "Client ID must be a number." })
8991
9005
  ], SignContractForFreelancerDto.prototype, "clientId", 2);
8992
9006
  __decorateClass([
8993
- IsNotEmpty84({ message: "Contract type is required." }),
9007
+ IsNotEmpty85({ message: "Contract type is required." }),
8994
9008
  IsEnum32(ContractTypeEnum)
8995
9009
  ], SignContractForFreelancerDto.prototype, "contractType", 2);
8996
9010
 
8997
9011
  // src/modules/contract/dto/generate-contract.dto.ts
8998
- import { IsNotEmpty as IsNotEmpty85, IsNumber as IsNumber23, IsOptional as IsOptional58, IsString as IsString65 } from "class-validator";
9012
+ import { IsNotEmpty as IsNotEmpty86, IsNumber as IsNumber23, IsOptional as IsOptional58, IsString as IsString65 } from "class-validator";
8999
9013
  var GenerateContractDto = class {
9000
9014
  };
9001
9015
  __decorateClass([
9002
- IsNotEmpty85({ message: "Hiring ID is required" }),
9016
+ IsNotEmpty86({ message: "Hiring ID is required" }),
9003
9017
  IsNumber23({}, { message: "Hiring ID must be a number" })
9004
9018
  ], GenerateContractDto.prototype, "hiringId", 2);
9005
9019
  __decorateClass([
@@ -9012,33 +9026,33 @@ __decorateClass([
9012
9026
  ], GenerateContractDto.prototype, "templateId", 2);
9013
9027
 
9014
9028
  // src/modules/contract/dto/esign-contract-client.dto.ts
9015
- import { IsNotEmpty as IsNotEmpty86, IsString as IsString66 } from "class-validator";
9029
+ import { IsNotEmpty as IsNotEmpty87, IsString as IsString66 } from "class-validator";
9016
9030
  var EsignContractClientDto = class {
9017
9031
  };
9018
9032
  __decorateClass([
9019
- IsNotEmpty86({ message: "Contract UUID is required" }),
9033
+ IsNotEmpty87({ message: "Contract UUID is required" }),
9020
9034
  IsString66({ message: "Contract UUID must be a string" })
9021
9035
  ], EsignContractClientDto.prototype, "contractUuid", 2);
9022
9036
 
9023
9037
  // src/modules/contract/dto/esign-contract-freelancer.dto.ts
9024
- import { IsNotEmpty as IsNotEmpty87, IsString as IsString67 } from "class-validator";
9038
+ import { IsNotEmpty as IsNotEmpty88, IsString as IsString67 } from "class-validator";
9025
9039
  var EsignContractFreelancerDto = class {
9026
9040
  };
9027
9041
  __decorateClass([
9028
- IsNotEmpty87({ message: "Contract UUID is required" }),
9042
+ IsNotEmpty88({ message: "Contract UUID is required" }),
9029
9043
  IsString67({ message: "Contract UUID must be a string" })
9030
9044
  ], EsignContractFreelancerDto.prototype, "contractUuid", 2);
9031
9045
 
9032
9046
  // src/modules/contract/dto/escrow-fund-contract.dto.ts
9033
- import { IsNotEmpty as IsNotEmpty88, IsNumber as IsNumber24, IsOptional as IsOptional59, IsString as IsString68 } from "class-validator";
9047
+ import { IsNotEmpty as IsNotEmpty89, IsNumber as IsNumber24, IsOptional as IsOptional59, IsString as IsString68 } from "class-validator";
9034
9048
  var EscrowFundContractDto = class {
9035
9049
  };
9036
9050
  __decorateClass([
9037
- IsNotEmpty88({ message: "Contract ID is required" }),
9051
+ IsNotEmpty89({ message: "Contract ID is required" }),
9038
9052
  IsNumber24({}, { message: "Contract ID must be a number" })
9039
9053
  ], EscrowFundContractDto.prototype, "contractId", 2);
9040
9054
  __decorateClass([
9041
- IsNotEmpty88({ message: "Amount is required" }),
9055
+ IsNotEmpty89({ message: "Amount is required" }),
9042
9056
  IsNumber24({}, { message: "Amount must be a number" })
9043
9057
  ], EscrowFundContractDto.prototype, "amount", 2);
9044
9058
  __decorateClass([
@@ -9072,20 +9086,20 @@ var STRIPE_PATTERN = {
9072
9086
 
9073
9087
  // src/modules/stripe/dto/create-checkout-session.dto.ts
9074
9088
  import {
9075
- IsNotEmpty as IsNotEmpty89
9089
+ IsNotEmpty as IsNotEmpty90
9076
9090
  } from "class-validator";
9077
9091
  var CreateCheckoutSessionDto = class {
9078
9092
  };
9079
9093
  __decorateClass([
9080
- IsNotEmpty89({ message: "Amount is required" })
9094
+ IsNotEmpty90({ message: "Amount is required" })
9081
9095
  ], CreateCheckoutSessionDto.prototype, "amount", 2);
9082
9096
 
9083
9097
  // src/modules/stripe/dto/pre-checkout-calculation.dto.ts
9084
- import { IsNotEmpty as IsNotEmpty90, IsNumber as IsNumber25, IsOptional as IsOptional60, IsString as IsString69 } from "class-validator";
9098
+ import { IsNotEmpty as IsNotEmpty91, IsNumber as IsNumber25, IsOptional as IsOptional60, IsString as IsString69 } from "class-validator";
9085
9099
  var PreCheckoutCalculationDto = class {
9086
9100
  };
9087
9101
  __decorateClass([
9088
- IsNotEmpty90({ message: "Amount is required" }),
9102
+ IsNotEmpty91({ message: "Amount is required" }),
9089
9103
  IsNumber25({}, { message: "Amount must be a number" })
9090
9104
  ], PreCheckoutCalculationDto.prototype, "amount", 2);
9091
9105
  __decorateClass([
@@ -9098,11 +9112,11 @@ __decorateClass([
9098
9112
  ], PreCheckoutCalculationDto.prototype, "description", 2);
9099
9113
 
9100
9114
  // src/modules/stripe/dto/client-add-fund.dto.ts
9101
- import { IsNotEmpty as IsNotEmpty91, IsNumber as IsNumber26, IsOptional as IsOptional61, IsString as IsString70 } from "class-validator";
9115
+ import { IsNotEmpty as IsNotEmpty92, IsNumber as IsNumber26, IsOptional as IsOptional61, IsString as IsString70 } from "class-validator";
9102
9116
  var ClientAddFundDto = class {
9103
9117
  };
9104
9118
  __decorateClass([
9105
- IsNotEmpty91({ message: "Amount is required" }),
9119
+ IsNotEmpty92({ message: "Amount is required" }),
9106
9120
  IsNumber26({}, { message: "Amount must be a number" })
9107
9121
  ], ClientAddFundDto.prototype, "amount", 2);
9108
9122
  __decorateClass([
@@ -9115,15 +9129,15 @@ __decorateClass([
9115
9129
  ], ClientAddFundDto.prototype, "description", 2);
9116
9130
 
9117
9131
  // src/modules/stripe/dto/transfer-funds.dto.ts
9118
- import { IsNotEmpty as IsNotEmpty92, IsNumber as IsNumber27, IsOptional as IsOptional62, IsString as IsString71 } from "class-validator";
9132
+ import { IsNotEmpty as IsNotEmpty93, IsNumber as IsNumber27, IsOptional as IsOptional62, IsString as IsString71 } from "class-validator";
9119
9133
  var TransferFundsDto = class {
9120
9134
  };
9121
9135
  __decorateClass([
9122
- IsNotEmpty92({ message: "Amount is required" }),
9136
+ IsNotEmpty93({ message: "Amount is required" }),
9123
9137
  IsNumber27({}, { message: "Amount must be a number" })
9124
9138
  ], TransferFundsDto.prototype, "amount", 2);
9125
9139
  __decorateClass([
9126
- IsNotEmpty92({ message: "Connected account ID is required" }),
9140
+ IsNotEmpty93({ message: "Connected account ID is required" }),
9127
9141
  IsString71({ message: "Connected account ID must be a string" })
9128
9142
  ], TransferFundsDto.prototype, "connectedAccountId", 2);
9129
9143
  __decorateClass([
@@ -9132,15 +9146,15 @@ __decorateClass([
9132
9146
  ], TransferFundsDto.prototype, "description", 2);
9133
9147
 
9134
9148
  // src/modules/stripe/dto/create-payout.dto.ts
9135
- import { IsNotEmpty as IsNotEmpty93, IsNumber as IsNumber28, IsOptional as IsOptional63, IsString as IsString72 } from "class-validator";
9149
+ import { IsNotEmpty as IsNotEmpty94, IsNumber as IsNumber28, IsOptional as IsOptional63, IsString as IsString72 } from "class-validator";
9136
9150
  var CreatePayoutDto = class {
9137
9151
  };
9138
9152
  __decorateClass([
9139
- IsNotEmpty93({ message: "Amount is required" }),
9153
+ IsNotEmpty94({ message: "Amount is required" }),
9140
9154
  IsNumber28({}, { message: "Amount must be a number" })
9141
9155
  ], CreatePayoutDto.prototype, "amount", 2);
9142
9156
  __decorateClass([
9143
- IsNotEmpty93({ message: "Connected account ID is required" }),
9157
+ IsNotEmpty94({ message: "Connected account ID is required" }),
9144
9158
  IsString72({ message: "Connected account ID must be a string" })
9145
9159
  ], CreatePayoutDto.prototype, "connectedAccountId", 2);
9146
9160
  __decorateClass([
@@ -9196,7 +9210,7 @@ var TIMESHEET_CLIENT_PATTERN = {
9196
9210
  import {
9197
9211
  IsDateString as IsDateString9,
9198
9212
  IsInt as IsInt12,
9199
- IsNotEmpty as IsNotEmpty94,
9213
+ IsNotEmpty as IsNotEmpty95,
9200
9214
  IsOptional as IsOptional64,
9201
9215
  IsString as IsString73,
9202
9216
  Matches as Matches13,
@@ -9205,25 +9219,25 @@ import {
9205
9219
  var CreateFreelancerTimesheetDto = class {
9206
9220
  };
9207
9221
  __decorateClass([
9208
- IsNotEmpty94({ message: "Job id is required" }),
9222
+ IsNotEmpty95({ message: "Job id is required" }),
9209
9223
  IsNumber29({}, { message: "Job id must be a number" })
9210
9224
  ], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
9211
9225
  __decorateClass([
9212
- IsNotEmpty94({ message: "start date is required" }),
9226
+ IsNotEmpty95({ message: "start date is required" }),
9213
9227
  IsDateString9()
9214
9228
  ], CreateFreelancerTimesheetDto.prototype, "startDate", 2);
9215
9229
  __decorateClass([
9216
- IsNotEmpty94({ message: "end date is required" }),
9230
+ IsNotEmpty95({ message: "end date is required" }),
9217
9231
  IsDateString9()
9218
9232
  ], CreateFreelancerTimesheetDto.prototype, "endDate", 2);
9219
9233
  __decorateClass([
9220
- IsNotEmpty94({ message: "start time is required" }),
9234
+ IsNotEmpty95({ message: "start time is required" }),
9221
9235
  Matches13(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9222
9236
  message: "startTime must be in HH:mm:ss format"
9223
9237
  })
9224
9238
  ], CreateFreelancerTimesheetDto.prototype, "startTime", 2);
9225
9239
  __decorateClass([
9226
- IsNotEmpty94({ message: "end time is required" }),
9240
+ IsNotEmpty95({ message: "end time is required" }),
9227
9241
  Matches13(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9228
9242
  message: "endTime must be in HH:mm:ss format"
9229
9243
  })
@@ -9245,14 +9259,14 @@ __decorateClass([
9245
9259
  IsString73()
9246
9260
  ], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
9247
9261
  __decorateClass([
9248
- IsNotEmpty94({ message: "Description is required" })
9262
+ IsNotEmpty95({ message: "Description is required" })
9249
9263
  ], CreateFreelancerTimesheetDto.prototype, "description", 2);
9250
9264
 
9251
9265
  // src/modules/timesheet/dto/update-freelancer-timesheet.dto.ts
9252
9266
  import {
9253
9267
  IsDateString as IsDateString10,
9254
9268
  IsInt as IsInt13,
9255
- IsNotEmpty as IsNotEmpty95,
9269
+ IsNotEmpty as IsNotEmpty96,
9256
9270
  IsOptional as IsOptional65,
9257
9271
  IsString as IsString74,
9258
9272
  Matches as Matches14,
@@ -9261,25 +9275,25 @@ import {
9261
9275
  var UpdateFreelancerTimesheetDto = class {
9262
9276
  };
9263
9277
  __decorateClass([
9264
- IsNotEmpty95({ message: "Job id is required" }),
9278
+ IsNotEmpty96({ message: "Job id is required" }),
9265
9279
  IsNumber30({}, { message: "Job id must be a number" })
9266
9280
  ], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
9267
9281
  __decorateClass([
9268
- IsNotEmpty95({ message: "start date is required" }),
9282
+ IsNotEmpty96({ message: "start date is required" }),
9269
9283
  IsDateString10()
9270
9284
  ], UpdateFreelancerTimesheetDto.prototype, "startDate", 2);
9271
9285
  __decorateClass([
9272
- IsNotEmpty95({ message: "end date is required" }),
9286
+ IsNotEmpty96({ message: "end date is required" }),
9273
9287
  IsDateString10()
9274
9288
  ], UpdateFreelancerTimesheetDto.prototype, "endDate", 2);
9275
9289
  __decorateClass([
9276
- IsNotEmpty95({ message: "start time is required" }),
9290
+ IsNotEmpty96({ message: "start time is required" }),
9277
9291
  Matches14(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9278
9292
  message: "startTime must be in HH:mm:ss format"
9279
9293
  })
9280
9294
  ], UpdateFreelancerTimesheetDto.prototype, "startTime", 2);
9281
9295
  __decorateClass([
9282
- IsNotEmpty95({ message: "end time is required" }),
9296
+ IsNotEmpty96({ message: "end time is required" }),
9283
9297
  Matches14(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9284
9298
  message: "endTime must be in HH:mm:ss format"
9285
9299
  })
@@ -9301,24 +9315,24 @@ __decorateClass([
9301
9315
  IsString74()
9302
9316
  ], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
9303
9317
  __decorateClass([
9304
- IsNotEmpty95({ message: "Description is required" })
9318
+ IsNotEmpty96({ message: "Description is required" })
9305
9319
  ], UpdateFreelancerTimesheetDto.prototype, "description", 2);
9306
9320
 
9307
9321
  // src/modules/timesheet/dto/submit-timesheet.dto.ts
9308
- import { IsNotEmpty as IsNotEmpty96, IsNumber as IsNumber31 } from "class-validator";
9322
+ import { IsNotEmpty as IsNotEmpty97, IsNumber as IsNumber31 } from "class-validator";
9309
9323
  var SubmitTimesheetDto = class {
9310
9324
  };
9311
9325
  __decorateClass([
9312
- IsNotEmpty96({ message: "Timesheet line ID is required" }),
9326
+ IsNotEmpty97({ message: "Timesheet line ID is required" }),
9313
9327
  IsNumber31({}, { message: "Timesheet line ID must be a number" })
9314
9328
  ], SubmitTimesheetDto.prototype, "timesheetLineId", 2);
9315
9329
 
9316
9330
  // src/modules/timesheet/dto/resubmit-timesheet.dto.ts
9317
- import { IsNotEmpty as IsNotEmpty97, IsNumber as IsNumber32 } from "class-validator";
9331
+ import { IsNotEmpty as IsNotEmpty98, IsNumber as IsNumber32 } from "class-validator";
9318
9332
  var ResubmitTimesheetDto = class {
9319
9333
  };
9320
9334
  __decorateClass([
9321
- IsNotEmpty97({ message: "Timesheet line ID is required" }),
9335
+ IsNotEmpty98({ message: "Timesheet line ID is required" }),
9322
9336
  IsNumber32({}, { message: "Timesheet line ID must be a number" })
9323
9337
  ], ResubmitTimesheetDto.prototype, "timesheetLineId", 2);
9324
9338
 
@@ -9347,19 +9361,19 @@ __decorateClass([
9347
9361
  ], SendBackTimesheetsDto.prototype, "reason", 2);
9348
9362
 
9349
9363
  // src/modules/timesheet/dto/create-default-timesheet-line.dto.ts
9350
- import { IsNotEmpty as IsNotEmpty98, IsNumber as IsNumber35 } from "class-validator";
9364
+ import { IsNotEmpty as IsNotEmpty99, IsNumber as IsNumber35 } from "class-validator";
9351
9365
  var CreateDefaultTimesheetLineDto = class {
9352
9366
  };
9353
9367
  __decorateClass([
9354
- IsNotEmpty98({ message: "Contract ID is required" }),
9368
+ IsNotEmpty99({ message: "Contract ID is required" }),
9355
9369
  IsNumber35({}, { message: "Contract ID must be a number" })
9356
9370
  ], CreateDefaultTimesheetLineDto.prototype, "contractId", 2);
9357
9371
  __decorateClass([
9358
- IsNotEmpty98({ message: "Freelancer ID is required" }),
9372
+ IsNotEmpty99({ message: "Freelancer ID is required" }),
9359
9373
  IsNumber35({}, { message: "Freelancer ID must be a number" })
9360
9374
  ], CreateDefaultTimesheetLineDto.prototype, "freelancerId", 2);
9361
9375
  __decorateClass([
9362
- IsNotEmpty98({ message: "Client ID is required" }),
9376
+ IsNotEmpty99({ message: "Client ID is required" }),
9363
9377
  IsNumber35({}, { message: "Client ID must be a number" })
9364
9378
  ], CreateDefaultTimesheetLineDto.prototype, "clientId", 2);
9365
9379
 
@@ -9382,22 +9396,22 @@ var INVOICE_PATTERN = {
9382
9396
  };
9383
9397
 
9384
9398
  // src/modules/invoice/dto/update-invoice-status.dto.ts
9385
- import { IsEnum as IsEnum35, IsNotEmpty as IsNotEmpty99 } from "class-validator";
9399
+ import { IsEnum as IsEnum35, IsNotEmpty as IsNotEmpty100 } from "class-validator";
9386
9400
  var UpdateInvoiceStatusDto = class {
9387
9401
  };
9388
9402
  __decorateClass([
9389
- IsNotEmpty99({ message: "Please provide invoice status." }),
9403
+ IsNotEmpty100({ message: "Please provide invoice status." }),
9390
9404
  IsEnum35(InvoiceStatusEnum, {
9391
9405
  message: "Status must be one of: APPROVED, REJECTED"
9392
9406
  })
9393
9407
  ], UpdateInvoiceStatusDto.prototype, "status", 2);
9394
9408
 
9395
9409
  // src/modules/invoice/dto/create-invoice.dto.ts
9396
- import { IsNotEmpty as IsNotEmpty100, IsNumber as IsNumber36 } from "class-validator";
9410
+ import { IsNotEmpty as IsNotEmpty101, IsNumber as IsNumber36 } from "class-validator";
9397
9411
  var CreateInvoiceDto = class {
9398
9412
  };
9399
9413
  __decorateClass([
9400
- IsNotEmpty100({ message: "Timesheet line ID is required" }),
9414
+ IsNotEmpty101({ message: "Timesheet line ID is required" }),
9401
9415
  IsNumber36({}, { message: "Timesheet line ID must be a number" })
9402
9416
  ], CreateInvoiceDto.prototype, "timeSheetLineId", 2);
9403
9417
 
@@ -9411,7 +9425,7 @@ var DISPUTE_PATTERN = {
9411
9425
  // src/modules/dispute/dto/create-dispute.dto.ts
9412
9426
  import {
9413
9427
  IsString as IsString76,
9414
- IsNotEmpty as IsNotEmpty101,
9428
+ IsNotEmpty as IsNotEmpty102,
9415
9429
  IsIn as IsIn4,
9416
9430
  IsOptional as IsOptional67,
9417
9431
  MaxLength as MaxLength21,
@@ -9433,16 +9447,16 @@ __decorateClass([
9433
9447
  Type16(() => Number)
9434
9448
  ], CreateDisputeDto.prototype, "freelancerId", 2);
9435
9449
  __decorateClass([
9436
- IsNotEmpty101({ message: "Please select dispute type." }),
9450
+ IsNotEmpty102({ message: "Please select dispute type." }),
9437
9451
  IsString76(),
9438
9452
  IsIn4(["JOB", "INVOICE"])
9439
9453
  ], CreateDisputeDto.prototype, "disputeType", 2);
9440
9454
  __decorateClass([
9441
- IsNotEmpty101({ message: "Please provide initiator type." }),
9455
+ IsNotEmpty102({ message: "Please provide initiator type." }),
9442
9456
  IsString76()
9443
9457
  ], CreateDisputeDto.prototype, "initiatorType", 2);
9444
9458
  __decorateClass([
9445
- IsNotEmpty101({ message: "Please enter description." }),
9459
+ IsNotEmpty102({ message: "Please enter description." }),
9446
9460
  IsString76({ message: "Description must be a string" }),
9447
9461
  MaxLength21(500, { message: "Description must not exceed 500 characters" })
9448
9462
  ], CreateDisputeDto.prototype, "description", 2);
@@ -9475,23 +9489,23 @@ var SENSELOAF_PATTERN = {
9475
9489
 
9476
9490
  // src/modules/senseloaf/dto/ai-interview-question-generate.dto.ts
9477
9491
  import {
9478
- IsNotEmpty as IsNotEmpty102
9492
+ IsNotEmpty as IsNotEmpty103
9479
9493
  } from "class-validator";
9480
9494
  var AiInterviewQuestionGenerateDto = class {
9481
9495
  };
9482
9496
  __decorateClass([
9483
- IsNotEmpty102({ message: "Please enter job description." })
9497
+ IsNotEmpty103({ message: "Please enter job description." })
9484
9498
  ], AiInterviewQuestionGenerateDto.prototype, "jobDescription", 2);
9485
9499
  __decorateClass([
9486
- IsNotEmpty102({ message: "Please enter number of questions." })
9500
+ IsNotEmpty103({ message: "Please enter number of questions." })
9487
9501
  ], AiInterviewQuestionGenerateDto.prototype, "numQuestions", 2);
9488
9502
 
9489
9503
  // src/modules/senseloaf/dto/resume-parsing-by-url.dto.ts
9490
- import { IsNotEmpty as IsNotEmpty103, IsString as IsString77, IsOptional as IsOptional68 } from "class-validator";
9504
+ import { IsNotEmpty as IsNotEmpty104, IsString as IsString77, IsOptional as IsOptional68 } from "class-validator";
9491
9505
  var ResumeParsingByUrlDto = class {
9492
9506
  };
9493
9507
  __decorateClass([
9494
- IsNotEmpty103({ message: "Resume URL is required" }),
9508
+ IsNotEmpty104({ message: "Resume URL is required" }),
9495
9509
  IsString77({ message: "Resume URL must be a string" })
9496
9510
  ], ResumeParsingByUrlDto.prototype, "resumeUrl", 2);
9497
9511
  __decorateClass([
@@ -9500,11 +9514,11 @@ __decorateClass([
9500
9514
  ], ResumeParsingByUrlDto.prototype, "fileName", 2);
9501
9515
 
9502
9516
  // src/modules/senseloaf/dto/resume-data-processing.dto.ts
9503
- import { IsNotEmpty as IsNotEmpty104, IsString as IsString78, IsOptional as IsOptional69, IsObject as IsObject8 } from "class-validator";
9517
+ import { IsNotEmpty as IsNotEmpty105, IsString as IsString78, IsOptional as IsOptional69, IsObject as IsObject8 } from "class-validator";
9504
9518
  var ResumeDataProcessingDto = class {
9505
9519
  };
9506
9520
  __decorateClass([
9507
- IsNotEmpty104({ message: "Resume data is required" }),
9521
+ IsNotEmpty105({ message: "Resume data is required" }),
9508
9522
  IsObject8()
9509
9523
  ], ResumeDataProcessingDto.prototype, "resumeData", 2);
9510
9524
  __decorateClass([
@@ -9517,11 +9531,11 @@ __decorateClass([
9517
9531
  ], ResumeDataProcessingDto.prototype, "processingType", 2);
9518
9532
 
9519
9533
  // src/modules/senseloaf/dto/check-resume-eligibility.dto.ts
9520
- import { IsNotEmpty as IsNotEmpty105, IsString as IsString79, IsOptional as IsOptional70, IsObject as IsObject9 } from "class-validator";
9534
+ import { IsNotEmpty as IsNotEmpty106, IsString as IsString79, IsOptional as IsOptional70, IsObject as IsObject9 } from "class-validator";
9521
9535
  var CheckResumeEligibilityDto = class {
9522
9536
  };
9523
9537
  __decorateClass([
9524
- IsNotEmpty105({ message: "Resume data is required" }),
9538
+ IsNotEmpty106({ message: "Resume data is required" }),
9525
9539
  IsObject9()
9526
9540
  ], CheckResumeEligibilityDto.prototype, "resumeData", 2);
9527
9541
  __decorateClass([
@@ -9534,11 +9548,11 @@ __decorateClass([
9534
9548
  ], CheckResumeEligibilityDto.prototype, "userId", 2);
9535
9549
 
9536
9550
  // src/modules/senseloaf/dto/ai-interview-template-generation.dto.ts
9537
- import { IsNotEmpty as IsNotEmpty106, IsString as IsString80, IsOptional as IsOptional71, IsArray as IsArray23, IsNumber as IsNumber38 } from "class-validator";
9551
+ import { IsNotEmpty as IsNotEmpty107, IsString as IsString80, IsOptional as IsOptional71, IsArray as IsArray23, IsNumber as IsNumber38 } from "class-validator";
9538
9552
  var AiInterviewTemplateGenerationDto = class {
9539
9553
  };
9540
9554
  __decorateClass([
9541
- IsNotEmpty106({ message: "Job ID is required" }),
9555
+ IsNotEmpty107({ message: "Job ID is required" }),
9542
9556
  IsString80({ message: "Job ID must be a string" })
9543
9557
  ], AiInterviewTemplateGenerationDto.prototype, "jobId", 2);
9544
9558
  __decorateClass([
@@ -9556,15 +9570,15 @@ __decorateClass([
9556
9570
  ], AiInterviewTemplateGenerationDto.prototype, "difficulty", 2);
9557
9571
 
9558
9572
  // src/modules/senseloaf/dto/ai-interview-link-generation.dto.ts
9559
- import { IsNotEmpty as IsNotEmpty107, IsString as IsString81, IsOptional as IsOptional72, IsNumber as IsNumber39 } from "class-validator";
9573
+ import { IsNotEmpty as IsNotEmpty108, IsString as IsString81, IsOptional as IsOptional72, IsNumber as IsNumber39 } from "class-validator";
9560
9574
  var AiInterviewLinkGenerationDto = class {
9561
9575
  };
9562
9576
  __decorateClass([
9563
- IsNotEmpty107({ message: "Template ID is required" }),
9577
+ IsNotEmpty108({ message: "Template ID is required" }),
9564
9578
  IsString81({ message: "Template ID must be a string" })
9565
9579
  ], AiInterviewLinkGenerationDto.prototype, "templateId", 2);
9566
9580
  __decorateClass([
9567
- IsNotEmpty107({ message: "Freelancer ID is required" }),
9581
+ IsNotEmpty108({ message: "Freelancer ID is required" }),
9568
9582
  IsString81({ message: "Freelancer ID must be a string" })
9569
9583
  ], AiInterviewLinkGenerationDto.prototype, "freelancerId", 2);
9570
9584
  __decorateClass([
@@ -9577,11 +9591,11 @@ __decorateClass([
9577
9591
  ], AiInterviewLinkGenerationDto.prototype, "expiryHours", 2);
9578
9592
 
9579
9593
  // src/modules/senseloaf/dto/ai-assessment-creation.dto.ts
9580
- import { IsNotEmpty as IsNotEmpty108, IsString as IsString82, IsOptional as IsOptional73, IsNumber as IsNumber40 } from "class-validator";
9594
+ import { IsNotEmpty as IsNotEmpty109, IsString as IsString82, IsOptional as IsOptional73, IsNumber as IsNumber40 } from "class-validator";
9581
9595
  var AiAssessmentCreationDto = class {
9582
9596
  };
9583
9597
  __decorateClass([
9584
- IsNotEmpty108({ message: "User ID is required" }),
9598
+ IsNotEmpty109({ message: "User ID is required" }),
9585
9599
  IsString82({ message: "User ID must be a string" })
9586
9600
  ], AiAssessmentCreationDto.prototype, "userId", 2);
9587
9601
  __decorateClass([
@@ -9610,15 +9624,15 @@ var HIRING_PATTERN = {
9610
9624
  };
9611
9625
 
9612
9626
  // src/modules/hiring/dto/create-hiring.dto.ts
9613
- import { IsNotEmpty as IsNotEmpty109, IsNumber as IsNumber41 } from "class-validator";
9627
+ import { IsNotEmpty as IsNotEmpty110, IsNumber as IsNumber41 } from "class-validator";
9614
9628
  var CreateHiringDto = class {
9615
9629
  };
9616
9630
  __decorateClass([
9617
- IsNotEmpty109({ message: "Freelancer ID is required" }),
9631
+ IsNotEmpty110({ message: "Freelancer ID is required" }),
9618
9632
  IsNumber41({}, { message: "Freelancer ID must be a number" })
9619
9633
  ], CreateHiringDto.prototype, "freelancerId", 2);
9620
9634
  __decorateClass([
9621
- IsNotEmpty109({ message: "Job ID is required" }),
9635
+ IsNotEmpty110({ message: "Job ID is required" }),
9622
9636
  IsNumber41({}, { message: "Job ID must be a number" })
9623
9637
  ], CreateHiringDto.prototype, "jobId", 2);
9624
9638
 
@@ -9667,24 +9681,24 @@ var WALLET_ADMIN_PATTERN = {
9667
9681
  };
9668
9682
 
9669
9683
  // src/modules/wallet/dto/add-topup-escrow-amount.dto.ts
9670
- import { IsNotEmpty as IsNotEmpty110, IsNumber as IsNumber42 } from "class-validator";
9684
+ import { IsNotEmpty as IsNotEmpty111, IsNumber as IsNumber42 } from "class-validator";
9671
9685
  var AddTopupEscrowAmountDto = class {
9672
9686
  };
9673
9687
  __decorateClass([
9674
- IsNotEmpty110({ message: "Amount is required" }),
9688
+ IsNotEmpty111({ message: "Amount is required" }),
9675
9689
  IsNumber42({}, { message: "Amount must be a number" })
9676
9690
  ], AddTopupEscrowAmountDto.prototype, "amount", 2);
9677
9691
 
9678
9692
  // src/modules/wallet/dto/debit-commission-fte-hiring.dto.ts
9679
- import { IsNotEmpty as IsNotEmpty111, IsNumber as IsNumber43 } from "class-validator";
9693
+ import { IsNotEmpty as IsNotEmpty112, IsNumber as IsNumber43 } from "class-validator";
9680
9694
  var DebitCommissionFteHiringDto = class {
9681
9695
  };
9682
9696
  __decorateClass([
9683
- IsNotEmpty111({ message: "Hiring ID is required" }),
9697
+ IsNotEmpty112({ message: "Hiring ID is required" }),
9684
9698
  IsNumber43({}, { message: "Hiring ID must be a number" })
9685
9699
  ], DebitCommissionFteHiringDto.prototype, "hiringId", 2);
9686
9700
  __decorateClass([
9687
- IsNotEmpty111({ message: "Amount is required" }),
9701
+ IsNotEmpty112({ message: "Amount is required" }),
9688
9702
  IsNumber43({}, { message: "Amount must be a number" })
9689
9703
  ], DebitCommissionFteHiringDto.prototype, "amount", 2);
9690
9704
 
@@ -11043,6 +11057,7 @@ export {
11043
11057
  TypeOfEmploymentEnumDto,
11044
11058
  TypeOfEmploymentEnums,
11045
11059
  UpdateAdminRoleDto,
11060
+ UpdateAdminRoleStatusDto,
11046
11061
  UpdateAssessmentRequestStatusDto,
11047
11062
  UpdateClientAccountStatusDto,
11048
11063
  UpdateClientDto,