@experts_hub/shared 1.0.673 → 1.0.675
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/entities/f2f-interview.entity.d.ts +1 -0
- package/dist/index.d.mts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +744 -710
- package/dist/index.mjs +407 -374
- package/dist/modules/freelancer-admin/dto/admin-freelancer-create-account.dto.d.ts +7 -0
- package/dist/modules/freelancer-admin/dto/index.d.ts +1 -0
- package/dist/modules/freelancer-admin/pattern/pattern.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2708,6 +2708,9 @@ __decorateClass([
|
|
|
2708
2708
|
__decorateClass([
|
|
2709
2709
|
Column19({ name: "is_contract_sent", type: "boolean", default: false })
|
|
2710
2710
|
], F2FInterview.prototype, "isContractSent", 2);
|
|
2711
|
+
__decorateClass([
|
|
2712
|
+
Column19({ name: "feedback", type: "varchar", nullable: true })
|
|
2713
|
+
], F2FInterview.prototype, "feedback", 2);
|
|
2711
2714
|
__decorateClass([
|
|
2712
2715
|
OneToMany8(() => F2FInterviewSchedule, (f2fInterviewSchedule) => f2fInterviewSchedule.f2fInterview)
|
|
2713
2716
|
], F2FInterview.prototype, "schedules", 2);
|
|
@@ -8266,7 +8269,8 @@ var ADMIN_FREELANCER_PATTERN = {
|
|
|
8266
8269
|
fetchAppliedJobsOfAdminFreelancer: "fetch.applied.jobs.of.admin.freelancer",
|
|
8267
8270
|
updateAdminFreelancerAccountStatus: "update.admin.freelancer.account.status",
|
|
8268
8271
|
downloadAllFreelancerResumes: "download.all.freelancer.resumes",
|
|
8269
|
-
fetchFreelancerResumeStats: "fetch.freelancer.resume.stats"
|
|
8272
|
+
fetchFreelancerResumeStats: "fetch.freelancer.resume.stats",
|
|
8273
|
+
adminFreelancerAccountCreation: "admin.freelancer.account.creation"
|
|
8270
8274
|
};
|
|
8271
8275
|
|
|
8272
8276
|
// src/modules/freelancer-admin/dto/create-freelancer.dto.ts
|
|
@@ -8994,6 +8998,34 @@ __decorateClass([
|
|
|
8994
8998
|
})
|
|
8995
8999
|
], UpdateAdminFreelancerAccountStatusDto.prototype, "accountStatus", 2);
|
|
8996
9000
|
|
|
9001
|
+
// src/modules/freelancer-admin/dto/admin-freelancer-create-account.dto.ts
|
|
9002
|
+
import { IsNotEmpty as IsNotEmpty73, IsEmail as IsEmail16, Matches as Matches15, IsString as IsString50 } from "class-validator";
|
|
9003
|
+
var AdminFreelancerCreateAccountDto = class {
|
|
9004
|
+
};
|
|
9005
|
+
__decorateClass([
|
|
9006
|
+
IsNotEmpty73({ message: "Please enter full name." }),
|
|
9007
|
+
IsString50({ message: "Please enter valid full name." })
|
|
9008
|
+
], AdminFreelancerCreateAccountDto.prototype, "fullName", 2);
|
|
9009
|
+
__decorateClass([
|
|
9010
|
+
IsNotEmpty73({ message: "Please enter email." }),
|
|
9011
|
+
IsEmail16()
|
|
9012
|
+
], AdminFreelancerCreateAccountDto.prototype, "email", 2);
|
|
9013
|
+
__decorateClass([
|
|
9014
|
+
IsNotEmpty73({ message: "Please enter mobile code." }),
|
|
9015
|
+
Matches15(/^\+\d{1,4}$/, {
|
|
9016
|
+
message: "Please enter a valid country mobile code (e.g., +91, +1, +44)."
|
|
9017
|
+
})
|
|
9018
|
+
], AdminFreelancerCreateAccountDto.prototype, "mobileCode", 2);
|
|
9019
|
+
__decorateClass([
|
|
9020
|
+
IsNotEmpty73({ message: "Please enter mobile number." }),
|
|
9021
|
+
IsValidMobileNumber({
|
|
9022
|
+
message: "Mobile number is not valid for the selected country code."
|
|
9023
|
+
})
|
|
9024
|
+
], AdminFreelancerCreateAccountDto.prototype, "mobile", 2);
|
|
9025
|
+
__decorateClass([
|
|
9026
|
+
IsNotEmpty73({ message: "Please enter country iso code." })
|
|
9027
|
+
], AdminFreelancerCreateAccountDto.prototype, "countryISOCode", 2);
|
|
9028
|
+
|
|
8997
9029
|
// src/modules/client-admin/pattern/pattern.ts
|
|
8998
9030
|
var CLIENT_ADMIN_PATTERNS = {
|
|
8999
9031
|
fetchAdminClients: "fetch.admin.clients",
|
|
@@ -9013,13 +9045,13 @@ var CLIENT_ADMIN_PATTERNS = {
|
|
|
9013
9045
|
|
|
9014
9046
|
// src/modules/client-admin/dto/create-client.dto.ts
|
|
9015
9047
|
import {
|
|
9016
|
-
IsNotEmpty as
|
|
9017
|
-
IsEmail as
|
|
9048
|
+
IsNotEmpty as IsNotEmpty74,
|
|
9049
|
+
IsEmail as IsEmail17,
|
|
9018
9050
|
IsOptional as IsOptional43,
|
|
9019
|
-
IsString as
|
|
9051
|
+
IsString as IsString51,
|
|
9020
9052
|
MinLength as MinLength19,
|
|
9021
9053
|
MaxLength as MaxLength20,
|
|
9022
|
-
Matches as
|
|
9054
|
+
Matches as Matches16,
|
|
9023
9055
|
IsInt as IsInt9,
|
|
9024
9056
|
IsUrl as IsUrl5
|
|
9025
9057
|
} from "class-validator";
|
|
@@ -9027,52 +9059,52 @@ import { Type as Type9 } from "class-transformer";
|
|
|
9027
9059
|
var CreateClientDto = class {
|
|
9028
9060
|
};
|
|
9029
9061
|
__decorateClass([
|
|
9030
|
-
|
|
9031
|
-
|
|
9062
|
+
IsNotEmpty74({ message: "Please enter first name." }),
|
|
9063
|
+
IsString51()
|
|
9032
9064
|
], CreateClientDto.prototype, "firstName", 2);
|
|
9033
9065
|
__decorateClass([
|
|
9034
|
-
|
|
9035
|
-
|
|
9066
|
+
IsNotEmpty74({ message: "Please enter last name." }),
|
|
9067
|
+
IsString51()
|
|
9036
9068
|
], CreateClientDto.prototype, "lastName", 2);
|
|
9037
9069
|
__decorateClass([
|
|
9038
|
-
|
|
9039
|
-
|
|
9070
|
+
IsNotEmpty74({ message: "Please enter email." }),
|
|
9071
|
+
IsEmail17()
|
|
9040
9072
|
], CreateClientDto.prototype, "email", 2);
|
|
9041
9073
|
__decorateClass([
|
|
9042
|
-
|
|
9043
|
-
|
|
9074
|
+
IsNotEmpty74({ message: "Please enter mobile code." }),
|
|
9075
|
+
IsString51({ message: "Mobile code must be a string." })
|
|
9044
9076
|
], CreateClientDto.prototype, "mobileCode", 2);
|
|
9045
9077
|
__decorateClass([
|
|
9046
|
-
|
|
9047
|
-
|
|
9078
|
+
IsNotEmpty74({ message: "Please enter phone number." }),
|
|
9079
|
+
IsString51({ message: "Phone number must be a string." })
|
|
9048
9080
|
], CreateClientDto.prototype, "phoneNumber", 2);
|
|
9049
9081
|
__decorateClass([
|
|
9050
|
-
|
|
9082
|
+
IsNotEmpty74({ message: "Please enter password." }),
|
|
9051
9083
|
MinLength19(6),
|
|
9052
9084
|
MaxLength20(32),
|
|
9053
|
-
|
|
9085
|
+
Matches16(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
9054
9086
|
message: "Password must include letters, numbers and symbols."
|
|
9055
9087
|
})
|
|
9056
9088
|
], CreateClientDto.prototype, "password", 2);
|
|
9057
9089
|
__decorateClass([
|
|
9058
|
-
|
|
9090
|
+
IsNotEmpty74({ message: "Please enter confirm password." }),
|
|
9059
9091
|
Match("confirmPassword", { message: "Passwords do not match" })
|
|
9060
9092
|
], CreateClientDto.prototype, "confirmPassword", 2);
|
|
9061
9093
|
__decorateClass([
|
|
9062
|
-
|
|
9063
|
-
|
|
9094
|
+
IsNotEmpty74({ message: "Please enter company name." }),
|
|
9095
|
+
IsString51()
|
|
9064
9096
|
], CreateClientDto.prototype, "companyName", 2);
|
|
9065
9097
|
__decorateClass([
|
|
9066
9098
|
IsOptional43(),
|
|
9067
|
-
|
|
9099
|
+
IsString51()
|
|
9068
9100
|
], CreateClientDto.prototype, "foundUsOn", 2);
|
|
9069
9101
|
__decorateClass([
|
|
9070
9102
|
IsOptional43(),
|
|
9071
|
-
|
|
9103
|
+
IsString51()
|
|
9072
9104
|
], CreateClientDto.prototype, "foundUsOnDetail", 2);
|
|
9073
9105
|
__decorateClass([
|
|
9074
9106
|
IsOptional43(),
|
|
9075
|
-
|
|
9107
|
+
IsString51({ message: "About company must be a string." })
|
|
9076
9108
|
], CreateClientDto.prototype, "about", 2);
|
|
9077
9109
|
__decorateClass([
|
|
9078
9110
|
IsOptional43(),
|
|
@@ -9080,15 +9112,15 @@ __decorateClass([
|
|
|
9080
9112
|
], CreateClientDto.prototype, "webSite", 2);
|
|
9081
9113
|
__decorateClass([
|
|
9082
9114
|
IsOptional43(),
|
|
9083
|
-
|
|
9115
|
+
IsString51({ message: "Company address must be a string." })
|
|
9084
9116
|
], CreateClientDto.prototype, "companyAddress", 2);
|
|
9085
9117
|
__decorateClass([
|
|
9086
9118
|
IsOptional43(),
|
|
9087
|
-
|
|
9119
|
+
IsString51({ message: "Address line must be a string." })
|
|
9088
9120
|
], CreateClientDto.prototype, "addressLine", 2);
|
|
9089
9121
|
__decorateClass([
|
|
9090
9122
|
IsOptional43(),
|
|
9091
|
-
|
|
9123
|
+
IsString51({ message: "Postal code must be a string." })
|
|
9092
9124
|
], CreateClientDto.prototype, "postalCode", 2);
|
|
9093
9125
|
__decorateClass([
|
|
9094
9126
|
IsOptional43(),
|
|
@@ -9119,76 +9151,76 @@ __decorateClass([
|
|
|
9119
9151
|
// src/modules/client-admin/dto/update-client.dto.ts
|
|
9120
9152
|
import { Transform as Transform5, Type as Type10 } from "class-transformer";
|
|
9121
9153
|
import {
|
|
9122
|
-
IsNotEmpty as
|
|
9123
|
-
IsEmail as
|
|
9154
|
+
IsNotEmpty as IsNotEmpty75,
|
|
9155
|
+
IsEmail as IsEmail18,
|
|
9124
9156
|
IsOptional as IsOptional44,
|
|
9125
|
-
IsString as
|
|
9157
|
+
IsString as IsString52,
|
|
9126
9158
|
MinLength as MinLength20,
|
|
9127
9159
|
MaxLength as MaxLength21,
|
|
9128
|
-
Matches as
|
|
9160
|
+
Matches as Matches17
|
|
9129
9161
|
} from "class-validator";
|
|
9130
9162
|
var UpdateClientDto = class {
|
|
9131
9163
|
};
|
|
9132
9164
|
__decorateClass([
|
|
9133
|
-
|
|
9134
|
-
|
|
9165
|
+
IsNotEmpty75({ message: "Please enter first name." }),
|
|
9166
|
+
IsString52()
|
|
9135
9167
|
], UpdateClientDto.prototype, "firstName", 2);
|
|
9136
9168
|
__decorateClass([
|
|
9137
|
-
|
|
9138
|
-
|
|
9169
|
+
IsNotEmpty75({ message: "Please enter last name." }),
|
|
9170
|
+
IsString52()
|
|
9139
9171
|
], UpdateClientDto.prototype, "lastName", 2);
|
|
9140
9172
|
__decorateClass([
|
|
9141
|
-
|
|
9142
|
-
|
|
9173
|
+
IsNotEmpty75({ message: "Please enter email." }),
|
|
9174
|
+
IsEmail18()
|
|
9143
9175
|
], UpdateClientDto.prototype, "email", 2);
|
|
9144
9176
|
__decorateClass([
|
|
9145
9177
|
IsOptional44(),
|
|
9146
|
-
|
|
9178
|
+
IsString52({ message: "Mobile code must be a string." })
|
|
9147
9179
|
], UpdateClientDto.prototype, "mobileCode", 2);
|
|
9148
9180
|
__decorateClass([
|
|
9149
9181
|
IsOptional44(),
|
|
9150
|
-
|
|
9182
|
+
IsString52({ message: "Phone number must be a string." })
|
|
9151
9183
|
], UpdateClientDto.prototype, "phoneNumber", 2);
|
|
9152
9184
|
__decorateClass([
|
|
9153
9185
|
IsOptional44(),
|
|
9154
9186
|
Transform5(({ value }) => value === null || value === "" ? void 0 : value),
|
|
9155
9187
|
MinLength20(6, { message: "Password must be at least 6 characters." }),
|
|
9156
9188
|
MaxLength21(32, { message: "Password must not exceed 32 characters." }),
|
|
9157
|
-
|
|
9189
|
+
Matches17(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
9158
9190
|
message: "Password must include letters, numbers and symbols."
|
|
9159
9191
|
})
|
|
9160
9192
|
], UpdateClientDto.prototype, "password", 2);
|
|
9161
9193
|
__decorateClass([
|
|
9162
|
-
|
|
9163
|
-
|
|
9194
|
+
IsNotEmpty75({ message: "Please enter company name." }),
|
|
9195
|
+
IsString52()
|
|
9164
9196
|
], UpdateClientDto.prototype, "companyName", 2);
|
|
9165
9197
|
__decorateClass([
|
|
9166
9198
|
IsOptional44(),
|
|
9167
|
-
|
|
9199
|
+
IsString52()
|
|
9168
9200
|
], UpdateClientDto.prototype, "foundUsOn", 2);
|
|
9169
9201
|
__decorateClass([
|
|
9170
9202
|
IsOptional44(),
|
|
9171
|
-
|
|
9203
|
+
IsString52()
|
|
9172
9204
|
], UpdateClientDto.prototype, "foundUsOnDetail", 2);
|
|
9173
9205
|
__decorateClass([
|
|
9174
9206
|
IsOptional44(),
|
|
9175
|
-
|
|
9207
|
+
IsString52({ message: "About company must be a string." })
|
|
9176
9208
|
], UpdateClientDto.prototype, "about", 2);
|
|
9177
9209
|
__decorateClass([
|
|
9178
9210
|
IsOptional44(),
|
|
9179
|
-
|
|
9211
|
+
IsString52({ message: "Website must be a string." })
|
|
9180
9212
|
], UpdateClientDto.prototype, "webSite", 2);
|
|
9181
9213
|
__decorateClass([
|
|
9182
9214
|
IsOptional44(),
|
|
9183
|
-
|
|
9215
|
+
IsString52({ message: "Company address must be a string." })
|
|
9184
9216
|
], UpdateClientDto.prototype, "companyAddress", 2);
|
|
9185
9217
|
__decorateClass([
|
|
9186
9218
|
IsOptional44(),
|
|
9187
|
-
|
|
9219
|
+
IsString52({ message: "Address line must be a string." })
|
|
9188
9220
|
], UpdateClientDto.prototype, "addressLine", 2);
|
|
9189
9221
|
__decorateClass([
|
|
9190
9222
|
IsOptional44(),
|
|
9191
|
-
|
|
9223
|
+
IsString52({ message: "Postal code must be a string." })
|
|
9192
9224
|
], UpdateClientDto.prototype, "postalCode", 2);
|
|
9193
9225
|
__decorateClass([
|
|
9194
9226
|
IsOptional44(),
|
|
@@ -9204,7 +9236,7 @@ __decorateClass([
|
|
|
9204
9236
|
], UpdateClientDto.prototype, "cityId", 2);
|
|
9205
9237
|
|
|
9206
9238
|
// src/modules/client-admin/dto/admin-export-clientV2-optimised.dto.ts
|
|
9207
|
-
import { IsOptional as IsOptional45, IsArray as IsArray16, IsEmail as
|
|
9239
|
+
import { IsOptional as IsOptional45, IsArray as IsArray16, IsEmail as IsEmail19 } from "class-validator";
|
|
9208
9240
|
import { Transform as Transform6 } from "class-transformer";
|
|
9209
9241
|
var AdminExportClientV2OptimisedDto = class {
|
|
9210
9242
|
};
|
|
@@ -9214,7 +9246,7 @@ __decorateClass([
|
|
|
9214
9246
|
({ value }) => typeof value === "string" ? value.split(",").map((email) => email.trim().toLowerCase()).filter(Boolean) : []
|
|
9215
9247
|
),
|
|
9216
9248
|
IsArray16({ message: "customEmails must be an array" }),
|
|
9217
|
-
|
|
9249
|
+
IsEmail19({}, { each: true, message: "Each email must be a valid email address" })
|
|
9218
9250
|
], AdminExportClientV2OptimisedDto.prototype, "customEmails", 2);
|
|
9219
9251
|
|
|
9220
9252
|
// src/modules/client-admin/dto/update-admin-client-account-status.dto.ts
|
|
@@ -9228,20 +9260,20 @@ __decorateClass([
|
|
|
9228
9260
|
], UpdateAdminClientAccountStatusDto.prototype, "accountStatus", 2);
|
|
9229
9261
|
|
|
9230
9262
|
// src/modules/client-admin/dto/update-admin-client-job-posting-restriction.dto.ts
|
|
9231
|
-
import { IsBoolean as IsBoolean13, IsNotEmpty as
|
|
9263
|
+
import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty76 } from "class-validator";
|
|
9232
9264
|
var UpdateAdminClientJobPostingRestrictionDto = class {
|
|
9233
9265
|
};
|
|
9234
9266
|
__decorateClass([
|
|
9235
|
-
|
|
9267
|
+
IsNotEmpty76({ message: "Job posting restriction status is required." }),
|
|
9236
9268
|
IsBoolean13({ message: "Job posting restriction status must be a boolean value." })
|
|
9237
9269
|
], UpdateAdminClientJobPostingRestrictionDto.prototype, "isJobPostingRestricted", 2);
|
|
9238
9270
|
|
|
9239
9271
|
// src/modules/client-admin/dto/skip-service-agreement-flow.dto.ts
|
|
9240
|
-
import { IsBoolean as IsBoolean14, IsNotEmpty as
|
|
9272
|
+
import { IsBoolean as IsBoolean14, IsNotEmpty as IsNotEmpty77 } from "class-validator";
|
|
9241
9273
|
var SkipServiceAgreementFlowDto = class {
|
|
9242
9274
|
};
|
|
9243
9275
|
__decorateClass([
|
|
9244
|
-
|
|
9276
|
+
IsNotEmpty77({ message: "Skip service agreement flag is required." }),
|
|
9245
9277
|
IsBoolean14({ message: "Skip service agreement must be a boolean value." })
|
|
9246
9278
|
], SkipServiceAgreementFlowDto.prototype, "skipServiceAgreement", 2);
|
|
9247
9279
|
|
|
@@ -9252,7 +9284,7 @@ var FREELANCER_DECLARATION_PATTERN = {
|
|
|
9252
9284
|
};
|
|
9253
9285
|
|
|
9254
9286
|
// src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
|
|
9255
|
-
import { IsOptional as IsOptional46, IsEnum as IsEnum33, IsString as
|
|
9287
|
+
import { IsOptional as IsOptional46, IsEnum as IsEnum33, IsString as IsString53, IsNotEmpty as IsNotEmpty78, IsIn as IsIn3 } from "class-validator";
|
|
9256
9288
|
var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
9257
9289
|
DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
|
|
9258
9290
|
DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
|
|
@@ -9264,14 +9296,14 @@ var FreelancerDeclarationDto = class {
|
|
|
9264
9296
|
};
|
|
9265
9297
|
__decorateClass([
|
|
9266
9298
|
IsOptional46(),
|
|
9267
|
-
|
|
9299
|
+
IsString53({ message: "UUID must be a string" })
|
|
9268
9300
|
], FreelancerDeclarationDto.prototype, "uuid", 2);
|
|
9269
9301
|
__decorateClass([
|
|
9270
9302
|
IsEnum33(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
|
|
9271
9303
|
], FreelancerDeclarationDto.prototype, "documentType", 2);
|
|
9272
9304
|
__decorateClass([
|
|
9273
|
-
|
|
9274
|
-
|
|
9305
|
+
IsNotEmpty78({ message: "Please accept the declaration " }),
|
|
9306
|
+
IsString53(),
|
|
9275
9307
|
IsIn3([
|
|
9276
9308
|
"true"
|
|
9277
9309
|
])
|
|
@@ -9287,12 +9319,12 @@ var CLIENT_CANDIDATE_PREFERENCE_PATTERN = {
|
|
|
9287
9319
|
};
|
|
9288
9320
|
|
|
9289
9321
|
// src/modules/user/client-candidate-preference/dto/mark-candidate-status.dto.ts
|
|
9290
|
-
import { IsNotEmpty as
|
|
9322
|
+
import { IsNotEmpty as IsNotEmpty79, IsNumber as IsNumber12, IsOptional as IsOptional47 } from "class-validator";
|
|
9291
9323
|
import { Type as Type11 } from "class-transformer";
|
|
9292
9324
|
var MarkCandidateStatusDto = class {
|
|
9293
9325
|
};
|
|
9294
9326
|
__decorateClass([
|
|
9295
|
-
|
|
9327
|
+
IsNotEmpty79({ message: "Candidate ID is required." }),
|
|
9296
9328
|
IsNumber12({}, { message: "Candidate ID must be a number." }),
|
|
9297
9329
|
Type11(() => Number)
|
|
9298
9330
|
], MarkCandidateStatusDto.prototype, "candidateId", 2);
|
|
@@ -9330,11 +9362,11 @@ var CMS_PATTERNS = {
|
|
|
9330
9362
|
};
|
|
9331
9363
|
|
|
9332
9364
|
// src/modules/cms/dto/create-cms.dto.ts
|
|
9333
|
-
import { IsBoolean as IsBoolean15, IsNotEmpty as
|
|
9365
|
+
import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty80, IsOptional as IsOptional49 } from "class-validator";
|
|
9334
9366
|
var CreateCmsDto = class {
|
|
9335
9367
|
};
|
|
9336
9368
|
__decorateClass([
|
|
9337
|
-
|
|
9369
|
+
IsNotEmpty80({ message: "Please enter name." })
|
|
9338
9370
|
], CreateCmsDto.prototype, "title", 2);
|
|
9339
9371
|
__decorateClass([
|
|
9340
9372
|
IsOptional49()
|
|
@@ -9345,23 +9377,23 @@ __decorateClass([
|
|
|
9345
9377
|
], CreateCmsDto.prototype, "isActive", 2);
|
|
9346
9378
|
|
|
9347
9379
|
// src/modules/cms/dto/update-cms-status.dto.ts
|
|
9348
|
-
import { IsBoolean as IsBoolean16, IsNotEmpty as
|
|
9380
|
+
import { IsBoolean as IsBoolean16, IsNotEmpty as IsNotEmpty81 } from "class-validator";
|
|
9349
9381
|
var UpdateCmsStatusDto = class {
|
|
9350
9382
|
};
|
|
9351
9383
|
__decorateClass([
|
|
9352
|
-
|
|
9384
|
+
IsNotEmpty81({ message: "Please specify cms status." }),
|
|
9353
9385
|
IsBoolean16({ message: "Is active must be a boolean value" })
|
|
9354
9386
|
], UpdateCmsStatusDto.prototype, "isActive", 2);
|
|
9355
9387
|
|
|
9356
9388
|
// src/modules/cms/dto/update-cms.dto.ts
|
|
9357
|
-
import { IsBoolean as IsBoolean17, IsNotEmpty as
|
|
9389
|
+
import { IsBoolean as IsBoolean17, IsNotEmpty as IsNotEmpty82, IsOptional as IsOptional50 } from "class-validator";
|
|
9358
9390
|
var UpdateCmsDto = class {
|
|
9359
9391
|
};
|
|
9360
9392
|
__decorateClass([
|
|
9361
9393
|
IsOptional50()
|
|
9362
9394
|
], UpdateCmsDto.prototype, "uuid", 2);
|
|
9363
9395
|
__decorateClass([
|
|
9364
|
-
|
|
9396
|
+
IsNotEmpty82({ message: "Please enter name." })
|
|
9365
9397
|
], UpdateCmsDto.prototype, "title", 2);
|
|
9366
9398
|
__decorateClass([
|
|
9367
9399
|
IsOptional50()
|
|
@@ -9405,13 +9437,13 @@ var ADMIN_JOB_PATTERN = {
|
|
|
9405
9437
|
// src/modules/job-admin/dto/admin-create-job-information.dto.ts
|
|
9406
9438
|
import { Type as Type13 } from "class-transformer";
|
|
9407
9439
|
import {
|
|
9408
|
-
IsString as
|
|
9440
|
+
IsString as IsString54,
|
|
9409
9441
|
IsEnum as IsEnum34,
|
|
9410
9442
|
IsInt as IsInt10,
|
|
9411
9443
|
IsOptional as IsOptional51,
|
|
9412
9444
|
IsArray as IsArray18,
|
|
9413
9445
|
IsDateString as IsDateString3,
|
|
9414
|
-
IsNotEmpty as
|
|
9446
|
+
IsNotEmpty as IsNotEmpty83,
|
|
9415
9447
|
ArrayNotEmpty as ArrayNotEmpty10,
|
|
9416
9448
|
Min as Min7,
|
|
9417
9449
|
IsNumber as IsNumber14
|
|
@@ -9431,17 +9463,17 @@ var TypeOfEmploymentEnumDto = /* @__PURE__ */ ((TypeOfEmploymentEnumDto2) => {
|
|
|
9431
9463
|
var AdminCreateJobInformationDto = class {
|
|
9432
9464
|
};
|
|
9433
9465
|
__decorateClass([
|
|
9434
|
-
|
|
9435
|
-
|
|
9466
|
+
IsString54({ message: "Job role must be a string." }),
|
|
9467
|
+
IsNotEmpty83({ message: "Job role is required." })
|
|
9436
9468
|
], AdminCreateJobInformationDto.prototype, "jobRole", 2);
|
|
9437
9469
|
__decorateClass([
|
|
9438
9470
|
IsOptional51(),
|
|
9439
|
-
|
|
9471
|
+
IsString54({ message: "Note must be a string." })
|
|
9440
9472
|
], AdminCreateJobInformationDto.prototype, "note", 2);
|
|
9441
9473
|
__decorateClass([
|
|
9442
9474
|
IsArray18({ message: "Skills must be an array of skill names." }),
|
|
9443
9475
|
ArrayNotEmpty10({ message: "At least one skill must be provided." }),
|
|
9444
|
-
|
|
9476
|
+
IsString54({ each: true, message: "Each skill must be a valid string." })
|
|
9445
9477
|
], AdminCreateJobInformationDto.prototype, "skills", 2);
|
|
9446
9478
|
__decorateClass([
|
|
9447
9479
|
IsInt10({ message: "Openings must be a valid integer." }),
|
|
@@ -9462,16 +9494,16 @@ __decorateClass([
|
|
|
9462
9494
|
})
|
|
9463
9495
|
], AdminCreateJobInformationDto.prototype, "typeOfEmployment", 2);
|
|
9464
9496
|
__decorateClass([
|
|
9465
|
-
|
|
9466
|
-
|
|
9497
|
+
IsString54({ message: "Onboarding Days must be a string." }),
|
|
9498
|
+
IsNotEmpty83({ message: "Onboarding Days is required." })
|
|
9467
9499
|
], AdminCreateJobInformationDto.prototype, "onboardingTat", 2);
|
|
9468
9500
|
__decorateClass([
|
|
9469
|
-
|
|
9470
|
-
|
|
9501
|
+
IsString54({ message: "Communication skills must be a string." }),
|
|
9502
|
+
IsNotEmpty83({ message: "Communication skills are required." })
|
|
9471
9503
|
], AdminCreateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
9472
9504
|
__decorateClass([
|
|
9473
|
-
|
|
9474
|
-
|
|
9505
|
+
IsString54({ message: "Currency must be a string." }),
|
|
9506
|
+
IsNotEmpty83({ message: "Currency is required." })
|
|
9475
9507
|
], AdminCreateJobInformationDto.prototype, "currency", 2);
|
|
9476
9508
|
__decorateClass([
|
|
9477
9509
|
Type13(() => Number),
|
|
@@ -9495,7 +9527,7 @@ __decorateClass([
|
|
|
9495
9527
|
], AdminCreateJobInformationDto.prototype, "tentativeEndDate", 2);
|
|
9496
9528
|
__decorateClass([
|
|
9497
9529
|
IsOptional51(),
|
|
9498
|
-
|
|
9530
|
+
IsString54({ message: "Additional comment must be a string." })
|
|
9499
9531
|
], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
|
|
9500
9532
|
__decorateClass([
|
|
9501
9533
|
IsOptional51(),
|
|
@@ -9516,13 +9548,13 @@ __decorateClass([
|
|
|
9516
9548
|
// src/modules/job-admin/dto/admin-update-job-information.dto.ts
|
|
9517
9549
|
import { Type as Type14 } from "class-transformer";
|
|
9518
9550
|
import {
|
|
9519
|
-
IsString as
|
|
9551
|
+
IsString as IsString55,
|
|
9520
9552
|
IsEnum as IsEnum35,
|
|
9521
9553
|
IsInt as IsInt11,
|
|
9522
9554
|
IsOptional as IsOptional52,
|
|
9523
9555
|
IsArray as IsArray19,
|
|
9524
9556
|
IsDateString as IsDateString4,
|
|
9525
|
-
IsNotEmpty as
|
|
9557
|
+
IsNotEmpty as IsNotEmpty84,
|
|
9526
9558
|
ArrayNotEmpty as ArrayNotEmpty11,
|
|
9527
9559
|
Min as Min8,
|
|
9528
9560
|
IsNumber as IsNumber15
|
|
@@ -9542,17 +9574,17 @@ var TypeOfEmploymentEnums = /* @__PURE__ */ ((TypeOfEmploymentEnums2) => {
|
|
|
9542
9574
|
var AdminUpdateJobInformationDto = class {
|
|
9543
9575
|
};
|
|
9544
9576
|
__decorateClass([
|
|
9545
|
-
|
|
9546
|
-
|
|
9577
|
+
IsString55({ message: "Job role must be a string." }),
|
|
9578
|
+
IsNotEmpty84({ message: "Job role is required." })
|
|
9547
9579
|
], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
|
|
9548
9580
|
__decorateClass([
|
|
9549
9581
|
IsOptional52(),
|
|
9550
|
-
|
|
9582
|
+
IsString55({ message: "Note must be a string." })
|
|
9551
9583
|
], AdminUpdateJobInformationDto.prototype, "note", 2);
|
|
9552
9584
|
__decorateClass([
|
|
9553
9585
|
IsArray19({ message: "Skills must be an array of skill names." }),
|
|
9554
9586
|
ArrayNotEmpty11({ message: "At least one skill must be provided." }),
|
|
9555
|
-
|
|
9587
|
+
IsString55({ each: true, message: "Each skill must be a valid string." })
|
|
9556
9588
|
], AdminUpdateJobInformationDto.prototype, "skills", 2);
|
|
9557
9589
|
__decorateClass([
|
|
9558
9590
|
IsInt11({ message: "Openings must be a valid integer." }),
|
|
@@ -9573,16 +9605,16 @@ __decorateClass([
|
|
|
9573
9605
|
})
|
|
9574
9606
|
], AdminUpdateJobInformationDto.prototype, "typeOfEmployment", 2);
|
|
9575
9607
|
__decorateClass([
|
|
9576
|
-
|
|
9577
|
-
|
|
9608
|
+
IsString55({ message: "Onboarding Days must be a string." }),
|
|
9609
|
+
IsNotEmpty84({ message: "Onboarding Days is required." })
|
|
9578
9610
|
], AdminUpdateJobInformationDto.prototype, "onboardingTat", 2);
|
|
9579
9611
|
__decorateClass([
|
|
9580
|
-
|
|
9581
|
-
|
|
9612
|
+
IsString55({ message: "Communication skills must be a string." }),
|
|
9613
|
+
IsNotEmpty84({ message: "Communication skills are required." })
|
|
9582
9614
|
], AdminUpdateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
9583
9615
|
__decorateClass([
|
|
9584
|
-
|
|
9585
|
-
|
|
9616
|
+
IsString55({ message: "Currency must be a string." }),
|
|
9617
|
+
IsNotEmpty84({ message: "Currency is required." })
|
|
9586
9618
|
], AdminUpdateJobInformationDto.prototype, "currency", 2);
|
|
9587
9619
|
__decorateClass([
|
|
9588
9620
|
Type14(() => Number),
|
|
@@ -9606,7 +9638,7 @@ __decorateClass([
|
|
|
9606
9638
|
], AdminUpdateJobInformationDto.prototype, "tentativeEndDate", 2);
|
|
9607
9639
|
__decorateClass([
|
|
9608
9640
|
IsOptional52(),
|
|
9609
|
-
|
|
9641
|
+
IsString55({ message: "Additional comment must be a string." })
|
|
9610
9642
|
], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
|
|
9611
9643
|
__decorateClass([
|
|
9612
9644
|
IsOptional52(),
|
|
@@ -9626,8 +9658,8 @@ __decorateClass([
|
|
|
9626
9658
|
|
|
9627
9659
|
// src/modules/job-admin/dto/admin-job-basic-information-v2.dto.ts
|
|
9628
9660
|
import {
|
|
9629
|
-
IsString as
|
|
9630
|
-
IsNotEmpty as
|
|
9661
|
+
IsString as IsString56,
|
|
9662
|
+
IsNotEmpty as IsNotEmpty85,
|
|
9631
9663
|
IsArray as IsArray20,
|
|
9632
9664
|
ArrayNotEmpty as ArrayNotEmpty12,
|
|
9633
9665
|
IsNumber as IsNumber16,
|
|
@@ -9697,19 +9729,19 @@ __decorateClass([
|
|
|
9697
9729
|
IsInt12({ message: "Client ID must be a valid integer." })
|
|
9698
9730
|
], AdminJobBasicInformationV2Dto.prototype, "clientId", 2);
|
|
9699
9731
|
__decorateClass([
|
|
9700
|
-
|
|
9701
|
-
|
|
9732
|
+
IsNotEmpty85({ message: "Please enter job role" }),
|
|
9733
|
+
IsString56({ message: "Job role must be a string" })
|
|
9702
9734
|
], AdminJobBasicInformationV2Dto.prototype, "jobRole", 2);
|
|
9703
9735
|
__decorateClass([
|
|
9704
9736
|
IsOptional53(),
|
|
9705
|
-
|
|
9737
|
+
IsString56({ message: "Note must be a string" })
|
|
9706
9738
|
], AdminJobBasicInformationV2Dto.prototype, "note", 2);
|
|
9707
9739
|
__decorateClass([
|
|
9708
9740
|
ValidateIf11((o) => !o.isDraft),
|
|
9709
9741
|
IsOptional53(),
|
|
9710
9742
|
IsArray20({ message: "Skills must be an array" }),
|
|
9711
9743
|
ArrayNotEmpty12({ message: "Please select at least one skill" }),
|
|
9712
|
-
|
|
9744
|
+
IsString56({ each: true, message: "Each skill must be a string" }),
|
|
9713
9745
|
Type15(() => String)
|
|
9714
9746
|
], AdminJobBasicInformationV2Dto.prototype, "skills", 2);
|
|
9715
9747
|
__decorateClass([
|
|
@@ -9758,7 +9790,7 @@ __decorateClass([
|
|
|
9758
9790
|
], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
|
|
9759
9791
|
__decorateClass([
|
|
9760
9792
|
IsOptional53(),
|
|
9761
|
-
|
|
9793
|
+
IsString56({ message: "Academic qualification must be a string" })
|
|
9762
9794
|
], AdminJobBasicInformationV2Dto.prototype, "academicQualification", 2);
|
|
9763
9795
|
__decorateClass([
|
|
9764
9796
|
ValidateIf11((o) => !o.isDraft),
|
|
@@ -9770,21 +9802,21 @@ __decorateClass([
|
|
|
9770
9802
|
], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceType", 2);
|
|
9771
9803
|
__decorateClass([
|
|
9772
9804
|
ValidateIf11((o) => !o.isDraft),
|
|
9773
|
-
|
|
9774
|
-
|
|
9805
|
+
IsNotEmpty85({ message: "Please enter the years of experience" }),
|
|
9806
|
+
IsString56({ message: "Years of experience must be a string" })
|
|
9775
9807
|
], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceFrom", 2);
|
|
9776
9808
|
__decorateClass([
|
|
9777
9809
|
ValidateIf11((o) => !o.isDraft),
|
|
9778
|
-
|
|
9779
|
-
|
|
9810
|
+
IsNotEmpty85({ message: "Please enter the years of experience upto" }),
|
|
9811
|
+
IsString56({ message: "Years of experience must be a string" })
|
|
9780
9812
|
], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceTo", 2);
|
|
9781
9813
|
__decorateClass([
|
|
9782
9814
|
IsOptional53(),
|
|
9783
|
-
|
|
9815
|
+
IsString56({ message: "Business industry must be a string" })
|
|
9784
9816
|
], AdminJobBasicInformationV2Dto.prototype, "businessIndustry", 2);
|
|
9785
9817
|
__decorateClass([
|
|
9786
9818
|
IsOptional53(),
|
|
9787
|
-
|
|
9819
|
+
IsString56({ message: "Project name must be a string" })
|
|
9788
9820
|
], AdminJobBasicInformationV2Dto.prototype, "projectName", 2);
|
|
9789
9821
|
__decorateClass([
|
|
9790
9822
|
IsOptional53()
|
|
@@ -9831,13 +9863,13 @@ __decorateClass([
|
|
|
9831
9863
|
], AdminJobBasicInformationV2Dto.prototype, "days", 2);
|
|
9832
9864
|
__decorateClass([
|
|
9833
9865
|
IsOptional53(),
|
|
9834
|
-
|
|
9866
|
+
IsString56({ message: "Additional comment must be a string" }),
|
|
9835
9867
|
MaxLength22(500, { message: "Additional comment must not exceed 500 characters" })
|
|
9836
9868
|
], AdminJobBasicInformationV2Dto.prototype, "additionalComment", 2);
|
|
9837
9869
|
__decorateClass([
|
|
9838
9870
|
ValidateIf11((o) => !o.isDraft),
|
|
9839
9871
|
IsArray20({ message: "Good to have skills must be an array" }),
|
|
9840
|
-
|
|
9872
|
+
IsString56({ each: true, message: "Each skill must be a string" }),
|
|
9841
9873
|
IsOptional53(),
|
|
9842
9874
|
Type15(() => String)
|
|
9843
9875
|
], AdminJobBasicInformationV2Dto.prototype, "goodToHaveSkills", 2);
|
|
@@ -9860,7 +9892,7 @@ var LEAD_PATTERN = {
|
|
|
9860
9892
|
};
|
|
9861
9893
|
|
|
9862
9894
|
// src/modules/lead/dto/create-lead.dto.ts
|
|
9863
|
-
import { IsString as
|
|
9895
|
+
import { IsString as IsString57, IsEmail as IsEmail20, IsOptional as IsOptional54, IsEnum as IsEnum37 } from "class-validator";
|
|
9864
9896
|
var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
|
|
9865
9897
|
CategoryEmumDto2["BUSINESS"] = "BUSINESS";
|
|
9866
9898
|
CategoryEmumDto2["FREELANCER"] = "FREELANCER";
|
|
@@ -9869,20 +9901,20 @@ var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
|
|
|
9869
9901
|
var CreateLeadDto = class {
|
|
9870
9902
|
};
|
|
9871
9903
|
__decorateClass([
|
|
9872
|
-
|
|
9904
|
+
IsString57({ message: "Name must be a string" })
|
|
9873
9905
|
], CreateLeadDto.prototype, "name", 2);
|
|
9874
9906
|
__decorateClass([
|
|
9875
|
-
|
|
9907
|
+
IsEmail20({}, { message: "Invalid email address" })
|
|
9876
9908
|
], CreateLeadDto.prototype, "email", 2);
|
|
9877
9909
|
__decorateClass([
|
|
9878
|
-
|
|
9910
|
+
IsString57({ message: "Mobile code must be a string (e.g., +1)" })
|
|
9879
9911
|
], CreateLeadDto.prototype, "mobileCode", 2);
|
|
9880
9912
|
__decorateClass([
|
|
9881
|
-
|
|
9913
|
+
IsString57({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
9882
9914
|
], CreateLeadDto.prototype, "mobile", 2);
|
|
9883
9915
|
__decorateClass([
|
|
9884
9916
|
IsOptional54(),
|
|
9885
|
-
|
|
9917
|
+
IsString57({ message: "Description must be a string" })
|
|
9886
9918
|
], CreateLeadDto.prototype, "description", 2);
|
|
9887
9919
|
__decorateClass([
|
|
9888
9920
|
IsEnum37(CategoryEmumDto, {
|
|
@@ -9907,16 +9939,16 @@ var ADMIN_ROLE_PATTERN = {
|
|
|
9907
9939
|
};
|
|
9908
9940
|
|
|
9909
9941
|
// src/modules/admin-role/dto/create-admin-role.dto.ts
|
|
9910
|
-
import { IsBoolean as IsBoolean18, IsNotEmpty as
|
|
9942
|
+
import { IsBoolean as IsBoolean18, IsNotEmpty as IsNotEmpty86, IsOptional as IsOptional55, IsString as IsString58 } from "class-validator";
|
|
9911
9943
|
var CreateAdminRoleDto = class {
|
|
9912
9944
|
};
|
|
9913
9945
|
__decorateClass([
|
|
9914
|
-
|
|
9915
|
-
|
|
9946
|
+
IsNotEmpty86({ message: "Please enter admin role name." }),
|
|
9947
|
+
IsString58({ message: "Role name must be a string." })
|
|
9916
9948
|
], CreateAdminRoleDto.prototype, "roleName", 2);
|
|
9917
9949
|
__decorateClass([
|
|
9918
9950
|
IsOptional55(),
|
|
9919
|
-
|
|
9951
|
+
IsString58({ message: "Role description must be a string." })
|
|
9920
9952
|
], CreateAdminRoleDto.prototype, "roleDescription", 2);
|
|
9921
9953
|
__decorateClass([
|
|
9922
9954
|
IsOptional55(),
|
|
@@ -9924,16 +9956,16 @@ __decorateClass([
|
|
|
9924
9956
|
], CreateAdminRoleDto.prototype, "isActive", 2);
|
|
9925
9957
|
|
|
9926
9958
|
// src/modules/admin-role/dto/update-admin-role.dto.ts
|
|
9927
|
-
import { IsBoolean as IsBoolean19, IsNotEmpty as
|
|
9959
|
+
import { IsBoolean as IsBoolean19, IsNotEmpty as IsNotEmpty87, IsOptional as IsOptional56, IsString as IsString59 } from "class-validator";
|
|
9928
9960
|
var UpdateAdminRoleDto = class {
|
|
9929
9961
|
};
|
|
9930
9962
|
__decorateClass([
|
|
9931
|
-
|
|
9932
|
-
|
|
9963
|
+
IsNotEmpty87({ message: "Please enter admin role name." }),
|
|
9964
|
+
IsString59({ message: "Role name must be a string." })
|
|
9933
9965
|
], UpdateAdminRoleDto.prototype, "roleName", 2);
|
|
9934
9966
|
__decorateClass([
|
|
9935
9967
|
IsOptional56(),
|
|
9936
|
-
|
|
9968
|
+
IsString59({ message: "Role description must be a string." })
|
|
9937
9969
|
], UpdateAdminRoleDto.prototype, "roleDescription", 2);
|
|
9938
9970
|
__decorateClass([
|
|
9939
9971
|
IsOptional56(),
|
|
@@ -9941,24 +9973,24 @@ __decorateClass([
|
|
|
9941
9973
|
], UpdateAdminRoleDto.prototype, "isActive", 2);
|
|
9942
9974
|
|
|
9943
9975
|
// src/modules/admin-role/dto/attach-permissions-to-role.dto.ts
|
|
9944
|
-
import { IsNotEmpty as
|
|
9976
|
+
import { IsNotEmpty as IsNotEmpty88, IsString as IsString60 } from "class-validator";
|
|
9945
9977
|
var AttachPermissionsToRoleDto = class {
|
|
9946
9978
|
};
|
|
9947
9979
|
__decorateClass([
|
|
9948
|
-
|
|
9949
|
-
|
|
9980
|
+
IsNotEmpty88({ message: "Please enter admin role ID." }),
|
|
9981
|
+
IsString60({ message: "Role ID must be a string." })
|
|
9950
9982
|
], AttachPermissionsToRoleDto.prototype, "roleId", 2);
|
|
9951
9983
|
__decorateClass([
|
|
9952
|
-
|
|
9953
|
-
|
|
9984
|
+
IsNotEmpty88({ message: "Please enter permission IDs." }),
|
|
9985
|
+
IsString60({ message: "Permission IDs must be a comma-separated string." })
|
|
9954
9986
|
], AttachPermissionsToRoleDto.prototype, "permissionIds", 2);
|
|
9955
9987
|
|
|
9956
9988
|
// src/modules/admin-role/dto/update-admin-role-status.dto.ts
|
|
9957
|
-
import { IsBoolean as IsBoolean20, IsNotEmpty as
|
|
9989
|
+
import { IsBoolean as IsBoolean20, IsNotEmpty as IsNotEmpty89 } from "class-validator";
|
|
9958
9990
|
var UpdateAdminRoleStatusDto = class {
|
|
9959
9991
|
};
|
|
9960
9992
|
__decorateClass([
|
|
9961
|
-
|
|
9993
|
+
IsNotEmpty89({ message: "Please specify admin role status." }),
|
|
9962
9994
|
IsBoolean20({ message: "Is active must be a boolean value" })
|
|
9963
9995
|
], UpdateAdminRoleStatusDto.prototype, "isActive", 2);
|
|
9964
9996
|
|
|
@@ -10041,11 +10073,11 @@ var INTERVIEW_PATTERN = {
|
|
|
10041
10073
|
|
|
10042
10074
|
// src/modules/interview/dto/interview-invite.dto.ts
|
|
10043
10075
|
import {
|
|
10044
|
-
IsString as
|
|
10045
|
-
IsNotEmpty as
|
|
10076
|
+
IsString as IsString61,
|
|
10077
|
+
IsNotEmpty as IsNotEmpty90,
|
|
10046
10078
|
IsArray as IsArray21,
|
|
10047
10079
|
ArrayNotEmpty as ArrayNotEmpty13,
|
|
10048
|
-
IsEmail as
|
|
10080
|
+
IsEmail as IsEmail21,
|
|
10049
10081
|
IsUUID as IsUUID20,
|
|
10050
10082
|
IsEnum as IsEnum38,
|
|
10051
10083
|
ValidateIf as ValidateIf12,
|
|
@@ -10072,11 +10104,11 @@ __decorateClass([
|
|
|
10072
10104
|
var NewCandidateDto = class {
|
|
10073
10105
|
};
|
|
10074
10106
|
__decorateClass([
|
|
10075
|
-
|
|
10076
|
-
|
|
10107
|
+
IsNotEmpty90({ message: "Please enter the candidate name" }),
|
|
10108
|
+
IsString61({ message: "Name must be a string" })
|
|
10077
10109
|
], NewCandidateDto.prototype, "name", 2);
|
|
10078
10110
|
__decorateClass([
|
|
10079
|
-
|
|
10111
|
+
IsEmail21({}, { message: "Please enter a valid email." })
|
|
10080
10112
|
], NewCandidateDto.prototype, "email", 2);
|
|
10081
10113
|
__decorateClass([
|
|
10082
10114
|
IsEnum38(CandidateType, {
|
|
@@ -10111,12 +10143,12 @@ __decorateClass([
|
|
|
10111
10143
|
|
|
10112
10144
|
// src/modules/interview/dto/send-interview-invite.dto.ts
|
|
10113
10145
|
import {
|
|
10114
|
-
IsString as
|
|
10115
|
-
IsNotEmpty as
|
|
10146
|
+
IsString as IsString62,
|
|
10147
|
+
IsNotEmpty as IsNotEmpty91,
|
|
10116
10148
|
IsArray as IsArray22,
|
|
10117
10149
|
IsUUID as IsUUID21,
|
|
10118
10150
|
IsEnum as IsEnum39,
|
|
10119
|
-
IsEmail as
|
|
10151
|
+
IsEmail as IsEmail22,
|
|
10120
10152
|
ValidateNested as ValidateNested9,
|
|
10121
10153
|
IsOptional as IsOptional58
|
|
10122
10154
|
} from "class-validator";
|
|
@@ -10132,35 +10164,35 @@ var ExistingCandidateDto2 = class {
|
|
|
10132
10164
|
};
|
|
10133
10165
|
__decorateClass([
|
|
10134
10166
|
IsUUID21("4", { message: "Candidate ID must be a valid UUID." }),
|
|
10135
|
-
|
|
10167
|
+
IsNotEmpty91({ message: "Candidate ID is required." })
|
|
10136
10168
|
], ExistingCandidateDto2.prototype, "id", 2);
|
|
10137
10169
|
__decorateClass([
|
|
10138
10170
|
IsEnum39(InterviewInviteCandidateType, {
|
|
10139
10171
|
message: "Type must be one of SHORTLISTED, APPLICANTS, or RECOMMENDED."
|
|
10140
10172
|
}),
|
|
10141
|
-
|
|
10173
|
+
IsNotEmpty91({ message: "Candidate type is required." })
|
|
10142
10174
|
], ExistingCandidateDto2.prototype, "type", 2);
|
|
10143
10175
|
var NewCandidateDto2 = class {
|
|
10144
10176
|
};
|
|
10145
10177
|
__decorateClass([
|
|
10146
|
-
|
|
10147
|
-
|
|
10178
|
+
IsString62({ message: "Name must be a string." }),
|
|
10179
|
+
IsNotEmpty91({ message: "Candidate name is required." })
|
|
10148
10180
|
], NewCandidateDto2.prototype, "name", 2);
|
|
10149
10181
|
__decorateClass([
|
|
10150
|
-
|
|
10151
|
-
|
|
10182
|
+
IsEmail22({}, { message: "Please enter a valid email address." }),
|
|
10183
|
+
IsNotEmpty91({ message: "Email is required." })
|
|
10152
10184
|
], NewCandidateDto2.prototype, "email", 2);
|
|
10153
10185
|
__decorateClass([
|
|
10154
10186
|
IsEnum39(InterviewInviteCandidateType, {
|
|
10155
10187
|
message: "Type must be NEW for new candidates."
|
|
10156
10188
|
}),
|
|
10157
|
-
|
|
10189
|
+
IsNotEmpty91({ message: "Candidate type is required." })
|
|
10158
10190
|
], NewCandidateDto2.prototype, "type", 2);
|
|
10159
10191
|
var SendInterviewInviteDto = class {
|
|
10160
10192
|
};
|
|
10161
10193
|
__decorateClass([
|
|
10162
10194
|
IsUUID21("4", { message: "Job ID must be a valid UUID." }),
|
|
10163
|
-
|
|
10195
|
+
IsNotEmpty91({ message: "Job ID is required." })
|
|
10164
10196
|
], SendInterviewInviteDto.prototype, "jobId", 2);
|
|
10165
10197
|
__decorateClass([
|
|
10166
10198
|
IsArray22({ message: "Existing candidates must be an array." }),
|
|
@@ -10177,20 +10209,20 @@ __decorateClass([
|
|
|
10177
10209
|
|
|
10178
10210
|
// src/modules/interview/dto/create-f2f-interview.dto.ts
|
|
10179
10211
|
import {
|
|
10180
|
-
IsString as
|
|
10181
|
-
IsNotEmpty as
|
|
10182
|
-
IsEmail as
|
|
10212
|
+
IsString as IsString63,
|
|
10213
|
+
IsNotEmpty as IsNotEmpty92,
|
|
10214
|
+
IsEmail as IsEmail23,
|
|
10183
10215
|
IsNumber as IsNumber17
|
|
10184
10216
|
} from "class-validator";
|
|
10185
10217
|
var CreateF2FInterviewDto = class {
|
|
10186
10218
|
};
|
|
10187
10219
|
__decorateClass([
|
|
10188
|
-
|
|
10189
|
-
|
|
10220
|
+
IsEmail23({}, { message: "Please enter a valid email address." }),
|
|
10221
|
+
IsNotEmpty92({ message: "Invitee email is required." })
|
|
10190
10222
|
], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
|
|
10191
10223
|
__decorateClass([
|
|
10192
|
-
|
|
10193
|
-
|
|
10224
|
+
IsString63({ message: "Invitee name must be a string." }),
|
|
10225
|
+
IsNotEmpty92({ message: "Invitee name is required." })
|
|
10194
10226
|
], CreateF2FInterviewDto.prototype, "inviteeName", 2);
|
|
10195
10227
|
__decorateClass([
|
|
10196
10228
|
IsNumber17({}, { message: "Interview ID must be a number." })
|
|
@@ -10201,20 +10233,20 @@ __decorateClass([
|
|
|
10201
10233
|
|
|
10202
10234
|
// src/modules/interview/dto/create-f2f-interview-direct.dto.ts
|
|
10203
10235
|
import {
|
|
10204
|
-
IsString as
|
|
10205
|
-
IsNotEmpty as
|
|
10206
|
-
IsEmail as
|
|
10236
|
+
IsString as IsString64,
|
|
10237
|
+
IsNotEmpty as IsNotEmpty93,
|
|
10238
|
+
IsEmail as IsEmail24,
|
|
10207
10239
|
IsNumber as IsNumber18
|
|
10208
10240
|
} from "class-validator";
|
|
10209
10241
|
var CreateF2FInterviewDirectDto = class {
|
|
10210
10242
|
};
|
|
10211
10243
|
__decorateClass([
|
|
10212
|
-
|
|
10213
|
-
|
|
10244
|
+
IsEmail24({}, { message: "Please enter a valid email address." }),
|
|
10245
|
+
IsNotEmpty93({ message: "Invitee email is required." })
|
|
10214
10246
|
], CreateF2FInterviewDirectDto.prototype, "inviteeEmail", 2);
|
|
10215
10247
|
__decorateClass([
|
|
10216
|
-
|
|
10217
|
-
|
|
10248
|
+
IsString64({ message: "Invitee name must be a string." }),
|
|
10249
|
+
IsNotEmpty93({ message: "Invitee name is required." })
|
|
10218
10250
|
], CreateF2FInterviewDirectDto.prototype, "inviteeName", 2);
|
|
10219
10251
|
__decorateClass([
|
|
10220
10252
|
IsNumber18({}, { message: "Job ID must be a number." })
|
|
@@ -10225,8 +10257,8 @@ __decorateClass([
|
|
|
10225
10257
|
|
|
10226
10258
|
// src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
|
|
10227
10259
|
import {
|
|
10228
|
-
IsString as
|
|
10229
|
-
IsNotEmpty as
|
|
10260
|
+
IsString as IsString65,
|
|
10261
|
+
IsNotEmpty as IsNotEmpty94,
|
|
10230
10262
|
IsOptional as IsOptional59,
|
|
10231
10263
|
IsUUID as IsUUID22
|
|
10232
10264
|
} from "class-validator";
|
|
@@ -10234,60 +10266,60 @@ var CreateF2FInterviewRescheduleRequestDto = class {
|
|
|
10234
10266
|
};
|
|
10235
10267
|
__decorateClass([
|
|
10236
10268
|
IsUUID22("4", { message: "F2F Interview ID must be a valid UUID." }),
|
|
10237
|
-
|
|
10269
|
+
IsNotEmpty94({ message: "F2F Interview ID is required." })
|
|
10238
10270
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "f2FInterviewId", 2);
|
|
10239
10271
|
__decorateClass([
|
|
10240
|
-
|
|
10272
|
+
IsNotEmpty94({ message: "Rescheduled date is required." })
|
|
10241
10273
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
|
|
10242
10274
|
__decorateClass([
|
|
10243
|
-
|
|
10244
|
-
|
|
10275
|
+
IsString65({ message: "Rescheduled slot must be a string." }),
|
|
10276
|
+
IsNotEmpty94({ message: "Rescheduled slot is required." })
|
|
10245
10277
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
|
|
10246
10278
|
__decorateClass([
|
|
10247
10279
|
IsOptional59(),
|
|
10248
|
-
|
|
10280
|
+
IsString65({ message: "Freelancer request reason must be a string." })
|
|
10249
10281
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
|
|
10250
10282
|
|
|
10251
10283
|
// src/modules/interview/dto/create-ai-interview-reschedule-request.dto.ts
|
|
10252
10284
|
import {
|
|
10253
|
-
IsString as
|
|
10254
|
-
IsNotEmpty as
|
|
10285
|
+
IsString as IsString66,
|
|
10286
|
+
IsNotEmpty as IsNotEmpty95
|
|
10255
10287
|
} from "class-validator";
|
|
10256
10288
|
var CreateAIInterviewRescheduleRequestDto = class {
|
|
10257
10289
|
};
|
|
10258
10290
|
__decorateClass([
|
|
10259
|
-
|
|
10291
|
+
IsNotEmpty95({ message: "AI Interview ID is required." })
|
|
10260
10292
|
], CreateAIInterviewRescheduleRequestDto.prototype, "aiInterviewId", 2);
|
|
10261
10293
|
__decorateClass([
|
|
10262
|
-
|
|
10294
|
+
IsString66({ message: "Freelancer reason must be a string." })
|
|
10263
10295
|
], CreateAIInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
|
|
10264
10296
|
|
|
10265
10297
|
// src/modules/interview/dto/reject-ai-interview-reschedule-request.dto.ts
|
|
10266
10298
|
import {
|
|
10267
|
-
IsString as
|
|
10299
|
+
IsString as IsString67
|
|
10268
10300
|
} from "class-validator";
|
|
10269
10301
|
var RejectAIInterviewRescheduleRequestDto = class {
|
|
10270
10302
|
};
|
|
10271
10303
|
__decorateClass([
|
|
10272
|
-
|
|
10304
|
+
IsString67({ message: "Client reject reason must be a string." })
|
|
10273
10305
|
], RejectAIInterviewRescheduleRequestDto.prototype, "clientRejectReason", 2);
|
|
10274
10306
|
|
|
10275
10307
|
// src/modules/interview/dto/reject-f2f-interview-reschedule-request.dto.ts
|
|
10276
|
-
import { IsOptional as IsOptional61, IsString as
|
|
10308
|
+
import { IsOptional as IsOptional61, IsString as IsString68 } from "class-validator";
|
|
10277
10309
|
var RejectF2FInterviewRescheduleRequestDto = class {
|
|
10278
10310
|
};
|
|
10279
10311
|
__decorateClass([
|
|
10280
10312
|
IsOptional61(),
|
|
10281
|
-
|
|
10313
|
+
IsString68()
|
|
10282
10314
|
], RejectF2FInterviewRescheduleRequestDto.prototype, "clientRejectReason", 2);
|
|
10283
10315
|
|
|
10284
10316
|
// src/modules/interview/dto/capture-ai-interview-result-public.dto.ts
|
|
10285
|
-
import { IsNotEmpty as
|
|
10317
|
+
import { IsNotEmpty as IsNotEmpty96, IsString as IsString69, IsOptional as IsOptional62, IsObject as IsObject6 } from "class-validator";
|
|
10286
10318
|
var CaptureAiInterviewResultPublicDto = class {
|
|
10287
10319
|
};
|
|
10288
10320
|
__decorateClass([
|
|
10289
|
-
|
|
10290
|
-
|
|
10321
|
+
IsNotEmpty96({ message: "AI Interview UUID is required" }),
|
|
10322
|
+
IsString69({ message: "AI Interview UUID must be a string" })
|
|
10291
10323
|
], CaptureAiInterviewResultPublicDto.prototype, "aiInterviewUuid", 2);
|
|
10292
10324
|
__decorateClass([
|
|
10293
10325
|
IsOptional62(),
|
|
@@ -10295,33 +10327,33 @@ __decorateClass([
|
|
|
10295
10327
|
], CaptureAiInterviewResultPublicDto.prototype, "result", 2);
|
|
10296
10328
|
__decorateClass([
|
|
10297
10329
|
IsOptional62(),
|
|
10298
|
-
|
|
10330
|
+
IsString69()
|
|
10299
10331
|
], CaptureAiInterviewResultPublicDto.prototype, "status", 2);
|
|
10300
10332
|
|
|
10301
10333
|
// src/modules/interview/dto/create-interview-basic-information.dto.ts
|
|
10302
|
-
import { IsNotEmpty as
|
|
10334
|
+
import { IsNotEmpty as IsNotEmpty97, IsString as IsString70, IsNumber as IsNumber19 } from "class-validator";
|
|
10303
10335
|
var CreateInterviewBasicInformationDto = class {
|
|
10304
10336
|
};
|
|
10305
10337
|
__decorateClass([
|
|
10306
|
-
|
|
10338
|
+
IsNotEmpty97({ message: "Job ID is required" }),
|
|
10307
10339
|
IsNumber19({}, { message: "Job ID must be a number" })
|
|
10308
10340
|
], CreateInterviewBasicInformationDto.prototype, "jobId", 2);
|
|
10309
10341
|
__decorateClass([
|
|
10310
|
-
|
|
10311
|
-
|
|
10342
|
+
IsNotEmpty97({ message: "Interview name is required" }),
|
|
10343
|
+
IsString70({ message: "Interview name must be a string" })
|
|
10312
10344
|
], CreateInterviewBasicInformationDto.prototype, "interviewName", 2);
|
|
10313
10345
|
|
|
10314
10346
|
// src/modules/interview/dto/update-interview-basic-information.dto.ts
|
|
10315
|
-
import { IsOptional as IsOptional64, IsString as
|
|
10347
|
+
import { IsOptional as IsOptional64, IsString as IsString71, IsNumber as IsNumber20, IsArray as IsArray24, IsDateString as IsDateString8 } from "class-validator";
|
|
10316
10348
|
var UpdateInterviewBasicInformationDto = class {
|
|
10317
10349
|
};
|
|
10318
10350
|
__decorateClass([
|
|
10319
10351
|
IsOptional64(),
|
|
10320
|
-
|
|
10352
|
+
IsString71()
|
|
10321
10353
|
], UpdateInterviewBasicInformationDto.prototype, "title", 2);
|
|
10322
10354
|
__decorateClass([
|
|
10323
10355
|
IsOptional64(),
|
|
10324
|
-
|
|
10356
|
+
IsString71()
|
|
10325
10357
|
], UpdateInterviewBasicInformationDto.prototype, "description", 2);
|
|
10326
10358
|
__decorateClass([
|
|
10327
10359
|
IsOptional64(),
|
|
@@ -10338,15 +10370,15 @@ __decorateClass([
|
|
|
10338
10370
|
], UpdateInterviewBasicInformationDto.prototype, "skillIds", 2);
|
|
10339
10371
|
__decorateClass([
|
|
10340
10372
|
IsOptional64(),
|
|
10341
|
-
|
|
10373
|
+
IsString71()
|
|
10342
10374
|
], UpdateInterviewBasicInformationDto.prototype, "location", 2);
|
|
10343
10375
|
|
|
10344
10376
|
// src/modules/interview/dto/create-interview-skills.dto.ts
|
|
10345
10377
|
import {
|
|
10346
10378
|
IsArray as IsArray25,
|
|
10347
|
-
IsNotEmpty as
|
|
10379
|
+
IsNotEmpty as IsNotEmpty98,
|
|
10348
10380
|
IsOptional as IsOptional65,
|
|
10349
|
-
IsString as
|
|
10381
|
+
IsString as IsString72,
|
|
10350
10382
|
ValidateNested as ValidateNested10
|
|
10351
10383
|
} from "class-validator";
|
|
10352
10384
|
import { Type as Type18 } from "class-transformer";
|
|
@@ -10356,18 +10388,18 @@ __decorateClass([
|
|
|
10356
10388
|
IsOptional65()
|
|
10357
10389
|
], InterviewSkillItemDto.prototype, "uuid", 2);
|
|
10358
10390
|
__decorateClass([
|
|
10359
|
-
|
|
10360
|
-
|
|
10391
|
+
IsString72({ message: "Skill name must be a string." }),
|
|
10392
|
+
IsNotEmpty98({ message: "Skill name is required." })
|
|
10361
10393
|
], InterviewSkillItemDto.prototype, "skill", 2);
|
|
10362
10394
|
__decorateClass([
|
|
10363
10395
|
IsOptional65(),
|
|
10364
|
-
|
|
10396
|
+
IsString72({ message: "Skill description must be a string." })
|
|
10365
10397
|
], InterviewSkillItemDto.prototype, "description", 2);
|
|
10366
10398
|
var CreateInterviewSkillsDto = class {
|
|
10367
10399
|
};
|
|
10368
10400
|
__decorateClass([
|
|
10369
10401
|
IsArray25({ message: "Skills must be an array." }),
|
|
10370
|
-
|
|
10402
|
+
IsNotEmpty98({ message: "At least one skill is required." }),
|
|
10371
10403
|
ValidateNested10({ each: true }),
|
|
10372
10404
|
Type18(() => InterviewSkillItemDto)
|
|
10373
10405
|
], CreateInterviewSkillsDto.prototype, "skills", 2);
|
|
@@ -10375,9 +10407,9 @@ __decorateClass([
|
|
|
10375
10407
|
// src/modules/interview/dto/create-interview-questions.dto.ts
|
|
10376
10408
|
import {
|
|
10377
10409
|
IsArray as IsArray26,
|
|
10378
|
-
IsNotEmpty as
|
|
10410
|
+
IsNotEmpty as IsNotEmpty99,
|
|
10379
10411
|
IsOptional as IsOptional66,
|
|
10380
|
-
IsString as
|
|
10412
|
+
IsString as IsString73,
|
|
10381
10413
|
IsUUID as IsUUID24,
|
|
10382
10414
|
ValidateNested as ValidateNested11
|
|
10383
10415
|
} from "class-validator";
|
|
@@ -10389,8 +10421,8 @@ __decorateClass([
|
|
|
10389
10421
|
IsUUID24("4", { message: "Question UUID must be a valid UUID." })
|
|
10390
10422
|
], CustomQuestionItemDto.prototype, "uuid", 2);
|
|
10391
10423
|
__decorateClass([
|
|
10392
|
-
|
|
10393
|
-
|
|
10424
|
+
IsString73({ message: "Question must be a string." }),
|
|
10425
|
+
IsNotEmpty99({ message: "Question is required." })
|
|
10394
10426
|
], CustomQuestionItemDto.prototype, "question", 2);
|
|
10395
10427
|
var AiQuestionItemDto = class {
|
|
10396
10428
|
};
|
|
@@ -10399,13 +10431,13 @@ __decorateClass([
|
|
|
10399
10431
|
IsUUID24("4", { message: "Question UUID must be a valid UUID." })
|
|
10400
10432
|
], AiQuestionItemDto.prototype, "uuid", 2);
|
|
10401
10433
|
__decorateClass([
|
|
10402
|
-
|
|
10403
|
-
|
|
10434
|
+
IsString73({ message: "Question must be a string." }),
|
|
10435
|
+
IsNotEmpty99({ message: "Question is required." })
|
|
10404
10436
|
], AiQuestionItemDto.prototype, "question", 2);
|
|
10405
10437
|
__decorateClass([
|
|
10406
10438
|
IsOptional66(),
|
|
10407
10439
|
IsArray26({ message: "Concepts must be an array." }),
|
|
10408
|
-
|
|
10440
|
+
IsString73({ each: true, message: "Each concept must be a string." })
|
|
10409
10441
|
], AiQuestionItemDto.prototype, "concepts", 2);
|
|
10410
10442
|
var CreateInterviewQuestionsDto = class {
|
|
10411
10443
|
};
|
|
@@ -10426,14 +10458,14 @@ __decorateClass([
|
|
|
10426
10458
|
import {
|
|
10427
10459
|
IsBoolean as IsBoolean21,
|
|
10428
10460
|
IsOptional as IsOptional67,
|
|
10429
|
-
IsString as
|
|
10461
|
+
IsString as IsString74
|
|
10430
10462
|
} from "class-validator";
|
|
10431
10463
|
import { Type as Type20 } from "class-transformer";
|
|
10432
10464
|
var UpdateInterviewSettingDto = class {
|
|
10433
10465
|
};
|
|
10434
10466
|
__decorateClass([
|
|
10435
10467
|
IsOptional67(),
|
|
10436
|
-
|
|
10468
|
+
IsString74({ message: "Interview language must be a string." })
|
|
10437
10469
|
], UpdateInterviewSettingDto.prototype, "interviewLanguage", 2);
|
|
10438
10470
|
__decorateClass([
|
|
10439
10471
|
IsOptional67(),
|
|
@@ -10442,32 +10474,32 @@ __decorateClass([
|
|
|
10442
10474
|
], UpdateInterviewSettingDto.prototype, "allowProctoring", 2);
|
|
10443
10475
|
__decorateClass([
|
|
10444
10476
|
IsOptional67(),
|
|
10445
|
-
|
|
10477
|
+
IsString74({ message: "Interview duration must be a string." })
|
|
10446
10478
|
], UpdateInterviewSettingDto.prototype, "interviewDuration", 2);
|
|
10447
10479
|
__decorateClass([
|
|
10448
10480
|
IsOptional67(),
|
|
10449
|
-
|
|
10481
|
+
IsString74({ message: "Interview validity period must be a string." })
|
|
10450
10482
|
], UpdateInterviewSettingDto.prototype, "interviewValidityPeriod", 2);
|
|
10451
10483
|
__decorateClass([
|
|
10452
10484
|
IsOptional67(),
|
|
10453
|
-
|
|
10485
|
+
IsString74({ message: "Maximum attempts allowed must be a string." })
|
|
10454
10486
|
], UpdateInterviewSettingDto.prototype, "maximumAttemptsAllowed", 2);
|
|
10455
10487
|
__decorateClass([
|
|
10456
10488
|
IsOptional67(),
|
|
10457
|
-
|
|
10489
|
+
IsString74({ message: "Start interview message must be a string." })
|
|
10458
10490
|
], UpdateInterviewSettingDto.prototype, "startInterviewMessage", 2);
|
|
10459
10491
|
__decorateClass([
|
|
10460
10492
|
IsOptional67(),
|
|
10461
|
-
|
|
10493
|
+
IsString74({ message: "End interview message must be a string." })
|
|
10462
10494
|
], UpdateInterviewSettingDto.prototype, "endInterviewMessage", 2);
|
|
10463
10495
|
|
|
10464
10496
|
// src/modules/interview/dto/update-interview-type-information.dto.ts
|
|
10465
|
-
import { IsOptional as IsOptional68, IsString as
|
|
10497
|
+
import { IsOptional as IsOptional68, IsString as IsString75 } from "class-validator";
|
|
10466
10498
|
var UpdateInterviewTypeInformationDto = class {
|
|
10467
10499
|
};
|
|
10468
10500
|
__decorateClass([
|
|
10469
10501
|
IsOptional68(),
|
|
10470
|
-
|
|
10502
|
+
IsString75({ message: "Interview type must be a string." })
|
|
10471
10503
|
], UpdateInterviewTypeInformationDto.prototype, "interviewType", 2);
|
|
10472
10504
|
|
|
10473
10505
|
// src/modules/contract/pattern/pattern.ts
|
|
@@ -10506,51 +10538,51 @@ var CONTRACT_PATTERN = {
|
|
|
10506
10538
|
};
|
|
10507
10539
|
|
|
10508
10540
|
// src/modules/contract/dto/sign-contract-for-client.dto.ts
|
|
10509
|
-
import { IsEnum as IsEnum40, IsNotEmpty as
|
|
10541
|
+
import { IsEnum as IsEnum40, IsNotEmpty as IsNotEmpty100, IsNumber as IsNumber21 } from "class-validator";
|
|
10510
10542
|
import { Type as Type21 } from "class-transformer";
|
|
10511
10543
|
var SignContractForClientDto = class {
|
|
10512
10544
|
};
|
|
10513
10545
|
__decorateClass([
|
|
10514
|
-
|
|
10546
|
+
IsNotEmpty100({ message: "Job Id is required." }),
|
|
10515
10547
|
Type21(() => Number),
|
|
10516
10548
|
IsNumber21({}, { message: "Job ID must be a number." })
|
|
10517
10549
|
], SignContractForClientDto.prototype, "jobId", 2);
|
|
10518
10550
|
__decorateClass([
|
|
10519
|
-
|
|
10551
|
+
IsNotEmpty100({ message: "Freelancer ID is required." }),
|
|
10520
10552
|
Type21(() => Number),
|
|
10521
10553
|
IsNumber21({}, { message: "Freelancer ID must be a number." })
|
|
10522
10554
|
], SignContractForClientDto.prototype, "freelancerId", 2);
|
|
10523
10555
|
__decorateClass([
|
|
10524
|
-
|
|
10556
|
+
IsNotEmpty100({ message: "Contract type is required." }),
|
|
10525
10557
|
IsEnum40(ContractTypeEnum)
|
|
10526
10558
|
], SignContractForClientDto.prototype, "contractType", 2);
|
|
10527
10559
|
|
|
10528
10560
|
// src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
|
|
10529
|
-
import { IsEnum as IsEnum41, IsNotEmpty as
|
|
10561
|
+
import { IsEnum as IsEnum41, IsNotEmpty as IsNotEmpty101, IsNumber as IsNumber22 } from "class-validator";
|
|
10530
10562
|
import { Type as Type22 } from "class-transformer";
|
|
10531
10563
|
var SignContractForFreelancerDto = class {
|
|
10532
10564
|
};
|
|
10533
10565
|
__decorateClass([
|
|
10534
|
-
|
|
10566
|
+
IsNotEmpty101({ message: "Job Id is required." }),
|
|
10535
10567
|
Type22(() => Number),
|
|
10536
10568
|
IsNumber22({}, { message: "Job ID must be a number." })
|
|
10537
10569
|
], SignContractForFreelancerDto.prototype, "jobId", 2);
|
|
10538
10570
|
__decorateClass([
|
|
10539
|
-
|
|
10571
|
+
IsNotEmpty101({ message: "Client ID is required." }),
|
|
10540
10572
|
Type22(() => Number),
|
|
10541
10573
|
IsNumber22({}, { message: "Client ID must be a number." })
|
|
10542
10574
|
], SignContractForFreelancerDto.prototype, "clientId", 2);
|
|
10543
10575
|
__decorateClass([
|
|
10544
|
-
|
|
10576
|
+
IsNotEmpty101({ message: "Contract type is required." }),
|
|
10545
10577
|
IsEnum41(ContractTypeEnum)
|
|
10546
10578
|
], SignContractForFreelancerDto.prototype, "contractType", 2);
|
|
10547
10579
|
|
|
10548
10580
|
// src/modules/contract/dto/generate-contract.dto.ts
|
|
10549
10581
|
import {
|
|
10550
|
-
IsNotEmpty as
|
|
10582
|
+
IsNotEmpty as IsNotEmpty102,
|
|
10551
10583
|
IsNumber as IsNumber23,
|
|
10552
10584
|
IsOptional as IsOptional69,
|
|
10553
|
-
IsString as
|
|
10585
|
+
IsString as IsString76,
|
|
10554
10586
|
IsUUID as IsUUID25,
|
|
10555
10587
|
IsEnum as IsEnum42
|
|
10556
10588
|
} from "class-validator";
|
|
@@ -10575,11 +10607,11 @@ var GenerateContractDto = class {
|
|
|
10575
10607
|
};
|
|
10576
10608
|
__decorateClass([
|
|
10577
10609
|
IsNumber23({}, { message: "Job ID must be a number." }),
|
|
10578
|
-
|
|
10610
|
+
IsNotEmpty102({ message: "Job ID is required." })
|
|
10579
10611
|
], GenerateContractDto.prototype, "jobId", 2);
|
|
10580
10612
|
__decorateClass([
|
|
10581
10613
|
IsNumber23({}, { message: "Freelancer ID must be a number." }),
|
|
10582
|
-
|
|
10614
|
+
IsNotEmpty102({ message: "Freelancer ID is required." })
|
|
10583
10615
|
], GenerateContractDto.prototype, "freelancerId", 2);
|
|
10584
10616
|
__decorateClass([
|
|
10585
10617
|
IsOptional69(),
|
|
@@ -10588,19 +10620,19 @@ __decorateClass([
|
|
|
10588
10620
|
})
|
|
10589
10621
|
], GenerateContractDto.prototype, "contractType", 2);
|
|
10590
10622
|
__decorateClass([
|
|
10591
|
-
|
|
10592
|
-
|
|
10623
|
+
IsNotEmpty102({ message: "Contract start date is required." }),
|
|
10624
|
+
IsString76({ message: "Contract start date must be a string." })
|
|
10593
10625
|
], GenerateContractDto.prototype, "contractStartDate", 2);
|
|
10594
10626
|
__decorateClass([
|
|
10595
|
-
|
|
10596
|
-
|
|
10627
|
+
IsNotEmpty102({ message: "Contract end date is required." }),
|
|
10628
|
+
IsString76({ message: "Contract end date must be a string." })
|
|
10597
10629
|
], GenerateContractDto.prototype, "contractEndDate", 2);
|
|
10598
10630
|
__decorateClass([
|
|
10599
10631
|
IsOptional69(),
|
|
10600
|
-
|
|
10632
|
+
IsString76({ message: "Contract invoicing cycle must be a string." })
|
|
10601
10633
|
], GenerateContractDto.prototype, "contractInvoicingCycle", 2);
|
|
10602
10634
|
__decorateClass([
|
|
10603
|
-
|
|
10635
|
+
IsNotEmpty102({ message: "Preferred engagement type is required" }),
|
|
10604
10636
|
IsEnum42(PreferredEngagementTypeEnum, {
|
|
10605
10637
|
message: "Preferred engagement type must be FREELANCE."
|
|
10606
10638
|
})
|
|
@@ -10617,34 +10649,34 @@ __decorateClass([
|
|
|
10617
10649
|
], GenerateContractDto.prototype, "sourceUuid", 2);
|
|
10618
10650
|
|
|
10619
10651
|
// src/modules/contract/dto/esign-contract-client.dto.ts
|
|
10620
|
-
import { IsNotEmpty as
|
|
10652
|
+
import { IsNotEmpty as IsNotEmpty103, IsUUID as IsUUID26 } from "class-validator";
|
|
10621
10653
|
var EsignContractClientDto = class {
|
|
10622
10654
|
};
|
|
10623
10655
|
__decorateClass([
|
|
10624
10656
|
IsUUID26("4", { message: "Contract UUID must be a valid UUID." }),
|
|
10625
|
-
|
|
10657
|
+
IsNotEmpty103({ message: "Contract UUID is required." })
|
|
10626
10658
|
], EsignContractClientDto.prototype, "contractUuid", 2);
|
|
10627
10659
|
|
|
10628
10660
|
// src/modules/contract/dto/esign-contract-freelancer.dto.ts
|
|
10629
|
-
import { IsNotEmpty as
|
|
10661
|
+
import { IsNotEmpty as IsNotEmpty104, IsUUID as IsUUID27 } from "class-validator";
|
|
10630
10662
|
var EsignContractFreelancerDto = class {
|
|
10631
10663
|
};
|
|
10632
10664
|
__decorateClass([
|
|
10633
10665
|
IsUUID27("4", { message: "Contract UUID must be a valid UUID." }),
|
|
10634
|
-
|
|
10666
|
+
IsNotEmpty104({ message: "Contract UUID is required." })
|
|
10635
10667
|
], EsignContractFreelancerDto.prototype, "contractUuid", 2);
|
|
10636
10668
|
|
|
10637
10669
|
// src/modules/contract/dto/escrow-fund-contract.dto.ts
|
|
10638
|
-
import { IsNotEmpty as
|
|
10670
|
+
import { IsNotEmpty as IsNotEmpty105, IsUUID as IsUUID28 } from "class-validator";
|
|
10639
10671
|
var EscrowFundContractDto = class {
|
|
10640
10672
|
};
|
|
10641
10673
|
__decorateClass([
|
|
10642
10674
|
IsUUID28("4", { message: "Contract ID must be a valid UUID." }),
|
|
10643
|
-
|
|
10675
|
+
IsNotEmpty105({ message: "Contract ID is required." })
|
|
10644
10676
|
], EscrowFundContractDto.prototype, "contractId", 2);
|
|
10645
10677
|
|
|
10646
10678
|
// src/modules/contract/dto/send-nda-contract-to-freelancer.dto.ts
|
|
10647
|
-
import { IsNotEmpty as
|
|
10679
|
+
import { IsNotEmpty as IsNotEmpty106, IsOptional as IsOptional70, IsUUID as IsUUID29, IsEnum as IsEnum43 } from "class-validator";
|
|
10648
10680
|
var ContractSourceEnum2 = /* @__PURE__ */ ((ContractSourceEnum3) => {
|
|
10649
10681
|
ContractSourceEnum3["AI_INTERVIEW"] = "AI_INTERVIEW";
|
|
10650
10682
|
ContractSourceEnum3["F2F_INTERVIEW"] = "F2F_INTERVIEW";
|
|
@@ -10655,7 +10687,7 @@ var SendNdaContractToFreelancerDto = class {
|
|
|
10655
10687
|
};
|
|
10656
10688
|
__decorateClass([
|
|
10657
10689
|
IsUUID29("4", { message: "Contract UUID must be a valid UUID." }),
|
|
10658
|
-
|
|
10690
|
+
IsNotEmpty106({ message: "Contract UUID is required." })
|
|
10659
10691
|
], SendNdaContractToFreelancerDto.prototype, "contractUuid", 2);
|
|
10660
10692
|
__decorateClass([
|
|
10661
10693
|
IsOptional70(),
|
|
@@ -10669,12 +10701,12 @@ __decorateClass([
|
|
|
10669
10701
|
], SendNdaContractToFreelancerDto.prototype, "sourceUuid", 2);
|
|
10670
10702
|
|
|
10671
10703
|
// src/modules/contract/dto/reject-contract.dto.ts
|
|
10672
|
-
import { IsOptional as IsOptional71, IsString as
|
|
10704
|
+
import { IsOptional as IsOptional71, IsString as IsString78 } from "class-validator";
|
|
10673
10705
|
var RejectContractDto = class {
|
|
10674
10706
|
};
|
|
10675
10707
|
__decorateClass([
|
|
10676
10708
|
IsOptional71(),
|
|
10677
|
-
|
|
10709
|
+
IsString78({ message: "Reject reason must be a string." })
|
|
10678
10710
|
], RejectContractDto.prototype, "rejectReason", 2);
|
|
10679
10711
|
|
|
10680
10712
|
// src/modules/stripe/pattern/pattern.ts
|
|
@@ -10699,55 +10731,55 @@ var STRIPE_PATTERN = {
|
|
|
10699
10731
|
|
|
10700
10732
|
// src/modules/stripe/dto/create-checkout-session.dto.ts
|
|
10701
10733
|
import {
|
|
10702
|
-
IsNotEmpty as
|
|
10734
|
+
IsNotEmpty as IsNotEmpty107
|
|
10703
10735
|
} from "class-validator";
|
|
10704
10736
|
var CreateCheckoutSessionDto = class {
|
|
10705
10737
|
};
|
|
10706
10738
|
__decorateClass([
|
|
10707
|
-
|
|
10739
|
+
IsNotEmpty107({ message: "Amount is required" })
|
|
10708
10740
|
], CreateCheckoutSessionDto.prototype, "amount", 2);
|
|
10709
10741
|
|
|
10710
10742
|
// src/modules/stripe/dto/pre-checkout-calculation.dto.ts
|
|
10711
|
-
import { IsNotEmpty as
|
|
10743
|
+
import { IsNotEmpty as IsNotEmpty108, IsNumber as IsNumber24, IsOptional as IsOptional72, IsString as IsString79 } from "class-validator";
|
|
10712
10744
|
var PreCheckoutCalculationDto = class {
|
|
10713
10745
|
};
|
|
10714
10746
|
__decorateClass([
|
|
10715
|
-
|
|
10747
|
+
IsNotEmpty108({ message: "Amount is required" }),
|
|
10716
10748
|
IsNumber24({}, { message: "Amount must be a number" })
|
|
10717
10749
|
], PreCheckoutCalculationDto.prototype, "amount", 2);
|
|
10718
10750
|
__decorateClass([
|
|
10719
10751
|
IsOptional72(),
|
|
10720
|
-
|
|
10752
|
+
IsString79()
|
|
10721
10753
|
], PreCheckoutCalculationDto.prototype, "currency", 2);
|
|
10722
10754
|
__decorateClass([
|
|
10723
10755
|
IsOptional72(),
|
|
10724
|
-
|
|
10756
|
+
IsString79()
|
|
10725
10757
|
], PreCheckoutCalculationDto.prototype, "description", 2);
|
|
10726
10758
|
|
|
10727
10759
|
// src/modules/stripe/dto/client-add-fund.dto.ts
|
|
10728
|
-
import { IsNotEmpty as
|
|
10760
|
+
import { IsNotEmpty as IsNotEmpty109, IsNumber as IsNumber25, IsOptional as IsOptional73, IsString as IsString80 } from "class-validator";
|
|
10729
10761
|
var ClientAddFundDto = class {
|
|
10730
10762
|
};
|
|
10731
10763
|
__decorateClass([
|
|
10732
|
-
|
|
10764
|
+
IsNotEmpty109({ message: "Amount is required" }),
|
|
10733
10765
|
IsNumber25({}, { message: "Amount must be a number" })
|
|
10734
10766
|
], ClientAddFundDto.prototype, "amount", 2);
|
|
10735
10767
|
__decorateClass([
|
|
10736
10768
|
IsOptional73(),
|
|
10737
|
-
|
|
10769
|
+
IsString80()
|
|
10738
10770
|
], ClientAddFundDto.prototype, "currency", 2);
|
|
10739
10771
|
__decorateClass([
|
|
10740
10772
|
IsOptional73(),
|
|
10741
|
-
|
|
10773
|
+
IsString80()
|
|
10742
10774
|
], ClientAddFundDto.prototype, "description", 2);
|
|
10743
10775
|
|
|
10744
10776
|
// src/modules/stripe/dto/transfer-funds.dto.ts
|
|
10745
|
-
import { IsNotEmpty as
|
|
10777
|
+
import { IsNotEmpty as IsNotEmpty110, IsUUID as IsUUID30 } from "class-validator";
|
|
10746
10778
|
var TransferFundsDto = class {
|
|
10747
10779
|
};
|
|
10748
10780
|
__decorateClass([
|
|
10749
10781
|
IsUUID30("4", { message: "Invoice UUID must be a valid UUID." }),
|
|
10750
|
-
|
|
10782
|
+
IsNotEmpty110({ message: "Invoice UUID is required." })
|
|
10751
10783
|
], TransferFundsDto.prototype, "invoiceUuid", 2);
|
|
10752
10784
|
|
|
10753
10785
|
// src/modules/timesheet/pattern/pattern.ts
|
|
@@ -10794,35 +10826,35 @@ var TIMESHEET_CLIENT_PATTERN = {
|
|
|
10794
10826
|
import {
|
|
10795
10827
|
IsDateString as IsDateString10,
|
|
10796
10828
|
IsInt as IsInt13,
|
|
10797
|
-
IsNotEmpty as
|
|
10829
|
+
IsNotEmpty as IsNotEmpty111,
|
|
10798
10830
|
IsOptional as IsOptional74,
|
|
10799
|
-
IsString as
|
|
10800
|
-
Matches as
|
|
10831
|
+
IsString as IsString81,
|
|
10832
|
+
Matches as Matches18,
|
|
10801
10833
|
IsNumber as IsNumber26
|
|
10802
10834
|
} from "class-validator";
|
|
10803
10835
|
var CreateFreelancerTimesheetDto = class {
|
|
10804
10836
|
};
|
|
10805
10837
|
__decorateClass([
|
|
10806
|
-
|
|
10838
|
+
IsNotEmpty111({ message: "Job id is required" }),
|
|
10807
10839
|
IsNumber26({}, { message: "Job id must be a number" })
|
|
10808
10840
|
], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
10809
10841
|
__decorateClass([
|
|
10810
|
-
|
|
10842
|
+
IsNotEmpty111({ message: "start date is required" }),
|
|
10811
10843
|
IsDateString10()
|
|
10812
10844
|
], CreateFreelancerTimesheetDto.prototype, "startDate", 2);
|
|
10813
10845
|
__decorateClass([
|
|
10814
|
-
|
|
10846
|
+
IsNotEmpty111({ message: "end date is required" }),
|
|
10815
10847
|
IsDateString10()
|
|
10816
10848
|
], CreateFreelancerTimesheetDto.prototype, "endDate", 2);
|
|
10817
10849
|
__decorateClass([
|
|
10818
|
-
|
|
10819
|
-
|
|
10850
|
+
IsNotEmpty111({ message: "start time is required" }),
|
|
10851
|
+
Matches18(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
10820
10852
|
message: "startTime must be in HH:mm:ss format"
|
|
10821
10853
|
})
|
|
10822
10854
|
], CreateFreelancerTimesheetDto.prototype, "startTime", 2);
|
|
10823
10855
|
__decorateClass([
|
|
10824
|
-
|
|
10825
|
-
|
|
10856
|
+
IsNotEmpty111({ message: "end time is required" }),
|
|
10857
|
+
Matches18(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
10826
10858
|
message: "endTime must be in HH:mm:ss format"
|
|
10827
10859
|
})
|
|
10828
10860
|
], CreateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
@@ -10832,53 +10864,53 @@ __decorateClass([
|
|
|
10832
10864
|
], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
10833
10865
|
__decorateClass([
|
|
10834
10866
|
IsOptional74(),
|
|
10835
|
-
|
|
10867
|
+
IsString81()
|
|
10836
10868
|
], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
10837
10869
|
__decorateClass([
|
|
10838
10870
|
IsOptional74(),
|
|
10839
|
-
|
|
10871
|
+
IsString81()
|
|
10840
10872
|
], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
10841
10873
|
__decorateClass([
|
|
10842
10874
|
IsOptional74(),
|
|
10843
|
-
|
|
10875
|
+
IsString81()
|
|
10844
10876
|
], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
10845
10877
|
__decorateClass([
|
|
10846
|
-
|
|
10878
|
+
IsNotEmpty111({ message: "Description is required" })
|
|
10847
10879
|
], CreateFreelancerTimesheetDto.prototype, "description", 2);
|
|
10848
10880
|
|
|
10849
10881
|
// src/modules/timesheet/dto/update-freelancer-timesheet.dto.ts
|
|
10850
10882
|
import {
|
|
10851
10883
|
IsDateString as IsDateString11,
|
|
10852
10884
|
IsInt as IsInt14,
|
|
10853
|
-
IsNotEmpty as
|
|
10885
|
+
IsNotEmpty as IsNotEmpty112,
|
|
10854
10886
|
IsOptional as IsOptional75,
|
|
10855
|
-
IsString as
|
|
10856
|
-
Matches as
|
|
10887
|
+
IsString as IsString82,
|
|
10888
|
+
Matches as Matches19,
|
|
10857
10889
|
IsNumber as IsNumber27
|
|
10858
10890
|
} from "class-validator";
|
|
10859
10891
|
var UpdateFreelancerTimesheetDto = class {
|
|
10860
10892
|
};
|
|
10861
10893
|
__decorateClass([
|
|
10862
|
-
|
|
10894
|
+
IsNotEmpty112({ message: "Job id is required" }),
|
|
10863
10895
|
IsNumber27({}, { message: "Job id must be a number" })
|
|
10864
10896
|
], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
10865
10897
|
__decorateClass([
|
|
10866
|
-
|
|
10898
|
+
IsNotEmpty112({ message: "start date is required" }),
|
|
10867
10899
|
IsDateString11()
|
|
10868
10900
|
], UpdateFreelancerTimesheetDto.prototype, "startDate", 2);
|
|
10869
10901
|
__decorateClass([
|
|
10870
|
-
|
|
10902
|
+
IsNotEmpty112({ message: "end date is required" }),
|
|
10871
10903
|
IsDateString11()
|
|
10872
10904
|
], UpdateFreelancerTimesheetDto.prototype, "endDate", 2);
|
|
10873
10905
|
__decorateClass([
|
|
10874
|
-
|
|
10875
|
-
|
|
10906
|
+
IsNotEmpty112({ message: "start time is required" }),
|
|
10907
|
+
Matches19(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
10876
10908
|
message: "startTime must be in HH:mm:ss format"
|
|
10877
10909
|
})
|
|
10878
10910
|
], UpdateFreelancerTimesheetDto.prototype, "startTime", 2);
|
|
10879
10911
|
__decorateClass([
|
|
10880
|
-
|
|
10881
|
-
|
|
10912
|
+
IsNotEmpty112({ message: "end time is required" }),
|
|
10913
|
+
Matches19(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
10882
10914
|
message: "endTime must be in HH:mm:ss format"
|
|
10883
10915
|
})
|
|
10884
10916
|
], UpdateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
@@ -10888,78 +10920,78 @@ __decorateClass([
|
|
|
10888
10920
|
], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
10889
10921
|
__decorateClass([
|
|
10890
10922
|
IsOptional75(),
|
|
10891
|
-
|
|
10923
|
+
IsString82()
|
|
10892
10924
|
], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
10893
10925
|
__decorateClass([
|
|
10894
10926
|
IsOptional75(),
|
|
10895
|
-
|
|
10927
|
+
IsString82()
|
|
10896
10928
|
], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
10897
10929
|
__decorateClass([
|
|
10898
10930
|
IsOptional75(),
|
|
10899
|
-
|
|
10931
|
+
IsString82()
|
|
10900
10932
|
], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
10901
10933
|
__decorateClass([
|
|
10902
|
-
|
|
10934
|
+
IsNotEmpty112({ message: "Description is required" })
|
|
10903
10935
|
], UpdateFreelancerTimesheetDto.prototype, "description", 2);
|
|
10904
10936
|
|
|
10905
10937
|
// src/modules/timesheet/dto/submit-timesheet.dto.ts
|
|
10906
|
-
import { IsNotEmpty as
|
|
10938
|
+
import { IsNotEmpty as IsNotEmpty113, IsNumber as IsNumber28 } from "class-validator";
|
|
10907
10939
|
var SubmitTimesheetDto = class {
|
|
10908
10940
|
};
|
|
10909
10941
|
__decorateClass([
|
|
10910
|
-
|
|
10942
|
+
IsNotEmpty113({ message: "Timesheet line ID is required" }),
|
|
10911
10943
|
IsNumber28({}, { message: "Timesheet line ID must be a number" })
|
|
10912
10944
|
], SubmitTimesheetDto.prototype, "timesheetLineId", 2);
|
|
10913
10945
|
|
|
10914
10946
|
// src/modules/timesheet/dto/resubmit-timesheet.dto.ts
|
|
10915
|
-
import { IsNotEmpty as
|
|
10947
|
+
import { IsNotEmpty as IsNotEmpty114, IsNumber as IsNumber29 } from "class-validator";
|
|
10916
10948
|
var ResubmitTimesheetDto = class {
|
|
10917
10949
|
};
|
|
10918
10950
|
__decorateClass([
|
|
10919
|
-
|
|
10951
|
+
IsNotEmpty114({ message: "Timesheet line ID is required" }),
|
|
10920
10952
|
IsNumber29({}, { message: "Timesheet line ID must be a number" })
|
|
10921
10953
|
], ResubmitTimesheetDto.prototype, "timesheetLineId", 2);
|
|
10922
10954
|
|
|
10923
10955
|
// src/modules/timesheet/dto/approve-timesheets.dto.ts
|
|
10924
|
-
import { IsNotEmpty as
|
|
10956
|
+
import { IsNotEmpty as IsNotEmpty115, IsNumber as IsNumber30 } from "class-validator";
|
|
10925
10957
|
import { Type as Type23 } from "class-transformer";
|
|
10926
10958
|
var ApproveTimesheetsDto = class {
|
|
10927
10959
|
};
|
|
10928
10960
|
__decorateClass([
|
|
10929
10961
|
IsNumber30({}, { message: "Timesheet line ID must be a number." }),
|
|
10930
|
-
|
|
10962
|
+
IsNotEmpty115({ message: "Timesheet line ID is required." }),
|
|
10931
10963
|
Type23(() => Number)
|
|
10932
10964
|
], ApproveTimesheetsDto.prototype, "timesheetLineId", 2);
|
|
10933
10965
|
|
|
10934
10966
|
// src/modules/timesheet/dto/send-back-timesheets.dto.ts
|
|
10935
|
-
import { IsNotEmpty as
|
|
10967
|
+
import { IsNotEmpty as IsNotEmpty116, IsNumber as IsNumber31, IsOptional as IsOptional76, IsString as IsString83 } from "class-validator";
|
|
10936
10968
|
import { Type as Type24 } from "class-transformer";
|
|
10937
10969
|
var SendBackTimesheetsDto = class {
|
|
10938
10970
|
};
|
|
10939
10971
|
__decorateClass([
|
|
10940
10972
|
IsNumber31({}, { message: "Timesheet line ID must be a number." }),
|
|
10941
|
-
|
|
10973
|
+
IsNotEmpty116({ message: "Timesheet line ID is required." }),
|
|
10942
10974
|
Type24(() => Number)
|
|
10943
10975
|
], SendBackTimesheetsDto.prototype, "timesheetLineId", 2);
|
|
10944
10976
|
__decorateClass([
|
|
10945
10977
|
IsOptional76(),
|
|
10946
|
-
|
|
10978
|
+
IsString83({ message: "Client send back reason must be a string." })
|
|
10947
10979
|
], SendBackTimesheetsDto.prototype, "clientSendBackReason", 2);
|
|
10948
10980
|
|
|
10949
10981
|
// src/modules/timesheet/dto/create-default-timesheet-line.dto.ts
|
|
10950
|
-
import { IsNotEmpty as
|
|
10982
|
+
import { IsNotEmpty as IsNotEmpty117, IsNumber as IsNumber32 } from "class-validator";
|
|
10951
10983
|
var CreateDefaultTimesheetLineDto = class {
|
|
10952
10984
|
};
|
|
10953
10985
|
__decorateClass([
|
|
10954
|
-
|
|
10986
|
+
IsNotEmpty117({ message: "Contract ID is required" }),
|
|
10955
10987
|
IsNumber32({}, { message: "Contract ID must be a number" })
|
|
10956
10988
|
], CreateDefaultTimesheetLineDto.prototype, "contractId", 2);
|
|
10957
10989
|
__decorateClass([
|
|
10958
|
-
|
|
10990
|
+
IsNotEmpty117({ message: "Freelancer ID is required" }),
|
|
10959
10991
|
IsNumber32({}, { message: "Freelancer ID must be a number" })
|
|
10960
10992
|
], CreateDefaultTimesheetLineDto.prototype, "freelancerId", 2);
|
|
10961
10993
|
__decorateClass([
|
|
10962
|
-
|
|
10994
|
+
IsNotEmpty117({ message: "Client ID is required" }),
|
|
10963
10995
|
IsNumber32({}, { message: "Client ID must be a number" })
|
|
10964
10996
|
], CreateDefaultTimesheetLineDto.prototype, "clientId", 2);
|
|
10965
10997
|
|
|
@@ -10982,22 +11014,22 @@ var INVOICE_PATTERN = {
|
|
|
10982
11014
|
};
|
|
10983
11015
|
|
|
10984
11016
|
// src/modules/invoice/dto/update-invoice-status.dto.ts
|
|
10985
|
-
import { IsEnum as IsEnum46, IsNotEmpty as
|
|
11017
|
+
import { IsEnum as IsEnum46, IsNotEmpty as IsNotEmpty118 } from "class-validator";
|
|
10986
11018
|
var UpdateInvoiceStatusDto = class {
|
|
10987
11019
|
};
|
|
10988
11020
|
__decorateClass([
|
|
10989
|
-
|
|
11021
|
+
IsNotEmpty118({ message: "Please provide invoice status." }),
|
|
10990
11022
|
IsEnum46(InvoiceStatusEnum, {
|
|
10991
11023
|
message: "Status must be one of: APPROVED, REJECTED"
|
|
10992
11024
|
})
|
|
10993
11025
|
], UpdateInvoiceStatusDto.prototype, "status", 2);
|
|
10994
11026
|
|
|
10995
11027
|
// src/modules/invoice/dto/create-invoice.dto.ts
|
|
10996
|
-
import { IsNotEmpty as
|
|
11028
|
+
import { IsNotEmpty as IsNotEmpty119, IsNumber as IsNumber33 } from "class-validator";
|
|
10997
11029
|
var CreateInvoiceDto = class {
|
|
10998
11030
|
};
|
|
10999
11031
|
__decorateClass([
|
|
11000
|
-
|
|
11032
|
+
IsNotEmpty119({ message: "Timesheet line ID is required" }),
|
|
11001
11033
|
IsNumber33({}, { message: "Timesheet line ID must be a number" })
|
|
11002
11034
|
], CreateInvoiceDto.prototype, "timeSheetLineId", 2);
|
|
11003
11035
|
|
|
@@ -11010,8 +11042,8 @@ var DISPUTE_PATTERN = {
|
|
|
11010
11042
|
|
|
11011
11043
|
// src/modules/dispute/dto/create-dispute.dto.ts
|
|
11012
11044
|
import {
|
|
11013
|
-
IsString as
|
|
11014
|
-
IsNotEmpty as
|
|
11045
|
+
IsString as IsString84,
|
|
11046
|
+
IsNotEmpty as IsNotEmpty120,
|
|
11015
11047
|
IsIn as IsIn4,
|
|
11016
11048
|
IsOptional as IsOptional77,
|
|
11017
11049
|
MaxLength as MaxLength23,
|
|
@@ -11033,22 +11065,22 @@ __decorateClass([
|
|
|
11033
11065
|
Type25(() => Number)
|
|
11034
11066
|
], CreateDisputeDto.prototype, "freelancerId", 2);
|
|
11035
11067
|
__decorateClass([
|
|
11036
|
-
|
|
11037
|
-
|
|
11068
|
+
IsNotEmpty120({ message: "Please select dispute type." }),
|
|
11069
|
+
IsString84(),
|
|
11038
11070
|
IsIn4(["JOB", "INVOICE"])
|
|
11039
11071
|
], CreateDisputeDto.prototype, "disputeType", 2);
|
|
11040
11072
|
__decorateClass([
|
|
11041
|
-
|
|
11042
|
-
|
|
11073
|
+
IsNotEmpty120({ message: "Please provide initiator type." }),
|
|
11074
|
+
IsString84()
|
|
11043
11075
|
], CreateDisputeDto.prototype, "initiatorType", 2);
|
|
11044
11076
|
__decorateClass([
|
|
11045
|
-
|
|
11046
|
-
|
|
11077
|
+
IsNotEmpty120({ message: "Please enter description." }),
|
|
11078
|
+
IsString84({ message: "Description must be a string" }),
|
|
11047
11079
|
MaxLength23(500, { message: "Description must not exceed 500 characters" })
|
|
11048
11080
|
], CreateDisputeDto.prototype, "description", 2);
|
|
11049
11081
|
__decorateClass([
|
|
11050
11082
|
IsOptional77(),
|
|
11051
|
-
|
|
11083
|
+
IsString84({ message: "Comment must be a string" }),
|
|
11052
11084
|
MaxLength23(500, { message: "Comment must not exceed 500 characters" })
|
|
11053
11085
|
], CreateDisputeDto.prototype, "comment", 2);
|
|
11054
11086
|
__decorateClass([
|
|
@@ -11075,76 +11107,76 @@ var SENSELOAF_PATTERN = {
|
|
|
11075
11107
|
|
|
11076
11108
|
// src/modules/senseloaf/dto/ai-interview-question-generate.dto.ts
|
|
11077
11109
|
import {
|
|
11078
|
-
IsNotEmpty as
|
|
11110
|
+
IsNotEmpty as IsNotEmpty121
|
|
11079
11111
|
} from "class-validator";
|
|
11080
11112
|
var AiInterviewQuestionGenerateDto = class {
|
|
11081
11113
|
};
|
|
11082
11114
|
__decorateClass([
|
|
11083
|
-
|
|
11115
|
+
IsNotEmpty121({ message: "Please enter job description." })
|
|
11084
11116
|
], AiInterviewQuestionGenerateDto.prototype, "jobDescription", 2);
|
|
11085
11117
|
__decorateClass([
|
|
11086
|
-
|
|
11118
|
+
IsNotEmpty121({ message: "Please enter number of questions." })
|
|
11087
11119
|
], AiInterviewQuestionGenerateDto.prototype, "numQuestions", 2);
|
|
11088
11120
|
|
|
11089
11121
|
// src/modules/senseloaf/dto/resume-parsing-by-url.dto.ts
|
|
11090
|
-
import { IsNotEmpty as
|
|
11122
|
+
import { IsNotEmpty as IsNotEmpty122, IsString as IsString85, IsOptional as IsOptional78 } from "class-validator";
|
|
11091
11123
|
var ResumeParsingByUrlDto = class {
|
|
11092
11124
|
};
|
|
11093
11125
|
__decorateClass([
|
|
11094
|
-
|
|
11095
|
-
|
|
11126
|
+
IsNotEmpty122({ message: "Resume URL is required" }),
|
|
11127
|
+
IsString85({ message: "Resume URL must be a string" })
|
|
11096
11128
|
], ResumeParsingByUrlDto.prototype, "resumeUrl", 2);
|
|
11097
11129
|
__decorateClass([
|
|
11098
11130
|
IsOptional78(),
|
|
11099
|
-
|
|
11131
|
+
IsString85()
|
|
11100
11132
|
], ResumeParsingByUrlDto.prototype, "fileName", 2);
|
|
11101
11133
|
|
|
11102
11134
|
// src/modules/senseloaf/dto/resume-data-processing.dto.ts
|
|
11103
|
-
import { IsNotEmpty as
|
|
11135
|
+
import { IsNotEmpty as IsNotEmpty123, IsString as IsString86, IsOptional as IsOptional79, IsObject as IsObject8 } from "class-validator";
|
|
11104
11136
|
var ResumeDataProcessingDto = class {
|
|
11105
11137
|
};
|
|
11106
11138
|
__decorateClass([
|
|
11107
|
-
|
|
11139
|
+
IsNotEmpty123({ message: "Resume data is required" }),
|
|
11108
11140
|
IsObject8()
|
|
11109
11141
|
], ResumeDataProcessingDto.prototype, "resumeData", 2);
|
|
11110
11142
|
__decorateClass([
|
|
11111
11143
|
IsOptional79(),
|
|
11112
|
-
|
|
11144
|
+
IsString86()
|
|
11113
11145
|
], ResumeDataProcessingDto.prototype, "userId", 2);
|
|
11114
11146
|
__decorateClass([
|
|
11115
11147
|
IsOptional79(),
|
|
11116
|
-
|
|
11148
|
+
IsString86()
|
|
11117
11149
|
], ResumeDataProcessingDto.prototype, "processingType", 2);
|
|
11118
11150
|
|
|
11119
11151
|
// src/modules/senseloaf/dto/check-resume-eligibility.dto.ts
|
|
11120
|
-
import { IsNotEmpty as
|
|
11152
|
+
import { IsNotEmpty as IsNotEmpty124, IsString as IsString87, IsOptional as IsOptional80, IsObject as IsObject9 } from "class-validator";
|
|
11121
11153
|
var CheckResumeEligibilityDto = class {
|
|
11122
11154
|
};
|
|
11123
11155
|
__decorateClass([
|
|
11124
|
-
|
|
11156
|
+
IsNotEmpty124({ message: "Resume data is required" }),
|
|
11125
11157
|
IsObject9()
|
|
11126
11158
|
], CheckResumeEligibilityDto.prototype, "resumeData", 2);
|
|
11127
11159
|
__decorateClass([
|
|
11128
11160
|
IsOptional80(),
|
|
11129
|
-
|
|
11161
|
+
IsString87()
|
|
11130
11162
|
], CheckResumeEligibilityDto.prototype, "jobId", 2);
|
|
11131
11163
|
__decorateClass([
|
|
11132
11164
|
IsOptional80(),
|
|
11133
|
-
|
|
11165
|
+
IsString87()
|
|
11134
11166
|
], CheckResumeEligibilityDto.prototype, "userId", 2);
|
|
11135
11167
|
|
|
11136
11168
|
// src/modules/senseloaf/dto/ai-interview-template-generation.dto.ts
|
|
11137
|
-
import { IsNotEmpty as
|
|
11169
|
+
import { IsNotEmpty as IsNotEmpty125, IsString as IsString88, IsOptional as IsOptional81, IsArray as IsArray27, IsNumber as IsNumber35 } from "class-validator";
|
|
11138
11170
|
var AiInterviewTemplateGenerationDto = class {
|
|
11139
11171
|
};
|
|
11140
11172
|
__decorateClass([
|
|
11141
|
-
|
|
11142
|
-
|
|
11173
|
+
IsNotEmpty125({ message: "Job ID is required" }),
|
|
11174
|
+
IsString88({ message: "Job ID must be a string" })
|
|
11143
11175
|
], AiInterviewTemplateGenerationDto.prototype, "jobId", 2);
|
|
11144
11176
|
__decorateClass([
|
|
11145
11177
|
IsOptional81(),
|
|
11146
11178
|
IsArray27(),
|
|
11147
|
-
|
|
11179
|
+
IsString88({ each: true, message: "Each skill must be a string" })
|
|
11148
11180
|
], AiInterviewTemplateGenerationDto.prototype, "skills", 2);
|
|
11149
11181
|
__decorateClass([
|
|
11150
11182
|
IsOptional81(),
|
|
@@ -11152,24 +11184,24 @@ __decorateClass([
|
|
|
11152
11184
|
], AiInterviewTemplateGenerationDto.prototype, "numberOfQuestions", 2);
|
|
11153
11185
|
__decorateClass([
|
|
11154
11186
|
IsOptional81(),
|
|
11155
|
-
|
|
11187
|
+
IsString88()
|
|
11156
11188
|
], AiInterviewTemplateGenerationDto.prototype, "difficulty", 2);
|
|
11157
11189
|
|
|
11158
11190
|
// src/modules/senseloaf/dto/ai-interview-link-generation.dto.ts
|
|
11159
|
-
import { IsNotEmpty as
|
|
11191
|
+
import { IsNotEmpty as IsNotEmpty126, IsString as IsString89, IsOptional as IsOptional82, IsNumber as IsNumber36 } from "class-validator";
|
|
11160
11192
|
var AiInterviewLinkGenerationDto = class {
|
|
11161
11193
|
};
|
|
11162
11194
|
__decorateClass([
|
|
11163
|
-
|
|
11164
|
-
|
|
11195
|
+
IsNotEmpty126({ message: "Template ID is required" }),
|
|
11196
|
+
IsString89({ message: "Template ID must be a string" })
|
|
11165
11197
|
], AiInterviewLinkGenerationDto.prototype, "templateId", 2);
|
|
11166
11198
|
__decorateClass([
|
|
11167
|
-
|
|
11168
|
-
|
|
11199
|
+
IsNotEmpty126({ message: "Freelancer ID is required" }),
|
|
11200
|
+
IsString89({ message: "Freelancer ID must be a string" })
|
|
11169
11201
|
], AiInterviewLinkGenerationDto.prototype, "freelancerId", 2);
|
|
11170
11202
|
__decorateClass([
|
|
11171
11203
|
IsOptional82(),
|
|
11172
|
-
|
|
11204
|
+
IsString89()
|
|
11173
11205
|
], AiInterviewLinkGenerationDto.prototype, "jobId", 2);
|
|
11174
11206
|
__decorateClass([
|
|
11175
11207
|
IsOptional82(),
|
|
@@ -11177,16 +11209,16 @@ __decorateClass([
|
|
|
11177
11209
|
], AiInterviewLinkGenerationDto.prototype, "expiryHours", 2);
|
|
11178
11210
|
|
|
11179
11211
|
// src/modules/senseloaf/dto/ai-assessment-creation.dto.ts
|
|
11180
|
-
import { IsNotEmpty as
|
|
11212
|
+
import { IsNotEmpty as IsNotEmpty127, IsString as IsString90, IsOptional as IsOptional83, IsNumber as IsNumber37 } from "class-validator";
|
|
11181
11213
|
var AiAssessmentCreationDto = class {
|
|
11182
11214
|
};
|
|
11183
11215
|
__decorateClass([
|
|
11184
|
-
|
|
11185
|
-
|
|
11216
|
+
IsNotEmpty127({ message: "User ID is required" }),
|
|
11217
|
+
IsString90({ message: "User ID must be a string" })
|
|
11186
11218
|
], AiAssessmentCreationDto.prototype, "userId", 2);
|
|
11187
11219
|
__decorateClass([
|
|
11188
11220
|
IsOptional83(),
|
|
11189
|
-
|
|
11221
|
+
IsString90()
|
|
11190
11222
|
], AiAssessmentCreationDto.prototype, "assessmentType", 2);
|
|
11191
11223
|
__decorateClass([
|
|
11192
11224
|
IsOptional83(),
|
|
@@ -11194,7 +11226,7 @@ __decorateClass([
|
|
|
11194
11226
|
], AiAssessmentCreationDto.prototype, "numberOfQuestions", 2);
|
|
11195
11227
|
__decorateClass([
|
|
11196
11228
|
IsOptional83(),
|
|
11197
|
-
|
|
11229
|
+
IsString90()
|
|
11198
11230
|
], AiAssessmentCreationDto.prototype, "difficulty", 2);
|
|
11199
11231
|
|
|
11200
11232
|
// src/modules/commission/pattern/pattern.ts
|
|
@@ -11210,7 +11242,7 @@ var HIRING_PATTERN = {
|
|
|
11210
11242
|
};
|
|
11211
11243
|
|
|
11212
11244
|
// src/modules/hiring/dto/create-hiring.dto.ts
|
|
11213
|
-
import { IsEnum as IsEnum47, IsNotEmpty as
|
|
11245
|
+
import { IsEnum as IsEnum47, IsNotEmpty as IsNotEmpty128, IsNumber as IsNumber38 } from "class-validator";
|
|
11214
11246
|
var PreferredEngagementTypeEnum2 = /* @__PURE__ */ ((PreferredEngagementTypeEnum3) => {
|
|
11215
11247
|
PreferredEngagementTypeEnum3["FTE"] = "FTE";
|
|
11216
11248
|
PreferredEngagementTypeEnum3["FREELANCE"] = "FREELANCE";
|
|
@@ -11219,15 +11251,15 @@ var PreferredEngagementTypeEnum2 = /* @__PURE__ */ ((PreferredEngagementTypeEnum
|
|
|
11219
11251
|
var CreateHiringDto = class {
|
|
11220
11252
|
};
|
|
11221
11253
|
__decorateClass([
|
|
11222
|
-
|
|
11254
|
+
IsNotEmpty128({ message: "Freelancer ID is required" }),
|
|
11223
11255
|
IsNumber38({}, { message: "Freelancer ID must be a number" })
|
|
11224
11256
|
], CreateHiringDto.prototype, "freelancerId", 2);
|
|
11225
11257
|
__decorateClass([
|
|
11226
|
-
|
|
11258
|
+
IsNotEmpty128({ message: "Job ID is required" }),
|
|
11227
11259
|
IsNumber38({}, { message: "Job ID must be a number" })
|
|
11228
11260
|
], CreateHiringDto.prototype, "jobId", 2);
|
|
11229
11261
|
__decorateClass([
|
|
11230
|
-
|
|
11262
|
+
IsNotEmpty128({ message: "Preferred engagement type is required" }),
|
|
11231
11263
|
IsEnum47(PreferredEngagementTypeEnum2, {
|
|
11232
11264
|
message: "Preferred engagement type must be one of FTE or FREELANCE."
|
|
11233
11265
|
})
|
|
@@ -11251,16 +11283,16 @@ var SIGNATURE_PATTERN = {
|
|
|
11251
11283
|
};
|
|
11252
11284
|
|
|
11253
11285
|
// src/modules/user/signature/dto/save-signature.dto.ts
|
|
11254
|
-
import { IsOptional as IsOptional84, IsString as
|
|
11286
|
+
import { IsOptional as IsOptional84, IsString as IsString91 } from "class-validator";
|
|
11255
11287
|
var SaveSignatureDto = class {
|
|
11256
11288
|
};
|
|
11257
11289
|
__decorateClass([
|
|
11258
11290
|
IsOptional84(),
|
|
11259
|
-
|
|
11291
|
+
IsString91()
|
|
11260
11292
|
], SaveSignatureDto.prototype, "signatureType", 2);
|
|
11261
11293
|
__decorateClass([
|
|
11262
11294
|
IsOptional84(),
|
|
11263
|
-
|
|
11295
|
+
IsString91()
|
|
11264
11296
|
], SaveSignatureDto.prototype, "description", 2);
|
|
11265
11297
|
|
|
11266
11298
|
// src/modules/wallet/pattern/pattern.ts
|
|
@@ -11278,25 +11310,25 @@ var WALLET_ADMIN_PATTERN = {
|
|
|
11278
11310
|
};
|
|
11279
11311
|
|
|
11280
11312
|
// src/modules/wallet/dto/add-topup-escrow-amount.dto.ts
|
|
11281
|
-
import { IsNotEmpty as
|
|
11313
|
+
import { IsNotEmpty as IsNotEmpty129, IsNumber as IsNumber39, IsUUID as IsUUID31 } from "class-validator";
|
|
11282
11314
|
var AddTopupEscrowAmountDto = class {
|
|
11283
11315
|
};
|
|
11284
11316
|
__decorateClass([
|
|
11285
|
-
|
|
11317
|
+
IsNotEmpty129({ message: "Amount is required" }),
|
|
11286
11318
|
IsNumber39({}, { message: "Amount must be a number" })
|
|
11287
11319
|
], AddTopupEscrowAmountDto.prototype, "amount", 2);
|
|
11288
11320
|
__decorateClass([
|
|
11289
|
-
|
|
11321
|
+
IsNotEmpty129({ message: "Escrow wallet UUID is required" }),
|
|
11290
11322
|
IsUUID31("4", { message: "Escrow wallet UUID must be a valid UUID" })
|
|
11291
11323
|
], AddTopupEscrowAmountDto.prototype, "escrowWalletUuid", 2);
|
|
11292
11324
|
|
|
11293
11325
|
// src/modules/wallet/dto/debit-commission-fte-hiring.dto.ts
|
|
11294
|
-
import { IsNotEmpty as
|
|
11326
|
+
import { IsNotEmpty as IsNotEmpty130, IsUUID as IsUUID32 } from "class-validator";
|
|
11295
11327
|
var DebitCommissionFteHiringDto = class {
|
|
11296
11328
|
};
|
|
11297
11329
|
__decorateClass([
|
|
11298
11330
|
IsUUID32("4", { message: "Invoice UUID must be a valid UUID." }),
|
|
11299
|
-
|
|
11331
|
+
IsNotEmpty130({ message: "Invoice UUID is required." })
|
|
11300
11332
|
], DebitCommissionFteHiringDto.prototype, "invoiceUuid", 2);
|
|
11301
11333
|
|
|
11302
11334
|
// src/modules/discord/discord-alert.interface.ts
|
|
@@ -12405,28 +12437,28 @@ function createDiscordTransport(options) {
|
|
|
12405
12437
|
}
|
|
12406
12438
|
|
|
12407
12439
|
// src/modules/in-app-notification/dto/create-in-app-notification.dto.ts
|
|
12408
|
-
import { IsNotEmpty as
|
|
12440
|
+
import { IsNotEmpty as IsNotEmpty131, IsNumber as IsNumber40, IsOptional as IsOptional85, IsString as IsString92, IsObject as IsObject10 } from "class-validator";
|
|
12409
12441
|
var CreateInAppNotificationDto = class {
|
|
12410
12442
|
};
|
|
12411
12443
|
__decorateClass([
|
|
12412
|
-
|
|
12444
|
+
IsNotEmpty131(),
|
|
12413
12445
|
IsNumber40()
|
|
12414
12446
|
], CreateInAppNotificationDto.prototype, "userId", 2);
|
|
12415
12447
|
__decorateClass([
|
|
12416
12448
|
IsOptional85(),
|
|
12417
|
-
|
|
12449
|
+
IsString92()
|
|
12418
12450
|
], CreateInAppNotificationDto.prototype, "event", 2);
|
|
12419
12451
|
__decorateClass([
|
|
12420
12452
|
IsOptional85(),
|
|
12421
|
-
|
|
12453
|
+
IsString92()
|
|
12422
12454
|
], CreateInAppNotificationDto.prototype, "title", 2);
|
|
12423
12455
|
__decorateClass([
|
|
12424
|
-
|
|
12425
|
-
|
|
12456
|
+
IsNotEmpty131(),
|
|
12457
|
+
IsString92()
|
|
12426
12458
|
], CreateInAppNotificationDto.prototype, "message", 2);
|
|
12427
12459
|
__decorateClass([
|
|
12428
12460
|
IsOptional85(),
|
|
12429
|
-
|
|
12461
|
+
IsString92()
|
|
12430
12462
|
], CreateInAppNotificationDto.prototype, "redirectUrl", 2);
|
|
12431
12463
|
__decorateClass([
|
|
12432
12464
|
IsOptional85(),
|
|
@@ -12434,7 +12466,7 @@ __decorateClass([
|
|
|
12434
12466
|
], CreateInAppNotificationDto.prototype, "metaData", 2);
|
|
12435
12467
|
|
|
12436
12468
|
// src/modules/in-app-notification/dto/update-is-read.dto.ts
|
|
12437
|
-
import { IsNotEmpty as
|
|
12469
|
+
import { IsNotEmpty as IsNotEmpty132, IsNumber as IsNumber41, IsBoolean as IsBoolean22, IsOptional as IsOptional86, IsArray as IsArray29 } from "class-validator";
|
|
12438
12470
|
import { Type as Type26 } from "class-transformer";
|
|
12439
12471
|
var UpdateIsReadDto = class {
|
|
12440
12472
|
};
|
|
@@ -12450,7 +12482,7 @@ __decorateClass([
|
|
|
12450
12482
|
Type26(() => Number)
|
|
12451
12483
|
], UpdateIsReadDto.prototype, "ids", 2);
|
|
12452
12484
|
__decorateClass([
|
|
12453
|
-
|
|
12485
|
+
IsNotEmpty132(),
|
|
12454
12486
|
IsBoolean22()
|
|
12455
12487
|
], UpdateIsReadDto.prototype, "isRead", 2);
|
|
12456
12488
|
|
|
@@ -12477,12 +12509,12 @@ var DOCUSEAL_PATTERN = {
|
|
|
12477
12509
|
import {
|
|
12478
12510
|
IsArray as IsArray30,
|
|
12479
12511
|
IsBoolean as IsBoolean23,
|
|
12480
|
-
IsEmail as
|
|
12512
|
+
IsEmail as IsEmail25,
|
|
12481
12513
|
IsEnum as IsEnum48,
|
|
12482
|
-
IsNotEmpty as
|
|
12514
|
+
IsNotEmpty as IsNotEmpty133,
|
|
12483
12515
|
IsNumber as IsNumber42,
|
|
12484
12516
|
IsOptional as IsOptional87,
|
|
12485
|
-
IsString as
|
|
12517
|
+
IsString as IsString93,
|
|
12486
12518
|
ValidateNested as ValidateNested12
|
|
12487
12519
|
} from "class-validator";
|
|
12488
12520
|
import { Type as Type27 } from "class-transformer";
|
|
@@ -12494,16 +12526,16 @@ var DocuSealOrderEnum = /* @__PURE__ */ ((DocuSealOrderEnum2) => {
|
|
|
12494
12526
|
var DocuSealSubmitterDto = class {
|
|
12495
12527
|
};
|
|
12496
12528
|
__decorateClass([
|
|
12497
|
-
|
|
12498
|
-
|
|
12529
|
+
IsEmail25({}, { message: "Submitter email must be valid." }),
|
|
12530
|
+
IsNotEmpty133({ message: "Submitter email is required." })
|
|
12499
12531
|
], DocuSealSubmitterDto.prototype, "email", 2);
|
|
12500
12532
|
__decorateClass([
|
|
12501
12533
|
IsOptional87(),
|
|
12502
|
-
|
|
12534
|
+
IsString93()
|
|
12503
12535
|
], DocuSealSubmitterDto.prototype, "name", 2);
|
|
12504
12536
|
__decorateClass([
|
|
12505
12537
|
IsOptional87(),
|
|
12506
|
-
|
|
12538
|
+
IsString93()
|
|
12507
12539
|
], DocuSealSubmitterDto.prototype, "phone", 2);
|
|
12508
12540
|
__decorateClass([
|
|
12509
12541
|
IsOptional87(),
|
|
@@ -12513,17 +12545,17 @@ var DocuSealMessageDto = class {
|
|
|
12513
12545
|
};
|
|
12514
12546
|
__decorateClass([
|
|
12515
12547
|
IsOptional87(),
|
|
12516
|
-
|
|
12548
|
+
IsString93()
|
|
12517
12549
|
], DocuSealMessageDto.prototype, "subject", 2);
|
|
12518
12550
|
__decorateClass([
|
|
12519
12551
|
IsOptional87(),
|
|
12520
|
-
|
|
12552
|
+
IsString93()
|
|
12521
12553
|
], DocuSealMessageDto.prototype, "body", 2);
|
|
12522
12554
|
var CreateUserSigningDto = class {
|
|
12523
12555
|
};
|
|
12524
12556
|
__decorateClass([
|
|
12525
12557
|
IsNumber42({}, { message: "Template ID must be a number." }),
|
|
12526
|
-
|
|
12558
|
+
IsNotEmpty133({ message: "Template ID is required." })
|
|
12527
12559
|
], CreateUserSigningDto.prototype, "templateId", 2);
|
|
12528
12560
|
__decorateClass([
|
|
12529
12561
|
IsOptional87(),
|
|
@@ -12547,54 +12579,54 @@ __decorateClass([
|
|
|
12547
12579
|
], CreateUserSigningDto.prototype, "message", 2);
|
|
12548
12580
|
__decorateClass([
|
|
12549
12581
|
IsOptional87(),
|
|
12550
|
-
|
|
12582
|
+
IsString93()
|
|
12551
12583
|
], CreateUserSigningDto.prototype, "completedRedirectUrl", 2);
|
|
12552
12584
|
__decorateClass([
|
|
12553
12585
|
IsOptional87(),
|
|
12554
|
-
|
|
12586
|
+
IsString93()
|
|
12555
12587
|
], CreateUserSigningDto.prototype, "expireAt", 2);
|
|
12556
12588
|
|
|
12557
12589
|
// src/modules/docuseal/dto/get-submission.dto.ts
|
|
12558
|
-
import { IsNotEmpty as
|
|
12590
|
+
import { IsNotEmpty as IsNotEmpty134, IsNumber as IsNumber43 } from "class-validator";
|
|
12559
12591
|
import { Type as Type28 } from "class-transformer";
|
|
12560
12592
|
var GetSubmissionDto = class {
|
|
12561
12593
|
};
|
|
12562
12594
|
__decorateClass([
|
|
12563
12595
|
IsNumber43({}, { message: "Submission ID must be a number." }),
|
|
12564
|
-
|
|
12596
|
+
IsNotEmpty134({ message: "Submission ID is required." }),
|
|
12565
12597
|
Type28(() => Number)
|
|
12566
12598
|
], GetSubmissionDto.prototype, "submissionId", 2);
|
|
12567
12599
|
|
|
12568
12600
|
// src/modules/docuseal/dto/get-submitter.dto.ts
|
|
12569
|
-
import { IsNotEmpty as
|
|
12601
|
+
import { IsNotEmpty as IsNotEmpty135, IsNumber as IsNumber44 } from "class-validator";
|
|
12570
12602
|
import { Type as Type29 } from "class-transformer";
|
|
12571
12603
|
var GetSubmitterDto = class {
|
|
12572
12604
|
};
|
|
12573
12605
|
__decorateClass([
|
|
12574
12606
|
IsNumber44({}, { message: "Submitter ID must be a number." }),
|
|
12575
|
-
|
|
12607
|
+
IsNotEmpty135({ message: "Submitter ID is required." }),
|
|
12576
12608
|
Type29(() => Number)
|
|
12577
12609
|
], GetSubmitterDto.prototype, "submitterId", 2);
|
|
12578
12610
|
|
|
12579
12611
|
// src/modules/docuseal/dto/get-template.dto.ts
|
|
12580
|
-
import { IsNotEmpty as
|
|
12612
|
+
import { IsNotEmpty as IsNotEmpty136, IsNumber as IsNumber45 } from "class-validator";
|
|
12581
12613
|
import { Type as Type30 } from "class-transformer";
|
|
12582
12614
|
var GetTemplateDto = class {
|
|
12583
12615
|
};
|
|
12584
12616
|
__decorateClass([
|
|
12585
12617
|
IsNumber45({}, { message: "Template ID must be a number." }),
|
|
12586
|
-
|
|
12618
|
+
IsNotEmpty136({ message: "Template ID is required." }),
|
|
12587
12619
|
Type30(() => Number)
|
|
12588
12620
|
], GetTemplateDto.prototype, "templateId", 2);
|
|
12589
12621
|
|
|
12590
12622
|
// src/modules/docuseal/dto/archive-submission.dto.ts
|
|
12591
|
-
import { IsNotEmpty as
|
|
12623
|
+
import { IsNotEmpty as IsNotEmpty137, IsNumber as IsNumber46 } from "class-validator";
|
|
12592
12624
|
import { Type as Type31 } from "class-transformer";
|
|
12593
12625
|
var ArchiveSubmissionDto = class {
|
|
12594
12626
|
};
|
|
12595
12627
|
__decorateClass([
|
|
12596
12628
|
IsNumber46({}, { message: "Submission ID must be a number." }),
|
|
12597
|
-
|
|
12629
|
+
IsNotEmpty137({ message: "Submission ID is required." }),
|
|
12598
12630
|
Type31(() => Number)
|
|
12599
12631
|
], ArchiveSubmissionDto.prototype, "submissionId", 2);
|
|
12600
12632
|
|
|
@@ -13671,6 +13703,7 @@ export {
|
|
|
13671
13703
|
AdminCreateJobInformationDto,
|
|
13672
13704
|
AdminExportClientV2OptimisedDto,
|
|
13673
13705
|
AdminExportFreelancerV2OptimisedDto,
|
|
13706
|
+
AdminFreelancerCreateAccountDto,
|
|
13674
13707
|
AdminJobBasicInformationV2Dto,
|
|
13675
13708
|
AdminPermission,
|
|
13676
13709
|
AdminRole,
|