@experts_hub/shared 1.0.59 → 1.0.61

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
@@ -62,6 +62,12 @@ declare class FreelancerProfileQuestionDto {
62
62
  answer: any;
63
63
  }
64
64
 
65
+ declare class ClientProfileQuestionDto {
66
+ uuid: string;
67
+ question_slug: string;
68
+ answer: any;
69
+ }
70
+
65
71
  declare class FreelancerWorkShowcaseDto {
66
72
  uuid: string;
67
73
  linkedinProfileLink: string;
@@ -385,4 +391,4 @@ declare class CompanyProfile extends BaseEntity {
385
391
  foundUsOn: FromUsOn;
386
392
  }
387
393
 
388
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
394
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.d.ts CHANGED
@@ -62,6 +62,12 @@ declare class FreelancerProfileQuestionDto {
62
62
  answer: any;
63
63
  }
64
64
 
65
+ declare class ClientProfileQuestionDto {
66
+ uuid: string;
67
+ question_slug: string;
68
+ answer: any;
69
+ }
70
+
65
71
  declare class FreelancerWorkShowcaseDto {
66
72
  uuid: string;
67
73
  linkedinProfileLink: string;
@@ -385,4 +391,4 @@ declare class CompanyProfile extends BaseEntity {
385
391
  foundUsOn: FromUsOn;
386
392
  }
387
393
 
388
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
394
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.js CHANGED
@@ -31,6 +31,7 @@ __export(index_exports, {
31
31
  AccountStatus: () => AccountStatus,
32
32
  AccountType: () => AccountType,
33
33
  BaseEntity: () => BaseEntity,
34
+ ClientProfileQuestionDto: () => ClientProfileQuestionDto,
34
35
  CompanyProfile: () => CompanyProfile,
35
36
  CreateQuestionDto: () => CreateQuestionDto,
36
37
  CreateSubAdminDto: () => CreateSubAdminDto,
@@ -228,34 +229,57 @@ __decorateClass([
228
229
  (0, import_class_validator8.IsNotEmpty)({ message: "Please enter answer." })
229
230
  ], FreelancerProfileQuestionDto.prototype, "answer", 2);
230
231
 
231
- // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
232
+ // src/modules/onboarding/dto/client-profile-question.dto.ts
232
233
  var import_class_validator9 = require("class-validator");
233
- var FreelancerWorkShowcaseDto = class {
234
+ var ClientProfileQuestionDto = class {
234
235
  };
235
236
  __decorateClass([
236
237
  (0, import_class_validator9.IsNotEmpty)({ message: "Please enter uuid." }),
237
238
  (0, import_class_validator9.IsUUID)()
238
- ], FreelancerWorkShowcaseDto.prototype, "uuid", 2);
239
+ ], ClientProfileQuestionDto.prototype, "uuid", 2);
239
240
  __decorateClass([
240
- (0, import_class_validator9.IsNotEmpty)({ message: "Please enter likedin profile url." }),
241
+ (0, import_class_validator9.IsNotEmpty)({ message: "Please enter question slug." }),
241
242
  (0, import_class_validator9.IsString)(),
242
- (0, import_class_validator9.IsUrl)({ require_protocol: true }, { message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)" })
243
+ (0, import_class_validator9.IsIn)([
244
+ "skills",
245
+ "requiredFreelancer",
246
+ "kindOfHiring",
247
+ "modeOfHire",
248
+ "foundUsOn"
249
+ ])
250
+ ], ClientProfileQuestionDto.prototype, "question_slug", 2);
251
+ __decorateClass([
252
+ (0, import_class_validator9.IsNotEmpty)({ message: "Please enter answer." })
253
+ ], ClientProfileQuestionDto.prototype, "answer", 2);
254
+
255
+ // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
256
+ var import_class_validator10 = require("class-validator");
257
+ var FreelancerWorkShowcaseDto = class {
258
+ };
259
+ __decorateClass([
260
+ (0, import_class_validator10.IsNotEmpty)({ message: "Please enter uuid." }),
261
+ (0, import_class_validator10.IsUUID)()
262
+ ], FreelancerWorkShowcaseDto.prototype, "uuid", 2);
263
+ __decorateClass([
264
+ (0, import_class_validator10.IsNotEmpty)({ message: "Please enter likedin profile url." }),
265
+ (0, import_class_validator10.IsString)(),
266
+ (0, import_class_validator10.IsUrl)({ require_protocol: true }, { message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)" })
243
267
  ], FreelancerWorkShowcaseDto.prototype, "linkedinProfileLink", 2);
244
268
  __decorateClass([
245
- (0, import_class_validator9.IsOptional)(),
246
- (0, import_class_validator9.IsUrl)({ require_protocol: true }, { message: "kaggleProfileLink must be a valid URL with protocol (e.g. https://)" })
269
+ (0, import_class_validator10.IsOptional)(),
270
+ (0, import_class_validator10.IsUrl)({ require_protocol: true }, { message: "kaggleProfileLink must be a valid URL with protocol (e.g. https://)" })
247
271
  ], FreelancerWorkShowcaseDto.prototype, "kaggleProfileLink", 2);
248
272
  __decorateClass([
249
- (0, import_class_validator9.IsOptional)(),
250
- (0, import_class_validator9.IsUrl)({ require_protocol: true }, { message: "githubProfileLink must be a valid URL with protocol (e.g. https://)" })
273
+ (0, import_class_validator10.IsOptional)(),
274
+ (0, import_class_validator10.IsUrl)({ require_protocol: true }, { message: "githubProfileLink must be a valid URL with protocol (e.g. https://)" })
251
275
  ], FreelancerWorkShowcaseDto.prototype, "githubProfileLink", 2);
252
276
  __decorateClass([
253
- (0, import_class_validator9.IsOptional)(),
254
- (0, import_class_validator9.IsUrl)({ require_protocol: true }, { message: "stackOverflowProfileLink must be a valid URL with protocol (e.g. https://)" })
277
+ (0, import_class_validator10.IsOptional)(),
278
+ (0, import_class_validator10.IsUrl)({ require_protocol: true }, { message: "stackOverflowProfileLink must be a valid URL with protocol (e.g. https://)" })
255
279
  ], FreelancerWorkShowcaseDto.prototype, "stackOverflowProfileLink", 2);
256
280
  __decorateClass([
257
- (0, import_class_validator9.IsOptional)(),
258
- (0, import_class_validator9.IsUrl)({ require_protocol: true }, { message: "portfolioLink must be a valid URL with protocol (e.g. https://)" })
281
+ (0, import_class_validator10.IsOptional)(),
282
+ (0, import_class_validator10.IsUrl)({ require_protocol: true }, { message: "portfolioLink must be a valid URL with protocol (e.g. https://)" })
259
283
  ], FreelancerWorkShowcaseDto.prototype, "portfolioLink", 2);
260
284
 
261
285
  // src/modules/resume-parser/pattern/pattern.ts
@@ -276,75 +300,75 @@ var SUBADMIN_PATTERN = {
276
300
  };
277
301
 
278
302
  // src/modules/user/subadmin/dto/create-subadmin.dto.ts
279
- var import_class_validator10 = require("class-validator");
303
+ var import_class_validator11 = require("class-validator");
280
304
  var CreateSubAdminDto = class {
281
305
  };
282
306
  __decorateClass([
283
- (0, import_class_validator10.IsNotEmpty)({ message: "Please enter unique id." })
307
+ (0, import_class_validator11.IsNotEmpty)({ message: "Please enter unique id." })
284
308
  ], CreateSubAdminDto.prototype, "uniqueId", 2);
285
309
  __decorateClass([
286
- (0, import_class_validator10.IsNotEmpty)({ message: "Please enter username." })
310
+ (0, import_class_validator11.IsNotEmpty)({ message: "Please enter username." })
287
311
  ], CreateSubAdminDto.prototype, "userName", 2);
288
312
  __decorateClass([
289
- (0, import_class_validator10.IsNotEmpty)({ message: "Please enter first name." })
313
+ (0, import_class_validator11.IsNotEmpty)({ message: "Please enter first name." })
290
314
  ], CreateSubAdminDto.prototype, "firstName", 2);
291
315
  __decorateClass([
292
- (0, import_class_validator10.IsNotEmpty)({ message: "Please enter last name." })
316
+ (0, import_class_validator11.IsNotEmpty)({ message: "Please enter last name." })
293
317
  ], CreateSubAdminDto.prototype, "lastName", 2);
294
318
  __decorateClass([
295
- (0, import_class_validator10.IsNotEmpty)({ message: "Please enter email." })
319
+ (0, import_class_validator11.IsNotEmpty)({ message: "Please enter email." })
296
320
  ], CreateSubAdminDto.prototype, "email", 2);
297
321
  __decorateClass([
298
- (0, import_class_validator10.IsNotEmpty)({ message: "Please enter mobile number." })
322
+ (0, import_class_validator11.IsNotEmpty)({ message: "Please enter mobile number." })
299
323
  ], CreateSubAdminDto.prototype, "mobile", 2);
300
324
  __decorateClass([
301
- (0, import_class_validator10.IsNotEmpty)({ message: "Please enter the password." })
325
+ (0, import_class_validator11.IsNotEmpty)({ message: "Please enter the password." })
302
326
  ], CreateSubAdminDto.prototype, "password", 2);
303
327
  __decorateClass([
304
- (0, import_class_validator10.IsNotEmpty)({ message: "Please enter account type." })
328
+ (0, import_class_validator11.IsNotEmpty)({ message: "Please enter account type." })
305
329
  ], CreateSubAdminDto.prototype, "accountType", 2);
306
330
  __decorateClass([
307
- (0, import_class_validator10.IsNotEmpty)({ message: "Please enter account status." })
331
+ (0, import_class_validator11.IsNotEmpty)({ message: "Please enter account status." })
308
332
  ], CreateSubAdminDto.prototype, "accountStatus", 2);
309
333
 
310
334
  // src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
311
- var import_class_validator11 = require("class-validator");
335
+ var import_class_validator12 = require("class-validator");
312
336
  var UpdateSubAdminAccountStatusDto = class {
313
337
  };
314
338
  __decorateClass([
315
- (0, import_class_validator11.IsString)()
339
+ (0, import_class_validator12.IsString)()
316
340
  ], UpdateSubAdminAccountStatusDto.prototype, "accountStatus", 2);
317
341
 
318
342
  // src/modules/user/subadmin/dto/update-subadmin.dto.ts
319
- var import_class_validator12 = require("class-validator");
343
+ var import_class_validator13 = require("class-validator");
320
344
  var UpdateSubAdminDto = class {
321
345
  };
322
346
  __decorateClass([
323
- (0, import_class_validator12.IsNotEmpty)({ message: "Please enter unique id." })
347
+ (0, import_class_validator13.IsNotEmpty)({ message: "Please enter unique id." })
324
348
  ], UpdateSubAdminDto.prototype, "uniqueId", 2);
325
349
  __decorateClass([
326
- (0, import_class_validator12.IsNotEmpty)({ message: "Please enter username." })
350
+ (0, import_class_validator13.IsNotEmpty)({ message: "Please enter username." })
327
351
  ], UpdateSubAdminDto.prototype, "userName", 2);
328
352
  __decorateClass([
329
- (0, import_class_validator12.IsNotEmpty)({ message: "Please enter first name." })
353
+ (0, import_class_validator13.IsNotEmpty)({ message: "Please enter first name." })
330
354
  ], UpdateSubAdminDto.prototype, "firstName", 2);
331
355
  __decorateClass([
332
- (0, import_class_validator12.IsNotEmpty)({ message: "Please enter last name." })
356
+ (0, import_class_validator13.IsNotEmpty)({ message: "Please enter last name." })
333
357
  ], UpdateSubAdminDto.prototype, "lastName", 2);
334
358
  __decorateClass([
335
- (0, import_class_validator12.IsNotEmpty)({ message: "Please enter email." })
359
+ (0, import_class_validator13.IsNotEmpty)({ message: "Please enter email." })
336
360
  ], UpdateSubAdminDto.prototype, "email", 2);
337
361
  __decorateClass([
338
- (0, import_class_validator12.IsNotEmpty)({ message: "Please enter mobile number." })
362
+ (0, import_class_validator13.IsNotEmpty)({ message: "Please enter mobile number." })
339
363
  ], UpdateSubAdminDto.prototype, "mobile", 2);
340
364
  __decorateClass([
341
- (0, import_class_validator12.IsNotEmpty)({ message: "Please enter the password." })
365
+ (0, import_class_validator13.IsNotEmpty)({ message: "Please enter the password." })
342
366
  ], UpdateSubAdminDto.prototype, "password", 2);
343
367
  __decorateClass([
344
- (0, import_class_validator12.IsNotEmpty)({ message: "Please enter account type." })
368
+ (0, import_class_validator13.IsNotEmpty)({ message: "Please enter account type." })
345
369
  ], UpdateSubAdminDto.prototype, "accountType", 2);
346
370
  __decorateClass([
347
- (0, import_class_validator12.IsNotEmpty)({ message: "Please enter account status." })
371
+ (0, import_class_validator13.IsNotEmpty)({ message: "Please enter account status." })
348
372
  ], UpdateSubAdminDto.prototype, "accountStatus", 2);
349
373
 
350
374
  // src/modules/question/pattern/pattern.ts
@@ -353,24 +377,24 @@ var QUESTION_PATTERN = {
353
377
  };
354
378
 
355
379
  // src/modules/question/dto/create-question.dto.ts
356
- var import_class_validator13 = require("class-validator");
380
+ var import_class_validator14 = require("class-validator");
357
381
  var CreateQuestionDto = class {
358
382
  };
359
383
  __decorateClass([
360
- (0, import_class_validator13.IsNotEmpty)({ message: "Please enter unique id." })
384
+ (0, import_class_validator14.IsNotEmpty)({ message: "Please enter unique id." })
361
385
  ], CreateQuestionDto.prototype, "questionId", 2);
362
386
  __decorateClass([
363
- (0, import_class_validator13.IsNotEmpty)({ message: "Please enter username." })
387
+ (0, import_class_validator14.IsNotEmpty)({ message: "Please enter question." })
364
388
  ], CreateQuestionDto.prototype, "question", 2);
365
389
  __decorateClass([
366
- (0, import_class_validator13.IsNotEmpty)({ message: "Please enter first name." })
390
+ (0, import_class_validator14.IsNotEmpty)({ message: "Please enter for whom the question is." })
367
391
  ], CreateQuestionDto.prototype, "questionFor", 2);
368
392
  __decorateClass([
369
- (0, import_class_validator13.IsNotEmpty)({ message: "Please enter last name." })
393
+ (0, import_class_validator14.IsNotEmpty)({ message: "Please enter options." })
370
394
  ], CreateQuestionDto.prototype, "options", 2);
371
395
  __decorateClass([
372
- (0, import_class_validator13.IsOptional)(),
373
- (0, import_class_validator13.IsBoolean)({ message: "Whether the question status active" })
396
+ (0, import_class_validator14.IsOptional)(),
397
+ (0, import_class_validator14.IsBoolean)({ message: "Whether the question status active" })
374
398
  ], CreateQuestionDto.prototype, "isActive", 2);
375
399
 
376
400
  // src/adapters/tcp/user.tcp.adapter.ts
@@ -977,6 +1001,7 @@ CompanyProfile = __decorateClass([
977
1001
  AccountStatus,
978
1002
  AccountType,
979
1003
  BaseEntity,
1004
+ ClientProfileQuestionDto,
980
1005
  CompanyProfile,
981
1006
  CreateQuestionDto,
982
1007
  CreateSubAdminDto,
package/dist/index.mjs CHANGED
@@ -189,23 +189,51 @@ __decorateClass([
189
189
  IsNotEmpty7({ message: "Please enter answer." })
190
190
  ], FreelancerProfileQuestionDto.prototype, "answer", 2);
191
191
 
192
- // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
192
+ // src/modules/onboarding/dto/client-profile-question.dto.ts
193
193
  import {
194
+ IsUUID as IsUUID4,
195
+ IsString as IsString3,
194
196
  IsNotEmpty as IsNotEmpty8,
197
+ IsIn as IsIn2
198
+ } from "class-validator";
199
+ var ClientProfileQuestionDto = class {
200
+ };
201
+ __decorateClass([
202
+ IsNotEmpty8({ message: "Please enter uuid." }),
203
+ IsUUID4()
204
+ ], ClientProfileQuestionDto.prototype, "uuid", 2);
205
+ __decorateClass([
206
+ IsNotEmpty8({ message: "Please enter question slug." }),
207
+ IsString3(),
208
+ IsIn2([
209
+ "skills",
210
+ "requiredFreelancer",
211
+ "kindOfHiring",
212
+ "modeOfHire",
213
+ "foundUsOn"
214
+ ])
215
+ ], ClientProfileQuestionDto.prototype, "question_slug", 2);
216
+ __decorateClass([
217
+ IsNotEmpty8({ message: "Please enter answer." })
218
+ ], ClientProfileQuestionDto.prototype, "answer", 2);
219
+
220
+ // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
221
+ import {
222
+ IsNotEmpty as IsNotEmpty9,
195
223
  IsOptional,
196
224
  IsUrl,
197
- IsString as IsString3,
198
- IsUUID as IsUUID4
225
+ IsString as IsString4,
226
+ IsUUID as IsUUID5
199
227
  } from "class-validator";
200
228
  var FreelancerWorkShowcaseDto = class {
201
229
  };
202
230
  __decorateClass([
203
- IsNotEmpty8({ message: "Please enter uuid." }),
204
- IsUUID4()
231
+ IsNotEmpty9({ message: "Please enter uuid." }),
232
+ IsUUID5()
205
233
  ], FreelancerWorkShowcaseDto.prototype, "uuid", 2);
206
234
  __decorateClass([
207
- IsNotEmpty8({ message: "Please enter likedin profile url." }),
208
- IsString3(),
235
+ IsNotEmpty9({ message: "Please enter likedin profile url." }),
236
+ IsString4(),
209
237
  IsUrl({ require_protocol: true }, { message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)" })
210
238
  ], FreelancerWorkShowcaseDto.prototype, "linkedinProfileLink", 2);
211
239
  __decorateClass([
@@ -244,76 +272,76 @@ var SUBADMIN_PATTERN = {
244
272
 
245
273
  // src/modules/user/subadmin/dto/create-subadmin.dto.ts
246
274
  import {
247
- IsNotEmpty as IsNotEmpty9
275
+ IsNotEmpty as IsNotEmpty10
248
276
  } from "class-validator";
249
277
  var CreateSubAdminDto = class {
250
278
  };
251
279
  __decorateClass([
252
- IsNotEmpty9({ message: "Please enter unique id." })
280
+ IsNotEmpty10({ message: "Please enter unique id." })
253
281
  ], CreateSubAdminDto.prototype, "uniqueId", 2);
254
282
  __decorateClass([
255
- IsNotEmpty9({ message: "Please enter username." })
283
+ IsNotEmpty10({ message: "Please enter username." })
256
284
  ], CreateSubAdminDto.prototype, "userName", 2);
257
285
  __decorateClass([
258
- IsNotEmpty9({ message: "Please enter first name." })
286
+ IsNotEmpty10({ message: "Please enter first name." })
259
287
  ], CreateSubAdminDto.prototype, "firstName", 2);
260
288
  __decorateClass([
261
- IsNotEmpty9({ message: "Please enter last name." })
289
+ IsNotEmpty10({ message: "Please enter last name." })
262
290
  ], CreateSubAdminDto.prototype, "lastName", 2);
263
291
  __decorateClass([
264
- IsNotEmpty9({ message: "Please enter email." })
292
+ IsNotEmpty10({ message: "Please enter email." })
265
293
  ], CreateSubAdminDto.prototype, "email", 2);
266
294
  __decorateClass([
267
- IsNotEmpty9({ message: "Please enter mobile number." })
295
+ IsNotEmpty10({ message: "Please enter mobile number." })
268
296
  ], CreateSubAdminDto.prototype, "mobile", 2);
269
297
  __decorateClass([
270
- IsNotEmpty9({ message: "Please enter the password." })
298
+ IsNotEmpty10({ message: "Please enter the password." })
271
299
  ], CreateSubAdminDto.prototype, "password", 2);
272
300
  __decorateClass([
273
- IsNotEmpty9({ message: "Please enter account type." })
301
+ IsNotEmpty10({ message: "Please enter account type." })
274
302
  ], CreateSubAdminDto.prototype, "accountType", 2);
275
303
  __decorateClass([
276
- IsNotEmpty9({ message: "Please enter account status." })
304
+ IsNotEmpty10({ message: "Please enter account status." })
277
305
  ], CreateSubAdminDto.prototype, "accountStatus", 2);
278
306
 
279
307
  // src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
280
- import { IsString as IsString4 } from "class-validator";
308
+ import { IsString as IsString5 } from "class-validator";
281
309
  var UpdateSubAdminAccountStatusDto = class {
282
310
  };
283
311
  __decorateClass([
284
- IsString4()
312
+ IsString5()
285
313
  ], UpdateSubAdminAccountStatusDto.prototype, "accountStatus", 2);
286
314
 
287
315
  // src/modules/user/subadmin/dto/update-subadmin.dto.ts
288
- import { IsNotEmpty as IsNotEmpty10 } from "class-validator";
316
+ import { IsNotEmpty as IsNotEmpty11 } from "class-validator";
289
317
  var UpdateSubAdminDto = class {
290
318
  };
291
319
  __decorateClass([
292
- IsNotEmpty10({ message: "Please enter unique id." })
320
+ IsNotEmpty11({ message: "Please enter unique id." })
293
321
  ], UpdateSubAdminDto.prototype, "uniqueId", 2);
294
322
  __decorateClass([
295
- IsNotEmpty10({ message: "Please enter username." })
323
+ IsNotEmpty11({ message: "Please enter username." })
296
324
  ], UpdateSubAdminDto.prototype, "userName", 2);
297
325
  __decorateClass([
298
- IsNotEmpty10({ message: "Please enter first name." })
326
+ IsNotEmpty11({ message: "Please enter first name." })
299
327
  ], UpdateSubAdminDto.prototype, "firstName", 2);
300
328
  __decorateClass([
301
- IsNotEmpty10({ message: "Please enter last name." })
329
+ IsNotEmpty11({ message: "Please enter last name." })
302
330
  ], UpdateSubAdminDto.prototype, "lastName", 2);
303
331
  __decorateClass([
304
- IsNotEmpty10({ message: "Please enter email." })
332
+ IsNotEmpty11({ message: "Please enter email." })
305
333
  ], UpdateSubAdminDto.prototype, "email", 2);
306
334
  __decorateClass([
307
- IsNotEmpty10({ message: "Please enter mobile number." })
335
+ IsNotEmpty11({ message: "Please enter mobile number." })
308
336
  ], UpdateSubAdminDto.prototype, "mobile", 2);
309
337
  __decorateClass([
310
- IsNotEmpty10({ message: "Please enter the password." })
338
+ IsNotEmpty11({ message: "Please enter the password." })
311
339
  ], UpdateSubAdminDto.prototype, "password", 2);
312
340
  __decorateClass([
313
- IsNotEmpty10({ message: "Please enter account type." })
341
+ IsNotEmpty11({ message: "Please enter account type." })
314
342
  ], UpdateSubAdminDto.prototype, "accountType", 2);
315
343
  __decorateClass([
316
- IsNotEmpty10({ message: "Please enter account status." })
344
+ IsNotEmpty11({ message: "Please enter account status." })
317
345
  ], UpdateSubAdminDto.prototype, "accountStatus", 2);
318
346
 
319
347
  // src/modules/question/pattern/pattern.ts
@@ -323,23 +351,23 @@ var QUESTION_PATTERN = {
323
351
 
324
352
  // src/modules/question/dto/create-question.dto.ts
325
353
  import {
326
- IsNotEmpty as IsNotEmpty11,
354
+ IsNotEmpty as IsNotEmpty12,
327
355
  IsOptional as IsOptional4,
328
356
  IsBoolean as IsBoolean4
329
357
  } from "class-validator";
330
358
  var CreateQuestionDto = class {
331
359
  };
332
360
  __decorateClass([
333
- IsNotEmpty11({ message: "Please enter unique id." })
361
+ IsNotEmpty12({ message: "Please enter unique id." })
334
362
  ], CreateQuestionDto.prototype, "questionId", 2);
335
363
  __decorateClass([
336
- IsNotEmpty11({ message: "Please enter username." })
364
+ IsNotEmpty12({ message: "Please enter question." })
337
365
  ], CreateQuestionDto.prototype, "question", 2);
338
366
  __decorateClass([
339
- IsNotEmpty11({ message: "Please enter first name." })
367
+ IsNotEmpty12({ message: "Please enter for whom the question is." })
340
368
  ], CreateQuestionDto.prototype, "questionFor", 2);
341
369
  __decorateClass([
342
- IsNotEmpty11({ message: "Please enter last name." })
370
+ IsNotEmpty12({ message: "Please enter options." })
343
371
  ], CreateQuestionDto.prototype, "options", 2);
344
372
  __decorateClass([
345
373
  IsOptional4(),
@@ -991,6 +1019,7 @@ export {
991
1019
  AccountStatus,
992
1020
  AccountType,
993
1021
  BaseEntity,
1022
+ ClientProfileQuestionDto,
994
1023
  CompanyProfile,
995
1024
  CreateQuestionDto,
996
1025
  CreateSubAdminDto,
@@ -0,0 +1,5 @@
1
+ export declare class ClientProfileQuestionDto {
2
+ uuid: string;
3
+ question_slug: string;
4
+ answer: any;
5
+ }
@@ -0,0 +1,7 @@
1
+ export declare class ClientCreateAccountDto {
2
+ fullName: string;
3
+ email: string;
4
+ companyName: string;
5
+ password: string;
6
+ confirmPassword: string;
7
+ }
@@ -2,4 +2,5 @@ export * from './freelancer-create-account.dto';
2
2
  export * from './freelancer-upload-resume.dto';
3
3
  export * from './freelancer-development-preference.dto';
4
4
  export * from './freelancer-profile-question.dto';
5
+ export * from './client-profile-question.dto';
5
6
  export * from './freelancer-work-showcase.dto';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.59",
3
+ "version": "1.0.61",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",