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