@experts_hub/shared 1.0.338 → 1.0.340
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/calendly-meeting-log.entity.d.ts +5 -0
- package/dist/entities/f2f-interview-schedule.entity.d.ts +20 -0
- package/dist/entities/f2f-interview.entity.d.ts +7 -13
- package/dist/entities/index.d.ts +1 -1
- package/dist/index.d.mts +56 -29
- package/dist/index.d.ts +56 -29
- package/dist/index.js +156 -90
- package/dist/index.mjs +403 -336
- package/dist/modules/interview/dto/create-f2f-interview-reschedule-request.dto.d.ts +5 -0
- package/dist/modules/interview/dto/create-f2f-interview.dto.d.ts +6 -0
- package/dist/modules/interview/dto/index.d.ts +2 -0
- package/dist/modules/interview/pattern/pattern.d.ts +12 -0
- package/package.json +1 -1
- package/dist/entities/calendly-meeting.entity.d.ts +0 -17
package/dist/index.js
CHANGED
|
@@ -57,6 +57,7 @@ __export(index_exports, {
|
|
|
57
57
|
BankAccountTypeEnum: () => BankAccountTypeEnum,
|
|
58
58
|
BankDetail: () => BankDetail,
|
|
59
59
|
BaseEntity: () => BaseEntity,
|
|
60
|
+
CALENDLY_PATTERN: () => CALENDLY_PATTERN,
|
|
60
61
|
CITY_PATTERN: () => CITY_PATTERN,
|
|
61
62
|
CLIENT_ADMIN_PATTERNS: () => CLIENT_ADMIN_PATTERNS,
|
|
62
63
|
CLIENT_PROFILE_PATTERN: () => CLIENT_PROFILE_PATTERN,
|
|
@@ -64,8 +65,7 @@ __export(index_exports, {
|
|
|
64
65
|
COMPANY_MEMBERS_PATTERNS: () => COMPANY_MEMBERS_PATTERNS,
|
|
65
66
|
COMPANY_ROLES_PATTERNS: () => COMPANY_ROLES_PATTERNS,
|
|
66
67
|
COUNTRY_PATTERN: () => COUNTRY_PATTERN,
|
|
67
|
-
|
|
68
|
-
CalendlyMeetingStatus: () => CalendlyMeetingStatus,
|
|
68
|
+
CalendlyMeetingLog: () => CalendlyMeetingLog,
|
|
69
69
|
CandidateType: () => CandidateType,
|
|
70
70
|
CaseStudyDto: () => CaseStudyDto,
|
|
71
71
|
CategoryEmum: () => CategoryEmum,
|
|
@@ -92,6 +92,8 @@ __export(index_exports, {
|
|
|
92
92
|
CreateCmsDto: () => CreateCmsDto,
|
|
93
93
|
CreateCompanyMemberDto: () => CreateCompanyMemberDto,
|
|
94
94
|
CreateCompanyRoleDto: () => CreateCompanyRoleDto,
|
|
95
|
+
CreateF2FInterviewDto: () => CreateF2FInterviewDto,
|
|
96
|
+
CreateF2FInterviewRescheduleRequestDto: () => CreateF2FInterviewRescheduleRequestDto,
|
|
95
97
|
CreateFreelancerDto: () => CreateFreelancerDto,
|
|
96
98
|
CreateLeadDto: () => CreateLeadDto,
|
|
97
99
|
CreateQuestionDto: () => CreateQuestionDto,
|
|
@@ -104,6 +106,7 @@ __export(index_exports, {
|
|
|
104
106
|
EmploymentType: () => EmploymentType,
|
|
105
107
|
ExperienceDto: () => ExperienceDto,
|
|
106
108
|
F2FInterview: () => F2FInterview,
|
|
109
|
+
F2F_INTERVIEW_PATTERN: () => F2F_INTERVIEW_PATTERN,
|
|
107
110
|
F2fInterviewRescheduleRequest: () => F2fInterviewRescheduleRequest,
|
|
108
111
|
F2fInterviewRescheduleRequestStatusEnum: () => F2fInterviewRescheduleRequestStatusEnum,
|
|
109
112
|
F2fInterviewStatusEnum: () => F2fInterviewStatusEnum,
|
|
@@ -2544,49 +2547,8 @@ AiInterview = __decorateClass([
|
|
|
2544
2547
|
// src/entities/f2f-interview.entity.ts
|
|
2545
2548
|
var import_typeorm18 = require("typeorm");
|
|
2546
2549
|
|
|
2547
|
-
// src/entities/calendly-meeting.entity.ts
|
|
2548
|
-
var import_typeorm16 = require("typeorm");
|
|
2549
|
-
var CalendlyMeetingStatus = /* @__PURE__ */ ((CalendlyMeetingStatus2) => {
|
|
2550
|
-
CalendlyMeetingStatus2["PENDING"] = "PENDING";
|
|
2551
|
-
CalendlyMeetingStatus2["CONFIRMED"] = "CONFIRMED";
|
|
2552
|
-
CalendlyMeetingStatus2["CANCELED"] = "CANCELED";
|
|
2553
|
-
CalendlyMeetingStatus2["COMPLETED"] = "COMPLETED";
|
|
2554
|
-
return CalendlyMeetingStatus2;
|
|
2555
|
-
})(CalendlyMeetingStatus || {});
|
|
2556
|
-
var CalendlyMeeting = class extends BaseEntity {
|
|
2557
|
-
};
|
|
2558
|
-
__decorateClass([
|
|
2559
|
-
(0, import_typeorm16.OneToOne)(() => F2FInterview, (F2FInterview2) => F2FInterview2.calendlyMeeting)
|
|
2560
|
-
], CalendlyMeeting.prototype, "f2fInterview", 2);
|
|
2561
|
-
__decorateClass([
|
|
2562
|
-
(0, import_typeorm16.Column)({ name: "calendly_event_id", type: "varchar", nullable: true, unique: true }),
|
|
2563
|
-
(0, import_typeorm16.Index)()
|
|
2564
|
-
], CalendlyMeeting.prototype, "calendlyEventId", 2);
|
|
2565
|
-
__decorateClass([
|
|
2566
|
-
(0, import_typeorm16.Column)({ name: "event_name", type: "varchar", nullable: true })
|
|
2567
|
-
], CalendlyMeeting.prototype, "eventName", 2);
|
|
2568
|
-
__decorateClass([
|
|
2569
|
-
(0, import_typeorm16.Column)({ name: "invitee_email", type: "varchar", nullable: true }),
|
|
2570
|
-
(0, import_typeorm16.Index)()
|
|
2571
|
-
], CalendlyMeeting.prototype, "inviteeEmail", 2);
|
|
2572
|
-
__decorateClass([
|
|
2573
|
-
(0, import_typeorm16.Column)({ name: "start_time", type: "timestamp with time zone", nullable: true }),
|
|
2574
|
-
(0, import_typeorm16.Index)()
|
|
2575
|
-
], CalendlyMeeting.prototype, "startTime", 2);
|
|
2576
|
-
__decorateClass([
|
|
2577
|
-
(0, import_typeorm16.Column)({ name: "end_time", type: "timestamp with time zone", nullable: true })
|
|
2578
|
-
], CalendlyMeeting.prototype, "endTime", 2);
|
|
2579
|
-
__decorateClass([
|
|
2580
|
-
(0, import_typeorm16.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
2581
|
-
], CalendlyMeeting.prototype, "rawWebhookData", 2);
|
|
2582
|
-
CalendlyMeeting = __decorateClass([
|
|
2583
|
-
(0, import_typeorm16.Entity)("calendly_meetings"),
|
|
2584
|
-
(0, import_typeorm16.Unique)("UQ_calendly_event_invitee", ["calendlyEventId", "inviteeEmail"]),
|
|
2585
|
-
(0, import_typeorm16.Unique)("UQ_calendly_meeting_time_email", ["inviteeEmail", "startTime", "eventName"])
|
|
2586
|
-
], CalendlyMeeting);
|
|
2587
|
-
|
|
2588
2550
|
// src/entities/f2f-interview-reschedule-request.entity.ts
|
|
2589
|
-
var
|
|
2551
|
+
var import_typeorm16 = require("typeorm");
|
|
2590
2552
|
var F2fInterviewRescheduleRequestStatusEnum = /* @__PURE__ */ ((F2fInterviewRescheduleRequestStatusEnum2) => {
|
|
2591
2553
|
F2fInterviewRescheduleRequestStatusEnum2["PENDING"] = "PENDING";
|
|
2592
2554
|
F2fInterviewRescheduleRequestStatusEnum2["APPROVED"] = "APPROVED";
|
|
@@ -2596,27 +2558,27 @@ var F2fInterviewRescheduleRequestStatusEnum = /* @__PURE__ */ ((F2fInterviewResc
|
|
|
2596
2558
|
var F2fInterviewRescheduleRequest = class extends BaseEntity {
|
|
2597
2559
|
};
|
|
2598
2560
|
__decorateClass([
|
|
2599
|
-
(0,
|
|
2561
|
+
(0, import_typeorm16.Column)({ name: "candidate_id", type: "integer", nullable: true })
|
|
2600
2562
|
], F2fInterviewRescheduleRequest.prototype, "candidateId", 2);
|
|
2601
2563
|
__decorateClass([
|
|
2602
|
-
(0,
|
|
2603
|
-
(0,
|
|
2564
|
+
(0, import_typeorm16.ManyToOne)(() => User, (user) => user.freelancerF2FInterviewRescheduleRequests, { nullable: true }),
|
|
2565
|
+
(0, import_typeorm16.JoinColumn)({ name: "candidate_id" })
|
|
2604
2566
|
], F2fInterviewRescheduleRequest.prototype, "candidate", 2);
|
|
2605
2567
|
__decorateClass([
|
|
2606
|
-
(0,
|
|
2568
|
+
(0, import_typeorm16.Column)({ name: "f2finterview_id", type: "integer", nullable: true })
|
|
2607
2569
|
], F2fInterviewRescheduleRequest.prototype, "f2fInterviewId", 2);
|
|
2608
2570
|
__decorateClass([
|
|
2609
|
-
(0,
|
|
2610
|
-
(0,
|
|
2571
|
+
(0, import_typeorm16.ManyToOne)(() => F2FInterview, (f2FInterview) => f2FInterview.rescheduleRequests),
|
|
2572
|
+
(0, import_typeorm16.JoinColumn)({ name: "f2finterview_id" })
|
|
2611
2573
|
], F2fInterviewRescheduleRequest.prototype, "f2fInterview", 2);
|
|
2612
2574
|
__decorateClass([
|
|
2613
|
-
(0,
|
|
2575
|
+
(0, import_typeorm16.Column)({ name: "rescheduled_date", type: "timestamp with time zone", nullable: true })
|
|
2614
2576
|
], F2fInterviewRescheduleRequest.prototype, "rescheduledDate", 2);
|
|
2615
2577
|
__decorateClass([
|
|
2616
|
-
(0,
|
|
2578
|
+
(0, import_typeorm16.Column)({ name: "rescheduled_slot", type: "varchar", nullable: true })
|
|
2617
2579
|
], F2fInterviewRescheduleRequest.prototype, "rescheduledSlot", 2);
|
|
2618
2580
|
__decorateClass([
|
|
2619
|
-
(0,
|
|
2581
|
+
(0, import_typeorm16.Column)({
|
|
2620
2582
|
name: "status",
|
|
2621
2583
|
type: "enum",
|
|
2622
2584
|
enum: F2fInterviewRescheduleRequestStatusEnum,
|
|
@@ -2624,9 +2586,68 @@ __decorateClass([
|
|
|
2624
2586
|
})
|
|
2625
2587
|
], F2fInterviewRescheduleRequest.prototype, "status", 2);
|
|
2626
2588
|
F2fInterviewRescheduleRequest = __decorateClass([
|
|
2627
|
-
(0,
|
|
2589
|
+
(0, import_typeorm16.Entity)("f2f_interview_reschedule_requests")
|
|
2628
2590
|
], F2fInterviewRescheduleRequest);
|
|
2629
2591
|
|
|
2592
|
+
// src/entities/f2f-interview-schedule.entity.ts
|
|
2593
|
+
var import_typeorm17 = require("typeorm");
|
|
2594
|
+
var F2fInterviewScheduleStatusEnum = /* @__PURE__ */ ((F2fInterviewScheduleStatusEnum2) => {
|
|
2595
|
+
F2fInterviewScheduleStatusEnum2["ACTIVE"] = "ACTIVE";
|
|
2596
|
+
F2fInterviewScheduleStatusEnum2["COMPELETED"] = "COMPELETED";
|
|
2597
|
+
F2fInterviewScheduleStatusEnum2["RESCHEDULED"] = "RESCHEDULED";
|
|
2598
|
+
F2fInterviewScheduleStatusEnum2["CANCELLED"] = "CANCELLED";
|
|
2599
|
+
return F2fInterviewScheduleStatusEnum2;
|
|
2600
|
+
})(F2fInterviewScheduleStatusEnum || {});
|
|
2601
|
+
var F2FInterviewSchedule = class extends BaseEntity {
|
|
2602
|
+
};
|
|
2603
|
+
__decorateClass([
|
|
2604
|
+
(0, import_typeorm17.Column)({ name: "f2f_interview_id", type: "integer", nullable: true })
|
|
2605
|
+
], F2FInterviewSchedule.prototype, "f2fInterviewId", 2);
|
|
2606
|
+
__decorateClass([
|
|
2607
|
+
(0, import_typeorm17.ManyToOne)(() => F2FInterview, (f2fInterview) => f2fInterview.schedules),
|
|
2608
|
+
(0, import_typeorm17.JoinColumn)({ name: "f2f_interview_id" })
|
|
2609
|
+
], F2FInterviewSchedule.prototype, "f2fInterview", 2);
|
|
2610
|
+
__decorateClass([
|
|
2611
|
+
(0, import_typeorm17.Column)({ name: "zoom_link", type: "varchar", nullable: true })
|
|
2612
|
+
], F2FInterviewSchedule.prototype, "meetingZoomLink", 2);
|
|
2613
|
+
__decorateClass([
|
|
2614
|
+
(0, import_typeorm17.Column)({ name: "meeting_id", type: "varchar", nullable: true })
|
|
2615
|
+
], F2FInterviewSchedule.prototype, "meetingId", 2);
|
|
2616
|
+
__decorateClass([
|
|
2617
|
+
(0, import_typeorm17.Column)({ name: "meeting_passcode", type: "varchar", nullable: true })
|
|
2618
|
+
], F2FInterviewSchedule.prototype, "meetingPasscode", 2);
|
|
2619
|
+
__decorateClass([
|
|
2620
|
+
(0, import_typeorm17.Column)({ name: "reschedule_url", type: "varchar", nullable: true })
|
|
2621
|
+
], F2FInterviewSchedule.prototype, "rescheduleUrl", 2);
|
|
2622
|
+
__decorateClass([
|
|
2623
|
+
(0, import_typeorm17.Column)({ name: "cancel_url", type: "varchar", nullable: true })
|
|
2624
|
+
], F2FInterviewSchedule.prototype, "cancelUrl", 2);
|
|
2625
|
+
__decorateClass([
|
|
2626
|
+
(0, import_typeorm17.Column)({
|
|
2627
|
+
name: "status",
|
|
2628
|
+
type: "enum",
|
|
2629
|
+
enum: F2fInterviewScheduleStatusEnum,
|
|
2630
|
+
default: "ACTIVE" /* ACTIVE */
|
|
2631
|
+
})
|
|
2632
|
+
], F2FInterviewSchedule.prototype, "status", 2);
|
|
2633
|
+
__decorateClass([
|
|
2634
|
+
(0, import_typeorm17.Column)({
|
|
2635
|
+
name: "meeting_start_time",
|
|
2636
|
+
type: "timestamp with time zone",
|
|
2637
|
+
nullable: true
|
|
2638
|
+
})
|
|
2639
|
+
], F2FInterviewSchedule.prototype, "meetingStartTime", 2);
|
|
2640
|
+
__decorateClass([
|
|
2641
|
+
(0, import_typeorm17.Column)({
|
|
2642
|
+
name: "meeting_end_time",
|
|
2643
|
+
type: "timestamp with time zone",
|
|
2644
|
+
nullable: true
|
|
2645
|
+
})
|
|
2646
|
+
], F2FInterviewSchedule.prototype, "meetingEndTime", 2);
|
|
2647
|
+
F2FInterviewSchedule = __decorateClass([
|
|
2648
|
+
(0, import_typeorm17.Entity)("f2f_interview_schedules")
|
|
2649
|
+
], F2FInterviewSchedule);
|
|
2650
|
+
|
|
2630
2651
|
// src/entities/f2f-interview.entity.ts
|
|
2631
2652
|
var F2fInterviewStatusEnum = /* @__PURE__ */ ((F2fInterviewStatusEnum2) => {
|
|
2632
2653
|
F2fInterviewStatusEnum2["DRAFTED"] = "DRAFTED";
|
|
@@ -2644,6 +2665,9 @@ var F2FInterview = class extends BaseEntity {
|
|
|
2644
2665
|
__decorateClass([
|
|
2645
2666
|
(0, import_typeorm18.Column)({ name: "interview_unique_id", type: "varchar", nullable: true, unique: true })
|
|
2646
2667
|
], F2FInterview.prototype, "interviewUniqueId", 2);
|
|
2668
|
+
__decorateClass([
|
|
2669
|
+
(0, import_typeorm18.Column)({ name: "round", type: "varchar", nullable: true })
|
|
2670
|
+
], F2FInterview.prototype, "round", 2);
|
|
2647
2671
|
__decorateClass([
|
|
2648
2672
|
(0, import_typeorm18.Column)({ name: "interview_id", type: "integer", nullable: true })
|
|
2649
2673
|
], F2FInterview.prototype, "interviewId", 2);
|
|
@@ -2671,27 +2695,9 @@ __decorateClass([
|
|
|
2671
2695
|
__decorateClass([
|
|
2672
2696
|
(0, import_typeorm18.Column)({ name: "invitee_name", type: "varchar", nullable: true })
|
|
2673
2697
|
], F2FInterview.prototype, "inviteeName", 2);
|
|
2674
|
-
__decorateClass([
|
|
2675
|
-
(0, import_typeorm18.Column)({ name: "zoom_link", type: "varchar", nullable: true })
|
|
2676
|
-
], F2FInterview.prototype, "meetingZoomLink", 2);
|
|
2677
|
-
__decorateClass([
|
|
2678
|
-
(0, import_typeorm18.Column)({ name: "meeting_id", type: "varchar", nullable: true })
|
|
2679
|
-
], F2FInterview.prototype, "meetingId", 2);
|
|
2680
|
-
__decorateClass([
|
|
2681
|
-
(0, import_typeorm18.Column)({ name: "meeting_passcode", type: "varchar", nullable: true })
|
|
2682
|
-
], F2FInterview.prototype, "meetingPasscode", 2);
|
|
2683
|
-
__decorateClass([
|
|
2684
|
-
(0, import_typeorm18.Column)({ name: "reschedule_url", type: "varchar", nullable: true })
|
|
2685
|
-
], F2FInterview.prototype, "rescheduleUrl", 2);
|
|
2686
|
-
__decorateClass([
|
|
2687
|
-
(0, import_typeorm18.Column)({ name: "cancel_url", type: "varchar", nullable: true })
|
|
2688
|
-
], F2FInterview.prototype, "cancelUrl", 2);
|
|
2689
2698
|
__decorateClass([
|
|
2690
2699
|
(0, import_typeorm18.Column)({ name: "event_name", type: "varchar", nullable: true })
|
|
2691
2700
|
], F2FInterview.prototype, "eventName", 2);
|
|
2692
|
-
__decorateClass([
|
|
2693
|
-
(0, import_typeorm18.Column)({ name: "is_rescheduled", type: "boolean", default: false })
|
|
2694
|
-
], F2FInterview.prototype, "isRescheduled", 2);
|
|
2695
2701
|
__decorateClass([
|
|
2696
2702
|
(0, import_typeorm18.Column)({
|
|
2697
2703
|
name: "status",
|
|
@@ -2700,6 +2706,12 @@ __decorateClass([
|
|
|
2700
2706
|
default: "ACTIVE" /* ACTIVE */
|
|
2701
2707
|
})
|
|
2702
2708
|
], F2FInterview.prototype, "status", 2);
|
|
2709
|
+
__decorateClass([
|
|
2710
|
+
(0, import_typeorm18.Column)({ name: "is_rescheduled", type: "boolean", default: false })
|
|
2711
|
+
], F2FInterview.prototype, "isRescheduled", 2);
|
|
2712
|
+
__decorateClass([
|
|
2713
|
+
(0, import_typeorm18.Column)({ name: "last_rescheduled_at", type: "timestamp with time zone", nullable: true })
|
|
2714
|
+
], F2FInterview.prototype, "lastRescheduledAt", 2);
|
|
2703
2715
|
__decorateClass([
|
|
2704
2716
|
(0, import_typeorm18.Column)({ name: "cancelled_at", type: "timestamp with time zone", nullable: true })
|
|
2705
2717
|
], F2FInterview.prototype, "cancelledAt", 2);
|
|
@@ -2707,24 +2719,14 @@ __decorateClass([
|
|
|
2707
2719
|
(0, import_typeorm18.Column)({ name: "cancel_reason", type: "varchar", nullable: true })
|
|
2708
2720
|
], F2FInterview.prototype, "cancelReason", 2);
|
|
2709
2721
|
__decorateClass([
|
|
2710
|
-
(0, import_typeorm18.Column)({ name: "
|
|
2711
|
-
], F2FInterview.prototype, "
|
|
2712
|
-
__decorateClass([
|
|
2713
|
-
(0, import_typeorm18.Column)({ name: "is_completed", type: "boolean", default: false })
|
|
2714
|
-
], F2FInterview.prototype, "isCompleted", 2);
|
|
2715
|
-
__decorateClass([
|
|
2716
|
-
(0, import_typeorm18.Column)({ name: "meeting_start_time", type: "timestamp with time zone", nullable: true })
|
|
2717
|
-
], F2FInterview.prototype, "meetingStartTime", 2);
|
|
2722
|
+
(0, import_typeorm18.Column)({ name: "provider", type: "varchar", nullable: true })
|
|
2723
|
+
], F2FInterview.prototype, "provider", 2);
|
|
2718
2724
|
__decorateClass([
|
|
2719
|
-
(0, import_typeorm18.Column)({ name: "
|
|
2720
|
-
], F2FInterview.prototype, "
|
|
2725
|
+
(0, import_typeorm18.Column)({ name: "provider_event_id", type: "varchar", nullable: true })
|
|
2726
|
+
], F2FInterview.prototype, "providerEventId", 2);
|
|
2721
2727
|
__decorateClass([
|
|
2722
|
-
(0, import_typeorm18.
|
|
2723
|
-
], F2FInterview.prototype, "
|
|
2724
|
-
__decorateClass([
|
|
2725
|
-
(0, import_typeorm18.OneToOne)(() => CalendlyMeeting),
|
|
2726
|
-
(0, import_typeorm18.JoinColumn)({ name: "calendly_meeting_id" })
|
|
2727
|
-
], F2FInterview.prototype, "calendlyMeeting", 2);
|
|
2728
|
+
(0, import_typeorm18.OneToMany)(() => F2FInterviewSchedule, (f2fInterviewSchedule) => f2fInterviewSchedule.f2fInterview)
|
|
2729
|
+
], F2FInterview.prototype, "schedules", 2);
|
|
2728
2730
|
__decorateClass([
|
|
2729
2731
|
(0, import_typeorm18.OneToMany)(() => F2fInterviewRescheduleRequest, (f2FInterviewRescheduleRequest) => f2FInterviewRescheduleRequest.f2fInterview)
|
|
2730
2732
|
], F2FInterview.prototype, "rescheduleRequests", 2);
|
|
@@ -5215,6 +5217,18 @@ var ADMIN_PERMISSION_PATTERN = {
|
|
|
5215
5217
|
var INTERVIEW_INVITE_PATTERN = {
|
|
5216
5218
|
sendInterviewInvite: "send.interview.invite"
|
|
5217
5219
|
};
|
|
5220
|
+
var F2F_INTERVIEW_PATTERN = {
|
|
5221
|
+
fetchBookings: "fetch.bookings",
|
|
5222
|
+
fetchBookingById: "fetch.booking.by.id",
|
|
5223
|
+
fetchInterviewsByInterviewerId: "fetch.interviews.by.interviewer.id",
|
|
5224
|
+
fetchInterviewsByCandidateId: "fetch.interviews.by.candidate.id",
|
|
5225
|
+
createF2FInterview: "create.f2f.interview",
|
|
5226
|
+
createF2FInterviewRescheduleRequest: "create.f2f.interview.reschedule.request",
|
|
5227
|
+
rejectF2FInterviewRescheduleRequest: "reject.f2f.interview.reschedule.request"
|
|
5228
|
+
};
|
|
5229
|
+
var CALENDLY_PATTERN = {
|
|
5230
|
+
handleCalendlyWebhook: "handle.calendly.webhook"
|
|
5231
|
+
};
|
|
5218
5232
|
|
|
5219
5233
|
// src/modules/interview/dto/interview-invite.dto.ts
|
|
5220
5234
|
var import_class_validator65 = require("class-validator");
|
|
@@ -5276,6 +5290,40 @@ __decorateClass([
|
|
|
5276
5290
|
(0, import_class_transformer12.Type)(() => CandidatesDto)
|
|
5277
5291
|
], InterviewInviteDto.prototype, "candidates", 2);
|
|
5278
5292
|
|
|
5293
|
+
// src/modules/interview/dto/create-f2f-interview.dto.ts
|
|
5294
|
+
var import_class_validator66 = require("class-validator");
|
|
5295
|
+
var CreateF2FInterviewDto = class {
|
|
5296
|
+
};
|
|
5297
|
+
__decorateClass([
|
|
5298
|
+
(0, import_class_validator66.IsEmail)({}, { message: "Please enter a valid email address." }),
|
|
5299
|
+
(0, import_class_validator66.IsNotEmpty)({ message: "Invitee email is required." })
|
|
5300
|
+
], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
|
|
5301
|
+
__decorateClass([
|
|
5302
|
+
(0, import_class_validator66.IsString)({ message: "Invitee name must be a string." }),
|
|
5303
|
+
(0, import_class_validator66.IsNotEmpty)({ message: "Invitee name is required." })
|
|
5304
|
+
], CreateF2FInterviewDto.prototype, "inviteeName", 2);
|
|
5305
|
+
__decorateClass([
|
|
5306
|
+
(0, import_class_validator66.IsNumber)({}, { message: "Interview ID must be a number." })
|
|
5307
|
+
], CreateF2FInterviewDto.prototype, "interviewId", 2);
|
|
5308
|
+
__decorateClass([
|
|
5309
|
+
(0, import_class_validator66.IsNumber)({}, { message: "Candidate ID must be a number." })
|
|
5310
|
+
], CreateF2FInterviewDto.prototype, "candidateId", 2);
|
|
5311
|
+
|
|
5312
|
+
// src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
|
|
5313
|
+
var import_class_validator67 = require("class-validator");
|
|
5314
|
+
var CreateF2FInterviewRescheduleRequestDto = class {
|
|
5315
|
+
};
|
|
5316
|
+
__decorateClass([
|
|
5317
|
+
(0, import_class_validator67.IsNotEmpty)({ message: "F2F Interview ID is required." })
|
|
5318
|
+
], CreateF2FInterviewRescheduleRequestDto.prototype, "f2FInterviewId", 2);
|
|
5319
|
+
__decorateClass([
|
|
5320
|
+
(0, import_class_validator67.IsNotEmpty)({ message: "Rescheduled date is required." })
|
|
5321
|
+
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
|
|
5322
|
+
__decorateClass([
|
|
5323
|
+
(0, import_class_validator67.IsString)({ message: "Rescheduled slot must be a string." }),
|
|
5324
|
+
(0, import_class_validator67.IsNotEmpty)({ message: "Rescheduled slot is required." })
|
|
5325
|
+
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
|
|
5326
|
+
|
|
5279
5327
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
5280
5328
|
var import_dotenv = require("dotenv");
|
|
5281
5329
|
var import_microservices = require("@nestjs/microservices");
|
|
@@ -5977,6 +6025,21 @@ __decorateClass([
|
|
|
5977
6025
|
Commission = __decorateClass([
|
|
5978
6026
|
(0, import_typeorm59.Entity)("commissions")
|
|
5979
6027
|
], Commission);
|
|
6028
|
+
|
|
6029
|
+
// src/entities/calendly-meeting-log.entity.ts
|
|
6030
|
+
var import_typeorm60 = require("typeorm");
|
|
6031
|
+
var CalendlyMeetingLog = class extends BaseEntity {
|
|
6032
|
+
};
|
|
6033
|
+
__decorateClass([
|
|
6034
|
+
(0, import_typeorm60.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
|
|
6035
|
+
(0, import_typeorm60.Index)()
|
|
6036
|
+
], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
|
|
6037
|
+
__decorateClass([
|
|
6038
|
+
(0, import_typeorm60.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
6039
|
+
], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
|
|
6040
|
+
CalendlyMeetingLog = __decorateClass([
|
|
6041
|
+
(0, import_typeorm60.Entity)("calendly_meeting_logs")
|
|
6042
|
+
], CalendlyMeetingLog);
|
|
5980
6043
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5981
6044
|
0 && (module.exports = {
|
|
5982
6045
|
ADMIN_FREELANCER_PATTERN,
|
|
@@ -6009,6 +6072,7 @@ Commission = __decorateClass([
|
|
|
6009
6072
|
BankAccountTypeEnum,
|
|
6010
6073
|
BankDetail,
|
|
6011
6074
|
BaseEntity,
|
|
6075
|
+
CALENDLY_PATTERN,
|
|
6012
6076
|
CITY_PATTERN,
|
|
6013
6077
|
CLIENT_ADMIN_PATTERNS,
|
|
6014
6078
|
CLIENT_PROFILE_PATTERN,
|
|
@@ -6016,8 +6080,7 @@ Commission = __decorateClass([
|
|
|
6016
6080
|
COMPANY_MEMBERS_PATTERNS,
|
|
6017
6081
|
COMPANY_ROLES_PATTERNS,
|
|
6018
6082
|
COUNTRY_PATTERN,
|
|
6019
|
-
|
|
6020
|
-
CalendlyMeetingStatus,
|
|
6083
|
+
CalendlyMeetingLog,
|
|
6021
6084
|
CandidateType,
|
|
6022
6085
|
CaseStudyDto,
|
|
6023
6086
|
CategoryEmum,
|
|
@@ -6044,6 +6107,8 @@ Commission = __decorateClass([
|
|
|
6044
6107
|
CreateCmsDto,
|
|
6045
6108
|
CreateCompanyMemberDto,
|
|
6046
6109
|
CreateCompanyRoleDto,
|
|
6110
|
+
CreateF2FInterviewDto,
|
|
6111
|
+
CreateF2FInterviewRescheduleRequestDto,
|
|
6047
6112
|
CreateFreelancerDto,
|
|
6048
6113
|
CreateLeadDto,
|
|
6049
6114
|
CreateQuestionDto,
|
|
@@ -6056,6 +6121,7 @@ Commission = __decorateClass([
|
|
|
6056
6121
|
EmploymentType,
|
|
6057
6122
|
ExperienceDto,
|
|
6058
6123
|
F2FInterview,
|
|
6124
|
+
F2F_INTERVIEW_PATTERN,
|
|
6059
6125
|
F2fInterviewRescheduleRequest,
|
|
6060
6126
|
F2fInterviewRescheduleRequestStatusEnum,
|
|
6061
6127
|
F2fInterviewStatusEnum,
|