@dakkitor/api-contracts 1.5.0 → 1.7.0
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/abilities/abilities.contract.d.ts +6 -2
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +45 -1
- package/dist/abilities/abilities.contract.spec.js +98 -0
- package/dist/abilities/first-agent.abilities.json +8 -14
- package/dist/abilities/outreach.abilities.json +25 -0
- package/dist/abilities/second-agent.abilities.json +4 -13
- package/dist/actives/actives.contract.d.ts +3618 -3479
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +2 -0
- package/dist/actives/actives.contract.spec.d.ts +2 -0
- package/dist/actives/actives.contract.spec.d.ts.map +1 -0
- package/dist/actives/actives.contract.spec.js +35 -0
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1087 -1087
- package/dist/auth/auth.contract.d.ts +108 -108
- package/dist/bookings/bookings.contract.d.ts +6644 -6452
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +718 -718
- package/dist/calls-feed/calls-feed.contract.d.ts +86 -86
- package/dist/client-contacts/client-contacts.contract.d.ts +469 -469
- package/dist/clients/clients.contract.d.ts +203 -203
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2713 -2713
- package/dist/collaborations/collaborations.contract.d.ts +2270 -2270
- package/dist/common/common-schemas.d.ts +12 -12
- package/dist/companies/companies.contract.d.ts +74 -74
- package/dist/crews/crews.contract.d.ts +253 -253
- package/dist/cron-executions/cron-executions.contract.d.ts +182 -182
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2723 -2723
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +378 -378
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +1117 -1087
- package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +16 -16
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +2 -2
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +5818 -5372
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +34 -1
- package/dist/curated-worker-leads/lead-agent-area.contract.d.ts +4 -4
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts +2 -0
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.js +39 -0
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +148 -148
- package/dist/curated-workers/curated-workers.contract.d.ts +789 -789
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +2 -2
- package/dist/dashboards/dashboard-widgets.contract.d.ts +180 -180
- package/dist/dashboards/dashboard.contract.d.ts +12 -12
- package/dist/document-intake/document-intake.contract.d.ts +601 -601
- package/dist/export-jobs/export-jobs.contract.d.ts +694 -694
- package/dist/exports-events/exports-events.schemas.d.ts +4 -4
- package/dist/files/files.contract.d.ts +74 -74
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/interactions/interactions.contract.d.ts +6 -6
- package/dist/job-clusters/job-clusters.contract.d.ts +112 -112
- package/dist/jobs/job-moderation-fields.spec.d.ts +2 -0
- package/dist/jobs/job-moderation-fields.spec.d.ts.map +1 -0
- package/dist/jobs/job-moderation-fields.spec.js +72 -0
- package/dist/jobs/jobs.contract.d.ts +4773 -4525
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +48 -0
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +141 -141
- package/dist/lead-assignments/lead-assignments.contract.d.ts +911 -911
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +209 -209
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +77 -77
- package/dist/leads/leads.contract.d.ts +283 -283
- package/dist/locations/locations.contract.d.ts +49 -49
- package/dist/notifications/notifications.contract.d.ts +67 -67
- package/dist/offices/offices.contract.d.ts +34 -34
- package/dist/outreach/__tests__/outreach-contract-additions.spec.js +11 -0
- package/dist/outreach/__tests__/outreach-requests.contract.spec.js +50 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +14 -3
- package/dist/outreach/lab-outreach.contract.d.ts +1110 -0
- package/dist/outreach/lab-outreach.contract.d.ts.map +1 -0
- package/dist/outreach/lab-outreach.contract.js +174 -0
- package/dist/outreach/lab-outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/lab-outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/lab-outreach.contract.spec.js +90 -0
- package/dist/outreach/outreach-requests.contract.d.ts +946 -217
- package/dist/outreach/outreach-requests.contract.d.ts.map +1 -1
- package/dist/outreach/outreach-requests.contract.js +23 -3
- package/dist/outreach/outreach-requests.schemas.d.ts +65 -10
- package/dist/outreach/outreach-requests.schemas.d.ts.map +1 -1
- package/dist/outreach/outreach-requests.schemas.js +6 -0
- package/dist/outreach/outreach.contract.d.ts +300 -38
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +18 -0
- package/dist/outreach/outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/outreach.contract.spec.js +57 -0
- package/dist/outreach/outreach.schemas.d.ts +2 -2
- package/dist/own-research/own-research.contract.d.ts +775 -775
- package/dist/postcodes/postcodes.contract.d.ts +24 -24
- package/dist/proofs/proof-type.enum.d.ts +4 -4
- package/dist/proofs/proofs.contract.d.ts +363 -363
- package/dist/proofs/proofs.dtos.d.ts +124 -124
- package/dist/qualifications/qualifications.contract.d.ts +38 -38
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts +829 -0
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-lab-fleet.contract.js +79 -0
- package/dist/relay-pods/relay-lab-fleet.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-lab-fleet.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-lab-fleet.contract.spec.js +146 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +443 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.js +138 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts +680 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-sessions.contract.js +67 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.js +129 -0
- package/dist/relay-pods/relay-pods.contract.d.ts +1569 -0
- package/dist/relay-pods/relay-pods.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.contract.js +188 -0
- package/dist/relay-pods/relay-pods.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-pods.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.contract.spec.js +141 -0
- package/dist/relay-pods/relay-pods.schemas.d.ts +415 -0
- package/dist/relay-pods/relay-pods.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.schemas.js +112 -0
- package/dist/shared/live-booking.schema.d.ts +4 -4
- package/dist/shared/summary-schemas.d.ts +6 -6
- package/dist/sheets-sync/sheets-sync.contract.d.ts +939 -939
- package/dist/telegram/telegram.contract.d.ts +22 -22
- package/dist/trades/trades.contract.d.ts +90 -90
- package/dist/user-access-grants/user-access-grants.contract.d.ts +165 -165
- package/dist/users/__tests__/assignable-roles.spec.d.ts +2 -0
- package/dist/users/__tests__/assignable-roles.spec.d.ts.map +1 -0
- package/dist/users/__tests__/assignable-roles.spec.js +41 -0
- package/dist/users/users.contract.d.ts +399 -393
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +11 -0
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +585 -527
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +278 -236
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts.map +1 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.js +1 -0
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +153 -153
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +59 -59
- package/dist/workers/workers.contract.d.ts +2919 -2919
- package/package.json +1 -1
- package/dist/bookings/bookings.contract.spec.d.ts +0 -2
- package/dist/bookings/bookings.contract.spec.d.ts.map +0 -1
- package/dist/bookings/bookings.contract.spec.js +0 -11
|
@@ -92,11 +92,11 @@ export declare const TrendDataPointSchema: z.ZodObject<{
|
|
|
92
92
|
date: z.ZodString;
|
|
93
93
|
value: z.ZodNumber;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
date: string;
|
|
96
95
|
value: number;
|
|
97
|
-
}, {
|
|
98
96
|
date: string;
|
|
97
|
+
}, {
|
|
99
98
|
value: number;
|
|
99
|
+
date: string;
|
|
100
100
|
}>;
|
|
101
101
|
/**
|
|
102
102
|
* FA Pipeline Widget - Collaboration pipeline overview
|
|
@@ -108,11 +108,11 @@ export declare const FaPipelineWidgetSchema: z.ZodObject<{
|
|
|
108
108
|
recentCount: z.ZodNumber;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
110
|
total: number;
|
|
111
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
111
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
112
112
|
recentCount: number;
|
|
113
113
|
}, {
|
|
114
114
|
total: number;
|
|
115
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
115
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
116
116
|
recentCount: number;
|
|
117
117
|
}>;
|
|
118
118
|
summary: z.ZodObject<{
|
|
@@ -132,7 +132,7 @@ export declare const FaPipelineWidgetSchema: z.ZodObject<{
|
|
|
132
132
|
};
|
|
133
133
|
collaborations: {
|
|
134
134
|
total: number;
|
|
135
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
135
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
136
136
|
recentCount: number;
|
|
137
137
|
};
|
|
138
138
|
}, {
|
|
@@ -142,7 +142,7 @@ export declare const FaPipelineWidgetSchema: z.ZodObject<{
|
|
|
142
142
|
};
|
|
143
143
|
collaborations: {
|
|
144
144
|
total: number;
|
|
145
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
145
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
146
146
|
recentCount: number;
|
|
147
147
|
};
|
|
148
148
|
}>;
|
|
@@ -252,10 +252,10 @@ export declare const AllAgentsCallHistoryQuerySchema: z.ZodObject<{
|
|
|
252
252
|
field: z.ZodEnum<["agentName", "activesFaActive", "activesFaOthers", "activesSaActive", "activesSaOthers", "bookingsFaAttempts", "bookingsFaFailed", "bookingsFaInProgress", "bookingsFaCompleted", "bookingsFaCancelled", "bookingsSaAttempts", "bookingsSaFailed", "bookingsSaInProgress", "bookingsSaCompleted", "bookingsSaCancelled", "callsOnDate", "efficientCalls", "conversionsOnDate", "dailyConversionRate", "performanceScore", "ownResearchLeadsAdded", "jobsCreatedOnDate", "jobsTotalOpenPositions", "jobsFilledPositions", "workersAddedToday", "consentLeadsActioned", "consentConsented", "consentDeclined", "consentWrongNumber", "consentSnoozed", "offersSent", "offersBooked"]>;
|
|
253
253
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
254
254
|
}, "strip", z.ZodTypeAny, {
|
|
255
|
-
field: "
|
|
255
|
+
field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
|
|
256
256
|
order: "ASC" | "DESC";
|
|
257
257
|
}, {
|
|
258
|
-
field: "
|
|
258
|
+
field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
|
|
259
259
|
order: "ASC" | "DESC";
|
|
260
260
|
}>, "many">>>>;
|
|
261
261
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -265,33 +265,33 @@ export declare const AllAgentsCallHistoryQuerySchema: z.ZodObject<{
|
|
|
265
265
|
maxScore: z.ZodOptional<z.ZodNumber>;
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
267
|
status: "ACTIVE" | "INACTIVE";
|
|
268
|
-
page: number;
|
|
269
268
|
limit: number;
|
|
270
|
-
|
|
269
|
+
page: number;
|
|
271
270
|
sort?: {
|
|
272
|
-
field: "
|
|
271
|
+
field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
|
|
273
272
|
order: "ASC" | "DESC";
|
|
274
273
|
}[] | null | undefined;
|
|
275
|
-
endDate?: string | undefined;
|
|
276
274
|
date?: string | undefined;
|
|
277
|
-
office?: string[] | undefined;
|
|
278
275
|
search?: string | undefined;
|
|
276
|
+
office?: string[] | undefined;
|
|
277
|
+
startDate?: string | undefined;
|
|
278
|
+
endDate?: string | undefined;
|
|
279
279
|
view?: "SA" | "FA" | undefined;
|
|
280
280
|
minScore?: number | undefined;
|
|
281
281
|
maxScore?: number | undefined;
|
|
282
282
|
}, {
|
|
283
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
284
|
-
startDate?: string | undefined;
|
|
285
283
|
sort?: {
|
|
286
|
-
field: "
|
|
284
|
+
field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
|
|
287
285
|
order: "ASC" | "DESC";
|
|
288
286
|
}[] | null | undefined;
|
|
289
|
-
|
|
290
|
-
limit?: number | undefined;
|
|
291
|
-
endDate?: string | undefined;
|
|
287
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
292
288
|
date?: string | undefined;
|
|
293
|
-
office?: string[] | undefined;
|
|
294
289
|
search?: string | undefined;
|
|
290
|
+
limit?: number | undefined;
|
|
291
|
+
page?: number | undefined;
|
|
292
|
+
office?: string[] | undefined;
|
|
293
|
+
startDate?: string | undefined;
|
|
294
|
+
endDate?: string | undefined;
|
|
295
295
|
view?: "SA" | "FA" | undefined;
|
|
296
296
|
minScore?: number | undefined;
|
|
297
297
|
maxScore?: number | undefined;
|
|
@@ -936,9 +936,16 @@ export declare const AdminFaAggregateSchema: z.ZodObject<{
|
|
|
936
936
|
}>;
|
|
937
937
|
agentCount: z.ZodNumber;
|
|
938
938
|
}, "strip", z.ZodTypeAny, {
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
939
|
+
jobs: {
|
|
940
|
+
filledPositions: number;
|
|
941
|
+
createdToday: number;
|
|
942
|
+
totalOpenPositions: number;
|
|
943
|
+
availableJobs: number;
|
|
944
|
+
transitionCounts: Record<string, number>;
|
|
945
|
+
fillRate: number;
|
|
946
|
+
positionsAdjusted: number;
|
|
947
|
+
positionsNetChange: number;
|
|
948
|
+
overbookedCount: number;
|
|
942
949
|
};
|
|
943
950
|
bookings: {
|
|
944
951
|
forToday: {
|
|
@@ -970,16 +977,9 @@ export declare const AdminFaAggregateSchema: z.ZodObject<{
|
|
|
970
977
|
pendingConfirmation: number;
|
|
971
978
|
upcomingStarts: number;
|
|
972
979
|
};
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
totalOpenPositions: number;
|
|
977
|
-
availableJobs: number;
|
|
978
|
-
transitionCounts: Record<string, number>;
|
|
979
|
-
fillRate: number;
|
|
980
|
-
positionsAdjusted: number;
|
|
981
|
-
positionsNetChange: number;
|
|
982
|
-
overbookedCount: number;
|
|
980
|
+
actives: {
|
|
981
|
+
total: number;
|
|
982
|
+
byStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
|
|
983
983
|
};
|
|
984
984
|
callMetrics: {
|
|
985
985
|
conversionRate: number;
|
|
@@ -999,9 +999,16 @@ export declare const AdminFaAggregateSchema: z.ZodObject<{
|
|
|
999
999
|
};
|
|
1000
1000
|
agentCount: number;
|
|
1001
1001
|
}, {
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1002
|
+
jobs: {
|
|
1003
|
+
filledPositions: number;
|
|
1004
|
+
createdToday: number;
|
|
1005
|
+
totalOpenPositions: number;
|
|
1006
|
+
availableJobs: number;
|
|
1007
|
+
transitionCounts: Record<string, number>;
|
|
1008
|
+
fillRate: number;
|
|
1009
|
+
positionsAdjusted: number;
|
|
1010
|
+
positionsNetChange: number;
|
|
1011
|
+
overbookedCount: number;
|
|
1005
1012
|
};
|
|
1006
1013
|
bookings: {
|
|
1007
1014
|
forToday: {
|
|
@@ -1033,16 +1040,9 @@ export declare const AdminFaAggregateSchema: z.ZodObject<{
|
|
|
1033
1040
|
pendingConfirmation: number;
|
|
1034
1041
|
upcomingStarts: number;
|
|
1035
1042
|
};
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
totalOpenPositions: number;
|
|
1040
|
-
availableJobs: number;
|
|
1041
|
-
transitionCounts: Record<string, number>;
|
|
1042
|
-
fillRate: number;
|
|
1043
|
-
positionsAdjusted: number;
|
|
1044
|
-
positionsNetChange: number;
|
|
1045
|
-
overbookedCount: number;
|
|
1043
|
+
actives: {
|
|
1044
|
+
total: number;
|
|
1045
|
+
byStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
|
|
1046
1046
|
};
|
|
1047
1047
|
callMetrics: {
|
|
1048
1048
|
conversionRate: number;
|
|
@@ -1233,9 +1233,9 @@ export declare const AdminSaAggregateSchema: z.ZodObject<{
|
|
|
1233
1233
|
}>;
|
|
1234
1234
|
agentCount: z.ZodNumber;
|
|
1235
1235
|
}, "strip", z.ZodTypeAny, {
|
|
1236
|
-
|
|
1236
|
+
workers: {
|
|
1237
1237
|
total: number;
|
|
1238
|
-
|
|
1238
|
+
addedToday: number;
|
|
1239
1239
|
};
|
|
1240
1240
|
bookings: {
|
|
1241
1241
|
forToday: {
|
|
@@ -1267,15 +1267,15 @@ export declare const AdminSaAggregateSchema: z.ZodObject<{
|
|
|
1267
1267
|
pendingConfirmation: number;
|
|
1268
1268
|
upcomingStarts: number;
|
|
1269
1269
|
};
|
|
1270
|
-
|
|
1270
|
+
actives: {
|
|
1271
1271
|
total: number;
|
|
1272
|
-
|
|
1272
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
|
|
1273
1273
|
};
|
|
1274
1274
|
agentCount: number;
|
|
1275
1275
|
}, {
|
|
1276
|
-
|
|
1276
|
+
workers: {
|
|
1277
1277
|
total: number;
|
|
1278
|
-
|
|
1278
|
+
addedToday: number;
|
|
1279
1279
|
};
|
|
1280
1280
|
bookings: {
|
|
1281
1281
|
forToday: {
|
|
@@ -1307,9 +1307,9 @@ export declare const AdminSaAggregateSchema: z.ZodObject<{
|
|
|
1307
1307
|
pendingConfirmation: number;
|
|
1308
1308
|
upcomingStarts: number;
|
|
1309
1309
|
};
|
|
1310
|
-
|
|
1310
|
+
actives: {
|
|
1311
1311
|
total: number;
|
|
1312
|
-
|
|
1312
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
|
|
1313
1313
|
};
|
|
1314
1314
|
agentCount: number;
|
|
1315
1315
|
}>;
|
|
@@ -1631,11 +1631,11 @@ export declare const CollaborationsTrendSchema: z.ZodObject<{
|
|
|
1631
1631
|
}, "strip", z.ZodTypeAny, {
|
|
1632
1632
|
date: string;
|
|
1633
1633
|
created: number;
|
|
1634
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
1634
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1635
1635
|
}, {
|
|
1636
1636
|
date: string;
|
|
1637
1637
|
created: number;
|
|
1638
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
1638
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1639
1639
|
}>, "many">;
|
|
1640
1640
|
summary: z.ZodObject<{
|
|
1641
1641
|
totalCreated: z.ZodNumber;
|
|
@@ -1655,7 +1655,7 @@ export declare const CollaborationsTrendSchema: z.ZodObject<{
|
|
|
1655
1655
|
data: {
|
|
1656
1656
|
date: string;
|
|
1657
1657
|
created: number;
|
|
1658
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
1658
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1659
1659
|
}[];
|
|
1660
1660
|
}, {
|
|
1661
1661
|
summary: {
|
|
@@ -1665,7 +1665,7 @@ export declare const CollaborationsTrendSchema: z.ZodObject<{
|
|
|
1665
1665
|
data: {
|
|
1666
1666
|
date: string;
|
|
1667
1667
|
created: number;
|
|
1668
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
1668
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1669
1669
|
}[];
|
|
1670
1670
|
}>;
|
|
1671
1671
|
/**
|
|
@@ -1678,10 +1678,10 @@ export declare const ProofsWidgetSchema: z.ZodObject<{
|
|
|
1678
1678
|
byType: z.ZodRecord<z.ZodEnum<["FACEBOOK", "TELEGRAM", "WHATSAPP", "VIBER", "OTHER"]>, z.ZodNumber>;
|
|
1679
1679
|
}, "strip", z.ZodTypeAny, {
|
|
1680
1680
|
total: number;
|
|
1681
|
-
byType: Partial<Record<"
|
|
1681
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
1682
1682
|
}, {
|
|
1683
1683
|
total: number;
|
|
1684
|
-
byType: Partial<Record<"
|
|
1684
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
1685
1685
|
}>;
|
|
1686
1686
|
booking: z.ZodObject<{
|
|
1687
1687
|
total: z.ZodNumber;
|
|
@@ -1702,7 +1702,7 @@ export declare const ProofsWidgetSchema: z.ZodObject<{
|
|
|
1702
1702
|
total: number;
|
|
1703
1703
|
post: {
|
|
1704
1704
|
total: number;
|
|
1705
|
-
byType: Partial<Record<"
|
|
1705
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
1706
1706
|
};
|
|
1707
1707
|
}, {
|
|
1708
1708
|
booking: {
|
|
@@ -1712,7 +1712,7 @@ export declare const ProofsWidgetSchema: z.ZodObject<{
|
|
|
1712
1712
|
total: number;
|
|
1713
1713
|
post: {
|
|
1714
1714
|
total: number;
|
|
1715
|
-
byType: Partial<Record<"
|
|
1715
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
1716
1716
|
};
|
|
1717
1717
|
}>;
|
|
1718
1718
|
/**
|
|
@@ -1727,10 +1727,10 @@ export declare const ProofsTrendSchema: z.ZodObject<{
|
|
|
1727
1727
|
byType: z.ZodRecord<z.ZodEnum<["FACEBOOK", "TELEGRAM", "WHATSAPP", "VIBER", "OTHER"]>, z.ZodNumber>;
|
|
1728
1728
|
}, "strip", z.ZodTypeAny, {
|
|
1729
1729
|
total: number;
|
|
1730
|
-
byType: Partial<Record<"
|
|
1730
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
1731
1731
|
}, {
|
|
1732
1732
|
total: number;
|
|
1733
|
-
byType: Partial<Record<"
|
|
1733
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
1734
1734
|
}>;
|
|
1735
1735
|
booking: z.ZodObject<{
|
|
1736
1736
|
total: z.ZodNumber;
|
|
@@ -1752,7 +1752,7 @@ export declare const ProofsTrendSchema: z.ZodObject<{
|
|
|
1752
1752
|
total: number;
|
|
1753
1753
|
post: {
|
|
1754
1754
|
total: number;
|
|
1755
|
-
byType: Partial<Record<"
|
|
1755
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
1756
1756
|
};
|
|
1757
1757
|
}, {
|
|
1758
1758
|
date: string;
|
|
@@ -1763,7 +1763,7 @@ export declare const ProofsTrendSchema: z.ZodObject<{
|
|
|
1763
1763
|
total: number;
|
|
1764
1764
|
post: {
|
|
1765
1765
|
total: number;
|
|
1766
|
-
byType: Partial<Record<"
|
|
1766
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
1767
1767
|
};
|
|
1768
1768
|
}>, "many">;
|
|
1769
1769
|
summary: z.ZodObject<{
|
|
@@ -1773,21 +1773,21 @@ export declare const ProofsTrendSchema: z.ZodObject<{
|
|
|
1773
1773
|
averageDaily: z.ZodNumber;
|
|
1774
1774
|
}, "strip", z.ZodTypeAny, {
|
|
1775
1775
|
total: number;
|
|
1776
|
+
averageDaily: number;
|
|
1776
1777
|
totalPost: number;
|
|
1777
1778
|
totalBooking: number;
|
|
1778
|
-
averageDaily: number;
|
|
1779
1779
|
}, {
|
|
1780
1780
|
total: number;
|
|
1781
|
+
averageDaily: number;
|
|
1781
1782
|
totalPost: number;
|
|
1782
1783
|
totalBooking: number;
|
|
1783
|
-
averageDaily: number;
|
|
1784
1784
|
}>;
|
|
1785
1785
|
}, "strip", z.ZodTypeAny, {
|
|
1786
1786
|
summary: {
|
|
1787
1787
|
total: number;
|
|
1788
|
+
averageDaily: number;
|
|
1788
1789
|
totalPost: number;
|
|
1789
1790
|
totalBooking: number;
|
|
1790
|
-
averageDaily: number;
|
|
1791
1791
|
};
|
|
1792
1792
|
data: {
|
|
1793
1793
|
date: string;
|
|
@@ -1798,15 +1798,15 @@ export declare const ProofsTrendSchema: z.ZodObject<{
|
|
|
1798
1798
|
total: number;
|
|
1799
1799
|
post: {
|
|
1800
1800
|
total: number;
|
|
1801
|
-
byType: Partial<Record<"
|
|
1801
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
1802
1802
|
};
|
|
1803
1803
|
}[];
|
|
1804
1804
|
}, {
|
|
1805
1805
|
summary: {
|
|
1806
1806
|
total: number;
|
|
1807
|
+
averageDaily: number;
|
|
1807
1808
|
totalPost: number;
|
|
1808
1809
|
totalBooking: number;
|
|
1809
|
-
averageDaily: number;
|
|
1810
1810
|
};
|
|
1811
1811
|
data: {
|
|
1812
1812
|
date: string;
|
|
@@ -1817,7 +1817,7 @@ export declare const ProofsTrendSchema: z.ZodObject<{
|
|
|
1817
1817
|
total: number;
|
|
1818
1818
|
post: {
|
|
1819
1819
|
total: number;
|
|
1820
|
-
byType: Partial<Record<"
|
|
1820
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
1821
1821
|
};
|
|
1822
1822
|
}[];
|
|
1823
1823
|
}>;
|
|
@@ -1836,11 +1836,11 @@ export declare const LeadActivityTrendSchema: z.ZodObject<{
|
|
|
1836
1836
|
}, "strip", z.ZodTypeAny, {
|
|
1837
1837
|
date: string;
|
|
1838
1838
|
total: number;
|
|
1839
|
-
byOutcome: Partial<Record<"CONSENTED" | "
|
|
1839
|
+
byOutcome: Partial<Record<"CONSENTED" | "BOOKED" | "NOT_INTERESTED" | "WRONG_NUMBER" | "OFFER_SENT" | "TOO_FAR" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
|
|
1840
1840
|
}, {
|
|
1841
1841
|
date: string;
|
|
1842
1842
|
total: number;
|
|
1843
|
-
byOutcome: Partial<Record<"CONSENTED" | "
|
|
1843
|
+
byOutcome: Partial<Record<"CONSENTED" | "BOOKED" | "NOT_INTERESTED" | "WRONG_NUMBER" | "OFFER_SENT" | "TOO_FAR" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
|
|
1844
1844
|
}>, "many">;
|
|
1845
1845
|
summary: z.ZodObject<{
|
|
1846
1846
|
averageDaily: z.ZodNumber;
|
|
@@ -1864,7 +1864,7 @@ export declare const LeadActivityTrendSchema: z.ZodObject<{
|
|
|
1864
1864
|
data: {
|
|
1865
1865
|
date: string;
|
|
1866
1866
|
total: number;
|
|
1867
|
-
byOutcome: Partial<Record<"CONSENTED" | "
|
|
1867
|
+
byOutcome: Partial<Record<"CONSENTED" | "BOOKED" | "NOT_INTERESTED" | "WRONG_NUMBER" | "OFFER_SENT" | "TOO_FAR" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
|
|
1868
1868
|
}[];
|
|
1869
1869
|
}, {
|
|
1870
1870
|
summary: {
|
|
@@ -1875,7 +1875,7 @@ export declare const LeadActivityTrendSchema: z.ZodObject<{
|
|
|
1875
1875
|
data: {
|
|
1876
1876
|
date: string;
|
|
1877
1877
|
total: number;
|
|
1878
|
-
byOutcome: Partial<Record<"CONSENTED" | "
|
|
1878
|
+
byOutcome: Partial<Record<"CONSENTED" | "BOOKED" | "NOT_INTERESTED" | "WRONG_NUMBER" | "OFFER_SENT" | "TOO_FAR" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
|
|
1879
1879
|
}[];
|
|
1880
1880
|
}>;
|
|
1881
1881
|
export type LeadActivityTrend = z.infer<typeof LeadActivityTrendSchema>;
|
|
@@ -1903,11 +1903,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
1903
1903
|
recentCount: z.ZodNumber;
|
|
1904
1904
|
}, "strip", z.ZodTypeAny, {
|
|
1905
1905
|
total: number;
|
|
1906
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
1906
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1907
1907
|
recentCount: number;
|
|
1908
1908
|
}, {
|
|
1909
1909
|
total: number;
|
|
1910
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
1910
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1911
1911
|
recentCount: number;
|
|
1912
1912
|
}>;
|
|
1913
1913
|
summary: z.ZodObject<{
|
|
@@ -1927,7 +1927,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
1927
1927
|
};
|
|
1928
1928
|
collaborations: {
|
|
1929
1929
|
total: number;
|
|
1930
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
1930
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1931
1931
|
recentCount: number;
|
|
1932
1932
|
};
|
|
1933
1933
|
}, {
|
|
@@ -1937,7 +1937,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
1937
1937
|
};
|
|
1938
1938
|
collaborations: {
|
|
1939
1939
|
total: number;
|
|
1940
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
1940
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1941
1941
|
recentCount: number;
|
|
1942
1942
|
};
|
|
1943
1943
|
}>;
|
|
@@ -2351,10 +2351,10 @@ export declare const dashboardWidgetsContract: {
|
|
|
2351
2351
|
byType: z.ZodRecord<z.ZodEnum<["FACEBOOK", "TELEGRAM", "WHATSAPP", "VIBER", "OTHER"]>, z.ZodNumber>;
|
|
2352
2352
|
}, "strip", z.ZodTypeAny, {
|
|
2353
2353
|
total: number;
|
|
2354
|
-
byType: Partial<Record<"
|
|
2354
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2355
2355
|
}, {
|
|
2356
2356
|
total: number;
|
|
2357
|
-
byType: Partial<Record<"
|
|
2357
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2358
2358
|
}>;
|
|
2359
2359
|
booking: z.ZodObject<{
|
|
2360
2360
|
total: z.ZodNumber;
|
|
@@ -2375,7 +2375,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
2375
2375
|
total: number;
|
|
2376
2376
|
post: {
|
|
2377
2377
|
total: number;
|
|
2378
|
-
byType: Partial<Record<"
|
|
2378
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2379
2379
|
};
|
|
2380
2380
|
}, {
|
|
2381
2381
|
booking: {
|
|
@@ -2385,7 +2385,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
2385
2385
|
total: number;
|
|
2386
2386
|
post: {
|
|
2387
2387
|
total: number;
|
|
2388
|
-
byType: Partial<Record<"
|
|
2388
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2389
2389
|
};
|
|
2390
2390
|
}>;
|
|
2391
2391
|
};
|
|
@@ -2414,10 +2414,10 @@ export declare const dashboardWidgetsContract: {
|
|
|
2414
2414
|
byType: z.ZodRecord<z.ZodEnum<["FACEBOOK", "TELEGRAM", "WHATSAPP", "VIBER", "OTHER"]>, z.ZodNumber>;
|
|
2415
2415
|
}, "strip", z.ZodTypeAny, {
|
|
2416
2416
|
total: number;
|
|
2417
|
-
byType: Partial<Record<"
|
|
2417
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2418
2418
|
}, {
|
|
2419
2419
|
total: number;
|
|
2420
|
-
byType: Partial<Record<"
|
|
2420
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2421
2421
|
}>;
|
|
2422
2422
|
booking: z.ZodObject<{
|
|
2423
2423
|
total: z.ZodNumber;
|
|
@@ -2439,7 +2439,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
2439
2439
|
total: number;
|
|
2440
2440
|
post: {
|
|
2441
2441
|
total: number;
|
|
2442
|
-
byType: Partial<Record<"
|
|
2442
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2443
2443
|
};
|
|
2444
2444
|
}, {
|
|
2445
2445
|
date: string;
|
|
@@ -2450,7 +2450,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
2450
2450
|
total: number;
|
|
2451
2451
|
post: {
|
|
2452
2452
|
total: number;
|
|
2453
|
-
byType: Partial<Record<"
|
|
2453
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2454
2454
|
};
|
|
2455
2455
|
}>, "many">;
|
|
2456
2456
|
summary: z.ZodObject<{
|
|
@@ -2460,21 +2460,21 @@ export declare const dashboardWidgetsContract: {
|
|
|
2460
2460
|
averageDaily: z.ZodNumber;
|
|
2461
2461
|
}, "strip", z.ZodTypeAny, {
|
|
2462
2462
|
total: number;
|
|
2463
|
+
averageDaily: number;
|
|
2463
2464
|
totalPost: number;
|
|
2464
2465
|
totalBooking: number;
|
|
2465
|
-
averageDaily: number;
|
|
2466
2466
|
}, {
|
|
2467
2467
|
total: number;
|
|
2468
|
+
averageDaily: number;
|
|
2468
2469
|
totalPost: number;
|
|
2469
2470
|
totalBooking: number;
|
|
2470
|
-
averageDaily: number;
|
|
2471
2471
|
}>;
|
|
2472
2472
|
}, "strip", z.ZodTypeAny, {
|
|
2473
2473
|
summary: {
|
|
2474
2474
|
total: number;
|
|
2475
|
+
averageDaily: number;
|
|
2475
2476
|
totalPost: number;
|
|
2476
2477
|
totalBooking: number;
|
|
2477
|
-
averageDaily: number;
|
|
2478
2478
|
};
|
|
2479
2479
|
data: {
|
|
2480
2480
|
date: string;
|
|
@@ -2485,15 +2485,15 @@ export declare const dashboardWidgetsContract: {
|
|
|
2485
2485
|
total: number;
|
|
2486
2486
|
post: {
|
|
2487
2487
|
total: number;
|
|
2488
|
-
byType: Partial<Record<"
|
|
2488
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2489
2489
|
};
|
|
2490
2490
|
}[];
|
|
2491
2491
|
}, {
|
|
2492
2492
|
summary: {
|
|
2493
2493
|
total: number;
|
|
2494
|
+
averageDaily: number;
|
|
2494
2495
|
totalPost: number;
|
|
2495
2496
|
totalBooking: number;
|
|
2496
|
-
averageDaily: number;
|
|
2497
2497
|
};
|
|
2498
2498
|
data: {
|
|
2499
2499
|
date: string;
|
|
@@ -2504,7 +2504,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
2504
2504
|
total: number;
|
|
2505
2505
|
post: {
|
|
2506
2506
|
total: number;
|
|
2507
|
-
byType: Partial<Record<"
|
|
2507
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2508
2508
|
};
|
|
2509
2509
|
}[];
|
|
2510
2510
|
}>;
|
|
@@ -2532,10 +2532,10 @@ export declare const dashboardWidgetsContract: {
|
|
|
2532
2532
|
byType: z.ZodRecord<z.ZodEnum<["FACEBOOK", "TELEGRAM", "WHATSAPP", "VIBER", "OTHER"]>, z.ZodNumber>;
|
|
2533
2533
|
}, "strip", z.ZodTypeAny, {
|
|
2534
2534
|
total: number;
|
|
2535
|
-
byType: Partial<Record<"
|
|
2535
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2536
2536
|
}, {
|
|
2537
2537
|
total: number;
|
|
2538
|
-
byType: Partial<Record<"
|
|
2538
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2539
2539
|
}>;
|
|
2540
2540
|
booking: z.ZodObject<{
|
|
2541
2541
|
total: z.ZodNumber;
|
|
@@ -2556,7 +2556,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
2556
2556
|
total: number;
|
|
2557
2557
|
post: {
|
|
2558
2558
|
total: number;
|
|
2559
|
-
byType: Partial<Record<"
|
|
2559
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2560
2560
|
};
|
|
2561
2561
|
}, {
|
|
2562
2562
|
booking: {
|
|
@@ -2566,7 +2566,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
2566
2566
|
total: number;
|
|
2567
2567
|
post: {
|
|
2568
2568
|
total: number;
|
|
2569
|
-
byType: Partial<Record<"
|
|
2569
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2570
2570
|
};
|
|
2571
2571
|
}>;
|
|
2572
2572
|
};
|
|
@@ -2599,10 +2599,10 @@ export declare const dashboardWidgetsContract: {
|
|
|
2599
2599
|
byType: z.ZodRecord<z.ZodEnum<["FACEBOOK", "TELEGRAM", "WHATSAPP", "VIBER", "OTHER"]>, z.ZodNumber>;
|
|
2600
2600
|
}, "strip", z.ZodTypeAny, {
|
|
2601
2601
|
total: number;
|
|
2602
|
-
byType: Partial<Record<"
|
|
2602
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2603
2603
|
}, {
|
|
2604
2604
|
total: number;
|
|
2605
|
-
byType: Partial<Record<"
|
|
2605
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2606
2606
|
}>;
|
|
2607
2607
|
booking: z.ZodObject<{
|
|
2608
2608
|
total: z.ZodNumber;
|
|
@@ -2624,7 +2624,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
2624
2624
|
total: number;
|
|
2625
2625
|
post: {
|
|
2626
2626
|
total: number;
|
|
2627
|
-
byType: Partial<Record<"
|
|
2627
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2628
2628
|
};
|
|
2629
2629
|
}, {
|
|
2630
2630
|
date: string;
|
|
@@ -2635,7 +2635,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
2635
2635
|
total: number;
|
|
2636
2636
|
post: {
|
|
2637
2637
|
total: number;
|
|
2638
|
-
byType: Partial<Record<"
|
|
2638
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2639
2639
|
};
|
|
2640
2640
|
}>, "many">;
|
|
2641
2641
|
summary: z.ZodObject<{
|
|
@@ -2645,21 +2645,21 @@ export declare const dashboardWidgetsContract: {
|
|
|
2645
2645
|
averageDaily: z.ZodNumber;
|
|
2646
2646
|
}, "strip", z.ZodTypeAny, {
|
|
2647
2647
|
total: number;
|
|
2648
|
+
averageDaily: number;
|
|
2648
2649
|
totalPost: number;
|
|
2649
2650
|
totalBooking: number;
|
|
2650
|
-
averageDaily: number;
|
|
2651
2651
|
}, {
|
|
2652
2652
|
total: number;
|
|
2653
|
+
averageDaily: number;
|
|
2653
2654
|
totalPost: number;
|
|
2654
2655
|
totalBooking: number;
|
|
2655
|
-
averageDaily: number;
|
|
2656
2656
|
}>;
|
|
2657
2657
|
}, "strip", z.ZodTypeAny, {
|
|
2658
2658
|
summary: {
|
|
2659
2659
|
total: number;
|
|
2660
|
+
averageDaily: number;
|
|
2660
2661
|
totalPost: number;
|
|
2661
2662
|
totalBooking: number;
|
|
2662
|
-
averageDaily: number;
|
|
2663
2663
|
};
|
|
2664
2664
|
data: {
|
|
2665
2665
|
date: string;
|
|
@@ -2670,15 +2670,15 @@ export declare const dashboardWidgetsContract: {
|
|
|
2670
2670
|
total: number;
|
|
2671
2671
|
post: {
|
|
2672
2672
|
total: number;
|
|
2673
|
-
byType: Partial<Record<"
|
|
2673
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2674
2674
|
};
|
|
2675
2675
|
}[];
|
|
2676
2676
|
}, {
|
|
2677
2677
|
summary: {
|
|
2678
2678
|
total: number;
|
|
2679
|
+
averageDaily: number;
|
|
2679
2680
|
totalPost: number;
|
|
2680
2681
|
totalBooking: number;
|
|
2681
|
-
averageDaily: number;
|
|
2682
2682
|
};
|
|
2683
2683
|
data: {
|
|
2684
2684
|
date: string;
|
|
@@ -2689,7 +2689,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
2689
2689
|
total: number;
|
|
2690
2690
|
post: {
|
|
2691
2691
|
total: number;
|
|
2692
|
-
byType: Partial<Record<"
|
|
2692
|
+
byType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
2693
2693
|
};
|
|
2694
2694
|
}[];
|
|
2695
2695
|
}>;
|
|
@@ -2957,10 +2957,10 @@ export declare const dashboardWidgetsContract: {
|
|
|
2957
2957
|
field: z.ZodEnum<["agentName", "activesFaActive", "activesFaOthers", "activesSaActive", "activesSaOthers", "bookingsFaAttempts", "bookingsFaFailed", "bookingsFaInProgress", "bookingsFaCompleted", "bookingsFaCancelled", "bookingsSaAttempts", "bookingsSaFailed", "bookingsSaInProgress", "bookingsSaCompleted", "bookingsSaCancelled", "callsOnDate", "efficientCalls", "conversionsOnDate", "dailyConversionRate", "performanceScore", "ownResearchLeadsAdded", "jobsCreatedOnDate", "jobsTotalOpenPositions", "jobsFilledPositions", "workersAddedToday", "consentLeadsActioned", "consentConsented", "consentDeclined", "consentWrongNumber", "consentSnoozed", "offersSent", "offersBooked"]>;
|
|
2958
2958
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
2959
2959
|
}, "strip", z.ZodTypeAny, {
|
|
2960
|
-
field: "
|
|
2960
|
+
field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
|
|
2961
2961
|
order: "ASC" | "DESC";
|
|
2962
2962
|
}, {
|
|
2963
|
-
field: "
|
|
2963
|
+
field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
|
|
2964
2964
|
order: "ASC" | "DESC";
|
|
2965
2965
|
}>, "many">>>>;
|
|
2966
2966
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -2970,33 +2970,33 @@ export declare const dashboardWidgetsContract: {
|
|
|
2970
2970
|
maxScore: z.ZodOptional<z.ZodNumber>;
|
|
2971
2971
|
}, "strip", z.ZodTypeAny, {
|
|
2972
2972
|
status: "ACTIVE" | "INACTIVE";
|
|
2973
|
-
page: number;
|
|
2974
2973
|
limit: number;
|
|
2975
|
-
|
|
2974
|
+
page: number;
|
|
2976
2975
|
sort?: {
|
|
2977
|
-
field: "
|
|
2976
|
+
field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
|
|
2978
2977
|
order: "ASC" | "DESC";
|
|
2979
2978
|
}[] | null | undefined;
|
|
2980
|
-
endDate?: string | undefined;
|
|
2981
2979
|
date?: string | undefined;
|
|
2982
|
-
office?: string[] | undefined;
|
|
2983
2980
|
search?: string | undefined;
|
|
2981
|
+
office?: string[] | undefined;
|
|
2982
|
+
startDate?: string | undefined;
|
|
2983
|
+
endDate?: string | undefined;
|
|
2984
2984
|
view?: "SA" | "FA" | undefined;
|
|
2985
2985
|
minScore?: number | undefined;
|
|
2986
2986
|
maxScore?: number | undefined;
|
|
2987
2987
|
}, {
|
|
2988
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2989
|
-
startDate?: string | undefined;
|
|
2990
2988
|
sort?: {
|
|
2991
|
-
field: "
|
|
2989
|
+
field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
|
|
2992
2990
|
order: "ASC" | "DESC";
|
|
2993
2991
|
}[] | null | undefined;
|
|
2994
|
-
|
|
2995
|
-
limit?: number | undefined;
|
|
2996
|
-
endDate?: string | undefined;
|
|
2992
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2997
2993
|
date?: string | undefined;
|
|
2998
|
-
office?: string[] | undefined;
|
|
2999
2994
|
search?: string | undefined;
|
|
2995
|
+
limit?: number | undefined;
|
|
2996
|
+
page?: number | undefined;
|
|
2997
|
+
office?: string[] | undefined;
|
|
2998
|
+
startDate?: string | undefined;
|
|
2999
|
+
endDate?: string | undefined;
|
|
3000
3000
|
view?: "SA" | "FA" | undefined;
|
|
3001
3001
|
minScore?: number | undefined;
|
|
3002
3002
|
maxScore?: number | undefined;
|
|
@@ -3065,7 +3065,6 @@ export declare const dashboardWidgetsContract: {
|
|
|
3065
3065
|
agentId: string;
|
|
3066
3066
|
conversionRate: number;
|
|
3067
3067
|
totalCalls: number;
|
|
3068
|
-
agentName: string;
|
|
3069
3068
|
performanceScore: number;
|
|
3070
3069
|
ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
|
|
3071
3070
|
assignmentCalls: number;
|
|
@@ -3075,6 +3074,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
3075
3074
|
ownResearchLeadsAdded: number;
|
|
3076
3075
|
ownResearchLeadsExistingInSystem: number;
|
|
3077
3076
|
ownResearchLeadsNew: number;
|
|
3077
|
+
agentName: string;
|
|
3078
3078
|
callsOnDate: number;
|
|
3079
3079
|
efficientCalls: number;
|
|
3080
3080
|
conversionsOnDate: number;
|
|
@@ -3090,6 +3090,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
3090
3090
|
consentSnoozed: number;
|
|
3091
3091
|
offersSent: number;
|
|
3092
3092
|
offersBooked: number;
|
|
3093
|
+
averageRating: number;
|
|
3093
3094
|
officeName: string | null;
|
|
3094
3095
|
activesFaTotal: number;
|
|
3095
3096
|
activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
|
|
@@ -3101,12 +3102,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
3101
3102
|
bookingsSaTotal: number;
|
|
3102
3103
|
bookingsSaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
3103
3104
|
bookingsSaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
|
|
3104
|
-
averageRating: number;
|
|
3105
3105
|
jobsTransitionCounts: Record<string, number>;
|
|
3106
3106
|
jobsFillRate: number;
|
|
3107
3107
|
jobsPositionsAdjusted: number;
|
|
3108
3108
|
jobsOverbooked: number;
|
|
3109
|
-
proofsPostByType: Partial<Record<"
|
|
3109
|
+
proofsPostByType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
3110
3110
|
proofsBookingByType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
|
|
3111
3111
|
bookingsFaOngoing?: number | undefined;
|
|
3112
3112
|
bookingsFaStartingToday?: number | undefined;
|
|
@@ -3120,7 +3120,6 @@ export declare const dashboardWidgetsContract: {
|
|
|
3120
3120
|
agentId: string;
|
|
3121
3121
|
conversionRate: number;
|
|
3122
3122
|
totalCalls: number;
|
|
3123
|
-
agentName: string;
|
|
3124
3123
|
performanceScore: number;
|
|
3125
3124
|
ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
|
|
3126
3125
|
assignmentCalls: number;
|
|
@@ -3130,6 +3129,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
3130
3129
|
ownResearchLeadsAdded: number;
|
|
3131
3130
|
ownResearchLeadsExistingInSystem: number;
|
|
3132
3131
|
ownResearchLeadsNew: number;
|
|
3132
|
+
agentName: string;
|
|
3133
3133
|
callsOnDate: number;
|
|
3134
3134
|
efficientCalls: number;
|
|
3135
3135
|
conversionsOnDate: number;
|
|
@@ -3145,6 +3145,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
3145
3145
|
consentSnoozed: number;
|
|
3146
3146
|
offersSent: number;
|
|
3147
3147
|
offersBooked: number;
|
|
3148
|
+
averageRating: number;
|
|
3148
3149
|
officeName: string | null;
|
|
3149
3150
|
activesFaTotal: number;
|
|
3150
3151
|
activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
|
|
@@ -3156,12 +3157,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
3156
3157
|
bookingsSaTotal: number;
|
|
3157
3158
|
bookingsSaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
3158
3159
|
bookingsSaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
|
|
3159
|
-
averageRating: number;
|
|
3160
3160
|
jobsTransitionCounts: Record<string, number>;
|
|
3161
3161
|
jobsFillRate: number;
|
|
3162
3162
|
jobsPositionsAdjusted: number;
|
|
3163
3163
|
jobsOverbooked: number;
|
|
3164
|
-
proofsPostByType: Partial<Record<"
|
|
3164
|
+
proofsPostByType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
3165
3165
|
proofsBookingByType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
|
|
3166
3166
|
bookingsFaOngoing?: number | undefined;
|
|
3167
3167
|
bookingsFaStartingToday?: number | undefined;
|
|
@@ -3183,7 +3183,6 @@ export declare const dashboardWidgetsContract: {
|
|
|
3183
3183
|
agentId: string;
|
|
3184
3184
|
conversionRate: number;
|
|
3185
3185
|
totalCalls: number;
|
|
3186
|
-
agentName: string;
|
|
3187
3186
|
performanceScore: number;
|
|
3188
3187
|
ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
|
|
3189
3188
|
assignmentCalls: number;
|
|
@@ -3193,6 +3192,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
3193
3192
|
ownResearchLeadsAdded: number;
|
|
3194
3193
|
ownResearchLeadsExistingInSystem: number;
|
|
3195
3194
|
ownResearchLeadsNew: number;
|
|
3195
|
+
agentName: string;
|
|
3196
3196
|
callsOnDate: number;
|
|
3197
3197
|
efficientCalls: number;
|
|
3198
3198
|
conversionsOnDate: number;
|
|
@@ -3208,6 +3208,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
3208
3208
|
consentSnoozed: number;
|
|
3209
3209
|
offersSent: number;
|
|
3210
3210
|
offersBooked: number;
|
|
3211
|
+
averageRating: number;
|
|
3211
3212
|
officeName: string | null;
|
|
3212
3213
|
activesFaTotal: number;
|
|
3213
3214
|
activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
|
|
@@ -3219,12 +3220,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
3219
3220
|
bookingsSaTotal: number;
|
|
3220
3221
|
bookingsSaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
3221
3222
|
bookingsSaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
|
|
3222
|
-
averageRating: number;
|
|
3223
3223
|
jobsTransitionCounts: Record<string, number>;
|
|
3224
3224
|
jobsFillRate: number;
|
|
3225
3225
|
jobsPositionsAdjusted: number;
|
|
3226
3226
|
jobsOverbooked: number;
|
|
3227
|
-
proofsPostByType: Partial<Record<"
|
|
3227
|
+
proofsPostByType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
3228
3228
|
proofsBookingByType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
|
|
3229
3229
|
bookingsFaOngoing?: number | undefined;
|
|
3230
3230
|
bookingsFaStartingToday?: number | undefined;
|
|
@@ -3245,7 +3245,6 @@ export declare const dashboardWidgetsContract: {
|
|
|
3245
3245
|
agentId: string;
|
|
3246
3246
|
conversionRate: number;
|
|
3247
3247
|
totalCalls: number;
|
|
3248
|
-
agentName: string;
|
|
3249
3248
|
performanceScore: number;
|
|
3250
3249
|
ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
|
|
3251
3250
|
assignmentCalls: number;
|
|
@@ -3255,6 +3254,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
3255
3254
|
ownResearchLeadsAdded: number;
|
|
3256
3255
|
ownResearchLeadsExistingInSystem: number;
|
|
3257
3256
|
ownResearchLeadsNew: number;
|
|
3257
|
+
agentName: string;
|
|
3258
3258
|
callsOnDate: number;
|
|
3259
3259
|
efficientCalls: number;
|
|
3260
3260
|
conversionsOnDate: number;
|
|
@@ -3270,6 +3270,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
3270
3270
|
consentSnoozed: number;
|
|
3271
3271
|
offersSent: number;
|
|
3272
3272
|
offersBooked: number;
|
|
3273
|
+
averageRating: number;
|
|
3273
3274
|
officeName: string | null;
|
|
3274
3275
|
activesFaTotal: number;
|
|
3275
3276
|
activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
|
|
@@ -3281,12 +3282,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
3281
3282
|
bookingsSaTotal: number;
|
|
3282
3283
|
bookingsSaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
3283
3284
|
bookingsSaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
|
|
3284
|
-
averageRating: number;
|
|
3285
3285
|
jobsTransitionCounts: Record<string, number>;
|
|
3286
3286
|
jobsFillRate: number;
|
|
3287
3287
|
jobsPositionsAdjusted: number;
|
|
3288
3288
|
jobsOverbooked: number;
|
|
3289
|
-
proofsPostByType: Partial<Record<"
|
|
3289
|
+
proofsPostByType: Partial<Record<"WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
|
|
3290
3290
|
proofsBookingByType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
|
|
3291
3291
|
bookingsFaOngoing?: number | undefined;
|
|
3292
3292
|
bookingsFaStartingToday?: number | undefined;
|
|
@@ -3566,9 +3566,16 @@ export declare const dashboardWidgetsContract: {
|
|
|
3566
3566
|
}>;
|
|
3567
3567
|
agentCount: z.ZodNumber;
|
|
3568
3568
|
}, "strip", z.ZodTypeAny, {
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3569
|
+
jobs: {
|
|
3570
|
+
filledPositions: number;
|
|
3571
|
+
createdToday: number;
|
|
3572
|
+
totalOpenPositions: number;
|
|
3573
|
+
availableJobs: number;
|
|
3574
|
+
transitionCounts: Record<string, number>;
|
|
3575
|
+
fillRate: number;
|
|
3576
|
+
positionsAdjusted: number;
|
|
3577
|
+
positionsNetChange: number;
|
|
3578
|
+
overbookedCount: number;
|
|
3572
3579
|
};
|
|
3573
3580
|
bookings: {
|
|
3574
3581
|
forToday: {
|
|
@@ -3600,16 +3607,9 @@ export declare const dashboardWidgetsContract: {
|
|
|
3600
3607
|
pendingConfirmation: number;
|
|
3601
3608
|
upcomingStarts: number;
|
|
3602
3609
|
};
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
totalOpenPositions: number;
|
|
3607
|
-
availableJobs: number;
|
|
3608
|
-
transitionCounts: Record<string, number>;
|
|
3609
|
-
fillRate: number;
|
|
3610
|
-
positionsAdjusted: number;
|
|
3611
|
-
positionsNetChange: number;
|
|
3612
|
-
overbookedCount: number;
|
|
3610
|
+
actives: {
|
|
3611
|
+
total: number;
|
|
3612
|
+
byStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
|
|
3613
3613
|
};
|
|
3614
3614
|
callMetrics: {
|
|
3615
3615
|
conversionRate: number;
|
|
@@ -3629,9 +3629,16 @@ export declare const dashboardWidgetsContract: {
|
|
|
3629
3629
|
};
|
|
3630
3630
|
agentCount: number;
|
|
3631
3631
|
}, {
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3632
|
+
jobs: {
|
|
3633
|
+
filledPositions: number;
|
|
3634
|
+
createdToday: number;
|
|
3635
|
+
totalOpenPositions: number;
|
|
3636
|
+
availableJobs: number;
|
|
3637
|
+
transitionCounts: Record<string, number>;
|
|
3638
|
+
fillRate: number;
|
|
3639
|
+
positionsAdjusted: number;
|
|
3640
|
+
positionsNetChange: number;
|
|
3641
|
+
overbookedCount: number;
|
|
3635
3642
|
};
|
|
3636
3643
|
bookings: {
|
|
3637
3644
|
forToday: {
|
|
@@ -3663,16 +3670,9 @@ export declare const dashboardWidgetsContract: {
|
|
|
3663
3670
|
pendingConfirmation: number;
|
|
3664
3671
|
upcomingStarts: number;
|
|
3665
3672
|
};
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
totalOpenPositions: number;
|
|
3670
|
-
availableJobs: number;
|
|
3671
|
-
transitionCounts: Record<string, number>;
|
|
3672
|
-
fillRate: number;
|
|
3673
|
-
positionsAdjusted: number;
|
|
3674
|
-
positionsNetChange: number;
|
|
3675
|
-
overbookedCount: number;
|
|
3673
|
+
actives: {
|
|
3674
|
+
total: number;
|
|
3675
|
+
byStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
|
|
3676
3676
|
};
|
|
3677
3677
|
callMetrics: {
|
|
3678
3678
|
conversionRate: number;
|
|
@@ -3878,9 +3878,9 @@ export declare const dashboardWidgetsContract: {
|
|
|
3878
3878
|
}>;
|
|
3879
3879
|
agentCount: z.ZodNumber;
|
|
3880
3880
|
}, "strip", z.ZodTypeAny, {
|
|
3881
|
-
|
|
3881
|
+
workers: {
|
|
3882
3882
|
total: number;
|
|
3883
|
-
|
|
3883
|
+
addedToday: number;
|
|
3884
3884
|
};
|
|
3885
3885
|
bookings: {
|
|
3886
3886
|
forToday: {
|
|
@@ -3912,15 +3912,15 @@ export declare const dashboardWidgetsContract: {
|
|
|
3912
3912
|
pendingConfirmation: number;
|
|
3913
3913
|
upcomingStarts: number;
|
|
3914
3914
|
};
|
|
3915
|
-
|
|
3915
|
+
actives: {
|
|
3916
3916
|
total: number;
|
|
3917
|
-
|
|
3917
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
|
|
3918
3918
|
};
|
|
3919
3919
|
agentCount: number;
|
|
3920
3920
|
}, {
|
|
3921
|
-
|
|
3921
|
+
workers: {
|
|
3922
3922
|
total: number;
|
|
3923
|
-
|
|
3923
|
+
addedToday: number;
|
|
3924
3924
|
};
|
|
3925
3925
|
bookings: {
|
|
3926
3926
|
forToday: {
|
|
@@ -3952,9 +3952,9 @@ export declare const dashboardWidgetsContract: {
|
|
|
3952
3952
|
pendingConfirmation: number;
|
|
3953
3953
|
upcomingStarts: number;
|
|
3954
3954
|
};
|
|
3955
|
-
|
|
3955
|
+
actives: {
|
|
3956
3956
|
total: number;
|
|
3957
|
-
|
|
3957
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
|
|
3958
3958
|
};
|
|
3959
3959
|
agentCount: number;
|
|
3960
3960
|
}>;
|
|
@@ -4284,11 +4284,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
4284
4284
|
}, "strip", z.ZodTypeAny, {
|
|
4285
4285
|
date: string;
|
|
4286
4286
|
created: number;
|
|
4287
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
4287
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
4288
4288
|
}, {
|
|
4289
4289
|
date: string;
|
|
4290
4290
|
created: number;
|
|
4291
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
4291
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
4292
4292
|
}>, "many">;
|
|
4293
4293
|
summary: z.ZodObject<{
|
|
4294
4294
|
totalCreated: z.ZodNumber;
|
|
@@ -4308,7 +4308,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
4308
4308
|
data: {
|
|
4309
4309
|
date: string;
|
|
4310
4310
|
created: number;
|
|
4311
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
4311
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
4312
4312
|
}[];
|
|
4313
4313
|
}, {
|
|
4314
4314
|
summary: {
|
|
@@ -4318,7 +4318,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
4318
4318
|
data: {
|
|
4319
4319
|
date: string;
|
|
4320
4320
|
created: number;
|
|
4321
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
4321
|
+
byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "APPROVED" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
4322
4322
|
}[];
|
|
4323
4323
|
}>;
|
|
4324
4324
|
};
|
|
@@ -4824,11 +4824,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
4824
4824
|
}, "strip", z.ZodTypeAny, {
|
|
4825
4825
|
date: string;
|
|
4826
4826
|
total: number;
|
|
4827
|
-
byOutcome: Partial<Record<"CONSENTED" | "
|
|
4827
|
+
byOutcome: Partial<Record<"CONSENTED" | "BOOKED" | "NOT_INTERESTED" | "WRONG_NUMBER" | "OFFER_SENT" | "TOO_FAR" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
|
|
4828
4828
|
}, {
|
|
4829
4829
|
date: string;
|
|
4830
4830
|
total: number;
|
|
4831
|
-
byOutcome: Partial<Record<"CONSENTED" | "
|
|
4831
|
+
byOutcome: Partial<Record<"CONSENTED" | "BOOKED" | "NOT_INTERESTED" | "WRONG_NUMBER" | "OFFER_SENT" | "TOO_FAR" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
|
|
4832
4832
|
}>, "many">;
|
|
4833
4833
|
summary: z.ZodObject<{
|
|
4834
4834
|
averageDaily: z.ZodNumber;
|
|
@@ -4852,7 +4852,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
4852
4852
|
data: {
|
|
4853
4853
|
date: string;
|
|
4854
4854
|
total: number;
|
|
4855
|
-
byOutcome: Partial<Record<"CONSENTED" | "
|
|
4855
|
+
byOutcome: Partial<Record<"CONSENTED" | "BOOKED" | "NOT_INTERESTED" | "WRONG_NUMBER" | "OFFER_SENT" | "TOO_FAR" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
|
|
4856
4856
|
}[];
|
|
4857
4857
|
}, {
|
|
4858
4858
|
summary: {
|
|
@@ -4863,7 +4863,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
4863
4863
|
data: {
|
|
4864
4864
|
date: string;
|
|
4865
4865
|
total: number;
|
|
4866
|
-
byOutcome: Partial<Record<"CONSENTED" | "
|
|
4866
|
+
byOutcome: Partial<Record<"CONSENTED" | "BOOKED" | "NOT_INTERESTED" | "WRONG_NUMBER" | "OFFER_SENT" | "TOO_FAR" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
|
|
4867
4867
|
}[];
|
|
4868
4868
|
}>;
|
|
4869
4869
|
};
|
|
@@ -4895,11 +4895,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
4895
4895
|
}, "strip", z.ZodTypeAny, {
|
|
4896
4896
|
date: string;
|
|
4897
4897
|
total: number;
|
|
4898
|
-
byOutcome: Partial<Record<"CONSENTED" | "
|
|
4898
|
+
byOutcome: Partial<Record<"CONSENTED" | "BOOKED" | "NOT_INTERESTED" | "WRONG_NUMBER" | "OFFER_SENT" | "TOO_FAR" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
|
|
4899
4899
|
}, {
|
|
4900
4900
|
date: string;
|
|
4901
4901
|
total: number;
|
|
4902
|
-
byOutcome: Partial<Record<"CONSENTED" | "
|
|
4902
|
+
byOutcome: Partial<Record<"CONSENTED" | "BOOKED" | "NOT_INTERESTED" | "WRONG_NUMBER" | "OFFER_SENT" | "TOO_FAR" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
|
|
4903
4903
|
}>, "many">;
|
|
4904
4904
|
summary: z.ZodObject<{
|
|
4905
4905
|
averageDaily: z.ZodNumber;
|
|
@@ -4923,7 +4923,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
4923
4923
|
data: {
|
|
4924
4924
|
date: string;
|
|
4925
4925
|
total: number;
|
|
4926
|
-
byOutcome: Partial<Record<"CONSENTED" | "
|
|
4926
|
+
byOutcome: Partial<Record<"CONSENTED" | "BOOKED" | "NOT_INTERESTED" | "WRONG_NUMBER" | "OFFER_SENT" | "TOO_FAR" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
|
|
4927
4927
|
}[];
|
|
4928
4928
|
}, {
|
|
4929
4929
|
summary: {
|
|
@@ -4934,7 +4934,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
4934
4934
|
data: {
|
|
4935
4935
|
date: string;
|
|
4936
4936
|
total: number;
|
|
4937
|
-
byOutcome: Partial<Record<"CONSENTED" | "
|
|
4937
|
+
byOutcome: Partial<Record<"CONSENTED" | "BOOKED" | "NOT_INTERESTED" | "WRONG_NUMBER" | "OFFER_SENT" | "TOO_FAR" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
|
|
4938
4938
|
}[];
|
|
4939
4939
|
}>;
|
|
4940
4940
|
};
|