@experts_hub/shared 1.0.345 → 1.0.347

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.
@@ -14,4 +14,6 @@ export declare class F2fInterviewRescheduleRequest extends BaseEntity {
14
14
  rescheduledDate: Date;
15
15
  rescheduledSlot: string;
16
16
  status: F2fInterviewRescheduleRequestStatusEnum;
17
+ clientRejectReason: string;
18
+ freelancerRequestReason: string;
17
19
  }
@@ -32,6 +32,8 @@ export declare class F2FInterview extends BaseEntity {
32
32
  cancelledAt: Date;
33
33
  cancelReason: string;
34
34
  provider: string;
35
+ meetingStartedOn: Date;
36
+ meetingEndedOn: Date;
35
37
  schedules: F2FInterviewSchedule[];
36
38
  rescheduleRequests: F2fInterviewRescheduleRequest[];
37
39
  }
package/dist/index.d.mts CHANGED
@@ -907,6 +907,8 @@ declare class F2fInterviewRescheduleRequest extends BaseEntity {
907
907
  rescheduledDate: Date;
908
908
  rescheduledSlot: string;
909
909
  status: F2fInterviewRescheduleRequestStatusEnum;
910
+ clientRejectReason: string;
911
+ freelancerRequestReason: string;
910
912
  }
911
913
 
912
914
  declare enum F2fInterviewScheduleStatusEnum {
@@ -958,6 +960,8 @@ declare class F2FInterview extends BaseEntity {
958
960
  cancelledAt: Date;
959
961
  cancelReason: string;
960
962
  provider: string;
963
+ meetingStartedOn: Date;
964
+ meetingEndedOn: Date;
961
965
  schedules: F2FInterviewSchedule[];
962
966
  rescheduleRequests: F2fInterviewRescheduleRequest[];
963
967
  }
@@ -2184,6 +2188,8 @@ declare class CreateF2FInterviewRescheduleRequestDto {
2184
2188
  f2FInterviewId: string;
2185
2189
  rescheduledDate: string;
2186
2190
  rescheduledSlot: string;
2191
+ clientReason: string;
2192
+ freelancerReason: string;
2187
2193
  }
2188
2194
 
2189
2195
  declare const UserTCPAdapter: () => MicroserviceOptions;
package/dist/index.d.ts CHANGED
@@ -907,6 +907,8 @@ declare class F2fInterviewRescheduleRequest extends BaseEntity {
907
907
  rescheduledDate: Date;
908
908
  rescheduledSlot: string;
909
909
  status: F2fInterviewRescheduleRequestStatusEnum;
910
+ clientRejectReason: string;
911
+ freelancerRequestReason: string;
910
912
  }
911
913
 
912
914
  declare enum F2fInterviewScheduleStatusEnum {
@@ -958,6 +960,8 @@ declare class F2FInterview extends BaseEntity {
958
960
  cancelledAt: Date;
959
961
  cancelReason: string;
960
962
  provider: string;
963
+ meetingStartedOn: Date;
964
+ meetingEndedOn: Date;
961
965
  schedules: F2FInterviewSchedule[];
962
966
  rescheduleRequests: F2fInterviewRescheduleRequest[];
963
967
  }
@@ -2184,6 +2188,8 @@ declare class CreateF2FInterviewRescheduleRequestDto {
2184
2188
  f2FInterviewId: string;
2185
2189
  rescheduledDate: string;
2186
2190
  rescheduledSlot: string;
2191
+ clientReason: string;
2192
+ freelancerReason: string;
2187
2193
  }
2188
2194
 
2189
2195
  declare const UserTCPAdapter: () => MicroserviceOptions;
package/dist/index.js CHANGED
@@ -2588,6 +2588,12 @@ __decorateClass([
2588
2588
  default: "PENDING" /* PENDING */
2589
2589
  })
2590
2590
  ], F2fInterviewRescheduleRequest.prototype, "status", 2);
2591
+ __decorateClass([
2592
+ (0, import_typeorm16.Column)({ name: "client_reject_reason", type: "varchar", nullable: true })
2593
+ ], F2fInterviewRescheduleRequest.prototype, "clientRejectReason", 2);
2594
+ __decorateClass([
2595
+ (0, import_typeorm16.Column)({ name: "freelancer_request_reason", type: "varchar", nullable: true })
2596
+ ], F2fInterviewRescheduleRequest.prototype, "freelancerRequestReason", 2);
2591
2597
  F2fInterviewRescheduleRequest = __decorateClass([
2592
2598
  (0, import_typeorm16.Entity)("f2f_interview_reschedule_requests")
2593
2599
  ], F2fInterviewRescheduleRequest);
@@ -2729,6 +2735,20 @@ __decorateClass([
2729
2735
  __decorateClass([
2730
2736
  (0, import_typeorm18.Column)({ name: "provider", type: "varchar", nullable: true })
2731
2737
  ], F2FInterview.prototype, "provider", 2);
2738
+ __decorateClass([
2739
+ (0, import_typeorm18.Column)({
2740
+ name: "meeting_started_on",
2741
+ type: "timestamp with time zone",
2742
+ nullable: true
2743
+ })
2744
+ ], F2FInterview.prototype, "meetingStartedOn", 2);
2745
+ __decorateClass([
2746
+ (0, import_typeorm18.Column)({
2747
+ name: "meeting_ended_on",
2748
+ type: "timestamp with time zone",
2749
+ nullable: true
2750
+ })
2751
+ ], F2FInterview.prototype, "meetingEndedOn", 2);
2732
2752
  __decorateClass([
2733
2753
  (0, import_typeorm18.OneToMany)(() => F2FInterviewSchedule, (f2fInterviewSchedule) => f2fInterviewSchedule.f2fInterview)
2734
2754
  ], F2FInterview.prototype, "schedules", 2);
@@ -5328,6 +5348,14 @@ __decorateClass([
5328
5348
  (0, import_class_validator67.IsString)({ message: "Rescheduled slot must be a string." }),
5329
5349
  (0, import_class_validator67.IsNotEmpty)({ message: "Rescheduled slot is required." })
5330
5350
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
5351
+ __decorateClass([
5352
+ (0, import_class_validator67.IsOptional)(),
5353
+ (0, import_class_validator67.IsString)({ message: "Client reason must be a string." })
5354
+ ], CreateF2FInterviewRescheduleRequestDto.prototype, "clientReason", 2);
5355
+ __decorateClass([
5356
+ (0, import_class_validator67.IsOptional)(),
5357
+ (0, import_class_validator67.IsString)({ message: "Freelancer reason must be a string." })
5358
+ ], CreateF2FInterviewRescheduleRequestDto.prototype, "freelancerReason", 2);
5331
5359
 
5332
5360
  // src/adapters/tcp/user.tcp.adapter.ts
5333
5361
  var import_dotenv = require("dotenv");
package/dist/index.mjs CHANGED
@@ -2542,6 +2542,12 @@ __decorateClass([
2542
2542
  default: "PENDING" /* PENDING */
2543
2543
  })
2544
2544
  ], F2fInterviewRescheduleRequest.prototype, "status", 2);
2545
+ __decorateClass([
2546
+ Column16({ name: "client_reject_reason", type: "varchar", nullable: true })
2547
+ ], F2fInterviewRescheduleRequest.prototype, "clientRejectReason", 2);
2548
+ __decorateClass([
2549
+ Column16({ name: "freelancer_request_reason", type: "varchar", nullable: true })
2550
+ ], F2fInterviewRescheduleRequest.prototype, "freelancerRequestReason", 2);
2545
2551
  F2fInterviewRescheduleRequest = __decorateClass([
2546
2552
  Entity15("f2f_interview_reschedule_requests")
2547
2553
  ], F2fInterviewRescheduleRequest);
@@ -2689,6 +2695,20 @@ __decorateClass([
2689
2695
  __decorateClass([
2690
2696
  Column18({ name: "provider", type: "varchar", nullable: true })
2691
2697
  ], F2FInterview.prototype, "provider", 2);
2698
+ __decorateClass([
2699
+ Column18({
2700
+ name: "meeting_started_on",
2701
+ type: "timestamp with time zone",
2702
+ nullable: true
2703
+ })
2704
+ ], F2FInterview.prototype, "meetingStartedOn", 2);
2705
+ __decorateClass([
2706
+ Column18({
2707
+ name: "meeting_ended_on",
2708
+ type: "timestamp with time zone",
2709
+ nullable: true
2710
+ })
2711
+ ], F2FInterview.prototype, "meetingEndedOn", 2);
2692
2712
  __decorateClass([
2693
2713
  OneToMany6(() => F2FInterviewSchedule, (f2fInterviewSchedule) => f2fInterviewSchedule.f2fInterview)
2694
2714
  ], F2FInterview.prototype, "schedules", 2);
@@ -5467,7 +5487,8 @@ __decorateClass([
5467
5487
  // src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
5468
5488
  import {
5469
5489
  IsString as IsString39,
5470
- IsNotEmpty as IsNotEmpty57
5490
+ IsNotEmpty as IsNotEmpty57,
5491
+ IsOptional as IsOptional36
5471
5492
  } from "class-validator";
5472
5493
  var CreateF2FInterviewRescheduleRequestDto = class {
5473
5494
  };
@@ -5481,6 +5502,14 @@ __decorateClass([
5481
5502
  IsString39({ message: "Rescheduled slot must be a string." }),
5482
5503
  IsNotEmpty57({ message: "Rescheduled slot is required." })
5483
5504
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
5505
+ __decorateClass([
5506
+ IsOptional36(),
5507
+ IsString39({ message: "Client reason must be a string." })
5508
+ ], CreateF2FInterviewRescheduleRequestDto.prototype, "clientReason", 2);
5509
+ __decorateClass([
5510
+ IsOptional36(),
5511
+ IsString39({ message: "Freelancer reason must be a string." })
5512
+ ], CreateF2FInterviewRescheduleRequestDto.prototype, "freelancerReason", 2);
5484
5513
 
5485
5514
  // src/adapters/tcp/user.tcp.adapter.ts
5486
5515
  import { config } from "dotenv";
@@ -2,4 +2,6 @@ export declare class CreateF2FInterviewRescheduleRequestDto {
2
2
  f2FInterviewId: string;
3
3
  rescheduledDate: string;
4
4
  rescheduledSlot: string;
5
+ clientReason: string;
6
+ freelancerReason: string;
5
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.345",
3
+ "version": "1.0.347",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",