@experts_hub/shared 1.0.628 → 1.0.629
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
CHANGED
|
@@ -3622,12 +3622,16 @@ declare enum ContractTypeEnumDto {
|
|
|
3622
3622
|
SOW = "SOW",
|
|
3623
3623
|
MSA = "MSA"
|
|
3624
3624
|
}
|
|
3625
|
+
declare enum PreferredEngagementTypeEnum$1 {
|
|
3626
|
+
FREELANCE = "FREELANCE"
|
|
3627
|
+
}
|
|
3625
3628
|
declare class GenerateContractDto {
|
|
3626
3629
|
jobId: number;
|
|
3627
3630
|
freelancerId: number;
|
|
3628
3631
|
contractType?: ContractTypeEnumDto;
|
|
3629
3632
|
contractStartDate?: string;
|
|
3630
3633
|
contractInvoicingCycle?: string;
|
|
3634
|
+
preferredEngagementType?: PreferredEngagementTypeEnum$1;
|
|
3631
3635
|
source?: ContractSourceEnum$1;
|
|
3632
3636
|
sourceUuid?: string;
|
|
3633
3637
|
}
|
|
@@ -3886,9 +3890,14 @@ declare const HIRING_PATTERN: {
|
|
|
3886
3890
|
createHiring: string;
|
|
3887
3891
|
};
|
|
3888
3892
|
|
|
3893
|
+
declare enum PreferredEngagementTypeEnum {
|
|
3894
|
+
FTE = "FTE",
|
|
3895
|
+
FREELANCE = "FREELANCE"
|
|
3896
|
+
}
|
|
3889
3897
|
declare class CreateHiringDto {
|
|
3890
3898
|
freelancerId: number;
|
|
3891
3899
|
jobId: number;
|
|
3900
|
+
preferredEngagementType?: PreferredEngagementTypeEnum;
|
|
3892
3901
|
}
|
|
3893
3902
|
|
|
3894
3903
|
declare const LLM_PATTERN: {
|
package/dist/index.d.ts
CHANGED
|
@@ -3622,12 +3622,16 @@ declare enum ContractTypeEnumDto {
|
|
|
3622
3622
|
SOW = "SOW",
|
|
3623
3623
|
MSA = "MSA"
|
|
3624
3624
|
}
|
|
3625
|
+
declare enum PreferredEngagementTypeEnum$1 {
|
|
3626
|
+
FREELANCE = "FREELANCE"
|
|
3627
|
+
}
|
|
3625
3628
|
declare class GenerateContractDto {
|
|
3626
3629
|
jobId: number;
|
|
3627
3630
|
freelancerId: number;
|
|
3628
3631
|
contractType?: ContractTypeEnumDto;
|
|
3629
3632
|
contractStartDate?: string;
|
|
3630
3633
|
contractInvoicingCycle?: string;
|
|
3634
|
+
preferredEngagementType?: PreferredEngagementTypeEnum$1;
|
|
3631
3635
|
source?: ContractSourceEnum$1;
|
|
3632
3636
|
sourceUuid?: string;
|
|
3633
3637
|
}
|
|
@@ -3886,9 +3890,14 @@ declare const HIRING_PATTERN: {
|
|
|
3886
3890
|
createHiring: string;
|
|
3887
3891
|
};
|
|
3888
3892
|
|
|
3893
|
+
declare enum PreferredEngagementTypeEnum {
|
|
3894
|
+
FTE = "FTE",
|
|
3895
|
+
FREELANCE = "FREELANCE"
|
|
3896
|
+
}
|
|
3889
3897
|
declare class CreateHiringDto {
|
|
3890
3898
|
freelancerId: number;
|
|
3891
3899
|
jobId: number;
|
|
3900
|
+
preferredEngagementType?: PreferredEngagementTypeEnum;
|
|
3892
3901
|
}
|
|
3893
3902
|
|
|
3894
3903
|
declare const LLM_PATTERN: {
|
package/dist/index.js
CHANGED
|
@@ -9799,6 +9799,10 @@ var ContractTypeEnumDto = /* @__PURE__ */ ((ContractTypeEnumDto2) => {
|
|
|
9799
9799
|
ContractTypeEnumDto2["MSA"] = "MSA";
|
|
9800
9800
|
return ContractTypeEnumDto2;
|
|
9801
9801
|
})(ContractTypeEnumDto || {});
|
|
9802
|
+
var PreferredEngagementTypeEnum = /* @__PURE__ */ ((PreferredEngagementTypeEnum3) => {
|
|
9803
|
+
PreferredEngagementTypeEnum3["FREELANCE"] = "FREELANCE";
|
|
9804
|
+
return PreferredEngagementTypeEnum3;
|
|
9805
|
+
})(PreferredEngagementTypeEnum || {});
|
|
9802
9806
|
var GenerateContractDto = class {
|
|
9803
9807
|
};
|
|
9804
9808
|
__decorateClass([
|
|
@@ -9823,6 +9827,12 @@ __decorateClass([
|
|
|
9823
9827
|
(0, import_class_validator112.IsOptional)(),
|
|
9824
9828
|
(0, import_class_validator112.IsString)({ message: "Contract invoicing cycle must be a string." })
|
|
9825
9829
|
], GenerateContractDto.prototype, "contractInvoicingCycle", 2);
|
|
9830
|
+
__decorateClass([
|
|
9831
|
+
(0, import_class_validator112.IsNotEmpty)({ message: "Preferred engagement type is required" }),
|
|
9832
|
+
(0, import_class_validator112.IsEnum)(PreferredEngagementTypeEnum, {
|
|
9833
|
+
message: "Preferred engagement type must be FREELANCE."
|
|
9834
|
+
})
|
|
9835
|
+
], GenerateContractDto.prototype, "preferredEngagementType", 2);
|
|
9826
9836
|
__decorateClass([
|
|
9827
9837
|
(0, import_class_validator112.IsOptional)(),
|
|
9828
9838
|
(0, import_class_validator112.IsEnum)(ContractSourceEnum, {
|
|
@@ -10400,6 +10410,11 @@ var HIRING_PATTERN = {
|
|
|
10400
10410
|
|
|
10401
10411
|
// src/modules/hiring/dto/create-hiring.dto.ts
|
|
10402
10412
|
var import_class_validator139 = require("class-validator");
|
|
10413
|
+
var PreferredEngagementTypeEnum2 = /* @__PURE__ */ ((PreferredEngagementTypeEnum3) => {
|
|
10414
|
+
PreferredEngagementTypeEnum3["FTE"] = "FTE";
|
|
10415
|
+
PreferredEngagementTypeEnum3["FREELANCE"] = "FREELANCE";
|
|
10416
|
+
return PreferredEngagementTypeEnum3;
|
|
10417
|
+
})(PreferredEngagementTypeEnum2 || {});
|
|
10403
10418
|
var CreateHiringDto = class {
|
|
10404
10419
|
};
|
|
10405
10420
|
__decorateClass([
|
|
@@ -10410,6 +10425,12 @@ __decorateClass([
|
|
|
10410
10425
|
(0, import_class_validator139.IsNotEmpty)({ message: "Job ID is required" }),
|
|
10411
10426
|
(0, import_class_validator139.IsNumber)({}, { message: "Job ID must be a number" })
|
|
10412
10427
|
], CreateHiringDto.prototype, "jobId", 2);
|
|
10428
|
+
__decorateClass([
|
|
10429
|
+
(0, import_class_validator139.IsNotEmpty)({ message: "Preferred engagement type is required" }),
|
|
10430
|
+
(0, import_class_validator139.IsEnum)(PreferredEngagementTypeEnum2, {
|
|
10431
|
+
message: "Preferred engagement type must be one of FTE or FREELANCE."
|
|
10432
|
+
})
|
|
10433
|
+
], CreateHiringDto.prototype, "preferredEngagementType", 2);
|
|
10413
10434
|
|
|
10414
10435
|
// src/modules/llm/pattern/pattern.ts
|
|
10415
10436
|
var LLM_PATTERN = {
|
package/dist/index.mjs
CHANGED
|
@@ -9903,6 +9903,10 @@ var ContractTypeEnumDto = /* @__PURE__ */ ((ContractTypeEnumDto2) => {
|
|
|
9903
9903
|
ContractTypeEnumDto2["MSA"] = "MSA";
|
|
9904
9904
|
return ContractTypeEnumDto2;
|
|
9905
9905
|
})(ContractTypeEnumDto || {});
|
|
9906
|
+
var PreferredEngagementTypeEnum = /* @__PURE__ */ ((PreferredEngagementTypeEnum3) => {
|
|
9907
|
+
PreferredEngagementTypeEnum3["FREELANCE"] = "FREELANCE";
|
|
9908
|
+
return PreferredEngagementTypeEnum3;
|
|
9909
|
+
})(PreferredEngagementTypeEnum || {});
|
|
9906
9910
|
var GenerateContractDto = class {
|
|
9907
9911
|
};
|
|
9908
9912
|
__decorateClass([
|
|
@@ -9927,6 +9931,12 @@ __decorateClass([
|
|
|
9927
9931
|
IsOptional66(),
|
|
9928
9932
|
IsString68({ message: "Contract invoicing cycle must be a string." })
|
|
9929
9933
|
], GenerateContractDto.prototype, "contractInvoicingCycle", 2);
|
|
9934
|
+
__decorateClass([
|
|
9935
|
+
IsNotEmpty91({ message: "Preferred engagement type is required" }),
|
|
9936
|
+
IsEnum37(PreferredEngagementTypeEnum, {
|
|
9937
|
+
message: "Preferred engagement type must be FREELANCE."
|
|
9938
|
+
})
|
|
9939
|
+
], GenerateContractDto.prototype, "preferredEngagementType", 2);
|
|
9930
9940
|
__decorateClass([
|
|
9931
9941
|
IsOptional66(),
|
|
9932
9942
|
IsEnum37(ContractSourceEnum, {
|
|
@@ -10532,7 +10542,12 @@ var HIRING_PATTERN = {
|
|
|
10532
10542
|
};
|
|
10533
10543
|
|
|
10534
10544
|
// src/modules/hiring/dto/create-hiring.dto.ts
|
|
10535
|
-
import { IsNotEmpty as IsNotEmpty117, IsNumber as IsNumber37 } from "class-validator";
|
|
10545
|
+
import { IsEnum as IsEnum42, IsNotEmpty as IsNotEmpty117, IsNumber as IsNumber37 } from "class-validator";
|
|
10546
|
+
var PreferredEngagementTypeEnum2 = /* @__PURE__ */ ((PreferredEngagementTypeEnum3) => {
|
|
10547
|
+
PreferredEngagementTypeEnum3["FTE"] = "FTE";
|
|
10548
|
+
PreferredEngagementTypeEnum3["FREELANCE"] = "FREELANCE";
|
|
10549
|
+
return PreferredEngagementTypeEnum3;
|
|
10550
|
+
})(PreferredEngagementTypeEnum2 || {});
|
|
10536
10551
|
var CreateHiringDto = class {
|
|
10537
10552
|
};
|
|
10538
10553
|
__decorateClass([
|
|
@@ -10543,6 +10558,12 @@ __decorateClass([
|
|
|
10543
10558
|
IsNotEmpty117({ message: "Job ID is required" }),
|
|
10544
10559
|
IsNumber37({}, { message: "Job ID must be a number" })
|
|
10545
10560
|
], CreateHiringDto.prototype, "jobId", 2);
|
|
10561
|
+
__decorateClass([
|
|
10562
|
+
IsNotEmpty117({ message: "Preferred engagement type is required" }),
|
|
10563
|
+
IsEnum42(PreferredEngagementTypeEnum2, {
|
|
10564
|
+
message: "Preferred engagement type must be one of FTE or FREELANCE."
|
|
10565
|
+
})
|
|
10566
|
+
], CreateHiringDto.prototype, "preferredEngagementType", 2);
|
|
10546
10567
|
|
|
10547
10568
|
// src/modules/llm/pattern/pattern.ts
|
|
10548
10569
|
var LLM_PATTERN = {
|
|
@@ -9,12 +9,16 @@ declare enum ContractTypeEnumDto {
|
|
|
9
9
|
SOW = "SOW",
|
|
10
10
|
MSA = "MSA"
|
|
11
11
|
}
|
|
12
|
+
declare enum PreferredEngagementTypeEnum {
|
|
13
|
+
FREELANCE = "FREELANCE"
|
|
14
|
+
}
|
|
12
15
|
export declare class GenerateContractDto {
|
|
13
16
|
jobId: number;
|
|
14
17
|
freelancerId: number;
|
|
15
18
|
contractType?: ContractTypeEnumDto;
|
|
16
19
|
contractStartDate?: string;
|
|
17
20
|
contractInvoicingCycle?: string;
|
|
21
|
+
preferredEngagementType?: PreferredEngagementTypeEnum;
|
|
18
22
|
source?: ContractSourceEnum;
|
|
19
23
|
sourceUuid?: string;
|
|
20
24
|
}
|