@experts_hub/shared 1.0.253 → 1.0.254
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 +1 -6
- package/dist/index.d.ts +1 -6
- package/dist/index.js +1 -18
- package/dist/index.mjs +251 -268
- package/dist/modules/user/freelancer-profile/pattern/pattern.d.ts +1 -0
- package/dist/modules/user/subadmin/dto/create-subadmin.dto.d.ts +0 -3
- package/dist/modules/user/subadmin/dto/update-subadmin.dto.d.ts +0 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -182,15 +182,12 @@ declare const SUBADMIN_PATTERN: {
|
|
|
182
182
|
};
|
|
183
183
|
|
|
184
184
|
declare class CreateSubAdminDto {
|
|
185
|
-
uniqueId: string;
|
|
186
185
|
userName: string;
|
|
187
186
|
firstName: string;
|
|
188
187
|
lastName: string;
|
|
189
188
|
email: string;
|
|
190
189
|
mobile: string;
|
|
191
190
|
password: string;
|
|
192
|
-
accountType: string;
|
|
193
|
-
accountStatus: string;
|
|
194
191
|
}
|
|
195
192
|
|
|
196
193
|
declare class UpdateSubAdminAccountStatusDto {
|
|
@@ -198,15 +195,12 @@ declare class UpdateSubAdminAccountStatusDto {
|
|
|
198
195
|
}
|
|
199
196
|
|
|
200
197
|
declare class UpdateSubAdminDto {
|
|
201
|
-
uniqueId: string;
|
|
202
198
|
userName: string;
|
|
203
199
|
firstName: string;
|
|
204
200
|
lastName: string;
|
|
205
201
|
email: string;
|
|
206
202
|
mobile: string;
|
|
207
203
|
password: string;
|
|
208
|
-
accountType: string;
|
|
209
|
-
accountStatus: string;
|
|
210
204
|
}
|
|
211
205
|
|
|
212
206
|
interface IFetchSubAdminQuery {
|
|
@@ -472,6 +466,7 @@ declare const PROFILE_PATTERN: {
|
|
|
472
466
|
fetchFreelancerProfile: string;
|
|
473
467
|
fetchFreelancerPublicProfile: string;
|
|
474
468
|
fetchFreelancerScreeningResult: string;
|
|
469
|
+
fetchFreelancerScreeningResultPublic: string;
|
|
475
470
|
changeFreelancerPassword: string;
|
|
476
471
|
uploadFreelancerProfilePic: string;
|
|
477
472
|
updateFreelancerProfile: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -182,15 +182,12 @@ declare const SUBADMIN_PATTERN: {
|
|
|
182
182
|
};
|
|
183
183
|
|
|
184
184
|
declare class CreateSubAdminDto {
|
|
185
|
-
uniqueId: string;
|
|
186
185
|
userName: string;
|
|
187
186
|
firstName: string;
|
|
188
187
|
lastName: string;
|
|
189
188
|
email: string;
|
|
190
189
|
mobile: string;
|
|
191
190
|
password: string;
|
|
192
|
-
accountType: string;
|
|
193
|
-
accountStatus: string;
|
|
194
191
|
}
|
|
195
192
|
|
|
196
193
|
declare class UpdateSubAdminAccountStatusDto {
|
|
@@ -198,15 +195,12 @@ declare class UpdateSubAdminAccountStatusDto {
|
|
|
198
195
|
}
|
|
199
196
|
|
|
200
197
|
declare class UpdateSubAdminDto {
|
|
201
|
-
uniqueId: string;
|
|
202
198
|
userName: string;
|
|
203
199
|
firstName: string;
|
|
204
200
|
lastName: string;
|
|
205
201
|
email: string;
|
|
206
202
|
mobile: string;
|
|
207
203
|
password: string;
|
|
208
|
-
accountType: string;
|
|
209
|
-
accountStatus: string;
|
|
210
204
|
}
|
|
211
205
|
|
|
212
206
|
interface IFetchSubAdminQuery {
|
|
@@ -472,6 +466,7 @@ declare const PROFILE_PATTERN: {
|
|
|
472
466
|
fetchFreelancerProfile: string;
|
|
473
467
|
fetchFreelancerPublicProfile: string;
|
|
474
468
|
fetchFreelancerScreeningResult: string;
|
|
469
|
+
fetchFreelancerScreeningResultPublic: string;
|
|
475
470
|
changeFreelancerPassword: string;
|
|
476
471
|
uploadFreelancerProfilePic: string;
|
|
477
472
|
updateFreelancerProfile: string;
|
package/dist/index.js
CHANGED
|
@@ -726,9 +726,6 @@ var SUBADMIN_PATTERN = {
|
|
|
726
726
|
var import_class_validator23 = require("class-validator");
|
|
727
727
|
var CreateSubAdminDto = class {
|
|
728
728
|
};
|
|
729
|
-
__decorateClass([
|
|
730
|
-
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter unique id." })
|
|
731
|
-
], CreateSubAdminDto.prototype, "uniqueId", 2);
|
|
732
729
|
__decorateClass([
|
|
733
730
|
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter username." })
|
|
734
731
|
], CreateSubAdminDto.prototype, "userName", 2);
|
|
@@ -747,12 +744,6 @@ __decorateClass([
|
|
|
747
744
|
__decorateClass([
|
|
748
745
|
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter the password." })
|
|
749
746
|
], CreateSubAdminDto.prototype, "password", 2);
|
|
750
|
-
__decorateClass([
|
|
751
|
-
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter account type." })
|
|
752
|
-
], CreateSubAdminDto.prototype, "accountType", 2);
|
|
753
|
-
__decorateClass([
|
|
754
|
-
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter account status." })
|
|
755
|
-
], CreateSubAdminDto.prototype, "accountStatus", 2);
|
|
756
747
|
|
|
757
748
|
// src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
|
|
758
749
|
var import_class_validator24 = require("class-validator");
|
|
@@ -766,9 +757,6 @@ __decorateClass([
|
|
|
766
757
|
var import_class_validator25 = require("class-validator");
|
|
767
758
|
var UpdateSubAdminDto = class {
|
|
768
759
|
};
|
|
769
|
-
__decorateClass([
|
|
770
|
-
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter unique id." })
|
|
771
|
-
], UpdateSubAdminDto.prototype, "uniqueId", 2);
|
|
772
760
|
__decorateClass([
|
|
773
761
|
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter username." })
|
|
774
762
|
], UpdateSubAdminDto.prototype, "userName", 2);
|
|
@@ -787,12 +775,6 @@ __decorateClass([
|
|
|
787
775
|
__decorateClass([
|
|
788
776
|
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter the password." })
|
|
789
777
|
], UpdateSubAdminDto.prototype, "password", 2);
|
|
790
|
-
__decorateClass([
|
|
791
|
-
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter account type." })
|
|
792
|
-
], UpdateSubAdminDto.prototype, "accountType", 2);
|
|
793
|
-
__decorateClass([
|
|
794
|
-
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter account status." })
|
|
795
|
-
], UpdateSubAdminDto.prototype, "accountStatus", 2);
|
|
796
778
|
|
|
797
779
|
// src/modules/user/client-profile/pattern/pattern.ts
|
|
798
780
|
var CLIENT_PROFILE_PATTERN = {
|
|
@@ -1058,6 +1040,7 @@ var PROFILE_PATTERN = {
|
|
|
1058
1040
|
fetchFreelancerProfile: "fetch.freelancer.profile",
|
|
1059
1041
|
fetchFreelancerPublicProfile: "fetch.freelancer.public.profile",
|
|
1060
1042
|
fetchFreelancerScreeningResult: "fetch.freelancer.screening.result",
|
|
1043
|
+
fetchFreelancerScreeningResultPublic: "fetch.freelancer.screening.result.public",
|
|
1061
1044
|
changeFreelancerPassword: "change.freelancer.password",
|
|
1062
1045
|
uploadFreelancerProfilePic: "upload.freelancer.profilepic",
|
|
1063
1046
|
updateFreelancerProfile: "update.freelancer.profile",
|