@experts_hub/shared 1.0.709 → 1.0.711
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/company-profile.entity.d.ts +1 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +13 -2
- package/dist/index.mjs +14 -3
- package/dist/modules/client-admin/dto/create-client.dto.d.ts +1 -0
- package/dist/modules/client-admin/dto/update-client.dto.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -459,6 +459,7 @@ declare class CompanyProfile extends BaseEntity {
|
|
|
459
459
|
signaturePositions: any;
|
|
460
460
|
hiringCommisionTypeForFte: HiringCommissionTypeEnum;
|
|
461
461
|
hiringCommissionValueForFte: number;
|
|
462
|
+
markupPercentage: number;
|
|
462
463
|
rating: number;
|
|
463
464
|
signatureUrl: string;
|
|
464
465
|
}
|
|
@@ -3444,6 +3445,7 @@ declare class CreateClientDto {
|
|
|
3444
3445
|
countryId?: number;
|
|
3445
3446
|
stateId?: number;
|
|
3446
3447
|
cityId?: number;
|
|
3448
|
+
markupPercentage?: number;
|
|
3447
3449
|
}
|
|
3448
3450
|
|
|
3449
3451
|
declare class UpdateClientAccountStatusDto {
|
|
@@ -3468,6 +3470,7 @@ declare class UpdateClientDto {
|
|
|
3468
3470
|
countryId: number | null;
|
|
3469
3471
|
stateId: number | null;
|
|
3470
3472
|
cityId: number | null;
|
|
3473
|
+
markupPercentage?: number | null;
|
|
3471
3474
|
}
|
|
3472
3475
|
|
|
3473
3476
|
declare class AdminExportClientV2OptimisedDto {
|
package/dist/index.d.ts
CHANGED
|
@@ -459,6 +459,7 @@ declare class CompanyProfile extends BaseEntity {
|
|
|
459
459
|
signaturePositions: any;
|
|
460
460
|
hiringCommisionTypeForFte: HiringCommissionTypeEnum;
|
|
461
461
|
hiringCommissionValueForFte: number;
|
|
462
|
+
markupPercentage: number;
|
|
462
463
|
rating: number;
|
|
463
464
|
signatureUrl: string;
|
|
464
465
|
}
|
|
@@ -3444,6 +3445,7 @@ declare class CreateClientDto {
|
|
|
3444
3445
|
countryId?: number;
|
|
3445
3446
|
stateId?: number;
|
|
3446
3447
|
cityId?: number;
|
|
3448
|
+
markupPercentage?: number;
|
|
3447
3449
|
}
|
|
3448
3450
|
|
|
3449
3451
|
declare class UpdateClientAccountStatusDto {
|
|
@@ -3468,6 +3470,7 @@ declare class UpdateClientDto {
|
|
|
3468
3470
|
countryId: number | null;
|
|
3469
3471
|
stateId: number | null;
|
|
3470
3472
|
cityId: number | null;
|
|
3473
|
+
markupPercentage?: number | null;
|
|
3471
3474
|
}
|
|
3472
3475
|
|
|
3473
3476
|
declare class AdminExportClientV2OptimisedDto {
|
package/dist/index.js
CHANGED
|
@@ -1790,6 +1790,9 @@ __decorateClass([
|
|
|
1790
1790
|
__decorateClass([
|
|
1791
1791
|
(0, import_typeorm5.Column)({ name: "hiring_commission_value_for_fte", type: "integer", nullable: true })
|
|
1792
1792
|
], CompanyProfile.prototype, "hiringCommissionValueForFte", 2);
|
|
1793
|
+
__decorateClass([
|
|
1794
|
+
(0, import_typeorm5.Column)({ name: "markup_percentage", type: "integer", nullable: true })
|
|
1795
|
+
], CompanyProfile.prototype, "markupPercentage", 2);
|
|
1793
1796
|
__decorateClass([
|
|
1794
1797
|
(0, import_typeorm5.Column)({
|
|
1795
1798
|
type: "float",
|
|
@@ -7690,8 +7693,7 @@ __decorateClass([
|
|
|
7690
7693
|
], JobDescriptionDto.prototype, "isDraft", 2);
|
|
7691
7694
|
__decorateClass([
|
|
7692
7695
|
(0, import_class_validator51.IsNotEmpty)({ message: "Please enter job description" }),
|
|
7693
|
-
(0, import_class_validator51.IsString)({ message: "Description must be a string" })
|
|
7694
|
-
(0, import_class_validator51.MaxLength)(5e3, { message: "Description must not exceed 5000 characters" })
|
|
7696
|
+
(0, import_class_validator51.IsString)({ message: "Description must be a string" })
|
|
7695
7697
|
], JobDescriptionDto.prototype, "description", 2);
|
|
7696
7698
|
|
|
7697
7699
|
// src/modules/job/dto/create-job-via-ai.dto..ts
|
|
@@ -9975,6 +9977,11 @@ __decorateClass([
|
|
|
9975
9977
|
(0, import_class_validator90.IsInt)({ message: "City ID must be an integer." }),
|
|
9976
9978
|
(0, import_class_transformer13.Type)(() => Number)
|
|
9977
9979
|
], CreateClientDto.prototype, "cityId", 2);
|
|
9980
|
+
__decorateClass([
|
|
9981
|
+
(0, import_class_validator90.IsOptional)(),
|
|
9982
|
+
(0, import_class_validator90.IsInt)({ message: "Markup percentage must be an integer." }),
|
|
9983
|
+
(0, import_class_transformer13.Type)(() => Number)
|
|
9984
|
+
], CreateClientDto.prototype, "markupPercentage", 2);
|
|
9978
9985
|
|
|
9979
9986
|
// src/modules/client-admin/dto/update-client-status.dto.ts
|
|
9980
9987
|
var import_class_validator91 = require("class-validator");
|
|
@@ -10064,6 +10071,10 @@ __decorateClass([
|
|
|
10064
10071
|
(0, import_class_validator92.IsOptional)(),
|
|
10065
10072
|
(0, import_class_transformer14.Type)(() => Number)
|
|
10066
10073
|
], UpdateClientDto.prototype, "cityId", 2);
|
|
10074
|
+
__decorateClass([
|
|
10075
|
+
(0, import_class_validator92.IsOptional)(),
|
|
10076
|
+
(0, import_class_transformer14.Type)(() => Number)
|
|
10077
|
+
], UpdateClientDto.prototype, "markupPercentage", 2);
|
|
10067
10078
|
|
|
10068
10079
|
// src/modules/client-admin/dto/admin-export-clientV2-optimised.dto.ts
|
|
10069
10080
|
var import_class_validator93 = require("class-validator");
|
package/dist/index.mjs
CHANGED
|
@@ -1419,6 +1419,9 @@ __decorateClass([
|
|
|
1419
1419
|
__decorateClass([
|
|
1420
1420
|
Column5({ name: "hiring_commission_value_for_fte", type: "integer", nullable: true })
|
|
1421
1421
|
], CompanyProfile.prototype, "hiringCommissionValueForFte", 2);
|
|
1422
|
+
__decorateClass([
|
|
1423
|
+
Column5({ name: "markup_percentage", type: "integer", nullable: true })
|
|
1424
|
+
], CompanyProfile.prototype, "markupPercentage", 2);
|
|
1422
1425
|
__decorateClass([
|
|
1423
1426
|
Column5({
|
|
1424
1427
|
type: "float",
|
|
@@ -7519,7 +7522,7 @@ __decorateClass([
|
|
|
7519
7522
|
], JobAdditionalCommentDto.prototype, "additionalComment", 2);
|
|
7520
7523
|
|
|
7521
7524
|
// src/modules/job/dto/job-description.dto.ts
|
|
7522
|
-
import { IsString as IsString24, IsNotEmpty as IsNotEmpty44,
|
|
7525
|
+
import { IsString as IsString24, IsNotEmpty as IsNotEmpty44, IsOptional as IsOptional23 } from "class-validator";
|
|
7523
7526
|
import { Type as Type2 } from "class-transformer";
|
|
7524
7527
|
var JobDescriptionDto = class {
|
|
7525
7528
|
constructor() {
|
|
@@ -7532,8 +7535,7 @@ __decorateClass([
|
|
|
7532
7535
|
], JobDescriptionDto.prototype, "isDraft", 2);
|
|
7533
7536
|
__decorateClass([
|
|
7534
7537
|
IsNotEmpty44({ message: "Please enter job description" }),
|
|
7535
|
-
IsString24({ message: "Description must be a string" })
|
|
7536
|
-
MaxLength8(5e3, { message: "Description must not exceed 5000 characters" })
|
|
7538
|
+
IsString24({ message: "Description must be a string" })
|
|
7537
7539
|
], JobDescriptionDto.prototype, "description", 2);
|
|
7538
7540
|
|
|
7539
7541
|
// src/modules/job/dto/create-job-via-ai.dto..ts
|
|
@@ -9938,6 +9940,11 @@ __decorateClass([
|
|
|
9938
9940
|
IsInt9({ message: "City ID must be an integer." }),
|
|
9939
9941
|
Type9(() => Number)
|
|
9940
9942
|
], CreateClientDto.prototype, "cityId", 2);
|
|
9943
|
+
__decorateClass([
|
|
9944
|
+
IsOptional45(),
|
|
9945
|
+
IsInt9({ message: "Markup percentage must be an integer." }),
|
|
9946
|
+
Type9(() => Number)
|
|
9947
|
+
], CreateClientDto.prototype, "markupPercentage", 2);
|
|
9941
9948
|
|
|
9942
9949
|
// src/modules/client-admin/dto/update-client-status.dto.ts
|
|
9943
9950
|
import { IsEnum as IsEnum30 } from "class-validator";
|
|
@@ -10035,6 +10042,10 @@ __decorateClass([
|
|
|
10035
10042
|
IsOptional46(),
|
|
10036
10043
|
Type10(() => Number)
|
|
10037
10044
|
], UpdateClientDto.prototype, "cityId", 2);
|
|
10045
|
+
__decorateClass([
|
|
10046
|
+
IsOptional46(),
|
|
10047
|
+
Type10(() => Number)
|
|
10048
|
+
], UpdateClientDto.prototype, "markupPercentage", 2);
|
|
10038
10049
|
|
|
10039
10050
|
// src/modules/client-admin/dto/admin-export-clientV2-optimised.dto.ts
|
|
10040
10051
|
import { IsOptional as IsOptional47, IsArray as IsArray16, IsEmail as IsEmail19 } from "class-validator";
|