@experts_hub/shared 1.0.598 → 1.0.600
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +19 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.js +274 -213
- package/dist/index.mjs +198 -140
- package/dist/modules/client-admin/dto/update-client.dto.d.ts +10 -0
- package/dist/modules/contract/dto/index.d.ts +1 -0
- package/dist/modules/contract/dto/reject-contract.dto.d.ts +3 -0
- package/dist/modules/interview/dto/index.d.ts +1 -0
- package/dist/modules/interview/dto/update-interview-type-information.dto.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -316,6 +316,7 @@ __export(index_exports, {
|
|
|
316
316
|
RefreshDto: () => RefreshDto,
|
|
317
317
|
RefreshToken: () => RefreshToken,
|
|
318
318
|
RejectAIInterviewRescheduleRequestDto: () => RejectAIInterviewRescheduleRequestDto,
|
|
319
|
+
RejectContractDto: () => RejectContractDto,
|
|
319
320
|
RejectF2FInterviewRescheduleRequestDto: () => RejectF2FInterviewRescheduleRequestDto,
|
|
320
321
|
ResetPasswordDto: () => ResetPasswordDto,
|
|
321
322
|
ResetPasswordTokenValidationDto: () => ResetPasswordTokenValidationDto,
|
|
@@ -400,6 +401,7 @@ __export(index_exports, {
|
|
|
400
401
|
UpdateFreelancerTimesheetDto: () => UpdateFreelancerTimesheetDto,
|
|
401
402
|
UpdateInterviewBasicInformationDto: () => UpdateInterviewBasicInformationDto,
|
|
402
403
|
UpdateInterviewSettingDto: () => UpdateInterviewSettingDto,
|
|
404
|
+
UpdateInterviewTypeInformationDto: () => UpdateInterviewTypeInformationDto,
|
|
403
405
|
UpdateInvoiceStatusDto: () => UpdateInvoiceStatusDto,
|
|
404
406
|
UpdateSubAdminAccountStatusDto: () => UpdateSubAdminAccountStatusDto,
|
|
405
407
|
UpdateSubAdminDto: () => UpdateSubAdminDto,
|
|
@@ -8087,6 +8089,14 @@ __decorateClass([
|
|
|
8087
8089
|
(0, import_class_validator80.IsNotEmpty)({ message: "Please enter email." }),
|
|
8088
8090
|
(0, import_class_validator80.IsEmail)()
|
|
8089
8091
|
], UpdateClientDto.prototype, "email", 2);
|
|
8092
|
+
__decorateClass([
|
|
8093
|
+
(0, import_class_validator80.IsOptional)(),
|
|
8094
|
+
(0, import_class_validator80.IsString)({ message: "Mobile code must be a string." })
|
|
8095
|
+
], UpdateClientDto.prototype, "mobileCode", 2);
|
|
8096
|
+
__decorateClass([
|
|
8097
|
+
(0, import_class_validator80.IsOptional)(),
|
|
8098
|
+
(0, import_class_validator80.IsString)({ message: "Phone number must be a string." })
|
|
8099
|
+
], UpdateClientDto.prototype, "phoneNumber", 2);
|
|
8090
8100
|
__decorateClass([
|
|
8091
8101
|
(0, import_class_validator80.IsOptional)(),
|
|
8092
8102
|
(0, import_class_transformer12.Transform)(({ value }) => value === null || value === "" ? void 0 : value),
|
|
@@ -8132,6 +8142,38 @@ __decorateClass([
|
|
|
8132
8142
|
(0, import_class_validator80.IsOptional)(),
|
|
8133
8143
|
(0, import_class_validator80.IsString)()
|
|
8134
8144
|
], UpdateClientDto.prototype, "hiringCommissionValueForFte", 2);
|
|
8145
|
+
__decorateClass([
|
|
8146
|
+
(0, import_class_validator80.IsOptional)(),
|
|
8147
|
+
(0, import_class_validator80.IsString)({ message: "About company must be a string." })
|
|
8148
|
+
], UpdateClientDto.prototype, "about", 2);
|
|
8149
|
+
__decorateClass([
|
|
8150
|
+
(0, import_class_validator80.IsOptional)(),
|
|
8151
|
+
(0, import_class_validator80.IsString)({ message: "Website must be a string." })
|
|
8152
|
+
], UpdateClientDto.prototype, "webSite", 2);
|
|
8153
|
+
__decorateClass([
|
|
8154
|
+
(0, import_class_validator80.IsOptional)(),
|
|
8155
|
+
(0, import_class_validator80.IsString)({ message: "Company address must be a string." })
|
|
8156
|
+
], UpdateClientDto.prototype, "companyAddress", 2);
|
|
8157
|
+
__decorateClass([
|
|
8158
|
+
(0, import_class_validator80.IsOptional)(),
|
|
8159
|
+
(0, import_class_validator80.IsString)({ message: "Address line must be a string." })
|
|
8160
|
+
], UpdateClientDto.prototype, "addressLine", 2);
|
|
8161
|
+
__decorateClass([
|
|
8162
|
+
(0, import_class_validator80.IsOptional)(),
|
|
8163
|
+
(0, import_class_validator80.IsString)({ message: "Postal code must be a string." })
|
|
8164
|
+
], UpdateClientDto.prototype, "postalCode", 2);
|
|
8165
|
+
__decorateClass([
|
|
8166
|
+
(0, import_class_validator80.IsOptional)(),
|
|
8167
|
+
(0, import_class_transformer12.Type)(() => Number)
|
|
8168
|
+
], UpdateClientDto.prototype, "countryId", 2);
|
|
8169
|
+
__decorateClass([
|
|
8170
|
+
(0, import_class_validator80.IsOptional)(),
|
|
8171
|
+
(0, import_class_transformer12.Type)(() => Number)
|
|
8172
|
+
], UpdateClientDto.prototype, "stateId", 2);
|
|
8173
|
+
__decorateClass([
|
|
8174
|
+
(0, import_class_validator80.IsOptional)(),
|
|
8175
|
+
(0, import_class_transformer12.Type)(() => Number)
|
|
8176
|
+
], UpdateClientDto.prototype, "cityId", 2);
|
|
8135
8177
|
|
|
8136
8178
|
// src/modules/user/freelancer-declaration/pattern/pattern.ts
|
|
8137
8179
|
var FREELANCER_DECLARATION_PATTERN = {
|
|
@@ -9138,8 +9180,7 @@ var import_class_transformer20 = require("class-transformer");
|
|
|
9138
9180
|
var InterviewSkillItemDto = class {
|
|
9139
9181
|
};
|
|
9140
9182
|
__decorateClass([
|
|
9141
|
-
(0, import_class_validator105.IsOptional)()
|
|
9142
|
-
(0, import_class_validator105.IsUUID)("4", { message: "Skill UUID must be a valid UUID." })
|
|
9183
|
+
(0, import_class_validator105.IsOptional)()
|
|
9143
9184
|
], InterviewSkillItemDto.prototype, "uuid", 2);
|
|
9144
9185
|
__decorateClass([
|
|
9145
9186
|
(0, import_class_validator105.IsString)({ message: "Skill name must be a string." }),
|
|
@@ -9236,6 +9277,15 @@ __decorateClass([
|
|
|
9236
9277
|
(0, import_class_validator107.IsString)({ message: "End interview message must be a string." })
|
|
9237
9278
|
], UpdateInterviewSettingDto.prototype, "endInterviewMessage", 2);
|
|
9238
9279
|
|
|
9280
|
+
// src/modules/interview/dto/update-interview-type-information.dto.ts
|
|
9281
|
+
var import_class_validator108 = require("class-validator");
|
|
9282
|
+
var UpdateInterviewTypeInformationDto = class {
|
|
9283
|
+
};
|
|
9284
|
+
__decorateClass([
|
|
9285
|
+
(0, import_class_validator108.IsOptional)(),
|
|
9286
|
+
(0, import_class_validator108.IsString)({ message: "Interview type must be a string." })
|
|
9287
|
+
], UpdateInterviewTypeInformationDto.prototype, "interviewType", 2);
|
|
9288
|
+
|
|
9239
9289
|
// src/modules/contract/pattern/pattern.ts
|
|
9240
9290
|
var CONTRACT_PATTERN = {
|
|
9241
9291
|
generateContract: "generate.contract",
|
|
@@ -9271,47 +9321,47 @@ var CONTRACT_PATTERN = {
|
|
|
9271
9321
|
};
|
|
9272
9322
|
|
|
9273
9323
|
// src/modules/contract/dto/sign-contract-for-client.dto.ts
|
|
9274
|
-
var
|
|
9324
|
+
var import_class_validator109 = require("class-validator");
|
|
9275
9325
|
var import_class_transformer23 = require("class-transformer");
|
|
9276
9326
|
var SignContractForClientDto = class {
|
|
9277
9327
|
};
|
|
9278
9328
|
__decorateClass([
|
|
9279
|
-
(0,
|
|
9329
|
+
(0, import_class_validator109.IsNotEmpty)({ message: "Job Id is required." }),
|
|
9280
9330
|
(0, import_class_transformer23.Type)(() => Number),
|
|
9281
|
-
(0,
|
|
9331
|
+
(0, import_class_validator109.IsNumber)({}, { message: "Job ID must be a number." })
|
|
9282
9332
|
], SignContractForClientDto.prototype, "jobId", 2);
|
|
9283
9333
|
__decorateClass([
|
|
9284
|
-
(0,
|
|
9334
|
+
(0, import_class_validator109.IsNotEmpty)({ message: "Freelancer ID is required." }),
|
|
9285
9335
|
(0, import_class_transformer23.Type)(() => Number),
|
|
9286
|
-
(0,
|
|
9336
|
+
(0, import_class_validator109.IsNumber)({}, { message: "Freelancer ID must be a number." })
|
|
9287
9337
|
], SignContractForClientDto.prototype, "freelancerId", 2);
|
|
9288
9338
|
__decorateClass([
|
|
9289
|
-
(0,
|
|
9290
|
-
(0,
|
|
9339
|
+
(0, import_class_validator109.IsNotEmpty)({ message: "Contract type is required." }),
|
|
9340
|
+
(0, import_class_validator109.IsEnum)(ContractTypeEnum)
|
|
9291
9341
|
], SignContractForClientDto.prototype, "contractType", 2);
|
|
9292
9342
|
|
|
9293
9343
|
// src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
|
|
9294
|
-
var
|
|
9344
|
+
var import_class_validator110 = require("class-validator");
|
|
9295
9345
|
var import_class_transformer24 = require("class-transformer");
|
|
9296
9346
|
var SignContractForFreelancerDto = class {
|
|
9297
9347
|
};
|
|
9298
9348
|
__decorateClass([
|
|
9299
|
-
(0,
|
|
9349
|
+
(0, import_class_validator110.IsNotEmpty)({ message: "Job Id is required." }),
|
|
9300
9350
|
(0, import_class_transformer24.Type)(() => Number),
|
|
9301
|
-
(0,
|
|
9351
|
+
(0, import_class_validator110.IsNumber)({}, { message: "Job ID must be a number." })
|
|
9302
9352
|
], SignContractForFreelancerDto.prototype, "jobId", 2);
|
|
9303
9353
|
__decorateClass([
|
|
9304
|
-
(0,
|
|
9354
|
+
(0, import_class_validator110.IsNotEmpty)({ message: "Client ID is required." }),
|
|
9305
9355
|
(0, import_class_transformer24.Type)(() => Number),
|
|
9306
|
-
(0,
|
|
9356
|
+
(0, import_class_validator110.IsNumber)({}, { message: "Client ID must be a number." })
|
|
9307
9357
|
], SignContractForFreelancerDto.prototype, "clientId", 2);
|
|
9308
9358
|
__decorateClass([
|
|
9309
|
-
(0,
|
|
9310
|
-
(0,
|
|
9359
|
+
(0, import_class_validator110.IsNotEmpty)({ message: "Contract type is required." }),
|
|
9360
|
+
(0, import_class_validator110.IsEnum)(ContractTypeEnum)
|
|
9311
9361
|
], SignContractForFreelancerDto.prototype, "contractType", 2);
|
|
9312
9362
|
|
|
9313
9363
|
// src/modules/contract/dto/generate-contract.dto.ts
|
|
9314
|
-
var
|
|
9364
|
+
var import_class_validator111 = require("class-validator");
|
|
9315
9365
|
var ContractSourceEnum = /* @__PURE__ */ ((ContractSourceEnum2) => {
|
|
9316
9366
|
ContractSourceEnum2["AI_INTERVIEW"] = "AI_INTERVIEW";
|
|
9317
9367
|
ContractSourceEnum2["F2F_INTERVIEW"] = "F2F_INTERVIEW";
|
|
@@ -9328,74 +9378,83 @@ var ContractTypeEnumDto = /* @__PURE__ */ ((ContractTypeEnumDto2) => {
|
|
|
9328
9378
|
var GenerateContractDto = class {
|
|
9329
9379
|
};
|
|
9330
9380
|
__decorateClass([
|
|
9331
|
-
(0,
|
|
9332
|
-
(0,
|
|
9381
|
+
(0, import_class_validator111.IsNumber)({}, { message: "Job ID must be a number." }),
|
|
9382
|
+
(0, import_class_validator111.IsNotEmpty)({ message: "Job ID is required." })
|
|
9333
9383
|
], GenerateContractDto.prototype, "jobId", 2);
|
|
9334
9384
|
__decorateClass([
|
|
9335
|
-
(0,
|
|
9336
|
-
(0,
|
|
9385
|
+
(0, import_class_validator111.IsNumber)({}, { message: "Freelancer ID must be a number." }),
|
|
9386
|
+
(0, import_class_validator111.IsNotEmpty)({ message: "Freelancer ID is required." })
|
|
9337
9387
|
], GenerateContractDto.prototype, "freelancerId", 2);
|
|
9338
9388
|
__decorateClass([
|
|
9339
|
-
(0,
|
|
9340
|
-
(0,
|
|
9389
|
+
(0, import_class_validator111.IsOptional)(),
|
|
9390
|
+
(0, import_class_validator111.IsEnum)(ContractTypeEnumDto, {
|
|
9341
9391
|
message: "Contract type must be one of NDA, MSA, SOW, or WORK."
|
|
9342
9392
|
})
|
|
9343
9393
|
], GenerateContractDto.prototype, "contractType", 2);
|
|
9344
9394
|
__decorateClass([
|
|
9345
|
-
(0,
|
|
9346
|
-
(0,
|
|
9395
|
+
(0, import_class_validator111.IsOptional)(),
|
|
9396
|
+
(0, import_class_validator111.IsDateString)({}, { message: "Contract start date must be a valid date string." })
|
|
9347
9397
|
], GenerateContractDto.prototype, "contractStartDate", 2);
|
|
9348
9398
|
__decorateClass([
|
|
9349
|
-
(0,
|
|
9350
|
-
(0,
|
|
9399
|
+
(0, import_class_validator111.IsOptional)(),
|
|
9400
|
+
(0, import_class_validator111.IsString)({ message: "Contract invoicing cycle must be a string." })
|
|
9351
9401
|
], GenerateContractDto.prototype, "contractInvoicingCycle", 2);
|
|
9352
9402
|
__decorateClass([
|
|
9353
|
-
(0,
|
|
9354
|
-
(0,
|
|
9403
|
+
(0, import_class_validator111.IsOptional)(),
|
|
9404
|
+
(0, import_class_validator111.IsEnum)(ContractSourceEnum, {
|
|
9355
9405
|
message: "Source must be one of AI_INTERVIEW, F2F_INTERVIEW, or JOB."
|
|
9356
9406
|
})
|
|
9357
9407
|
], GenerateContractDto.prototype, "source", 2);
|
|
9358
9408
|
__decorateClass([
|
|
9359
|
-
(0,
|
|
9360
|
-
(0,
|
|
9409
|
+
(0, import_class_validator111.IsOptional)(),
|
|
9410
|
+
(0, import_class_validator111.IsUUID)("4", { message: "Source UUID must be a valid UUID." })
|
|
9361
9411
|
], GenerateContractDto.prototype, "sourceUuid", 2);
|
|
9362
9412
|
|
|
9363
9413
|
// src/modules/contract/dto/esign-contract-client.dto.ts
|
|
9364
|
-
var
|
|
9414
|
+
var import_class_validator112 = require("class-validator");
|
|
9365
9415
|
var EsignContractClientDto = class {
|
|
9366
9416
|
};
|
|
9367
9417
|
__decorateClass([
|
|
9368
|
-
(0,
|
|
9369
|
-
(0,
|
|
9418
|
+
(0, import_class_validator112.IsUUID)("4", { message: "Contract UUID must be a valid UUID." }),
|
|
9419
|
+
(0, import_class_validator112.IsNotEmpty)({ message: "Contract UUID is required." })
|
|
9370
9420
|
], EsignContractClientDto.prototype, "contractUuid", 2);
|
|
9371
9421
|
|
|
9372
9422
|
// src/modules/contract/dto/esign-contract-freelancer.dto.ts
|
|
9373
|
-
var
|
|
9423
|
+
var import_class_validator113 = require("class-validator");
|
|
9374
9424
|
var EsignContractFreelancerDto = class {
|
|
9375
9425
|
};
|
|
9376
9426
|
__decorateClass([
|
|
9377
|
-
(0,
|
|
9378
|
-
(0,
|
|
9427
|
+
(0, import_class_validator113.IsUUID)("4", { message: "Contract UUID must be a valid UUID." }),
|
|
9428
|
+
(0, import_class_validator113.IsNotEmpty)({ message: "Contract UUID is required." })
|
|
9379
9429
|
], EsignContractFreelancerDto.prototype, "contractUuid", 2);
|
|
9380
9430
|
|
|
9381
9431
|
// src/modules/contract/dto/escrow-fund-contract.dto.ts
|
|
9382
|
-
var
|
|
9432
|
+
var import_class_validator114 = require("class-validator");
|
|
9383
9433
|
var EscrowFundContractDto = class {
|
|
9384
9434
|
};
|
|
9385
9435
|
__decorateClass([
|
|
9386
|
-
(0,
|
|
9387
|
-
(0,
|
|
9436
|
+
(0, import_class_validator114.IsUUID)("4", { message: "Contract ID must be a valid UUID." }),
|
|
9437
|
+
(0, import_class_validator114.IsNotEmpty)({ message: "Contract ID is required." })
|
|
9388
9438
|
], EscrowFundContractDto.prototype, "contractId", 2);
|
|
9389
9439
|
|
|
9390
9440
|
// src/modules/contract/dto/send-nda-contract-to-freelancer.dto.ts
|
|
9391
|
-
var
|
|
9441
|
+
var import_class_validator115 = require("class-validator");
|
|
9392
9442
|
var SendNdaContractToFreelancerDto = class {
|
|
9393
9443
|
};
|
|
9394
9444
|
__decorateClass([
|
|
9395
|
-
(0,
|
|
9396
|
-
(0,
|
|
9445
|
+
(0, import_class_validator115.IsUUID)("4", { message: "Contract UUID must be a valid UUID." }),
|
|
9446
|
+
(0, import_class_validator115.IsNotEmpty)({ message: "Contract UUID is required." })
|
|
9397
9447
|
], SendNdaContractToFreelancerDto.prototype, "contractUuid", 2);
|
|
9398
9448
|
|
|
9449
|
+
// src/modules/contract/dto/reject-contract.dto.ts
|
|
9450
|
+
var import_class_validator116 = require("class-validator");
|
|
9451
|
+
var RejectContractDto = class {
|
|
9452
|
+
};
|
|
9453
|
+
__decorateClass([
|
|
9454
|
+
(0, import_class_validator116.IsOptional)(),
|
|
9455
|
+
(0, import_class_validator116.IsString)({ message: "Reject reason must be a string." })
|
|
9456
|
+
], RejectContractDto.prototype, "rejectReason", 2);
|
|
9457
|
+
|
|
9399
9458
|
// src/modules/stripe/pattern/pattern.ts
|
|
9400
9459
|
var STRIPE_PATTERN = {
|
|
9401
9460
|
handleStripeWebhookEvent: "handle.stripe.webhook.event",
|
|
@@ -9417,54 +9476,54 @@ var STRIPE_PATTERN = {
|
|
|
9417
9476
|
};
|
|
9418
9477
|
|
|
9419
9478
|
// src/modules/stripe/dto/create-checkout-session.dto.ts
|
|
9420
|
-
var
|
|
9479
|
+
var import_class_validator117 = require("class-validator");
|
|
9421
9480
|
var CreateCheckoutSessionDto = class {
|
|
9422
9481
|
};
|
|
9423
9482
|
__decorateClass([
|
|
9424
|
-
(0,
|
|
9483
|
+
(0, import_class_validator117.IsNotEmpty)({ message: "Amount is required" })
|
|
9425
9484
|
], CreateCheckoutSessionDto.prototype, "amount", 2);
|
|
9426
9485
|
|
|
9427
9486
|
// src/modules/stripe/dto/pre-checkout-calculation.dto.ts
|
|
9428
|
-
var
|
|
9487
|
+
var import_class_validator118 = require("class-validator");
|
|
9429
9488
|
var PreCheckoutCalculationDto = class {
|
|
9430
9489
|
};
|
|
9431
9490
|
__decorateClass([
|
|
9432
|
-
(0,
|
|
9433
|
-
(0,
|
|
9491
|
+
(0, import_class_validator118.IsNotEmpty)({ message: "Amount is required" }),
|
|
9492
|
+
(0, import_class_validator118.IsNumber)({}, { message: "Amount must be a number" })
|
|
9434
9493
|
], PreCheckoutCalculationDto.prototype, "amount", 2);
|
|
9435
9494
|
__decorateClass([
|
|
9436
|
-
(0,
|
|
9437
|
-
(0,
|
|
9495
|
+
(0, import_class_validator118.IsOptional)(),
|
|
9496
|
+
(0, import_class_validator118.IsString)()
|
|
9438
9497
|
], PreCheckoutCalculationDto.prototype, "currency", 2);
|
|
9439
9498
|
__decorateClass([
|
|
9440
|
-
(0,
|
|
9441
|
-
(0,
|
|
9499
|
+
(0, import_class_validator118.IsOptional)(),
|
|
9500
|
+
(0, import_class_validator118.IsString)()
|
|
9442
9501
|
], PreCheckoutCalculationDto.prototype, "description", 2);
|
|
9443
9502
|
|
|
9444
9503
|
// src/modules/stripe/dto/client-add-fund.dto.ts
|
|
9445
|
-
var
|
|
9504
|
+
var import_class_validator119 = require("class-validator");
|
|
9446
9505
|
var ClientAddFundDto = class {
|
|
9447
9506
|
};
|
|
9448
9507
|
__decorateClass([
|
|
9449
|
-
(0,
|
|
9450
|
-
(0,
|
|
9508
|
+
(0, import_class_validator119.IsNotEmpty)({ message: "Amount is required" }),
|
|
9509
|
+
(0, import_class_validator119.IsNumber)({}, { message: "Amount must be a number" })
|
|
9451
9510
|
], ClientAddFundDto.prototype, "amount", 2);
|
|
9452
9511
|
__decorateClass([
|
|
9453
|
-
(0,
|
|
9454
|
-
(0,
|
|
9512
|
+
(0, import_class_validator119.IsOptional)(),
|
|
9513
|
+
(0, import_class_validator119.IsString)()
|
|
9455
9514
|
], ClientAddFundDto.prototype, "currency", 2);
|
|
9456
9515
|
__decorateClass([
|
|
9457
|
-
(0,
|
|
9458
|
-
(0,
|
|
9516
|
+
(0, import_class_validator119.IsOptional)(),
|
|
9517
|
+
(0, import_class_validator119.IsString)()
|
|
9459
9518
|
], ClientAddFundDto.prototype, "description", 2);
|
|
9460
9519
|
|
|
9461
9520
|
// src/modules/stripe/dto/transfer-funds.dto.ts
|
|
9462
|
-
var
|
|
9521
|
+
var import_class_validator120 = require("class-validator");
|
|
9463
9522
|
var TransferFundsDto = class {
|
|
9464
9523
|
};
|
|
9465
9524
|
__decorateClass([
|
|
9466
|
-
(0,
|
|
9467
|
-
(0,
|
|
9525
|
+
(0, import_class_validator120.IsUUID)("4", { message: "Invoice UUID must be a valid UUID." }),
|
|
9526
|
+
(0, import_class_validator120.IsNotEmpty)({ message: "Invoice UUID is required." })
|
|
9468
9527
|
], TransferFundsDto.prototype, "invoiceUuid", 2);
|
|
9469
9528
|
|
|
9470
9529
|
// src/modules/timesheet/pattern/pattern.ts
|
|
@@ -9508,160 +9567,160 @@ var TIMESHEET_CLIENT_PATTERN = {
|
|
|
9508
9567
|
};
|
|
9509
9568
|
|
|
9510
9569
|
// src/modules/timesheet/dto/create-freelancer-timesheet.dto.ts
|
|
9511
|
-
var
|
|
9570
|
+
var import_class_validator121 = require("class-validator");
|
|
9512
9571
|
var CreateFreelancerTimesheetDto = class {
|
|
9513
9572
|
};
|
|
9514
9573
|
__decorateClass([
|
|
9515
|
-
(0,
|
|
9516
|
-
(0,
|
|
9574
|
+
(0, import_class_validator121.IsNotEmpty)({ message: "Job id is required" }),
|
|
9575
|
+
(0, import_class_validator121.IsNumber)({}, { message: "Job id must be a number" })
|
|
9517
9576
|
], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
9518
9577
|
__decorateClass([
|
|
9519
|
-
(0,
|
|
9520
|
-
(0,
|
|
9578
|
+
(0, import_class_validator121.IsNotEmpty)({ message: "start date is required" }),
|
|
9579
|
+
(0, import_class_validator121.IsDateString)()
|
|
9521
9580
|
], CreateFreelancerTimesheetDto.prototype, "startDate", 2);
|
|
9522
9581
|
__decorateClass([
|
|
9523
|
-
(0,
|
|
9524
|
-
(0,
|
|
9582
|
+
(0, import_class_validator121.IsNotEmpty)({ message: "end date is required" }),
|
|
9583
|
+
(0, import_class_validator121.IsDateString)()
|
|
9525
9584
|
], CreateFreelancerTimesheetDto.prototype, "endDate", 2);
|
|
9526
9585
|
__decorateClass([
|
|
9527
|
-
(0,
|
|
9528
|
-
(0,
|
|
9586
|
+
(0, import_class_validator121.IsNotEmpty)({ message: "start time is required" }),
|
|
9587
|
+
(0, import_class_validator121.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
9529
9588
|
message: "startTime must be in HH:mm:ss format"
|
|
9530
9589
|
})
|
|
9531
9590
|
], CreateFreelancerTimesheetDto.prototype, "startTime", 2);
|
|
9532
9591
|
__decorateClass([
|
|
9533
|
-
(0,
|
|
9534
|
-
(0,
|
|
9592
|
+
(0, import_class_validator121.IsNotEmpty)({ message: "end time is required" }),
|
|
9593
|
+
(0, import_class_validator121.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
9535
9594
|
message: "endTime must be in HH:mm:ss format"
|
|
9536
9595
|
})
|
|
9537
9596
|
], CreateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
9538
9597
|
__decorateClass([
|
|
9539
|
-
(0,
|
|
9540
|
-
(0,
|
|
9598
|
+
(0, import_class_validator121.IsOptional)(),
|
|
9599
|
+
(0, import_class_validator121.IsInt)()
|
|
9541
9600
|
], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
9542
9601
|
__decorateClass([
|
|
9543
|
-
(0,
|
|
9544
|
-
(0,
|
|
9602
|
+
(0, import_class_validator121.IsOptional)(),
|
|
9603
|
+
(0, import_class_validator121.IsString)()
|
|
9545
9604
|
], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
9546
9605
|
__decorateClass([
|
|
9547
|
-
(0,
|
|
9548
|
-
(0,
|
|
9606
|
+
(0, import_class_validator121.IsOptional)(),
|
|
9607
|
+
(0, import_class_validator121.IsString)()
|
|
9549
9608
|
], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
9550
9609
|
__decorateClass([
|
|
9551
|
-
(0,
|
|
9552
|
-
(0,
|
|
9610
|
+
(0, import_class_validator121.IsOptional)(),
|
|
9611
|
+
(0, import_class_validator121.IsString)()
|
|
9553
9612
|
], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
9554
9613
|
__decorateClass([
|
|
9555
|
-
(0,
|
|
9614
|
+
(0, import_class_validator121.IsNotEmpty)({ message: "Description is required" })
|
|
9556
9615
|
], CreateFreelancerTimesheetDto.prototype, "description", 2);
|
|
9557
9616
|
|
|
9558
9617
|
// src/modules/timesheet/dto/update-freelancer-timesheet.dto.ts
|
|
9559
|
-
var
|
|
9618
|
+
var import_class_validator122 = require("class-validator");
|
|
9560
9619
|
var UpdateFreelancerTimesheetDto = class {
|
|
9561
9620
|
};
|
|
9562
9621
|
__decorateClass([
|
|
9563
|
-
(0,
|
|
9564
|
-
(0,
|
|
9622
|
+
(0, import_class_validator122.IsNotEmpty)({ message: "Job id is required" }),
|
|
9623
|
+
(0, import_class_validator122.IsNumber)({}, { message: "Job id must be a number" })
|
|
9565
9624
|
], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
9566
9625
|
__decorateClass([
|
|
9567
|
-
(0,
|
|
9568
|
-
(0,
|
|
9626
|
+
(0, import_class_validator122.IsNotEmpty)({ message: "start date is required" }),
|
|
9627
|
+
(0, import_class_validator122.IsDateString)()
|
|
9569
9628
|
], UpdateFreelancerTimesheetDto.prototype, "startDate", 2);
|
|
9570
9629
|
__decorateClass([
|
|
9571
|
-
(0,
|
|
9572
|
-
(0,
|
|
9630
|
+
(0, import_class_validator122.IsNotEmpty)({ message: "end date is required" }),
|
|
9631
|
+
(0, import_class_validator122.IsDateString)()
|
|
9573
9632
|
], UpdateFreelancerTimesheetDto.prototype, "endDate", 2);
|
|
9574
9633
|
__decorateClass([
|
|
9575
|
-
(0,
|
|
9576
|
-
(0,
|
|
9634
|
+
(0, import_class_validator122.IsNotEmpty)({ message: "start time is required" }),
|
|
9635
|
+
(0, import_class_validator122.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
9577
9636
|
message: "startTime must be in HH:mm:ss format"
|
|
9578
9637
|
})
|
|
9579
9638
|
], UpdateFreelancerTimesheetDto.prototype, "startTime", 2);
|
|
9580
9639
|
__decorateClass([
|
|
9581
|
-
(0,
|
|
9582
|
-
(0,
|
|
9640
|
+
(0, import_class_validator122.IsNotEmpty)({ message: "end time is required" }),
|
|
9641
|
+
(0, import_class_validator122.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
|
|
9583
9642
|
message: "endTime must be in HH:mm:ss format"
|
|
9584
9643
|
})
|
|
9585
9644
|
], UpdateFreelancerTimesheetDto.prototype, "endTime", 2);
|
|
9586
9645
|
__decorateClass([
|
|
9587
|
-
(0,
|
|
9588
|
-
(0,
|
|
9646
|
+
(0, import_class_validator122.IsOptional)(),
|
|
9647
|
+
(0, import_class_validator122.IsInt)()
|
|
9589
9648
|
], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
9590
9649
|
__decorateClass([
|
|
9591
|
-
(0,
|
|
9592
|
-
(0,
|
|
9650
|
+
(0, import_class_validator122.IsOptional)(),
|
|
9651
|
+
(0, import_class_validator122.IsString)()
|
|
9593
9652
|
], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
9594
9653
|
__decorateClass([
|
|
9595
|
-
(0,
|
|
9596
|
-
(0,
|
|
9654
|
+
(0, import_class_validator122.IsOptional)(),
|
|
9655
|
+
(0, import_class_validator122.IsString)()
|
|
9597
9656
|
], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
9598
9657
|
__decorateClass([
|
|
9599
|
-
(0,
|
|
9600
|
-
(0,
|
|
9658
|
+
(0, import_class_validator122.IsOptional)(),
|
|
9659
|
+
(0, import_class_validator122.IsString)()
|
|
9601
9660
|
], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
9602
9661
|
__decorateClass([
|
|
9603
|
-
(0,
|
|
9662
|
+
(0, import_class_validator122.IsNotEmpty)({ message: "Description is required" })
|
|
9604
9663
|
], UpdateFreelancerTimesheetDto.prototype, "description", 2);
|
|
9605
9664
|
|
|
9606
9665
|
// src/modules/timesheet/dto/submit-timesheet.dto.ts
|
|
9607
|
-
var
|
|
9666
|
+
var import_class_validator123 = require("class-validator");
|
|
9608
9667
|
var SubmitTimesheetDto = class {
|
|
9609
9668
|
};
|
|
9610
9669
|
__decorateClass([
|
|
9611
|
-
(0,
|
|
9612
|
-
(0,
|
|
9670
|
+
(0, import_class_validator123.IsNotEmpty)({ message: "Timesheet line ID is required" }),
|
|
9671
|
+
(0, import_class_validator123.IsNumber)({}, { message: "Timesheet line ID must be a number" })
|
|
9613
9672
|
], SubmitTimesheetDto.prototype, "timesheetLineId", 2);
|
|
9614
9673
|
|
|
9615
9674
|
// src/modules/timesheet/dto/resubmit-timesheet.dto.ts
|
|
9616
|
-
var
|
|
9675
|
+
var import_class_validator124 = require("class-validator");
|
|
9617
9676
|
var ResubmitTimesheetDto = class {
|
|
9618
9677
|
};
|
|
9619
9678
|
__decorateClass([
|
|
9620
|
-
(0,
|
|
9621
|
-
(0,
|
|
9679
|
+
(0, import_class_validator124.IsNotEmpty)({ message: "Timesheet line ID is required" }),
|
|
9680
|
+
(0, import_class_validator124.IsNumber)({}, { message: "Timesheet line ID must be a number" })
|
|
9622
9681
|
], ResubmitTimesheetDto.prototype, "timesheetLineId", 2);
|
|
9623
9682
|
|
|
9624
9683
|
// src/modules/timesheet/dto/approve-timesheets.dto.ts
|
|
9625
|
-
var
|
|
9684
|
+
var import_class_validator125 = require("class-validator");
|
|
9626
9685
|
var import_class_transformer25 = require("class-transformer");
|
|
9627
9686
|
var ApproveTimesheetsDto = class {
|
|
9628
9687
|
};
|
|
9629
9688
|
__decorateClass([
|
|
9630
|
-
(0,
|
|
9631
|
-
(0,
|
|
9689
|
+
(0, import_class_validator125.IsNumber)({}, { message: "Timesheet line ID must be a number." }),
|
|
9690
|
+
(0, import_class_validator125.IsNotEmpty)({ message: "Timesheet line ID is required." }),
|
|
9632
9691
|
(0, import_class_transformer25.Type)(() => Number)
|
|
9633
9692
|
], ApproveTimesheetsDto.prototype, "timesheetLineId", 2);
|
|
9634
9693
|
|
|
9635
9694
|
// src/modules/timesheet/dto/send-back-timesheets.dto.ts
|
|
9636
|
-
var
|
|
9695
|
+
var import_class_validator126 = require("class-validator");
|
|
9637
9696
|
var import_class_transformer26 = require("class-transformer");
|
|
9638
9697
|
var SendBackTimesheetsDto = class {
|
|
9639
9698
|
};
|
|
9640
9699
|
__decorateClass([
|
|
9641
|
-
(0,
|
|
9642
|
-
(0,
|
|
9700
|
+
(0, import_class_validator126.IsNumber)({}, { message: "Timesheet line ID must be a number." }),
|
|
9701
|
+
(0, import_class_validator126.IsNotEmpty)({ message: "Timesheet line ID is required." }),
|
|
9643
9702
|
(0, import_class_transformer26.Type)(() => Number)
|
|
9644
9703
|
], SendBackTimesheetsDto.prototype, "timesheetLineId", 2);
|
|
9645
9704
|
__decorateClass([
|
|
9646
|
-
(0,
|
|
9647
|
-
(0,
|
|
9705
|
+
(0, import_class_validator126.IsOptional)(),
|
|
9706
|
+
(0, import_class_validator126.IsString)({ message: "Client send back reason must be a string." })
|
|
9648
9707
|
], SendBackTimesheetsDto.prototype, "clientSendBackReason", 2);
|
|
9649
9708
|
|
|
9650
9709
|
// src/modules/timesheet/dto/create-default-timesheet-line.dto.ts
|
|
9651
|
-
var
|
|
9710
|
+
var import_class_validator127 = require("class-validator");
|
|
9652
9711
|
var CreateDefaultTimesheetLineDto = class {
|
|
9653
9712
|
};
|
|
9654
9713
|
__decorateClass([
|
|
9655
|
-
(0,
|
|
9656
|
-
(0,
|
|
9714
|
+
(0, import_class_validator127.IsNotEmpty)({ message: "Contract ID is required" }),
|
|
9715
|
+
(0, import_class_validator127.IsNumber)({}, { message: "Contract ID must be a number" })
|
|
9657
9716
|
], CreateDefaultTimesheetLineDto.prototype, "contractId", 2);
|
|
9658
9717
|
__decorateClass([
|
|
9659
|
-
(0,
|
|
9660
|
-
(0,
|
|
9718
|
+
(0, import_class_validator127.IsNotEmpty)({ message: "Freelancer ID is required" }),
|
|
9719
|
+
(0, import_class_validator127.IsNumber)({}, { message: "Freelancer ID must be a number" })
|
|
9661
9720
|
], CreateDefaultTimesheetLineDto.prototype, "freelancerId", 2);
|
|
9662
9721
|
__decorateClass([
|
|
9663
|
-
(0,
|
|
9664
|
-
(0,
|
|
9722
|
+
(0, import_class_validator127.IsNotEmpty)({ message: "Client ID is required" }),
|
|
9723
|
+
(0, import_class_validator127.IsNumber)({}, { message: "Client ID must be a number" })
|
|
9665
9724
|
], CreateDefaultTimesheetLineDto.prototype, "clientId", 2);
|
|
9666
9725
|
|
|
9667
9726
|
// src/modules/invoice/pattern/pattern.ts
|
|
@@ -9683,23 +9742,23 @@ var INVOICE_PATTERN = {
|
|
|
9683
9742
|
};
|
|
9684
9743
|
|
|
9685
9744
|
// src/modules/invoice/dto/update-invoice-status.dto.ts
|
|
9686
|
-
var
|
|
9745
|
+
var import_class_validator128 = require("class-validator");
|
|
9687
9746
|
var UpdateInvoiceStatusDto = class {
|
|
9688
9747
|
};
|
|
9689
9748
|
__decorateClass([
|
|
9690
|
-
(0,
|
|
9691
|
-
(0,
|
|
9749
|
+
(0, import_class_validator128.IsNotEmpty)({ message: "Please provide invoice status." }),
|
|
9750
|
+
(0, import_class_validator128.IsEnum)(InvoiceStatusEnum, {
|
|
9692
9751
|
message: "Status must be one of: APPROVED, REJECTED"
|
|
9693
9752
|
})
|
|
9694
9753
|
], UpdateInvoiceStatusDto.prototype, "status", 2);
|
|
9695
9754
|
|
|
9696
9755
|
// src/modules/invoice/dto/create-invoice.dto.ts
|
|
9697
|
-
var
|
|
9756
|
+
var import_class_validator129 = require("class-validator");
|
|
9698
9757
|
var CreateInvoiceDto = class {
|
|
9699
9758
|
};
|
|
9700
9759
|
__decorateClass([
|
|
9701
|
-
(0,
|
|
9702
|
-
(0,
|
|
9760
|
+
(0, import_class_validator129.IsNotEmpty)({ message: "Timesheet line ID is required" }),
|
|
9761
|
+
(0, import_class_validator129.IsNumber)({}, { message: "Timesheet line ID must be a number" })
|
|
9703
9762
|
], CreateInvoiceDto.prototype, "timeSheetLineId", 2);
|
|
9704
9763
|
|
|
9705
9764
|
// src/modules/dispute/pattern/pattern.ts
|
|
@@ -9710,42 +9769,42 @@ var DISPUTE_PATTERN = {
|
|
|
9710
9769
|
};
|
|
9711
9770
|
|
|
9712
9771
|
// src/modules/dispute/dto/create-dispute.dto.ts
|
|
9713
|
-
var
|
|
9772
|
+
var import_class_validator130 = require("class-validator");
|
|
9714
9773
|
var import_class_transformer27 = require("class-transformer");
|
|
9715
9774
|
var CreateDisputeDto = class {
|
|
9716
9775
|
};
|
|
9717
9776
|
__decorateClass([
|
|
9718
|
-
(0,
|
|
9719
|
-
(0,
|
|
9777
|
+
(0, import_class_validator130.ValidateIf)((o) => o.initiatorType === "FREELANCER" /* FREELANCER */),
|
|
9778
|
+
(0, import_class_validator130.IsNumber)({}, { message: "Client id must be a number" }),
|
|
9720
9779
|
(0, import_class_transformer27.Type)(() => Number)
|
|
9721
9780
|
], CreateDisputeDto.prototype, "clientId", 2);
|
|
9722
9781
|
__decorateClass([
|
|
9723
|
-
(0,
|
|
9724
|
-
(0,
|
|
9782
|
+
(0, import_class_validator130.ValidateIf)((o) => o.initiatorType === "CLIENT" /* CLIENT */),
|
|
9783
|
+
(0, import_class_validator130.IsNumber)({}, { message: "Freelancer id must be a number" }),
|
|
9725
9784
|
(0, import_class_transformer27.Type)(() => Number)
|
|
9726
9785
|
], CreateDisputeDto.prototype, "freelancerId", 2);
|
|
9727
9786
|
__decorateClass([
|
|
9728
|
-
(0,
|
|
9729
|
-
(0,
|
|
9730
|
-
(0,
|
|
9787
|
+
(0, import_class_validator130.IsNotEmpty)({ message: "Please select dispute type." }),
|
|
9788
|
+
(0, import_class_validator130.IsString)(),
|
|
9789
|
+
(0, import_class_validator130.IsIn)(["JOB", "INVOICE"])
|
|
9731
9790
|
], CreateDisputeDto.prototype, "disputeType", 2);
|
|
9732
9791
|
__decorateClass([
|
|
9733
|
-
(0,
|
|
9734
|
-
(0,
|
|
9792
|
+
(0, import_class_validator130.IsNotEmpty)({ message: "Please provide initiator type." }),
|
|
9793
|
+
(0, import_class_validator130.IsString)()
|
|
9735
9794
|
], CreateDisputeDto.prototype, "initiatorType", 2);
|
|
9736
9795
|
__decorateClass([
|
|
9737
|
-
(0,
|
|
9738
|
-
(0,
|
|
9739
|
-
(0,
|
|
9796
|
+
(0, import_class_validator130.IsNotEmpty)({ message: "Please enter description." }),
|
|
9797
|
+
(0, import_class_validator130.IsString)({ message: "Description must be a string" }),
|
|
9798
|
+
(0, import_class_validator130.MaxLength)(500, { message: "Description must not exceed 500 characters" })
|
|
9740
9799
|
], CreateDisputeDto.prototype, "description", 2);
|
|
9741
9800
|
__decorateClass([
|
|
9742
|
-
(0,
|
|
9743
|
-
(0,
|
|
9744
|
-
(0,
|
|
9801
|
+
(0, import_class_validator130.IsOptional)(),
|
|
9802
|
+
(0, import_class_validator130.IsString)({ message: "Comment must be a string" }),
|
|
9803
|
+
(0, import_class_validator130.MaxLength)(500, { message: "Comment must not exceed 500 characters" })
|
|
9745
9804
|
], CreateDisputeDto.prototype, "comment", 2);
|
|
9746
9805
|
__decorateClass([
|
|
9747
|
-
(0,
|
|
9748
|
-
(0,
|
|
9806
|
+
(0, import_class_validator130.IsOptional)(),
|
|
9807
|
+
(0, import_class_validator130.IsObject)({ message: "Dynamic fields must be a valid object" }),
|
|
9749
9808
|
(0, import_class_transformer27.Transform)(({ value }) => {
|
|
9750
9809
|
if (typeof value === "string") {
|
|
9751
9810
|
try {
|
|
@@ -9766,125 +9825,125 @@ var SENSELOAF_PATTERN = {
|
|
|
9766
9825
|
};
|
|
9767
9826
|
|
|
9768
9827
|
// src/modules/senseloaf/dto/ai-interview-question-generate.dto.ts
|
|
9769
|
-
var
|
|
9828
|
+
var import_class_validator131 = require("class-validator");
|
|
9770
9829
|
var AiInterviewQuestionGenerateDto = class {
|
|
9771
9830
|
};
|
|
9772
9831
|
__decorateClass([
|
|
9773
|
-
(0,
|
|
9832
|
+
(0, import_class_validator131.IsNotEmpty)({ message: "Please enter job description." })
|
|
9774
9833
|
], AiInterviewQuestionGenerateDto.prototype, "jobDescription", 2);
|
|
9775
9834
|
__decorateClass([
|
|
9776
|
-
(0,
|
|
9835
|
+
(0, import_class_validator131.IsNotEmpty)({ message: "Please enter number of questions." })
|
|
9777
9836
|
], AiInterviewQuestionGenerateDto.prototype, "numQuestions", 2);
|
|
9778
9837
|
|
|
9779
9838
|
// src/modules/senseloaf/dto/resume-parsing-by-url.dto.ts
|
|
9780
|
-
var
|
|
9839
|
+
var import_class_validator132 = require("class-validator");
|
|
9781
9840
|
var ResumeParsingByUrlDto = class {
|
|
9782
9841
|
};
|
|
9783
9842
|
__decorateClass([
|
|
9784
|
-
(0,
|
|
9785
|
-
(0,
|
|
9843
|
+
(0, import_class_validator132.IsNotEmpty)({ message: "Resume URL is required" }),
|
|
9844
|
+
(0, import_class_validator132.IsString)({ message: "Resume URL must be a string" })
|
|
9786
9845
|
], ResumeParsingByUrlDto.prototype, "resumeUrl", 2);
|
|
9787
9846
|
__decorateClass([
|
|
9788
|
-
(0,
|
|
9789
|
-
(0,
|
|
9847
|
+
(0, import_class_validator132.IsOptional)(),
|
|
9848
|
+
(0, import_class_validator132.IsString)()
|
|
9790
9849
|
], ResumeParsingByUrlDto.prototype, "fileName", 2);
|
|
9791
9850
|
|
|
9792
9851
|
// src/modules/senseloaf/dto/resume-data-processing.dto.ts
|
|
9793
|
-
var
|
|
9852
|
+
var import_class_validator133 = require("class-validator");
|
|
9794
9853
|
var ResumeDataProcessingDto = class {
|
|
9795
9854
|
};
|
|
9796
9855
|
__decorateClass([
|
|
9797
|
-
(0,
|
|
9798
|
-
(0,
|
|
9856
|
+
(0, import_class_validator133.IsNotEmpty)({ message: "Resume data is required" }),
|
|
9857
|
+
(0, import_class_validator133.IsObject)()
|
|
9799
9858
|
], ResumeDataProcessingDto.prototype, "resumeData", 2);
|
|
9800
9859
|
__decorateClass([
|
|
9801
|
-
(0,
|
|
9802
|
-
(0,
|
|
9860
|
+
(0, import_class_validator133.IsOptional)(),
|
|
9861
|
+
(0, import_class_validator133.IsString)()
|
|
9803
9862
|
], ResumeDataProcessingDto.prototype, "userId", 2);
|
|
9804
9863
|
__decorateClass([
|
|
9805
|
-
(0,
|
|
9806
|
-
(0,
|
|
9864
|
+
(0, import_class_validator133.IsOptional)(),
|
|
9865
|
+
(0, import_class_validator133.IsString)()
|
|
9807
9866
|
], ResumeDataProcessingDto.prototype, "processingType", 2);
|
|
9808
9867
|
|
|
9809
9868
|
// src/modules/senseloaf/dto/check-resume-eligibility.dto.ts
|
|
9810
|
-
var
|
|
9869
|
+
var import_class_validator134 = require("class-validator");
|
|
9811
9870
|
var CheckResumeEligibilityDto = class {
|
|
9812
9871
|
};
|
|
9813
9872
|
__decorateClass([
|
|
9814
|
-
(0,
|
|
9815
|
-
(0,
|
|
9873
|
+
(0, import_class_validator134.IsNotEmpty)({ message: "Resume data is required" }),
|
|
9874
|
+
(0, import_class_validator134.IsObject)()
|
|
9816
9875
|
], CheckResumeEligibilityDto.prototype, "resumeData", 2);
|
|
9817
9876
|
__decorateClass([
|
|
9818
|
-
(0,
|
|
9819
|
-
(0,
|
|
9877
|
+
(0, import_class_validator134.IsOptional)(),
|
|
9878
|
+
(0, import_class_validator134.IsString)()
|
|
9820
9879
|
], CheckResumeEligibilityDto.prototype, "jobId", 2);
|
|
9821
9880
|
__decorateClass([
|
|
9822
|
-
(0,
|
|
9823
|
-
(0,
|
|
9881
|
+
(0, import_class_validator134.IsOptional)(),
|
|
9882
|
+
(0, import_class_validator134.IsString)()
|
|
9824
9883
|
], CheckResumeEligibilityDto.prototype, "userId", 2);
|
|
9825
9884
|
|
|
9826
9885
|
// src/modules/senseloaf/dto/ai-interview-template-generation.dto.ts
|
|
9827
|
-
var
|
|
9886
|
+
var import_class_validator135 = require("class-validator");
|
|
9828
9887
|
var AiInterviewTemplateGenerationDto = class {
|
|
9829
9888
|
};
|
|
9830
9889
|
__decorateClass([
|
|
9831
|
-
(0,
|
|
9832
|
-
(0,
|
|
9890
|
+
(0, import_class_validator135.IsNotEmpty)({ message: "Job ID is required" }),
|
|
9891
|
+
(0, import_class_validator135.IsString)({ message: "Job ID must be a string" })
|
|
9833
9892
|
], AiInterviewTemplateGenerationDto.prototype, "jobId", 2);
|
|
9834
9893
|
__decorateClass([
|
|
9835
|
-
(0,
|
|
9836
|
-
(0,
|
|
9837
|
-
(0,
|
|
9894
|
+
(0, import_class_validator135.IsOptional)(),
|
|
9895
|
+
(0, import_class_validator135.IsArray)(),
|
|
9896
|
+
(0, import_class_validator135.IsString)({ each: true, message: "Each skill must be a string" })
|
|
9838
9897
|
], AiInterviewTemplateGenerationDto.prototype, "skills", 2);
|
|
9839
9898
|
__decorateClass([
|
|
9840
|
-
(0,
|
|
9841
|
-
(0,
|
|
9899
|
+
(0, import_class_validator135.IsOptional)(),
|
|
9900
|
+
(0, import_class_validator135.IsNumber)({}, { message: "Number of questions must be a number" })
|
|
9842
9901
|
], AiInterviewTemplateGenerationDto.prototype, "numberOfQuestions", 2);
|
|
9843
9902
|
__decorateClass([
|
|
9844
|
-
(0,
|
|
9845
|
-
(0,
|
|
9903
|
+
(0, import_class_validator135.IsOptional)(),
|
|
9904
|
+
(0, import_class_validator135.IsString)()
|
|
9846
9905
|
], AiInterviewTemplateGenerationDto.prototype, "difficulty", 2);
|
|
9847
9906
|
|
|
9848
9907
|
// src/modules/senseloaf/dto/ai-interview-link-generation.dto.ts
|
|
9849
|
-
var
|
|
9908
|
+
var import_class_validator136 = require("class-validator");
|
|
9850
9909
|
var AiInterviewLinkGenerationDto = class {
|
|
9851
9910
|
};
|
|
9852
9911
|
__decorateClass([
|
|
9853
|
-
(0,
|
|
9854
|
-
(0,
|
|
9912
|
+
(0, import_class_validator136.IsNotEmpty)({ message: "Template ID is required" }),
|
|
9913
|
+
(0, import_class_validator136.IsString)({ message: "Template ID must be a string" })
|
|
9855
9914
|
], AiInterviewLinkGenerationDto.prototype, "templateId", 2);
|
|
9856
9915
|
__decorateClass([
|
|
9857
|
-
(0,
|
|
9858
|
-
(0,
|
|
9916
|
+
(0, import_class_validator136.IsNotEmpty)({ message: "Freelancer ID is required" }),
|
|
9917
|
+
(0, import_class_validator136.IsString)({ message: "Freelancer ID must be a string" })
|
|
9859
9918
|
], AiInterviewLinkGenerationDto.prototype, "freelancerId", 2);
|
|
9860
9919
|
__decorateClass([
|
|
9861
|
-
(0,
|
|
9862
|
-
(0,
|
|
9920
|
+
(0, import_class_validator136.IsOptional)(),
|
|
9921
|
+
(0, import_class_validator136.IsString)()
|
|
9863
9922
|
], AiInterviewLinkGenerationDto.prototype, "jobId", 2);
|
|
9864
9923
|
__decorateClass([
|
|
9865
|
-
(0,
|
|
9866
|
-
(0,
|
|
9924
|
+
(0, import_class_validator136.IsOptional)(),
|
|
9925
|
+
(0, import_class_validator136.IsNumber)({}, { message: "Expiry hours must be a number" })
|
|
9867
9926
|
], AiInterviewLinkGenerationDto.prototype, "expiryHours", 2);
|
|
9868
9927
|
|
|
9869
9928
|
// src/modules/senseloaf/dto/ai-assessment-creation.dto.ts
|
|
9870
|
-
var
|
|
9929
|
+
var import_class_validator137 = require("class-validator");
|
|
9871
9930
|
var AiAssessmentCreationDto = class {
|
|
9872
9931
|
};
|
|
9873
9932
|
__decorateClass([
|
|
9874
|
-
(0,
|
|
9875
|
-
(0,
|
|
9933
|
+
(0, import_class_validator137.IsNotEmpty)({ message: "User ID is required" }),
|
|
9934
|
+
(0, import_class_validator137.IsString)({ message: "User ID must be a string" })
|
|
9876
9935
|
], AiAssessmentCreationDto.prototype, "userId", 2);
|
|
9877
9936
|
__decorateClass([
|
|
9878
|
-
(0,
|
|
9879
|
-
(0,
|
|
9937
|
+
(0, import_class_validator137.IsOptional)(),
|
|
9938
|
+
(0, import_class_validator137.IsString)()
|
|
9880
9939
|
], AiAssessmentCreationDto.prototype, "assessmentType", 2);
|
|
9881
9940
|
__decorateClass([
|
|
9882
|
-
(0,
|
|
9883
|
-
(0,
|
|
9941
|
+
(0, import_class_validator137.IsOptional)(),
|
|
9942
|
+
(0, import_class_validator137.IsNumber)({}, { message: "Number of questions must be a number" })
|
|
9884
9943
|
], AiAssessmentCreationDto.prototype, "numberOfQuestions", 2);
|
|
9885
9944
|
__decorateClass([
|
|
9886
|
-
(0,
|
|
9887
|
-
(0,
|
|
9945
|
+
(0, import_class_validator137.IsOptional)(),
|
|
9946
|
+
(0, import_class_validator137.IsString)()
|
|
9888
9947
|
], AiAssessmentCreationDto.prototype, "difficulty", 2);
|
|
9889
9948
|
|
|
9890
9949
|
// src/modules/commission/pattern/pattern.ts
|
|
@@ -9900,16 +9959,16 @@ var HIRING_PATTERN = {
|
|
|
9900
9959
|
};
|
|
9901
9960
|
|
|
9902
9961
|
// src/modules/hiring/dto/create-hiring.dto.ts
|
|
9903
|
-
var
|
|
9962
|
+
var import_class_validator138 = require("class-validator");
|
|
9904
9963
|
var CreateHiringDto = class {
|
|
9905
9964
|
};
|
|
9906
9965
|
__decorateClass([
|
|
9907
|
-
(0,
|
|
9908
|
-
(0,
|
|
9966
|
+
(0, import_class_validator138.IsNotEmpty)({ message: "Freelancer ID is required" }),
|
|
9967
|
+
(0, import_class_validator138.IsNumber)({}, { message: "Freelancer ID must be a number" })
|
|
9909
9968
|
], CreateHiringDto.prototype, "freelancerId", 2);
|
|
9910
9969
|
__decorateClass([
|
|
9911
|
-
(0,
|
|
9912
|
-
(0,
|
|
9970
|
+
(0, import_class_validator138.IsNotEmpty)({ message: "Job ID is required" }),
|
|
9971
|
+
(0, import_class_validator138.IsNumber)({}, { message: "Job ID must be a number" })
|
|
9913
9972
|
], CreateHiringDto.prototype, "jobId", 2);
|
|
9914
9973
|
|
|
9915
9974
|
// src/modules/llm/pattern/pattern.ts
|
|
@@ -9930,16 +9989,16 @@ var SIGNATURE_PATTERN = {
|
|
|
9930
9989
|
};
|
|
9931
9990
|
|
|
9932
9991
|
// src/modules/user/signature/dto/save-signature.dto.ts
|
|
9933
|
-
var
|
|
9992
|
+
var import_class_validator139 = require("class-validator");
|
|
9934
9993
|
var SaveSignatureDto = class {
|
|
9935
9994
|
};
|
|
9936
9995
|
__decorateClass([
|
|
9937
|
-
(0,
|
|
9938
|
-
(0,
|
|
9996
|
+
(0, import_class_validator139.IsOptional)(),
|
|
9997
|
+
(0, import_class_validator139.IsString)()
|
|
9939
9998
|
], SaveSignatureDto.prototype, "signatureType", 2);
|
|
9940
9999
|
__decorateClass([
|
|
9941
|
-
(0,
|
|
9942
|
-
(0,
|
|
10000
|
+
(0, import_class_validator139.IsOptional)(),
|
|
10001
|
+
(0, import_class_validator139.IsString)()
|
|
9943
10002
|
], SaveSignatureDto.prototype, "description", 2);
|
|
9944
10003
|
|
|
9945
10004
|
// src/modules/wallet/pattern/pattern.ts
|
|
@@ -9957,21 +10016,21 @@ var WALLET_ADMIN_PATTERN = {
|
|
|
9957
10016
|
};
|
|
9958
10017
|
|
|
9959
10018
|
// src/modules/wallet/dto/add-topup-escrow-amount.dto.ts
|
|
9960
|
-
var
|
|
10019
|
+
var import_class_validator140 = require("class-validator");
|
|
9961
10020
|
var AddTopupEscrowAmountDto = class {
|
|
9962
10021
|
};
|
|
9963
10022
|
__decorateClass([
|
|
9964
|
-
(0,
|
|
9965
|
-
(0,
|
|
10023
|
+
(0, import_class_validator140.IsNotEmpty)({ message: "Amount is required" }),
|
|
10024
|
+
(0, import_class_validator140.IsNumber)({}, { message: "Amount must be a number" })
|
|
9966
10025
|
], AddTopupEscrowAmountDto.prototype, "amount", 2);
|
|
9967
10026
|
|
|
9968
10027
|
// src/modules/wallet/dto/debit-commission-fte-hiring.dto.ts
|
|
9969
|
-
var
|
|
10028
|
+
var import_class_validator141 = require("class-validator");
|
|
9970
10029
|
var DebitCommissionFteHiringDto = class {
|
|
9971
10030
|
};
|
|
9972
10031
|
__decorateClass([
|
|
9973
|
-
(0,
|
|
9974
|
-
(0,
|
|
10032
|
+
(0, import_class_validator141.IsUUID)("4", { message: "Invoice UUID must be a valid UUID." }),
|
|
10033
|
+
(0, import_class_validator141.IsNotEmpty)({ message: "Invoice UUID is required." })
|
|
9975
10034
|
], DebitCommissionFteHiringDto.prototype, "invoiceUuid", 2);
|
|
9976
10035
|
|
|
9977
10036
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
@@ -11254,6 +11313,7 @@ RecommendationWeightageConfig = __decorateClass([
|
|
|
11254
11313
|
RefreshDto,
|
|
11255
11314
|
RefreshToken,
|
|
11256
11315
|
RejectAIInterviewRescheduleRequestDto,
|
|
11316
|
+
RejectContractDto,
|
|
11257
11317
|
RejectF2FInterviewRescheduleRequestDto,
|
|
11258
11318
|
ResetPasswordDto,
|
|
11259
11319
|
ResetPasswordTokenValidationDto,
|
|
@@ -11338,6 +11398,7 @@ RecommendationWeightageConfig = __decorateClass([
|
|
|
11338
11398
|
UpdateFreelancerTimesheetDto,
|
|
11339
11399
|
UpdateInterviewBasicInformationDto,
|
|
11340
11400
|
UpdateInterviewSettingDto,
|
|
11401
|
+
UpdateInterviewTypeInformationDto,
|
|
11341
11402
|
UpdateInvoiceStatusDto,
|
|
11342
11403
|
UpdateSubAdminAccountStatusDto,
|
|
11343
11404
|
UpdateSubAdminDto,
|