@experts_hub/shared 1.0.598 → 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 +274 -213
- package/dist/index.mjs +198 -140
- 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
|
|
|
@@ -9212,15 +9252,13 @@ import {
|
|
|
9212
9252
|
IsNotEmpty as IsNotEmpty86,
|
|
9213
9253
|
IsOptional as IsOptional62,
|
|
9214
9254
|
IsString as IsString64,
|
|
9215
|
-
IsUUID as IsUUID21,
|
|
9216
9255
|
ValidateNested as ValidateNested9
|
|
9217
9256
|
} from "class-validator";
|
|
9218
|
-
import { Type as
|
|
9257
|
+
import { Type as Type19 } from "class-transformer";
|
|
9219
9258
|
var InterviewSkillItemDto = class {
|
|
9220
9259
|
};
|
|
9221
9260
|
__decorateClass([
|
|
9222
|
-
IsOptional62()
|
|
9223
|
-
IsUUID21("4", { message: "Skill UUID must be a valid UUID." })
|
|
9261
|
+
IsOptional62()
|
|
9224
9262
|
], InterviewSkillItemDto.prototype, "uuid", 2);
|
|
9225
9263
|
__decorateClass([
|
|
9226
9264
|
IsString64({ message: "Skill name must be a string." }),
|
|
@@ -9236,7 +9274,7 @@ __decorateClass([
|
|
|
9236
9274
|
IsArray22({ message: "Skills must be an array." }),
|
|
9237
9275
|
IsNotEmpty86({ message: "At least one skill is required." }),
|
|
9238
9276
|
ValidateNested9({ each: true }),
|
|
9239
|
-
|
|
9277
|
+
Type19(() => InterviewSkillItemDto)
|
|
9240
9278
|
], CreateInterviewSkillsDto.prototype, "skills", 2);
|
|
9241
9279
|
|
|
9242
9280
|
// src/modules/interview/dto/create-interview-questions.dto.ts
|
|
@@ -9248,7 +9286,7 @@ import {
|
|
|
9248
9286
|
IsUUID as IsUUID22,
|
|
9249
9287
|
ValidateNested as ValidateNested10
|
|
9250
9288
|
} from "class-validator";
|
|
9251
|
-
import { Type as
|
|
9289
|
+
import { Type as Type20 } from "class-transformer";
|
|
9252
9290
|
var CustomQuestionItemDto = class {
|
|
9253
9291
|
};
|
|
9254
9292
|
__decorateClass([
|
|
@@ -9280,13 +9318,13 @@ __decorateClass([
|
|
|
9280
9318
|
IsOptional63(),
|
|
9281
9319
|
IsArray23({ message: "Questions must be an array." }),
|
|
9282
9320
|
ValidateNested10({ each: true }),
|
|
9283
|
-
|
|
9321
|
+
Type20(() => CustomQuestionItemDto)
|
|
9284
9322
|
], CreateInterviewQuestionsDto.prototype, "questions", 2);
|
|
9285
9323
|
__decorateClass([
|
|
9286
9324
|
IsOptional63(),
|
|
9287
9325
|
IsArray23({ message: "AI questions must be an array." }),
|
|
9288
9326
|
ValidateNested10({ each: true }),
|
|
9289
|
-
|
|
9327
|
+
Type20(() => AiQuestionItemDto)
|
|
9290
9328
|
], CreateInterviewQuestionsDto.prototype, "aiQuestions", 2);
|
|
9291
9329
|
|
|
9292
9330
|
// src/modules/interview/dto/update-interview-setting.dto.ts
|
|
@@ -9295,7 +9333,7 @@ import {
|
|
|
9295
9333
|
IsOptional as IsOptional64,
|
|
9296
9334
|
IsString as IsString66
|
|
9297
9335
|
} from "class-validator";
|
|
9298
|
-
import { Type as
|
|
9336
|
+
import { Type as Type21 } from "class-transformer";
|
|
9299
9337
|
var UpdateInterviewSettingDto = class {
|
|
9300
9338
|
};
|
|
9301
9339
|
__decorateClass([
|
|
@@ -9305,7 +9343,7 @@ __decorateClass([
|
|
|
9305
9343
|
__decorateClass([
|
|
9306
9344
|
IsOptional64(),
|
|
9307
9345
|
IsBoolean18({ message: "Allow proctoring must be a boolean." }),
|
|
9308
|
-
|
|
9346
|
+
Type21(() => Boolean)
|
|
9309
9347
|
], UpdateInterviewSettingDto.prototype, "allowProctoring", 2);
|
|
9310
9348
|
__decorateClass([
|
|
9311
9349
|
IsOptional64(),
|
|
@@ -9328,6 +9366,15 @@ __decorateClass([
|
|
|
9328
9366
|
IsString66({ message: "End interview message must be a string." })
|
|
9329
9367
|
], UpdateInterviewSettingDto.prototype, "endInterviewMessage", 2);
|
|
9330
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
|
+
|
|
9331
9378
|
// src/modules/contract/pattern/pattern.ts
|
|
9332
9379
|
var CONTRACT_PATTERN = {
|
|
9333
9380
|
generateContract: "generate.contract",
|
|
@@ -9364,17 +9411,17 @@ var CONTRACT_PATTERN = {
|
|
|
9364
9411
|
|
|
9365
9412
|
// src/modules/contract/dto/sign-contract-for-client.dto.ts
|
|
9366
9413
|
import { IsEnum as IsEnum35, IsNotEmpty as IsNotEmpty88, IsNumber as IsNumber20 } from "class-validator";
|
|
9367
|
-
import { Type as
|
|
9414
|
+
import { Type as Type22 } from "class-transformer";
|
|
9368
9415
|
var SignContractForClientDto = class {
|
|
9369
9416
|
};
|
|
9370
9417
|
__decorateClass([
|
|
9371
9418
|
IsNotEmpty88({ message: "Job Id is required." }),
|
|
9372
|
-
|
|
9419
|
+
Type22(() => Number),
|
|
9373
9420
|
IsNumber20({}, { message: "Job ID must be a number." })
|
|
9374
9421
|
], SignContractForClientDto.prototype, "jobId", 2);
|
|
9375
9422
|
__decorateClass([
|
|
9376
9423
|
IsNotEmpty88({ message: "Freelancer ID is required." }),
|
|
9377
|
-
|
|
9424
|
+
Type22(() => Number),
|
|
9378
9425
|
IsNumber20({}, { message: "Freelancer ID must be a number." })
|
|
9379
9426
|
], SignContractForClientDto.prototype, "freelancerId", 2);
|
|
9380
9427
|
__decorateClass([
|
|
@@ -9384,17 +9431,17 @@ __decorateClass([
|
|
|
9384
9431
|
|
|
9385
9432
|
// src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
|
|
9386
9433
|
import { IsEnum as IsEnum36, IsNotEmpty as IsNotEmpty89, IsNumber as IsNumber21 } from "class-validator";
|
|
9387
|
-
import { Type as
|
|
9434
|
+
import { Type as Type23 } from "class-transformer";
|
|
9388
9435
|
var SignContractForFreelancerDto = class {
|
|
9389
9436
|
};
|
|
9390
9437
|
__decorateClass([
|
|
9391
9438
|
IsNotEmpty89({ message: "Job Id is required." }),
|
|
9392
|
-
|
|
9439
|
+
Type23(() => Number),
|
|
9393
9440
|
IsNumber21({}, { message: "Job ID must be a number." })
|
|
9394
9441
|
], SignContractForFreelancerDto.prototype, "jobId", 2);
|
|
9395
9442
|
__decorateClass([
|
|
9396
9443
|
IsNotEmpty89({ message: "Client ID is required." }),
|
|
9397
|
-
|
|
9444
|
+
Type23(() => Number),
|
|
9398
9445
|
IsNumber21({}, { message: "Client ID must be a number." })
|
|
9399
9446
|
], SignContractForFreelancerDto.prototype, "clientId", 2);
|
|
9400
9447
|
__decorateClass([
|
|
@@ -9406,8 +9453,8 @@ __decorateClass([
|
|
|
9406
9453
|
import {
|
|
9407
9454
|
IsNotEmpty as IsNotEmpty90,
|
|
9408
9455
|
IsNumber as IsNumber22,
|
|
9409
|
-
IsOptional as
|
|
9410
|
-
IsString as
|
|
9456
|
+
IsOptional as IsOptional66,
|
|
9457
|
+
IsString as IsString68,
|
|
9411
9458
|
IsUUID as IsUUID23,
|
|
9412
9459
|
IsEnum as IsEnum37,
|
|
9413
9460
|
IsDateString as IsDateString10
|
|
@@ -9436,27 +9483,27 @@ __decorateClass([
|
|
|
9436
9483
|
IsNotEmpty90({ message: "Freelancer ID is required." })
|
|
9437
9484
|
], GenerateContractDto.prototype, "freelancerId", 2);
|
|
9438
9485
|
__decorateClass([
|
|
9439
|
-
|
|
9486
|
+
IsOptional66(),
|
|
9440
9487
|
IsEnum37(ContractTypeEnumDto, {
|
|
9441
9488
|
message: "Contract type must be one of NDA, MSA, SOW, or WORK."
|
|
9442
9489
|
})
|
|
9443
9490
|
], GenerateContractDto.prototype, "contractType", 2);
|
|
9444
9491
|
__decorateClass([
|
|
9445
|
-
|
|
9492
|
+
IsOptional66(),
|
|
9446
9493
|
IsDateString10({}, { message: "Contract start date must be a valid date string." })
|
|
9447
9494
|
], GenerateContractDto.prototype, "contractStartDate", 2);
|
|
9448
9495
|
__decorateClass([
|
|
9449
|
-
|
|
9450
|
-
|
|
9496
|
+
IsOptional66(),
|
|
9497
|
+
IsString68({ message: "Contract invoicing cycle must be a string." })
|
|
9451
9498
|
], GenerateContractDto.prototype, "contractInvoicingCycle", 2);
|
|
9452
9499
|
__decorateClass([
|
|
9453
|
-
|
|
9500
|
+
IsOptional66(),
|
|
9454
9501
|
IsEnum37(ContractSourceEnum, {
|
|
9455
9502
|
message: "Source must be one of AI_INTERVIEW, F2F_INTERVIEW, or JOB."
|
|
9456
9503
|
})
|
|
9457
9504
|
], GenerateContractDto.prototype, "source", 2);
|
|
9458
9505
|
__decorateClass([
|
|
9459
|
-
|
|
9506
|
+
IsOptional66(),
|
|
9460
9507
|
IsUUID23("4", { message: "Source UUID must be a valid UUID." })
|
|
9461
9508
|
], GenerateContractDto.prototype, "sourceUuid", 2);
|
|
9462
9509
|
|
|
@@ -9496,6 +9543,15 @@ __decorateClass([
|
|
|
9496
9543
|
IsNotEmpty94({ message: "Contract UUID is required." })
|
|
9497
9544
|
], SendNdaContractToFreelancerDto.prototype, "contractUuid", 2);
|
|
9498
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
|
+
|
|
9499
9555
|
// src/modules/stripe/pattern/pattern.ts
|
|
9500
9556
|
var STRIPE_PATTERN = {
|
|
9501
9557
|
handleStripeWebhookEvent: "handle.stripe.webhook.event",
|
|
@@ -9527,7 +9583,7 @@ __decorateClass([
|
|
|
9527
9583
|
], CreateCheckoutSessionDto.prototype, "amount", 2);
|
|
9528
9584
|
|
|
9529
9585
|
// src/modules/stripe/dto/pre-checkout-calculation.dto.ts
|
|
9530
|
-
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";
|
|
9531
9587
|
var PreCheckoutCalculationDto = class {
|
|
9532
9588
|
};
|
|
9533
9589
|
__decorateClass([
|
|
@@ -9535,16 +9591,16 @@ __decorateClass([
|
|
|
9535
9591
|
IsNumber23({}, { message: "Amount must be a number" })
|
|
9536
9592
|
], PreCheckoutCalculationDto.prototype, "amount", 2);
|
|
9537
9593
|
__decorateClass([
|
|
9538
|
-
|
|
9539
|
-
|
|
9594
|
+
IsOptional68(),
|
|
9595
|
+
IsString71()
|
|
9540
9596
|
], PreCheckoutCalculationDto.prototype, "currency", 2);
|
|
9541
9597
|
__decorateClass([
|
|
9542
|
-
|
|
9543
|
-
|
|
9598
|
+
IsOptional68(),
|
|
9599
|
+
IsString71()
|
|
9544
9600
|
], PreCheckoutCalculationDto.prototype, "description", 2);
|
|
9545
9601
|
|
|
9546
9602
|
// src/modules/stripe/dto/client-add-fund.dto.ts
|
|
9547
|
-
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";
|
|
9548
9604
|
var ClientAddFundDto = class {
|
|
9549
9605
|
};
|
|
9550
9606
|
__decorateClass([
|
|
@@ -9552,12 +9608,12 @@ __decorateClass([
|
|
|
9552
9608
|
IsNumber24({}, { message: "Amount must be a number" })
|
|
9553
9609
|
], ClientAddFundDto.prototype, "amount", 2);
|
|
9554
9610
|
__decorateClass([
|
|
9555
|
-
|
|
9556
|
-
|
|
9611
|
+
IsOptional69(),
|
|
9612
|
+
IsString72()
|
|
9557
9613
|
], ClientAddFundDto.prototype, "currency", 2);
|
|
9558
9614
|
__decorateClass([
|
|
9559
|
-
|
|
9560
|
-
|
|
9615
|
+
IsOptional69(),
|
|
9616
|
+
IsString72()
|
|
9561
9617
|
], ClientAddFundDto.prototype, "description", 2);
|
|
9562
9618
|
|
|
9563
9619
|
// src/modules/stripe/dto/transfer-funds.dto.ts
|
|
@@ -9614,8 +9670,8 @@ import {
|
|
|
9614
9670
|
IsDateString as IsDateString11,
|
|
9615
9671
|
IsInt as IsInt13,
|
|
9616
9672
|
IsNotEmpty as IsNotEmpty99,
|
|
9617
|
-
IsOptional as
|
|
9618
|
-
IsString as
|
|
9673
|
+
IsOptional as IsOptional70,
|
|
9674
|
+
IsString as IsString73,
|
|
9619
9675
|
Matches as Matches13,
|
|
9620
9676
|
IsNumber as IsNumber25
|
|
9621
9677
|
} from "class-validator";
|
|
@@ -9646,20 +9702,20 @@ __decorateClass([
|
|
|
9646
9702
|
})
|
|
9647
9703
|
], CreateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
9648
9704
|
__decorateClass([
|
|
9649
|
-
|
|
9705
|
+
IsOptional70(),
|
|
9650
9706
|
IsInt13()
|
|
9651
9707
|
], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
9652
9708
|
__decorateClass([
|
|
9653
|
-
|
|
9654
|
-
|
|
9709
|
+
IsOptional70(),
|
|
9710
|
+
IsString73()
|
|
9655
9711
|
], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
9656
9712
|
__decorateClass([
|
|
9657
|
-
|
|
9658
|
-
|
|
9713
|
+
IsOptional70(),
|
|
9714
|
+
IsString73()
|
|
9659
9715
|
], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
9660
9716
|
__decorateClass([
|
|
9661
|
-
|
|
9662
|
-
|
|
9717
|
+
IsOptional70(),
|
|
9718
|
+
IsString73()
|
|
9663
9719
|
], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
9664
9720
|
__decorateClass([
|
|
9665
9721
|
IsNotEmpty99({ message: "Description is required" })
|
|
@@ -9670,8 +9726,8 @@ import {
|
|
|
9670
9726
|
IsDateString as IsDateString12,
|
|
9671
9727
|
IsInt as IsInt14,
|
|
9672
9728
|
IsNotEmpty as IsNotEmpty100,
|
|
9673
|
-
IsOptional as
|
|
9674
|
-
IsString as
|
|
9729
|
+
IsOptional as IsOptional71,
|
|
9730
|
+
IsString as IsString74,
|
|
9675
9731
|
Matches as Matches14,
|
|
9676
9732
|
IsNumber as IsNumber26
|
|
9677
9733
|
} from "class-validator";
|
|
@@ -9702,20 +9758,20 @@ __decorateClass([
|
|
|
9702
9758
|
})
|
|
9703
9759
|
], UpdateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
9704
9760
|
__decorateClass([
|
|
9705
|
-
|
|
9761
|
+
IsOptional71(),
|
|
9706
9762
|
IsInt14()
|
|
9707
9763
|
], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
9708
9764
|
__decorateClass([
|
|
9709
|
-
|
|
9710
|
-
|
|
9765
|
+
IsOptional71(),
|
|
9766
|
+
IsString74()
|
|
9711
9767
|
], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
9712
9768
|
__decorateClass([
|
|
9713
|
-
|
|
9714
|
-
|
|
9769
|
+
IsOptional71(),
|
|
9770
|
+
IsString74()
|
|
9715
9771
|
], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
9716
9772
|
__decorateClass([
|
|
9717
|
-
|
|
9718
|
-
|
|
9773
|
+
IsOptional71(),
|
|
9774
|
+
IsString74()
|
|
9719
9775
|
], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
9720
9776
|
__decorateClass([
|
|
9721
9777
|
IsNotEmpty100({ message: "Description is required" })
|
|
@@ -9741,28 +9797,28 @@ __decorateClass([
|
|
|
9741
9797
|
|
|
9742
9798
|
// src/modules/timesheet/dto/approve-timesheets.dto.ts
|
|
9743
9799
|
import { IsNotEmpty as IsNotEmpty103, IsNumber as IsNumber29 } from "class-validator";
|
|
9744
|
-
import { Type as
|
|
9800
|
+
import { Type as Type24 } from "class-transformer";
|
|
9745
9801
|
var ApproveTimesheetsDto = class {
|
|
9746
9802
|
};
|
|
9747
9803
|
__decorateClass([
|
|
9748
9804
|
IsNumber29({}, { message: "Timesheet line ID must be a number." }),
|
|
9749
9805
|
IsNotEmpty103({ message: "Timesheet line ID is required." }),
|
|
9750
|
-
|
|
9806
|
+
Type24(() => Number)
|
|
9751
9807
|
], ApproveTimesheetsDto.prototype, "timesheetLineId", 2);
|
|
9752
9808
|
|
|
9753
9809
|
// src/modules/timesheet/dto/send-back-timesheets.dto.ts
|
|
9754
|
-
import { IsNotEmpty as IsNotEmpty104, IsNumber as IsNumber30, IsOptional as
|
|
9755
|
-
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";
|
|
9756
9812
|
var SendBackTimesheetsDto = class {
|
|
9757
9813
|
};
|
|
9758
9814
|
__decorateClass([
|
|
9759
9815
|
IsNumber30({}, { message: "Timesheet line ID must be a number." }),
|
|
9760
9816
|
IsNotEmpty104({ message: "Timesheet line ID is required." }),
|
|
9761
|
-
|
|
9817
|
+
Type25(() => Number)
|
|
9762
9818
|
], SendBackTimesheetsDto.prototype, "timesheetLineId", 2);
|
|
9763
9819
|
__decorateClass([
|
|
9764
|
-
|
|
9765
|
-
|
|
9820
|
+
IsOptional72(),
|
|
9821
|
+
IsString75({ message: "Client send back reason must be a string." })
|
|
9766
9822
|
], SendBackTimesheetsDto.prototype, "clientSendBackReason", 2);
|
|
9767
9823
|
|
|
9768
9824
|
// src/modules/timesheet/dto/create-default-timesheet-line.dto.ts
|
|
@@ -9829,49 +9885,49 @@ var DISPUTE_PATTERN = {
|
|
|
9829
9885
|
|
|
9830
9886
|
// src/modules/dispute/dto/create-dispute.dto.ts
|
|
9831
9887
|
import {
|
|
9832
|
-
IsString as
|
|
9888
|
+
IsString as IsString76,
|
|
9833
9889
|
IsNotEmpty as IsNotEmpty108,
|
|
9834
9890
|
IsIn as IsIn4,
|
|
9835
|
-
IsOptional as
|
|
9891
|
+
IsOptional as IsOptional73,
|
|
9836
9892
|
MaxLength as MaxLength21,
|
|
9837
9893
|
IsObject as IsObject7,
|
|
9838
9894
|
IsNumber as IsNumber33,
|
|
9839
9895
|
ValidateIf as ValidateIf11
|
|
9840
9896
|
} from "class-validator";
|
|
9841
|
-
import { Transform as Transform4, Type as
|
|
9897
|
+
import { Transform as Transform4, Type as Type26 } from "class-transformer";
|
|
9842
9898
|
var CreateDisputeDto = class {
|
|
9843
9899
|
};
|
|
9844
9900
|
__decorateClass([
|
|
9845
9901
|
ValidateIf11((o) => o.initiatorType === "FREELANCER" /* FREELANCER */),
|
|
9846
9902
|
IsNumber33({}, { message: "Client id must be a number" }),
|
|
9847
|
-
|
|
9903
|
+
Type26(() => Number)
|
|
9848
9904
|
], CreateDisputeDto.prototype, "clientId", 2);
|
|
9849
9905
|
__decorateClass([
|
|
9850
9906
|
ValidateIf11((o) => o.initiatorType === "CLIENT" /* CLIENT */),
|
|
9851
9907
|
IsNumber33({}, { message: "Freelancer id must be a number" }),
|
|
9852
|
-
|
|
9908
|
+
Type26(() => Number)
|
|
9853
9909
|
], CreateDisputeDto.prototype, "freelancerId", 2);
|
|
9854
9910
|
__decorateClass([
|
|
9855
9911
|
IsNotEmpty108({ message: "Please select dispute type." }),
|
|
9856
|
-
|
|
9912
|
+
IsString76(),
|
|
9857
9913
|
IsIn4(["JOB", "INVOICE"])
|
|
9858
9914
|
], CreateDisputeDto.prototype, "disputeType", 2);
|
|
9859
9915
|
__decorateClass([
|
|
9860
9916
|
IsNotEmpty108({ message: "Please provide initiator type." }),
|
|
9861
|
-
|
|
9917
|
+
IsString76()
|
|
9862
9918
|
], CreateDisputeDto.prototype, "initiatorType", 2);
|
|
9863
9919
|
__decorateClass([
|
|
9864
9920
|
IsNotEmpty108({ message: "Please enter description." }),
|
|
9865
|
-
|
|
9921
|
+
IsString76({ message: "Description must be a string" }),
|
|
9866
9922
|
MaxLength21(500, { message: "Description must not exceed 500 characters" })
|
|
9867
9923
|
], CreateDisputeDto.prototype, "description", 2);
|
|
9868
9924
|
__decorateClass([
|
|
9869
|
-
|
|
9870
|
-
|
|
9925
|
+
IsOptional73(),
|
|
9926
|
+
IsString76({ message: "Comment must be a string" }),
|
|
9871
9927
|
MaxLength21(500, { message: "Comment must not exceed 500 characters" })
|
|
9872
9928
|
], CreateDisputeDto.prototype, "comment", 2);
|
|
9873
9929
|
__decorateClass([
|
|
9874
|
-
|
|
9930
|
+
IsOptional73(),
|
|
9875
9931
|
IsObject7({ message: "Dynamic fields must be a valid object" }),
|
|
9876
9932
|
Transform4(({ value }) => {
|
|
9877
9933
|
if (typeof value === "string") {
|
|
@@ -9906,20 +9962,20 @@ __decorateClass([
|
|
|
9906
9962
|
], AiInterviewQuestionGenerateDto.prototype, "numQuestions", 2);
|
|
9907
9963
|
|
|
9908
9964
|
// src/modules/senseloaf/dto/resume-parsing-by-url.dto.ts
|
|
9909
|
-
import { IsNotEmpty as IsNotEmpty110, IsString as
|
|
9965
|
+
import { IsNotEmpty as IsNotEmpty110, IsString as IsString77, IsOptional as IsOptional74 } from "class-validator";
|
|
9910
9966
|
var ResumeParsingByUrlDto = class {
|
|
9911
9967
|
};
|
|
9912
9968
|
__decorateClass([
|
|
9913
9969
|
IsNotEmpty110({ message: "Resume URL is required" }),
|
|
9914
|
-
|
|
9970
|
+
IsString77({ message: "Resume URL must be a string" })
|
|
9915
9971
|
], ResumeParsingByUrlDto.prototype, "resumeUrl", 2);
|
|
9916
9972
|
__decorateClass([
|
|
9917
|
-
|
|
9918
|
-
|
|
9973
|
+
IsOptional74(),
|
|
9974
|
+
IsString77()
|
|
9919
9975
|
], ResumeParsingByUrlDto.prototype, "fileName", 2);
|
|
9920
9976
|
|
|
9921
9977
|
// src/modules/senseloaf/dto/resume-data-processing.dto.ts
|
|
9922
|
-
import { IsNotEmpty as IsNotEmpty111, IsString as
|
|
9978
|
+
import { IsNotEmpty as IsNotEmpty111, IsString as IsString78, IsOptional as IsOptional75, IsObject as IsObject8 } from "class-validator";
|
|
9923
9979
|
var ResumeDataProcessingDto = class {
|
|
9924
9980
|
};
|
|
9925
9981
|
__decorateClass([
|
|
@@ -9927,16 +9983,16 @@ __decorateClass([
|
|
|
9927
9983
|
IsObject8()
|
|
9928
9984
|
], ResumeDataProcessingDto.prototype, "resumeData", 2);
|
|
9929
9985
|
__decorateClass([
|
|
9930
|
-
|
|
9931
|
-
|
|
9986
|
+
IsOptional75(),
|
|
9987
|
+
IsString78()
|
|
9932
9988
|
], ResumeDataProcessingDto.prototype, "userId", 2);
|
|
9933
9989
|
__decorateClass([
|
|
9934
|
-
|
|
9935
|
-
|
|
9990
|
+
IsOptional75(),
|
|
9991
|
+
IsString78()
|
|
9936
9992
|
], ResumeDataProcessingDto.prototype, "processingType", 2);
|
|
9937
9993
|
|
|
9938
9994
|
// src/modules/senseloaf/dto/check-resume-eligibility.dto.ts
|
|
9939
|
-
import { IsNotEmpty as IsNotEmpty112, IsString as
|
|
9995
|
+
import { IsNotEmpty as IsNotEmpty112, IsString as IsString79, IsOptional as IsOptional76, IsObject as IsObject9 } from "class-validator";
|
|
9940
9996
|
var CheckResumeEligibilityDto = class {
|
|
9941
9997
|
};
|
|
9942
9998
|
__decorateClass([
|
|
@@ -9944,76 +10000,76 @@ __decorateClass([
|
|
|
9944
10000
|
IsObject9()
|
|
9945
10001
|
], CheckResumeEligibilityDto.prototype, "resumeData", 2);
|
|
9946
10002
|
__decorateClass([
|
|
9947
|
-
|
|
9948
|
-
|
|
10003
|
+
IsOptional76(),
|
|
10004
|
+
IsString79()
|
|
9949
10005
|
], CheckResumeEligibilityDto.prototype, "jobId", 2);
|
|
9950
10006
|
__decorateClass([
|
|
9951
|
-
|
|
9952
|
-
|
|
10007
|
+
IsOptional76(),
|
|
10008
|
+
IsString79()
|
|
9953
10009
|
], CheckResumeEligibilityDto.prototype, "userId", 2);
|
|
9954
10010
|
|
|
9955
10011
|
// src/modules/senseloaf/dto/ai-interview-template-generation.dto.ts
|
|
9956
|
-
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";
|
|
9957
10013
|
var AiInterviewTemplateGenerationDto = class {
|
|
9958
10014
|
};
|
|
9959
10015
|
__decorateClass([
|
|
9960
10016
|
IsNotEmpty113({ message: "Job ID is required" }),
|
|
9961
|
-
|
|
10017
|
+
IsString80({ message: "Job ID must be a string" })
|
|
9962
10018
|
], AiInterviewTemplateGenerationDto.prototype, "jobId", 2);
|
|
9963
10019
|
__decorateClass([
|
|
9964
|
-
|
|
10020
|
+
IsOptional77(),
|
|
9965
10021
|
IsArray24(),
|
|
9966
|
-
|
|
10022
|
+
IsString80({ each: true, message: "Each skill must be a string" })
|
|
9967
10023
|
], AiInterviewTemplateGenerationDto.prototype, "skills", 2);
|
|
9968
10024
|
__decorateClass([
|
|
9969
|
-
|
|
10025
|
+
IsOptional77(),
|
|
9970
10026
|
IsNumber34({}, { message: "Number of questions must be a number" })
|
|
9971
10027
|
], AiInterviewTemplateGenerationDto.prototype, "numberOfQuestions", 2);
|
|
9972
10028
|
__decorateClass([
|
|
9973
|
-
|
|
9974
|
-
|
|
10029
|
+
IsOptional77(),
|
|
10030
|
+
IsString80()
|
|
9975
10031
|
], AiInterviewTemplateGenerationDto.prototype, "difficulty", 2);
|
|
9976
10032
|
|
|
9977
10033
|
// src/modules/senseloaf/dto/ai-interview-link-generation.dto.ts
|
|
9978
|
-
import { IsNotEmpty as IsNotEmpty114, IsString as
|
|
10034
|
+
import { IsNotEmpty as IsNotEmpty114, IsString as IsString81, IsOptional as IsOptional78, IsNumber as IsNumber35 } from "class-validator";
|
|
9979
10035
|
var AiInterviewLinkGenerationDto = class {
|
|
9980
10036
|
};
|
|
9981
10037
|
__decorateClass([
|
|
9982
10038
|
IsNotEmpty114({ message: "Template ID is required" }),
|
|
9983
|
-
|
|
10039
|
+
IsString81({ message: "Template ID must be a string" })
|
|
9984
10040
|
], AiInterviewLinkGenerationDto.prototype, "templateId", 2);
|
|
9985
10041
|
__decorateClass([
|
|
9986
10042
|
IsNotEmpty114({ message: "Freelancer ID is required" }),
|
|
9987
|
-
|
|
10043
|
+
IsString81({ message: "Freelancer ID must be a string" })
|
|
9988
10044
|
], AiInterviewLinkGenerationDto.prototype, "freelancerId", 2);
|
|
9989
10045
|
__decorateClass([
|
|
9990
|
-
|
|
9991
|
-
|
|
10046
|
+
IsOptional78(),
|
|
10047
|
+
IsString81()
|
|
9992
10048
|
], AiInterviewLinkGenerationDto.prototype, "jobId", 2);
|
|
9993
10049
|
__decorateClass([
|
|
9994
|
-
|
|
10050
|
+
IsOptional78(),
|
|
9995
10051
|
IsNumber35({}, { message: "Expiry hours must be a number" })
|
|
9996
10052
|
], AiInterviewLinkGenerationDto.prototype, "expiryHours", 2);
|
|
9997
10053
|
|
|
9998
10054
|
// src/modules/senseloaf/dto/ai-assessment-creation.dto.ts
|
|
9999
|
-
import { IsNotEmpty as IsNotEmpty115, IsString as
|
|
10055
|
+
import { IsNotEmpty as IsNotEmpty115, IsString as IsString82, IsOptional as IsOptional79, IsNumber as IsNumber36 } from "class-validator";
|
|
10000
10056
|
var AiAssessmentCreationDto = class {
|
|
10001
10057
|
};
|
|
10002
10058
|
__decorateClass([
|
|
10003
10059
|
IsNotEmpty115({ message: "User ID is required" }),
|
|
10004
|
-
|
|
10060
|
+
IsString82({ message: "User ID must be a string" })
|
|
10005
10061
|
], AiAssessmentCreationDto.prototype, "userId", 2);
|
|
10006
10062
|
__decorateClass([
|
|
10007
|
-
|
|
10008
|
-
|
|
10063
|
+
IsOptional79(),
|
|
10064
|
+
IsString82()
|
|
10009
10065
|
], AiAssessmentCreationDto.prototype, "assessmentType", 2);
|
|
10010
10066
|
__decorateClass([
|
|
10011
|
-
|
|
10067
|
+
IsOptional79(),
|
|
10012
10068
|
IsNumber36({}, { message: "Number of questions must be a number" })
|
|
10013
10069
|
], AiAssessmentCreationDto.prototype, "numberOfQuestions", 2);
|
|
10014
10070
|
__decorateClass([
|
|
10015
|
-
|
|
10016
|
-
|
|
10071
|
+
IsOptional79(),
|
|
10072
|
+
IsString82()
|
|
10017
10073
|
], AiAssessmentCreationDto.prototype, "difficulty", 2);
|
|
10018
10074
|
|
|
10019
10075
|
// src/modules/commission/pattern/pattern.ts
|
|
@@ -10059,16 +10115,16 @@ var SIGNATURE_PATTERN = {
|
|
|
10059
10115
|
};
|
|
10060
10116
|
|
|
10061
10117
|
// src/modules/user/signature/dto/save-signature.dto.ts
|
|
10062
|
-
import { IsOptional as
|
|
10118
|
+
import { IsOptional as IsOptional80, IsString as IsString83 } from "class-validator";
|
|
10063
10119
|
var SaveSignatureDto = class {
|
|
10064
10120
|
};
|
|
10065
10121
|
__decorateClass([
|
|
10066
|
-
|
|
10067
|
-
|
|
10122
|
+
IsOptional80(),
|
|
10123
|
+
IsString83()
|
|
10068
10124
|
], SaveSignatureDto.prototype, "signatureType", 2);
|
|
10069
10125
|
__decorateClass([
|
|
10070
|
-
|
|
10071
|
-
|
|
10126
|
+
IsOptional80(),
|
|
10127
|
+
IsString83()
|
|
10072
10128
|
], SaveSignatureDto.prototype, "description", 2);
|
|
10073
10129
|
|
|
10074
10130
|
// src/modules/wallet/pattern/pattern.ts
|
|
@@ -11401,6 +11457,7 @@ export {
|
|
|
11401
11457
|
RefreshDto,
|
|
11402
11458
|
RefreshToken,
|
|
11403
11459
|
RejectAIInterviewRescheduleRequestDto,
|
|
11460
|
+
RejectContractDto,
|
|
11404
11461
|
RejectF2FInterviewRescheduleRequestDto,
|
|
11405
11462
|
ResetPasswordDto,
|
|
11406
11463
|
ResetPasswordTokenValidationDto,
|
|
@@ -11485,6 +11542,7 @@ export {
|
|
|
11485
11542
|
UpdateFreelancerTimesheetDto,
|
|
11486
11543
|
UpdateInterviewBasicInformationDto,
|
|
11487
11544
|
UpdateInterviewSettingDto,
|
|
11545
|
+
UpdateInterviewTypeInformationDto,
|
|
11488
11546
|
UpdateInvoiceStatusDto,
|
|
11489
11547
|
UpdateSubAdminAccountStatusDto,
|
|
11490
11548
|
UpdateSubAdminDto,
|