@experts_hub/shared 1.0.599 → 1.0.600
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.d.mts +19 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.js +273 -211
- package/dist/index.mjs +197 -137
- package/dist/modules/client-admin/dto/update-client.dto.d.ts +10 -0
- package/dist/modules/contract/dto/index.d.ts +1 -0
- package/dist/modules/contract/dto/reject-contract.dto.d.ts +3 -0
- package/dist/modules/interview/dto/index.d.ts +1 -0
- package/dist/modules/interview/dto/update-interview-type-information.dto.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8049,7 +8049,7 @@ __decorateClass([
|
|
|
8049
8049
|
], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
|
|
8050
8050
|
|
|
8051
8051
|
// src/modules/client-admin/dto/update-client.dto.ts
|
|
8052
|
-
import { Transform as Transform3 } from "class-transformer";
|
|
8052
|
+
import { Transform as Transform3, Type as Type11 } from "class-transformer";
|
|
8053
8053
|
import {
|
|
8054
8054
|
IsNotEmpty as IsNotEmpty66,
|
|
8055
8055
|
IsEmail as IsEmail16,
|
|
@@ -8087,6 +8087,14 @@ __decorateClass([
|
|
|
8087
8087
|
IsNotEmpty66({ message: "Please enter email." }),
|
|
8088
8088
|
IsEmail16()
|
|
8089
8089
|
], UpdateClientDto.prototype, "email", 2);
|
|
8090
|
+
__decorateClass([
|
|
8091
|
+
IsOptional42(),
|
|
8092
|
+
IsString44({ message: "Mobile code must be a string." })
|
|
8093
|
+
], UpdateClientDto.prototype, "mobileCode", 2);
|
|
8094
|
+
__decorateClass([
|
|
8095
|
+
IsOptional42(),
|
|
8096
|
+
IsString44({ message: "Phone number must be a string." })
|
|
8097
|
+
], UpdateClientDto.prototype, "phoneNumber", 2);
|
|
8090
8098
|
__decorateClass([
|
|
8091
8099
|
IsOptional42(),
|
|
8092
8100
|
Transform3(({ value }) => value === null || value === "" ? void 0 : value),
|
|
@@ -8132,6 +8140,38 @@ __decorateClass([
|
|
|
8132
8140
|
IsOptional42(),
|
|
8133
8141
|
IsString44()
|
|
8134
8142
|
], UpdateClientDto.prototype, "hiringCommissionValueForFte", 2);
|
|
8143
|
+
__decorateClass([
|
|
8144
|
+
IsOptional42(),
|
|
8145
|
+
IsString44({ message: "About company must be a string." })
|
|
8146
|
+
], UpdateClientDto.prototype, "about", 2);
|
|
8147
|
+
__decorateClass([
|
|
8148
|
+
IsOptional42(),
|
|
8149
|
+
IsString44({ message: "Website must be a string." })
|
|
8150
|
+
], UpdateClientDto.prototype, "webSite", 2);
|
|
8151
|
+
__decorateClass([
|
|
8152
|
+
IsOptional42(),
|
|
8153
|
+
IsString44({ message: "Company address must be a string." })
|
|
8154
|
+
], UpdateClientDto.prototype, "companyAddress", 2);
|
|
8155
|
+
__decorateClass([
|
|
8156
|
+
IsOptional42(),
|
|
8157
|
+
IsString44({ message: "Address line must be a string." })
|
|
8158
|
+
], UpdateClientDto.prototype, "addressLine", 2);
|
|
8159
|
+
__decorateClass([
|
|
8160
|
+
IsOptional42(),
|
|
8161
|
+
IsString44({ message: "Postal code must be a string." })
|
|
8162
|
+
], UpdateClientDto.prototype, "postalCode", 2);
|
|
8163
|
+
__decorateClass([
|
|
8164
|
+
IsOptional42(),
|
|
8165
|
+
Type11(() => Number)
|
|
8166
|
+
], UpdateClientDto.prototype, "countryId", 2);
|
|
8167
|
+
__decorateClass([
|
|
8168
|
+
IsOptional42(),
|
|
8169
|
+
Type11(() => Number)
|
|
8170
|
+
], UpdateClientDto.prototype, "stateId", 2);
|
|
8171
|
+
__decorateClass([
|
|
8172
|
+
IsOptional42(),
|
|
8173
|
+
Type11(() => Number)
|
|
8174
|
+
], UpdateClientDto.prototype, "cityId", 2);
|
|
8135
8175
|
|
|
8136
8176
|
// src/modules/user/freelancer-declaration/pattern/pattern.ts
|
|
8137
8177
|
var FREELANCER_DECLARATION_PATTERN = {
|
|
@@ -8176,35 +8216,35 @@ var CLIENT_CANDIDATE_PREFERENCE_PATTERN = {
|
|
|
8176
8216
|
|
|
8177
8217
|
// src/modules/user/client-candidate-preference/dto/mark-candidate-status.dto.ts
|
|
8178
8218
|
import { IsNotEmpty as IsNotEmpty68, IsNumber as IsNumber11, IsOptional as IsOptional44 } from "class-validator";
|
|
8179
|
-
import { Type as
|
|
8219
|
+
import { Type as Type12 } from "class-transformer";
|
|
8180
8220
|
var MarkCandidateStatusDto = class {
|
|
8181
8221
|
};
|
|
8182
8222
|
__decorateClass([
|
|
8183
8223
|
IsNotEmpty68({ message: "Candidate ID is required." }),
|
|
8184
8224
|
IsNumber11({}, { message: "Candidate ID must be a number." }),
|
|
8185
|
-
|
|
8225
|
+
Type12(() => Number)
|
|
8186
8226
|
], MarkCandidateStatusDto.prototype, "candidateId", 2);
|
|
8187
8227
|
__decorateClass([
|
|
8188
8228
|
IsOptional44(),
|
|
8189
8229
|
IsNumber11({}, { message: "Job ID must be a number." }),
|
|
8190
|
-
|
|
8230
|
+
Type12(() => Number)
|
|
8191
8231
|
], MarkCandidateStatusDto.prototype, "jobId", 2);
|
|
8192
8232
|
|
|
8193
8233
|
// src/modules/user/client-candidate-preference/dto/mark-candidate-status-bulk.dto.ts
|
|
8194
8234
|
import { ArrayNotEmpty as ArrayNotEmpty8, IsArray as IsArray14, IsNumber as IsNumber12, IsOptional as IsOptional45 } from "class-validator";
|
|
8195
|
-
import { Type as
|
|
8235
|
+
import { Type as Type13 } from "class-transformer";
|
|
8196
8236
|
var MarkCandidateStatusBulkDto = class {
|
|
8197
8237
|
};
|
|
8198
8238
|
__decorateClass([
|
|
8199
8239
|
IsArray14({ message: "Candidate IDs must be an array." }),
|
|
8200
8240
|
ArrayNotEmpty8({ message: "At least one candidate ID is required." }),
|
|
8201
8241
|
IsNumber12({}, { each: true, message: "Each candidate ID must be a number." }),
|
|
8202
|
-
|
|
8242
|
+
Type13(() => Number)
|
|
8203
8243
|
], MarkCandidateStatusBulkDto.prototype, "candidateIds", 2);
|
|
8204
8244
|
__decorateClass([
|
|
8205
8245
|
IsOptional45(),
|
|
8206
8246
|
IsNumber12({}, { message: "Job ID must be a number." }),
|
|
8207
|
-
|
|
8247
|
+
Type13(() => Number)
|
|
8208
8248
|
], MarkCandidateStatusBulkDto.prototype, "jobId", 2);
|
|
8209
8249
|
|
|
8210
8250
|
// src/modules/cms/pattern/pattern.ts
|
|
@@ -8279,7 +8319,7 @@ var ADMIN_JOB_PATTERN = {
|
|
|
8279
8319
|
};
|
|
8280
8320
|
|
|
8281
8321
|
// src/modules/job-admin/dto/admin-create-job-information.dto.ts
|
|
8282
|
-
import { Type as
|
|
8322
|
+
import { Type as Type14 } from "class-transformer";
|
|
8283
8323
|
import {
|
|
8284
8324
|
IsString as IsString46,
|
|
8285
8325
|
IsEnum as IsEnum29,
|
|
@@ -8350,11 +8390,11 @@ __decorateClass([
|
|
|
8350
8390
|
IsNotEmpty71({ message: "Currency is required." })
|
|
8351
8391
|
], AdminCreateJobInformationDto.prototype, "currency", 2);
|
|
8352
8392
|
__decorateClass([
|
|
8353
|
-
|
|
8393
|
+
Type14(() => Number),
|
|
8354
8394
|
IsNumber13({}, { message: "Expected salary from must be a number." })
|
|
8355
8395
|
], AdminCreateJobInformationDto.prototype, "expectedSalaryFrom", 2);
|
|
8356
8396
|
__decorateClass([
|
|
8357
|
-
|
|
8397
|
+
Type14(() => Number),
|
|
8358
8398
|
IsNumber13({}, { message: "Expected salary to must be a number." })
|
|
8359
8399
|
], AdminCreateJobInformationDto.prototype, "expectedSalaryTo", 2);
|
|
8360
8400
|
__decorateClass([
|
|
@@ -8390,7 +8430,7 @@ __decorateClass([
|
|
|
8390
8430
|
], AdminCreateJobInformationDto.prototype, "clientId", 2);
|
|
8391
8431
|
|
|
8392
8432
|
// src/modules/job-admin/dto/admin-update-job-information.dto.ts
|
|
8393
|
-
import { Type as
|
|
8433
|
+
import { Type as Type15 } from "class-transformer";
|
|
8394
8434
|
import {
|
|
8395
8435
|
IsString as IsString47,
|
|
8396
8436
|
IsEnum as IsEnum30,
|
|
@@ -8461,11 +8501,11 @@ __decorateClass([
|
|
|
8461
8501
|
IsNotEmpty72({ message: "Currency is required." })
|
|
8462
8502
|
], AdminUpdateJobInformationDto.prototype, "currency", 2);
|
|
8463
8503
|
__decorateClass([
|
|
8464
|
-
|
|
8504
|
+
Type15(() => Number),
|
|
8465
8505
|
IsNumber14({}, { message: "Expected salary from must be a number." })
|
|
8466
8506
|
], AdminUpdateJobInformationDto.prototype, "expectedSalaryFrom", 2);
|
|
8467
8507
|
__decorateClass([
|
|
8468
|
-
|
|
8508
|
+
Type15(() => Number),
|
|
8469
8509
|
IsNumber14({}, { message: "Expected salary to must be a number." })
|
|
8470
8510
|
], AdminUpdateJobInformationDto.prototype, "expectedSalaryTo", 2);
|
|
8471
8511
|
__decorateClass([
|
|
@@ -8515,7 +8555,7 @@ import {
|
|
|
8515
8555
|
Max as Max4,
|
|
8516
8556
|
IsInt as IsInt12
|
|
8517
8557
|
} from "class-validator";
|
|
8518
|
-
import { Type as
|
|
8558
|
+
import { Type as Type16 } from "class-transformer";
|
|
8519
8559
|
var JobLocationAdminEnumDto = /* @__PURE__ */ ((JobLocationAdminEnumDto2) => {
|
|
8520
8560
|
JobLocationAdminEnumDto2["ONSITE"] = "ONSITE";
|
|
8521
8561
|
JobLocationAdminEnumDto2["REMOTE"] = "REMOTE";
|
|
@@ -8562,7 +8602,7 @@ var AdminJobBasicInformationV2Dto = class {
|
|
|
8562
8602
|
};
|
|
8563
8603
|
__decorateClass([
|
|
8564
8604
|
IsOptional50(),
|
|
8565
|
-
|
|
8605
|
+
Type16(() => Boolean)
|
|
8566
8606
|
], AdminJobBasicInformationV2Dto.prototype, "isDraft", 2);
|
|
8567
8607
|
__decorateClass([
|
|
8568
8608
|
IsInt12({ message: "Client ID must be a valid integer." })
|
|
@@ -8581,13 +8621,13 @@ __decorateClass([
|
|
|
8581
8621
|
IsArray17({ message: "Skills must be an array" }),
|
|
8582
8622
|
ArrayNotEmpty11({ message: "Please select at least one skill" }),
|
|
8583
8623
|
IsString48({ each: true, message: "Each skill must be a string" }),
|
|
8584
|
-
|
|
8624
|
+
Type16(() => String)
|
|
8585
8625
|
], AdminJobBasicInformationV2Dto.prototype, "skills", 2);
|
|
8586
8626
|
__decorateClass([
|
|
8587
8627
|
ValidateIf9((o) => !o.isDraft),
|
|
8588
8628
|
IsNumber15({}, { message: "Openings must be a number" }),
|
|
8589
8629
|
Min8(1, { message: "There must be at least 1 opening" }),
|
|
8590
|
-
|
|
8630
|
+
Type16(() => Number)
|
|
8591
8631
|
], AdminJobBasicInformationV2Dto.prototype, "openings", 2);
|
|
8592
8632
|
__decorateClass([
|
|
8593
8633
|
ValidateIf9((o) => !o.isDraft),
|
|
@@ -8609,17 +8649,17 @@ __decorateClass([
|
|
|
8609
8649
|
IsOptional50(),
|
|
8610
8650
|
IsNumber15({}, { message: "Expected salary (from) must be a number" }),
|
|
8611
8651
|
Min8(0, { message: "Expected salary (from) cannot be negative" }),
|
|
8612
|
-
|
|
8652
|
+
Type16(() => Number)
|
|
8613
8653
|
], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryFrom", 2);
|
|
8614
8654
|
__decorateClass([
|
|
8615
8655
|
IsOptional50(),
|
|
8616
8656
|
IsNumber15({}, { message: "Expected salary (to) must be a number" }),
|
|
8617
8657
|
Min8(0, { message: "Expected salary (to) cannot be negative" }),
|
|
8618
|
-
|
|
8658
|
+
Type16(() => Number)
|
|
8619
8659
|
], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
|
|
8620
8660
|
__decorateClass([
|
|
8621
8661
|
IsOptional50(),
|
|
8622
|
-
|
|
8662
|
+
Type16(() => JobLocationAdminDto)
|
|
8623
8663
|
], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
|
|
8624
8664
|
__decorateClass([
|
|
8625
8665
|
ValidateIf9((o) => !o.isDraft),
|
|
@@ -8662,7 +8702,7 @@ __decorateClass([
|
|
|
8662
8702
|
IsOptional50(),
|
|
8663
8703
|
IsNumber15({}, { message: "Expected annual budget (from) must be a number" }),
|
|
8664
8704
|
Min8(0, { message: "Expected annual budget (from) cannot be negative" }),
|
|
8665
|
-
|
|
8705
|
+
Type16(() => Number)
|
|
8666
8706
|
], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetFrom", 2);
|
|
8667
8707
|
__decorateClass([
|
|
8668
8708
|
IsOptional50()
|
|
@@ -8671,7 +8711,7 @@ __decorateClass([
|
|
|
8671
8711
|
IsOptional50(),
|
|
8672
8712
|
IsNumber15({}, { message: "Expected annual budget (to) must be a number" }),
|
|
8673
8713
|
Min8(0, { message: "Expected annual budget (to) cannot be negative" }),
|
|
8674
|
-
|
|
8714
|
+
Type16(() => Number)
|
|
8675
8715
|
], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetTo", 2);
|
|
8676
8716
|
__decorateClass([
|
|
8677
8717
|
IsOptional50()
|
|
@@ -8681,7 +8721,7 @@ __decorateClass([
|
|
|
8681
8721
|
IsNumber15({}, { message: "Number of hours must be a number" }),
|
|
8682
8722
|
Min8(0, { message: "Number of hours cannot be negative" }),
|
|
8683
8723
|
Max4(40, { message: "Number of hours cannot exceed 40" }),
|
|
8684
|
-
|
|
8724
|
+
Type16(() => Number)
|
|
8685
8725
|
], AdminJobBasicInformationV2Dto.prototype, "numberOfHours", 2);
|
|
8686
8726
|
__decorateClass([
|
|
8687
8727
|
IsOptional50()
|
|
@@ -8705,7 +8745,7 @@ __decorateClass([
|
|
|
8705
8745
|
IsArray17({ message: "Good to have skills must be an array" }),
|
|
8706
8746
|
IsString48({ each: true, message: "Each skill must be a string" }),
|
|
8707
8747
|
IsOptional50(),
|
|
8708
|
-
|
|
8748
|
+
Type16(() => String)
|
|
8709
8749
|
], AdminJobBasicInformationV2Dto.prototype, "goodToHaveSkills", 2);
|
|
8710
8750
|
__decorateClass([
|
|
8711
8751
|
IsOptional50()
|
|
@@ -8916,7 +8956,7 @@ import {
|
|
|
8916
8956
|
ValidateIf as ValidateIf10,
|
|
8917
8957
|
ValidateNested as ValidateNested7
|
|
8918
8958
|
} from "class-validator";
|
|
8919
|
-
import { Type as
|
|
8959
|
+
import { Type as Type17 } from "class-transformer";
|
|
8920
8960
|
var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
|
|
8921
8961
|
CandidateType2["SHORTLISTED"] = "SHORTLISTED";
|
|
8922
8962
|
CandidateType2["APPLICATNTS"] = "APPLICATNTS";
|
|
@@ -8955,14 +8995,14 @@ __decorateClass([
|
|
|
8955
8995
|
IsArray18({ message: "Existing candidates should be an array." }),
|
|
8956
8996
|
ArrayNotEmpty12({ message: "Please select at least one candidate." }),
|
|
8957
8997
|
ValidateNested7({ each: true }),
|
|
8958
|
-
|
|
8998
|
+
Type17(() => ExistingCandidateDto)
|
|
8959
8999
|
], CandidatesDto.prototype, "exixtingCandidates", 2);
|
|
8960
9000
|
__decorateClass([
|
|
8961
9001
|
ValidateIf10((o) => o.newCandidates?.length > 0),
|
|
8962
9002
|
IsArray18({ message: "New candidates should be an array." }),
|
|
8963
9003
|
ArrayNotEmpty12({ message: "Please add at least one candidate." }),
|
|
8964
9004
|
ValidateNested7({ each: true }),
|
|
8965
|
-
|
|
9005
|
+
Type17(() => NewCandidateDto)
|
|
8966
9006
|
], CandidatesDto.prototype, "newCandidates", 2);
|
|
8967
9007
|
var InterviewInviteDto = class {
|
|
8968
9008
|
};
|
|
@@ -8971,7 +9011,7 @@ __decorateClass([
|
|
|
8971
9011
|
], InterviewInviteDto.prototype, "jobId", 2);
|
|
8972
9012
|
__decorateClass([
|
|
8973
9013
|
ValidateNested7({ each: true }),
|
|
8974
|
-
|
|
9014
|
+
Type17(() => CandidatesDto)
|
|
8975
9015
|
], InterviewInviteDto.prototype, "candidates", 2);
|
|
8976
9016
|
|
|
8977
9017
|
// src/modules/interview/dto/send-interview-invite.dto.ts
|
|
@@ -8985,7 +9025,7 @@ import {
|
|
|
8985
9025
|
ValidateNested as ValidateNested8,
|
|
8986
9026
|
IsOptional as IsOptional55
|
|
8987
9027
|
} from "class-validator";
|
|
8988
|
-
import { Type as
|
|
9028
|
+
import { Type as Type18 } from "class-transformer";
|
|
8989
9029
|
var InterviewInviteCandidateType = /* @__PURE__ */ ((InterviewInviteCandidateType2) => {
|
|
8990
9030
|
InterviewInviteCandidateType2["SHORTLISTED"] = "SHORTLISTED";
|
|
8991
9031
|
InterviewInviteCandidateType2["APPLICANTS"] = "APPLICANTS";
|
|
@@ -9030,13 +9070,13 @@ __decorateClass([
|
|
|
9030
9070
|
__decorateClass([
|
|
9031
9071
|
IsArray19({ message: "Existing candidates must be an array." }),
|
|
9032
9072
|
ValidateNested8({ each: true }),
|
|
9033
|
-
|
|
9073
|
+
Type18(() => ExistingCandidateDto2),
|
|
9034
9074
|
IsOptional55()
|
|
9035
9075
|
], SendInterviewInviteDto.prototype, "existingCandidates", 2);
|
|
9036
9076
|
__decorateClass([
|
|
9037
9077
|
IsArray19({ message: "New candidates must be an array." }),
|
|
9038
9078
|
ValidateNested8({ each: true }),
|
|
9039
|
-
|
|
9079
|
+
Type18(() => NewCandidateDto2),
|
|
9040
9080
|
IsOptional55()
|
|
9041
9081
|
], SendInterviewInviteDto.prototype, "newCandidates", 2);
|
|
9042
9082
|
|
|
@@ -9214,7 +9254,7 @@ import {
|
|
|
9214
9254
|
IsString as IsString64,
|
|
9215
9255
|
ValidateNested as ValidateNested9
|
|
9216
9256
|
} from "class-validator";
|
|
9217
|
-
import { Type as
|
|
9257
|
+
import { Type as Type19 } from "class-transformer";
|
|
9218
9258
|
var InterviewSkillItemDto = class {
|
|
9219
9259
|
};
|
|
9220
9260
|
__decorateClass([
|
|
@@ -9234,7 +9274,7 @@ __decorateClass([
|
|
|
9234
9274
|
IsArray22({ message: "Skills must be an array." }),
|
|
9235
9275
|
IsNotEmpty86({ message: "At least one skill is required." }),
|
|
9236
9276
|
ValidateNested9({ each: true }),
|
|
9237
|
-
|
|
9277
|
+
Type19(() => InterviewSkillItemDto)
|
|
9238
9278
|
], CreateInterviewSkillsDto.prototype, "skills", 2);
|
|
9239
9279
|
|
|
9240
9280
|
// src/modules/interview/dto/create-interview-questions.dto.ts
|
|
@@ -9246,7 +9286,7 @@ import {
|
|
|
9246
9286
|
IsUUID as IsUUID22,
|
|
9247
9287
|
ValidateNested as ValidateNested10
|
|
9248
9288
|
} from "class-validator";
|
|
9249
|
-
import { Type as
|
|
9289
|
+
import { Type as Type20 } from "class-transformer";
|
|
9250
9290
|
var CustomQuestionItemDto = class {
|
|
9251
9291
|
};
|
|
9252
9292
|
__decorateClass([
|
|
@@ -9278,13 +9318,13 @@ __decorateClass([
|
|
|
9278
9318
|
IsOptional63(),
|
|
9279
9319
|
IsArray23({ message: "Questions must be an array." }),
|
|
9280
9320
|
ValidateNested10({ each: true }),
|
|
9281
|
-
|
|
9321
|
+
Type20(() => CustomQuestionItemDto)
|
|
9282
9322
|
], CreateInterviewQuestionsDto.prototype, "questions", 2);
|
|
9283
9323
|
__decorateClass([
|
|
9284
9324
|
IsOptional63(),
|
|
9285
9325
|
IsArray23({ message: "AI questions must be an array." }),
|
|
9286
9326
|
ValidateNested10({ each: true }),
|
|
9287
|
-
|
|
9327
|
+
Type20(() => AiQuestionItemDto)
|
|
9288
9328
|
], CreateInterviewQuestionsDto.prototype, "aiQuestions", 2);
|
|
9289
9329
|
|
|
9290
9330
|
// src/modules/interview/dto/update-interview-setting.dto.ts
|
|
@@ -9293,7 +9333,7 @@ import {
|
|
|
9293
9333
|
IsOptional as IsOptional64,
|
|
9294
9334
|
IsString as IsString66
|
|
9295
9335
|
} from "class-validator";
|
|
9296
|
-
import { Type as
|
|
9336
|
+
import { Type as Type21 } from "class-transformer";
|
|
9297
9337
|
var UpdateInterviewSettingDto = class {
|
|
9298
9338
|
};
|
|
9299
9339
|
__decorateClass([
|
|
@@ -9303,7 +9343,7 @@ __decorateClass([
|
|
|
9303
9343
|
__decorateClass([
|
|
9304
9344
|
IsOptional64(),
|
|
9305
9345
|
IsBoolean18({ message: "Allow proctoring must be a boolean." }),
|
|
9306
|
-
|
|
9346
|
+
Type21(() => Boolean)
|
|
9307
9347
|
], UpdateInterviewSettingDto.prototype, "allowProctoring", 2);
|
|
9308
9348
|
__decorateClass([
|
|
9309
9349
|
IsOptional64(),
|
|
@@ -9326,6 +9366,15 @@ __decorateClass([
|
|
|
9326
9366
|
IsString66({ message: "End interview message must be a string." })
|
|
9327
9367
|
], UpdateInterviewSettingDto.prototype, "endInterviewMessage", 2);
|
|
9328
9368
|
|
|
9369
|
+
// src/modules/interview/dto/update-interview-type-information.dto.ts
|
|
9370
|
+
import { IsOptional as IsOptional65, IsString as IsString67 } from "class-validator";
|
|
9371
|
+
var UpdateInterviewTypeInformationDto = class {
|
|
9372
|
+
};
|
|
9373
|
+
__decorateClass([
|
|
9374
|
+
IsOptional65(),
|
|
9375
|
+
IsString67({ message: "Interview type must be a string." })
|
|
9376
|
+
], UpdateInterviewTypeInformationDto.prototype, "interviewType", 2);
|
|
9377
|
+
|
|
9329
9378
|
// src/modules/contract/pattern/pattern.ts
|
|
9330
9379
|
var CONTRACT_PATTERN = {
|
|
9331
9380
|
generateContract: "generate.contract",
|
|
@@ -9362,17 +9411,17 @@ var CONTRACT_PATTERN = {
|
|
|
9362
9411
|
|
|
9363
9412
|
// src/modules/contract/dto/sign-contract-for-client.dto.ts
|
|
9364
9413
|
import { IsEnum as IsEnum35, IsNotEmpty as IsNotEmpty88, IsNumber as IsNumber20 } from "class-validator";
|
|
9365
|
-
import { Type as
|
|
9414
|
+
import { Type as Type22 } from "class-transformer";
|
|
9366
9415
|
var SignContractForClientDto = class {
|
|
9367
9416
|
};
|
|
9368
9417
|
__decorateClass([
|
|
9369
9418
|
IsNotEmpty88({ message: "Job Id is required." }),
|
|
9370
|
-
|
|
9419
|
+
Type22(() => Number),
|
|
9371
9420
|
IsNumber20({}, { message: "Job ID must be a number." })
|
|
9372
9421
|
], SignContractForClientDto.prototype, "jobId", 2);
|
|
9373
9422
|
__decorateClass([
|
|
9374
9423
|
IsNotEmpty88({ message: "Freelancer ID is required." }),
|
|
9375
|
-
|
|
9424
|
+
Type22(() => Number),
|
|
9376
9425
|
IsNumber20({}, { message: "Freelancer ID must be a number." })
|
|
9377
9426
|
], SignContractForClientDto.prototype, "freelancerId", 2);
|
|
9378
9427
|
__decorateClass([
|
|
@@ -9382,17 +9431,17 @@ __decorateClass([
|
|
|
9382
9431
|
|
|
9383
9432
|
// src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
|
|
9384
9433
|
import { IsEnum as IsEnum36, IsNotEmpty as IsNotEmpty89, IsNumber as IsNumber21 } from "class-validator";
|
|
9385
|
-
import { Type as
|
|
9434
|
+
import { Type as Type23 } from "class-transformer";
|
|
9386
9435
|
var SignContractForFreelancerDto = class {
|
|
9387
9436
|
};
|
|
9388
9437
|
__decorateClass([
|
|
9389
9438
|
IsNotEmpty89({ message: "Job Id is required." }),
|
|
9390
|
-
|
|
9439
|
+
Type23(() => Number),
|
|
9391
9440
|
IsNumber21({}, { message: "Job ID must be a number." })
|
|
9392
9441
|
], SignContractForFreelancerDto.prototype, "jobId", 2);
|
|
9393
9442
|
__decorateClass([
|
|
9394
9443
|
IsNotEmpty89({ message: "Client ID is required." }),
|
|
9395
|
-
|
|
9444
|
+
Type23(() => Number),
|
|
9396
9445
|
IsNumber21({}, { message: "Client ID must be a number." })
|
|
9397
9446
|
], SignContractForFreelancerDto.prototype, "clientId", 2);
|
|
9398
9447
|
__decorateClass([
|
|
@@ -9404,8 +9453,8 @@ __decorateClass([
|
|
|
9404
9453
|
import {
|
|
9405
9454
|
IsNotEmpty as IsNotEmpty90,
|
|
9406
9455
|
IsNumber as IsNumber22,
|
|
9407
|
-
IsOptional as
|
|
9408
|
-
IsString as
|
|
9456
|
+
IsOptional as IsOptional66,
|
|
9457
|
+
IsString as IsString68,
|
|
9409
9458
|
IsUUID as IsUUID23,
|
|
9410
9459
|
IsEnum as IsEnum37,
|
|
9411
9460
|
IsDateString as IsDateString10
|
|
@@ -9434,27 +9483,27 @@ __decorateClass([
|
|
|
9434
9483
|
IsNotEmpty90({ message: "Freelancer ID is required." })
|
|
9435
9484
|
], GenerateContractDto.prototype, "freelancerId", 2);
|
|
9436
9485
|
__decorateClass([
|
|
9437
|
-
|
|
9486
|
+
IsOptional66(),
|
|
9438
9487
|
IsEnum37(ContractTypeEnumDto, {
|
|
9439
9488
|
message: "Contract type must be one of NDA, MSA, SOW, or WORK."
|
|
9440
9489
|
})
|
|
9441
9490
|
], GenerateContractDto.prototype, "contractType", 2);
|
|
9442
9491
|
__decorateClass([
|
|
9443
|
-
|
|
9492
|
+
IsOptional66(),
|
|
9444
9493
|
IsDateString10({}, { message: "Contract start date must be a valid date string." })
|
|
9445
9494
|
], GenerateContractDto.prototype, "contractStartDate", 2);
|
|
9446
9495
|
__decorateClass([
|
|
9447
|
-
|
|
9448
|
-
|
|
9496
|
+
IsOptional66(),
|
|
9497
|
+
IsString68({ message: "Contract invoicing cycle must be a string." })
|
|
9449
9498
|
], GenerateContractDto.prototype, "contractInvoicingCycle", 2);
|
|
9450
9499
|
__decorateClass([
|
|
9451
|
-
|
|
9500
|
+
IsOptional66(),
|
|
9452
9501
|
IsEnum37(ContractSourceEnum, {
|
|
9453
9502
|
message: "Source must be one of AI_INTERVIEW, F2F_INTERVIEW, or JOB."
|
|
9454
9503
|
})
|
|
9455
9504
|
], GenerateContractDto.prototype, "source", 2);
|
|
9456
9505
|
__decorateClass([
|
|
9457
|
-
|
|
9506
|
+
IsOptional66(),
|
|
9458
9507
|
IsUUID23("4", { message: "Source UUID must be a valid UUID." })
|
|
9459
9508
|
], GenerateContractDto.prototype, "sourceUuid", 2);
|
|
9460
9509
|
|
|
@@ -9494,6 +9543,15 @@ __decorateClass([
|
|
|
9494
9543
|
IsNotEmpty94({ message: "Contract UUID is required." })
|
|
9495
9544
|
], SendNdaContractToFreelancerDto.prototype, "contractUuid", 2);
|
|
9496
9545
|
|
|
9546
|
+
// src/modules/contract/dto/reject-contract.dto.ts
|
|
9547
|
+
import { IsOptional as IsOptional67, IsString as IsString70 } from "class-validator";
|
|
9548
|
+
var RejectContractDto = class {
|
|
9549
|
+
};
|
|
9550
|
+
__decorateClass([
|
|
9551
|
+
IsOptional67(),
|
|
9552
|
+
IsString70({ message: "Reject reason must be a string." })
|
|
9553
|
+
], RejectContractDto.prototype, "rejectReason", 2);
|
|
9554
|
+
|
|
9497
9555
|
// src/modules/stripe/pattern/pattern.ts
|
|
9498
9556
|
var STRIPE_PATTERN = {
|
|
9499
9557
|
handleStripeWebhookEvent: "handle.stripe.webhook.event",
|
|
@@ -9525,7 +9583,7 @@ __decorateClass([
|
|
|
9525
9583
|
], CreateCheckoutSessionDto.prototype, "amount", 2);
|
|
9526
9584
|
|
|
9527
9585
|
// src/modules/stripe/dto/pre-checkout-calculation.dto.ts
|
|
9528
|
-
import { IsNotEmpty as IsNotEmpty96, IsNumber as IsNumber23, IsOptional as
|
|
9586
|
+
import { IsNotEmpty as IsNotEmpty96, IsNumber as IsNumber23, IsOptional as IsOptional68, IsString as IsString71 } from "class-validator";
|
|
9529
9587
|
var PreCheckoutCalculationDto = class {
|
|
9530
9588
|
};
|
|
9531
9589
|
__decorateClass([
|
|
@@ -9533,16 +9591,16 @@ __decorateClass([
|
|
|
9533
9591
|
IsNumber23({}, { message: "Amount must be a number" })
|
|
9534
9592
|
], PreCheckoutCalculationDto.prototype, "amount", 2);
|
|
9535
9593
|
__decorateClass([
|
|
9536
|
-
|
|
9537
|
-
|
|
9594
|
+
IsOptional68(),
|
|
9595
|
+
IsString71()
|
|
9538
9596
|
], PreCheckoutCalculationDto.prototype, "currency", 2);
|
|
9539
9597
|
__decorateClass([
|
|
9540
|
-
|
|
9541
|
-
|
|
9598
|
+
IsOptional68(),
|
|
9599
|
+
IsString71()
|
|
9542
9600
|
], PreCheckoutCalculationDto.prototype, "description", 2);
|
|
9543
9601
|
|
|
9544
9602
|
// src/modules/stripe/dto/client-add-fund.dto.ts
|
|
9545
|
-
import { IsNotEmpty as IsNotEmpty97, IsNumber as IsNumber24, IsOptional as
|
|
9603
|
+
import { IsNotEmpty as IsNotEmpty97, IsNumber as IsNumber24, IsOptional as IsOptional69, IsString as IsString72 } from "class-validator";
|
|
9546
9604
|
var ClientAddFundDto = class {
|
|
9547
9605
|
};
|
|
9548
9606
|
__decorateClass([
|
|
@@ -9550,12 +9608,12 @@ __decorateClass([
|
|
|
9550
9608
|
IsNumber24({}, { message: "Amount must be a number" })
|
|
9551
9609
|
], ClientAddFundDto.prototype, "amount", 2);
|
|
9552
9610
|
__decorateClass([
|
|
9553
|
-
|
|
9554
|
-
|
|
9611
|
+
IsOptional69(),
|
|
9612
|
+
IsString72()
|
|
9555
9613
|
], ClientAddFundDto.prototype, "currency", 2);
|
|
9556
9614
|
__decorateClass([
|
|
9557
|
-
|
|
9558
|
-
|
|
9615
|
+
IsOptional69(),
|
|
9616
|
+
IsString72()
|
|
9559
9617
|
], ClientAddFundDto.prototype, "description", 2);
|
|
9560
9618
|
|
|
9561
9619
|
// src/modules/stripe/dto/transfer-funds.dto.ts
|
|
@@ -9612,8 +9670,8 @@ import {
|
|
|
9612
9670
|
IsDateString as IsDateString11,
|
|
9613
9671
|
IsInt as IsInt13,
|
|
9614
9672
|
IsNotEmpty as IsNotEmpty99,
|
|
9615
|
-
IsOptional as
|
|
9616
|
-
IsString as
|
|
9673
|
+
IsOptional as IsOptional70,
|
|
9674
|
+
IsString as IsString73,
|
|
9617
9675
|
Matches as Matches13,
|
|
9618
9676
|
IsNumber as IsNumber25
|
|
9619
9677
|
} from "class-validator";
|
|
@@ -9644,20 +9702,20 @@ __decorateClass([
|
|
|
9644
9702
|
})
|
|
9645
9703
|
], CreateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
9646
9704
|
__decorateClass([
|
|
9647
|
-
|
|
9705
|
+
IsOptional70(),
|
|
9648
9706
|
IsInt13()
|
|
9649
9707
|
], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
9650
9708
|
__decorateClass([
|
|
9651
|
-
|
|
9652
|
-
|
|
9709
|
+
IsOptional70(),
|
|
9710
|
+
IsString73()
|
|
9653
9711
|
], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
9654
9712
|
__decorateClass([
|
|
9655
|
-
|
|
9656
|
-
|
|
9713
|
+
IsOptional70(),
|
|
9714
|
+
IsString73()
|
|
9657
9715
|
], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
9658
9716
|
__decorateClass([
|
|
9659
|
-
|
|
9660
|
-
|
|
9717
|
+
IsOptional70(),
|
|
9718
|
+
IsString73()
|
|
9661
9719
|
], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
9662
9720
|
__decorateClass([
|
|
9663
9721
|
IsNotEmpty99({ message: "Description is required" })
|
|
@@ -9668,8 +9726,8 @@ import {
|
|
|
9668
9726
|
IsDateString as IsDateString12,
|
|
9669
9727
|
IsInt as IsInt14,
|
|
9670
9728
|
IsNotEmpty as IsNotEmpty100,
|
|
9671
|
-
IsOptional as
|
|
9672
|
-
IsString as
|
|
9729
|
+
IsOptional as IsOptional71,
|
|
9730
|
+
IsString as IsString74,
|
|
9673
9731
|
Matches as Matches14,
|
|
9674
9732
|
IsNumber as IsNumber26
|
|
9675
9733
|
} from "class-validator";
|
|
@@ -9700,20 +9758,20 @@ __decorateClass([
|
|
|
9700
9758
|
})
|
|
9701
9759
|
], UpdateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
9702
9760
|
__decorateClass([
|
|
9703
|
-
|
|
9761
|
+
IsOptional71(),
|
|
9704
9762
|
IsInt14()
|
|
9705
9763
|
], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
9706
9764
|
__decorateClass([
|
|
9707
|
-
|
|
9708
|
-
|
|
9765
|
+
IsOptional71(),
|
|
9766
|
+
IsString74()
|
|
9709
9767
|
], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
9710
9768
|
__decorateClass([
|
|
9711
|
-
|
|
9712
|
-
|
|
9769
|
+
IsOptional71(),
|
|
9770
|
+
IsString74()
|
|
9713
9771
|
], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
9714
9772
|
__decorateClass([
|
|
9715
|
-
|
|
9716
|
-
|
|
9773
|
+
IsOptional71(),
|
|
9774
|
+
IsString74()
|
|
9717
9775
|
], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
9718
9776
|
__decorateClass([
|
|
9719
9777
|
IsNotEmpty100({ message: "Description is required" })
|
|
@@ -9739,28 +9797,28 @@ __decorateClass([
|
|
|
9739
9797
|
|
|
9740
9798
|
// src/modules/timesheet/dto/approve-timesheets.dto.ts
|
|
9741
9799
|
import { IsNotEmpty as IsNotEmpty103, IsNumber as IsNumber29 } from "class-validator";
|
|
9742
|
-
import { Type as
|
|
9800
|
+
import { Type as Type24 } from "class-transformer";
|
|
9743
9801
|
var ApproveTimesheetsDto = class {
|
|
9744
9802
|
};
|
|
9745
9803
|
__decorateClass([
|
|
9746
9804
|
IsNumber29({}, { message: "Timesheet line ID must be a number." }),
|
|
9747
9805
|
IsNotEmpty103({ message: "Timesheet line ID is required." }),
|
|
9748
|
-
|
|
9806
|
+
Type24(() => Number)
|
|
9749
9807
|
], ApproveTimesheetsDto.prototype, "timesheetLineId", 2);
|
|
9750
9808
|
|
|
9751
9809
|
// src/modules/timesheet/dto/send-back-timesheets.dto.ts
|
|
9752
|
-
import { IsNotEmpty as IsNotEmpty104, IsNumber as IsNumber30, IsOptional as
|
|
9753
|
-
import { Type as
|
|
9810
|
+
import { IsNotEmpty as IsNotEmpty104, IsNumber as IsNumber30, IsOptional as IsOptional72, IsString as IsString75 } from "class-validator";
|
|
9811
|
+
import { Type as Type25 } from "class-transformer";
|
|
9754
9812
|
var SendBackTimesheetsDto = class {
|
|
9755
9813
|
};
|
|
9756
9814
|
__decorateClass([
|
|
9757
9815
|
IsNumber30({}, { message: "Timesheet line ID must be a number." }),
|
|
9758
9816
|
IsNotEmpty104({ message: "Timesheet line ID is required." }),
|
|
9759
|
-
|
|
9817
|
+
Type25(() => Number)
|
|
9760
9818
|
], SendBackTimesheetsDto.prototype, "timesheetLineId", 2);
|
|
9761
9819
|
__decorateClass([
|
|
9762
|
-
|
|
9763
|
-
|
|
9820
|
+
IsOptional72(),
|
|
9821
|
+
IsString75({ message: "Client send back reason must be a string." })
|
|
9764
9822
|
], SendBackTimesheetsDto.prototype, "clientSendBackReason", 2);
|
|
9765
9823
|
|
|
9766
9824
|
// src/modules/timesheet/dto/create-default-timesheet-line.dto.ts
|
|
@@ -9827,49 +9885,49 @@ var DISPUTE_PATTERN = {
|
|
|
9827
9885
|
|
|
9828
9886
|
// src/modules/dispute/dto/create-dispute.dto.ts
|
|
9829
9887
|
import {
|
|
9830
|
-
IsString as
|
|
9888
|
+
IsString as IsString76,
|
|
9831
9889
|
IsNotEmpty as IsNotEmpty108,
|
|
9832
9890
|
IsIn as IsIn4,
|
|
9833
|
-
IsOptional as
|
|
9891
|
+
IsOptional as IsOptional73,
|
|
9834
9892
|
MaxLength as MaxLength21,
|
|
9835
9893
|
IsObject as IsObject7,
|
|
9836
9894
|
IsNumber as IsNumber33,
|
|
9837
9895
|
ValidateIf as ValidateIf11
|
|
9838
9896
|
} from "class-validator";
|
|
9839
|
-
import { Transform as Transform4, Type as
|
|
9897
|
+
import { Transform as Transform4, Type as Type26 } from "class-transformer";
|
|
9840
9898
|
var CreateDisputeDto = class {
|
|
9841
9899
|
};
|
|
9842
9900
|
__decorateClass([
|
|
9843
9901
|
ValidateIf11((o) => o.initiatorType === "FREELANCER" /* FREELANCER */),
|
|
9844
9902
|
IsNumber33({}, { message: "Client id must be a number" }),
|
|
9845
|
-
|
|
9903
|
+
Type26(() => Number)
|
|
9846
9904
|
], CreateDisputeDto.prototype, "clientId", 2);
|
|
9847
9905
|
__decorateClass([
|
|
9848
9906
|
ValidateIf11((o) => o.initiatorType === "CLIENT" /* CLIENT */),
|
|
9849
9907
|
IsNumber33({}, { message: "Freelancer id must be a number" }),
|
|
9850
|
-
|
|
9908
|
+
Type26(() => Number)
|
|
9851
9909
|
], CreateDisputeDto.prototype, "freelancerId", 2);
|
|
9852
9910
|
__decorateClass([
|
|
9853
9911
|
IsNotEmpty108({ message: "Please select dispute type." }),
|
|
9854
|
-
|
|
9912
|
+
IsString76(),
|
|
9855
9913
|
IsIn4(["JOB", "INVOICE"])
|
|
9856
9914
|
], CreateDisputeDto.prototype, "disputeType", 2);
|
|
9857
9915
|
__decorateClass([
|
|
9858
9916
|
IsNotEmpty108({ message: "Please provide initiator type." }),
|
|
9859
|
-
|
|
9917
|
+
IsString76()
|
|
9860
9918
|
], CreateDisputeDto.prototype, "initiatorType", 2);
|
|
9861
9919
|
__decorateClass([
|
|
9862
9920
|
IsNotEmpty108({ message: "Please enter description." }),
|
|
9863
|
-
|
|
9921
|
+
IsString76({ message: "Description must be a string" }),
|
|
9864
9922
|
MaxLength21(500, { message: "Description must not exceed 500 characters" })
|
|
9865
9923
|
], CreateDisputeDto.prototype, "description", 2);
|
|
9866
9924
|
__decorateClass([
|
|
9867
|
-
|
|
9868
|
-
|
|
9925
|
+
IsOptional73(),
|
|
9926
|
+
IsString76({ message: "Comment must be a string" }),
|
|
9869
9927
|
MaxLength21(500, { message: "Comment must not exceed 500 characters" })
|
|
9870
9928
|
], CreateDisputeDto.prototype, "comment", 2);
|
|
9871
9929
|
__decorateClass([
|
|
9872
|
-
|
|
9930
|
+
IsOptional73(),
|
|
9873
9931
|
IsObject7({ message: "Dynamic fields must be a valid object" }),
|
|
9874
9932
|
Transform4(({ value }) => {
|
|
9875
9933
|
if (typeof value === "string") {
|
|
@@ -9904,20 +9962,20 @@ __decorateClass([
|
|
|
9904
9962
|
], AiInterviewQuestionGenerateDto.prototype, "numQuestions", 2);
|
|
9905
9963
|
|
|
9906
9964
|
// src/modules/senseloaf/dto/resume-parsing-by-url.dto.ts
|
|
9907
|
-
import { IsNotEmpty as IsNotEmpty110, IsString as
|
|
9965
|
+
import { IsNotEmpty as IsNotEmpty110, IsString as IsString77, IsOptional as IsOptional74 } from "class-validator";
|
|
9908
9966
|
var ResumeParsingByUrlDto = class {
|
|
9909
9967
|
};
|
|
9910
9968
|
__decorateClass([
|
|
9911
9969
|
IsNotEmpty110({ message: "Resume URL is required" }),
|
|
9912
|
-
|
|
9970
|
+
IsString77({ message: "Resume URL must be a string" })
|
|
9913
9971
|
], ResumeParsingByUrlDto.prototype, "resumeUrl", 2);
|
|
9914
9972
|
__decorateClass([
|
|
9915
|
-
|
|
9916
|
-
|
|
9973
|
+
IsOptional74(),
|
|
9974
|
+
IsString77()
|
|
9917
9975
|
], ResumeParsingByUrlDto.prototype, "fileName", 2);
|
|
9918
9976
|
|
|
9919
9977
|
// src/modules/senseloaf/dto/resume-data-processing.dto.ts
|
|
9920
|
-
import { IsNotEmpty as IsNotEmpty111, IsString as
|
|
9978
|
+
import { IsNotEmpty as IsNotEmpty111, IsString as IsString78, IsOptional as IsOptional75, IsObject as IsObject8 } from "class-validator";
|
|
9921
9979
|
var ResumeDataProcessingDto = class {
|
|
9922
9980
|
};
|
|
9923
9981
|
__decorateClass([
|
|
@@ -9925,16 +9983,16 @@ __decorateClass([
|
|
|
9925
9983
|
IsObject8()
|
|
9926
9984
|
], ResumeDataProcessingDto.prototype, "resumeData", 2);
|
|
9927
9985
|
__decorateClass([
|
|
9928
|
-
|
|
9929
|
-
|
|
9986
|
+
IsOptional75(),
|
|
9987
|
+
IsString78()
|
|
9930
9988
|
], ResumeDataProcessingDto.prototype, "userId", 2);
|
|
9931
9989
|
__decorateClass([
|
|
9932
|
-
|
|
9933
|
-
|
|
9990
|
+
IsOptional75(),
|
|
9991
|
+
IsString78()
|
|
9934
9992
|
], ResumeDataProcessingDto.prototype, "processingType", 2);
|
|
9935
9993
|
|
|
9936
9994
|
// src/modules/senseloaf/dto/check-resume-eligibility.dto.ts
|
|
9937
|
-
import { IsNotEmpty as IsNotEmpty112, IsString as
|
|
9995
|
+
import { IsNotEmpty as IsNotEmpty112, IsString as IsString79, IsOptional as IsOptional76, IsObject as IsObject9 } from "class-validator";
|
|
9938
9996
|
var CheckResumeEligibilityDto = class {
|
|
9939
9997
|
};
|
|
9940
9998
|
__decorateClass([
|
|
@@ -9942,76 +10000,76 @@ __decorateClass([
|
|
|
9942
10000
|
IsObject9()
|
|
9943
10001
|
], CheckResumeEligibilityDto.prototype, "resumeData", 2);
|
|
9944
10002
|
__decorateClass([
|
|
9945
|
-
|
|
9946
|
-
|
|
10003
|
+
IsOptional76(),
|
|
10004
|
+
IsString79()
|
|
9947
10005
|
], CheckResumeEligibilityDto.prototype, "jobId", 2);
|
|
9948
10006
|
__decorateClass([
|
|
9949
|
-
|
|
9950
|
-
|
|
10007
|
+
IsOptional76(),
|
|
10008
|
+
IsString79()
|
|
9951
10009
|
], CheckResumeEligibilityDto.prototype, "userId", 2);
|
|
9952
10010
|
|
|
9953
10011
|
// src/modules/senseloaf/dto/ai-interview-template-generation.dto.ts
|
|
9954
|
-
import { IsNotEmpty as IsNotEmpty113, IsString as
|
|
10012
|
+
import { IsNotEmpty as IsNotEmpty113, IsString as IsString80, IsOptional as IsOptional77, IsArray as IsArray24, IsNumber as IsNumber34 } from "class-validator";
|
|
9955
10013
|
var AiInterviewTemplateGenerationDto = class {
|
|
9956
10014
|
};
|
|
9957
10015
|
__decorateClass([
|
|
9958
10016
|
IsNotEmpty113({ message: "Job ID is required" }),
|
|
9959
|
-
|
|
10017
|
+
IsString80({ message: "Job ID must be a string" })
|
|
9960
10018
|
], AiInterviewTemplateGenerationDto.prototype, "jobId", 2);
|
|
9961
10019
|
__decorateClass([
|
|
9962
|
-
|
|
10020
|
+
IsOptional77(),
|
|
9963
10021
|
IsArray24(),
|
|
9964
|
-
|
|
10022
|
+
IsString80({ each: true, message: "Each skill must be a string" })
|
|
9965
10023
|
], AiInterviewTemplateGenerationDto.prototype, "skills", 2);
|
|
9966
10024
|
__decorateClass([
|
|
9967
|
-
|
|
10025
|
+
IsOptional77(),
|
|
9968
10026
|
IsNumber34({}, { message: "Number of questions must be a number" })
|
|
9969
10027
|
], AiInterviewTemplateGenerationDto.prototype, "numberOfQuestions", 2);
|
|
9970
10028
|
__decorateClass([
|
|
9971
|
-
|
|
9972
|
-
|
|
10029
|
+
IsOptional77(),
|
|
10030
|
+
IsString80()
|
|
9973
10031
|
], AiInterviewTemplateGenerationDto.prototype, "difficulty", 2);
|
|
9974
10032
|
|
|
9975
10033
|
// src/modules/senseloaf/dto/ai-interview-link-generation.dto.ts
|
|
9976
|
-
import { IsNotEmpty as IsNotEmpty114, IsString as
|
|
10034
|
+
import { IsNotEmpty as IsNotEmpty114, IsString as IsString81, IsOptional as IsOptional78, IsNumber as IsNumber35 } from "class-validator";
|
|
9977
10035
|
var AiInterviewLinkGenerationDto = class {
|
|
9978
10036
|
};
|
|
9979
10037
|
__decorateClass([
|
|
9980
10038
|
IsNotEmpty114({ message: "Template ID is required" }),
|
|
9981
|
-
|
|
10039
|
+
IsString81({ message: "Template ID must be a string" })
|
|
9982
10040
|
], AiInterviewLinkGenerationDto.prototype, "templateId", 2);
|
|
9983
10041
|
__decorateClass([
|
|
9984
10042
|
IsNotEmpty114({ message: "Freelancer ID is required" }),
|
|
9985
|
-
|
|
10043
|
+
IsString81({ message: "Freelancer ID must be a string" })
|
|
9986
10044
|
], AiInterviewLinkGenerationDto.prototype, "freelancerId", 2);
|
|
9987
10045
|
__decorateClass([
|
|
9988
|
-
|
|
9989
|
-
|
|
10046
|
+
IsOptional78(),
|
|
10047
|
+
IsString81()
|
|
9990
10048
|
], AiInterviewLinkGenerationDto.prototype, "jobId", 2);
|
|
9991
10049
|
__decorateClass([
|
|
9992
|
-
|
|
10050
|
+
IsOptional78(),
|
|
9993
10051
|
IsNumber35({}, { message: "Expiry hours must be a number" })
|
|
9994
10052
|
], AiInterviewLinkGenerationDto.prototype, "expiryHours", 2);
|
|
9995
10053
|
|
|
9996
10054
|
// src/modules/senseloaf/dto/ai-assessment-creation.dto.ts
|
|
9997
|
-
import { IsNotEmpty as IsNotEmpty115, IsString as
|
|
10055
|
+
import { IsNotEmpty as IsNotEmpty115, IsString as IsString82, IsOptional as IsOptional79, IsNumber as IsNumber36 } from "class-validator";
|
|
9998
10056
|
var AiAssessmentCreationDto = class {
|
|
9999
10057
|
};
|
|
10000
10058
|
__decorateClass([
|
|
10001
10059
|
IsNotEmpty115({ message: "User ID is required" }),
|
|
10002
|
-
|
|
10060
|
+
IsString82({ message: "User ID must be a string" })
|
|
10003
10061
|
], AiAssessmentCreationDto.prototype, "userId", 2);
|
|
10004
10062
|
__decorateClass([
|
|
10005
|
-
|
|
10006
|
-
|
|
10063
|
+
IsOptional79(),
|
|
10064
|
+
IsString82()
|
|
10007
10065
|
], AiAssessmentCreationDto.prototype, "assessmentType", 2);
|
|
10008
10066
|
__decorateClass([
|
|
10009
|
-
|
|
10067
|
+
IsOptional79(),
|
|
10010
10068
|
IsNumber36({}, { message: "Number of questions must be a number" })
|
|
10011
10069
|
], AiAssessmentCreationDto.prototype, "numberOfQuestions", 2);
|
|
10012
10070
|
__decorateClass([
|
|
10013
|
-
|
|
10014
|
-
|
|
10071
|
+
IsOptional79(),
|
|
10072
|
+
IsString82()
|
|
10015
10073
|
], AiAssessmentCreationDto.prototype, "difficulty", 2);
|
|
10016
10074
|
|
|
10017
10075
|
// src/modules/commission/pattern/pattern.ts
|
|
@@ -10057,16 +10115,16 @@ var SIGNATURE_PATTERN = {
|
|
|
10057
10115
|
};
|
|
10058
10116
|
|
|
10059
10117
|
// src/modules/user/signature/dto/save-signature.dto.ts
|
|
10060
|
-
import { IsOptional as
|
|
10118
|
+
import { IsOptional as IsOptional80, IsString as IsString83 } from "class-validator";
|
|
10061
10119
|
var SaveSignatureDto = class {
|
|
10062
10120
|
};
|
|
10063
10121
|
__decorateClass([
|
|
10064
|
-
|
|
10065
|
-
|
|
10122
|
+
IsOptional80(),
|
|
10123
|
+
IsString83()
|
|
10066
10124
|
], SaveSignatureDto.prototype, "signatureType", 2);
|
|
10067
10125
|
__decorateClass([
|
|
10068
|
-
|
|
10069
|
-
|
|
10126
|
+
IsOptional80(),
|
|
10127
|
+
IsString83()
|
|
10070
10128
|
], SaveSignatureDto.prototype, "description", 2);
|
|
10071
10129
|
|
|
10072
10130
|
// src/modules/wallet/pattern/pattern.ts
|
|
@@ -11399,6 +11457,7 @@ export {
|
|
|
11399
11457
|
RefreshDto,
|
|
11400
11458
|
RefreshToken,
|
|
11401
11459
|
RejectAIInterviewRescheduleRequestDto,
|
|
11460
|
+
RejectContractDto,
|
|
11402
11461
|
RejectF2FInterviewRescheduleRequestDto,
|
|
11403
11462
|
ResetPasswordDto,
|
|
11404
11463
|
ResetPasswordTokenValidationDto,
|
|
@@ -11483,6 +11542,7 @@ export {
|
|
|
11483
11542
|
UpdateFreelancerTimesheetDto,
|
|
11484
11543
|
UpdateInterviewBasicInformationDto,
|
|
11485
11544
|
UpdateInterviewSettingDto,
|
|
11545
|
+
UpdateInterviewTypeInformationDto,
|
|
11486
11546
|
UpdateInvoiceStatusDto,
|
|
11487
11547
|
UpdateSubAdminAccountStatusDto,
|
|
11488
11548
|
UpdateSubAdminDto,
|