@dakkitor/api-contracts 1.7.1 → 1.9.1
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 +1 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +1 -0
- package/dist/abilities/abilities.contract.spec.js +50 -19
- package/dist/abilities/interconnection.abilities.json +6 -0
- package/dist/abilities/outreach.abilities.json +0 -7
- package/dist/abilities/second-agent.abilities.json +18 -91
- package/dist/abilities/team-leads.json +1 -0
- package/dist/abilities/worker-curator.abilities.json +2 -0
- package/dist/actives/actives.contract.d.ts +7083 -6905
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1645 -1543
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +73 -67
- package/dist/auth/auth.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.js +1 -0
- package/dist/bookings/backdate-guard.spec.d.ts +2 -0
- package/dist/bookings/backdate-guard.spec.d.ts.map +1 -0
- package/dist/bookings/backdate-guard.spec.js +80 -0
- package/dist/bookings/bookings.contract.d.ts +11169 -10843
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +26 -2
- package/dist/call-history/call-history.contract.d.ts +913 -876
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +126 -119
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +13397 -0
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.js +206 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts +2 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.js +193 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +290 -290
- package/dist/clients/clients.contract.d.ts +110 -110
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3052 -2948
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +2640 -2543
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/common/common-schemas.d.ts +13 -13
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -0
- package/dist/common/nino.d.ts +8 -0
- package/dist/common/nino.d.ts.map +1 -0
- package/dist/common/nino.js +26 -0
- package/dist/common/nino.spec.d.ts +2 -0
- package/dist/common/nino.spec.d.ts.map +1 -0
- package/dist/common/nino.spec.js +32 -0
- package/dist/companies/companies.contract.d.ts +30 -30
- package/dist/crews/crews.contract.d.ts +300 -300
- package/dist/cron-executions/cron-executions.contract.d.ts +26 -13
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +2 -0
- package/dist/cron-executions/cron-executions.contract.spec.d.ts +2 -0
- package/dist/cron-executions/cron-executions.contract.spec.d.ts.map +1 -0
- package/dist/cron-executions/cron-executions.contract.spec.js +27 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts +2 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.js +59 -0
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +3483 -2798
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +59 -10
- package/dist/curated-worker-leads/candidate-coordination.contract.spec.js +11 -0
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +429 -386
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/contact-history.spec.js +56 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +2 -85
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.js +17 -41
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts +2 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.js +30 -0
- package/dist/curated-worker-leads/job-feed-match-counts.contract.spec.js +30 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +5821 -5144
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +64 -12
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +96 -96
- package/dist/curated-workers/curated-workers.contract.d.ts +1518 -1307
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +37 -6
- package/dist/dashboards/dashboard-widgets.contract.d.ts +425 -455
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +1 -11
- package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.retirement.spec.js +22 -0
- package/dist/dashboards/dashboard.contract.d.ts +16 -16
- package/dist/document-intake/document-intake.automation.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.automation.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.automation.spec.js +469 -0
- package/dist/document-intake/document-intake.card-side.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.card-side.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.card-side.spec.js +51 -0
- package/dist/document-intake/document-intake.contract.d.ts +9421 -1071
- package/dist/document-intake/document-intake.contract.d.ts.map +1 -1
- package/dist/document-intake/document-intake.contract.js +219 -5
- package/dist/document-intake/document-intake.contract.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.contract.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.contract.spec.js +37 -0
- package/dist/document-intake/document-intake.nino.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.nino.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.nino.spec.js +42 -0
- package/dist/export-jobs/export-jobs.contract.d.ts +670 -670
- package/dist/exports-events/exports-events.schemas.d.ts +4 -4
- package/dist/files/files.contract.d.ts +36 -36
- package/dist/index.d.ts +21 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -9
- package/dist/job-clusters/job-clusters.contract.d.ts +52 -52
- package/dist/jobs/jobs.contract.d.ts +8714 -8456
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +102 -102
- package/dist/lead-assignments/lead-assignments.contract.d.ts +1290 -1219
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +330 -306
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +10 -10
- package/dist/leads/leads.contract.d.ts +245 -245
- package/dist/locations/locations.contract.d.ts +46 -46
- package/dist/notifications/notifications.contract.d.ts +85 -85
- package/dist/offices/offices.contract.d.ts +24 -24
- package/dist/outreach/__tests__/outreach-claim.test.js +33 -0
- package/dist/outreach/__tests__/outreach-contract-additions.spec.js +27 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +8 -0
- package/dist/outreach/lab-outreach.contract.d.ts +48 -48
- package/dist/outreach/outreach-requests.contract.d.ts +272 -272
- package/dist/outreach/outreach-requests.schemas.d.ts +14 -14
- package/dist/outreach/outreach.contract.d.ts +583 -162
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +50 -1
- package/dist/outreach/outreach.schemas.d.ts +2 -2
- package/dist/outreach/relay-hub-outreach.contract.d.ts +1334 -0
- package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.contract.js +113 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.js +145 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts +94 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.schemas.js +15 -0
- package/dist/own-research/check-phone-response.spec.d.ts +2 -0
- package/dist/own-research/check-phone-response.spec.d.ts.map +1 -0
- package/dist/own-research/check-phone-response.spec.js +54 -0
- package/dist/own-research/own-research.contract.d.ts +1152 -1067
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +6 -1
- package/dist/proofs/proofs.contract.d.ts +196 -196
- package/dist/proofs/proofs.dtos.d.ts +104 -104
- package/dist/qualifications/qualifications.contract.d.ts +22 -22
- package/dist/realtime/realtime-telemetry.contract.d.ts +181 -0
- package/dist/realtime/realtime-telemetry.contract.d.ts.map +1 -0
- package/dist/realtime/realtime-telemetry.contract.js +81 -0
- package/dist/realtime/realtime-telemetry.contract.spec.d.ts +2 -0
- package/dist/realtime/realtime-telemetry.contract.spec.d.ts.map +1 -0
- package/dist/realtime/realtime-telemetry.contract.spec.js +41 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.d.ts +9 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.d.ts.map +1 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.js +17 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts +2 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts.map +1 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.js +20 -0
- package/dist/relay-pods/relay-hub.contract.d.ts +1463 -0
- package/dist/relay-pods/relay-hub.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.contract.js +140 -0
- package/dist/relay-pods/relay-hub.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-hub.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.contract.spec.js +180 -0
- package/dist/relay-pods/relay-hub.schemas.d.ts +577 -0
- package/dist/relay-pods/relay-hub.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.schemas.js +158 -0
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts +81 -81
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +53 -53
- package/dist/{curated-worker-leads/lead-agent-area.contract.d.ts → relay-pods/relay-pod-members.contract.d.ts} +233 -126
- package/dist/relay-pods/relay-pod-members.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-members.contract.js +73 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts +58 -58
- package/dist/relay-pods/relay-pods.contract.d.ts +169 -169
- package/dist/relay-pods/relay-pods.schemas.d.ts +46 -46
- package/dist/shared/summary-schemas.d.ts +10 -10
- package/dist/sheets-sync/__tests__/sheets-sync-events.schemas.test.js +22 -2
- package/dist/sheets-sync/sheets-sync-events.schemas.d.ts +30 -0
- package/dist/sheets-sync/sheets-sync-events.schemas.d.ts.map +1 -1
- package/dist/sheets-sync/sheets-sync-events.schemas.js +16 -1
- package/dist/sheets-sync/sheets-sync.contract.d.ts +829 -262
- package/dist/sheets-sync/sheets-sync.contract.d.ts.map +1 -1
- package/dist/sheets-sync/sheets-sync.contract.js +156 -34
- package/dist/telegram/telegram.contract.d.ts +12 -12
- package/dist/trades/trades.contract.d.ts +16 -16
- package/dist/user-access-grants/user-access-grants.contract.d.ts +383 -383
- package/dist/users/__tests__/assignable-roles.spec.js +1 -1
- package/dist/users/users.contract.d.ts +462 -431
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +19 -8
- package/dist/users/users.contract.spec.js +54 -0
- package/dist/voice-screener/voice-screener.contract.d.ts +237 -0
- package/dist/voice-screener/voice-screener.contract.d.ts.map +1 -0
- package/dist/voice-screener/voice-screener.contract.js +89 -0
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +500 -260
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
- package/dist/worker-identity-cases/worker-identity-cases.contract.js +17 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +130 -130
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +151 -151
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +15 -15
- package/dist/workers/do-not-contact.contract.d.ts +4 -4
- package/dist/workers/qualification-back-proof.spec.d.ts +2 -0
- package/dist/workers/qualification-back-proof.spec.d.ts.map +1 -0
- package/dist/workers/qualification-back-proof.spec.js +39 -0
- package/dist/workers/workers.contract.d.ts +3416 -3178
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +17 -0
- package/package.json +1 -1
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +0 -4527
- package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/consent-queue.contract.js +0 -201
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +0 -135
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/curated-worker-leads.contract.js +0 -32
- package/dist/curated-worker-leads/lead-agent-area.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/lead-agent-area.contract.js +0 -51
|
@@ -9,14 +9,14 @@ export declare const ClientContactUserSchema: z.ZodObject<{
|
|
|
9
9
|
email: z.ZodString;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
id: string;
|
|
12
|
-
firstName: string;
|
|
13
|
-
lastName: string;
|
|
14
12
|
email: string;
|
|
13
|
+
lastName: string;
|
|
14
|
+
firstName: string;
|
|
15
15
|
}, {
|
|
16
16
|
id: string;
|
|
17
|
-
firstName: string;
|
|
18
|
-
lastName: string;
|
|
19
17
|
email: string;
|
|
18
|
+
lastName: string;
|
|
19
|
+
firstName: string;
|
|
20
20
|
}>;
|
|
21
21
|
export declare const ClientContactSchema: z.ZodObject<{
|
|
22
22
|
id: z.ZodString;
|
|
@@ -37,14 +37,14 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
37
37
|
email: z.ZodString;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
id: string;
|
|
40
|
-
firstName: string;
|
|
41
|
-
lastName: string;
|
|
42
40
|
email: string;
|
|
41
|
+
lastName: string;
|
|
42
|
+
firstName: string;
|
|
43
43
|
}, {
|
|
44
44
|
id: string;
|
|
45
|
-
firstName: string;
|
|
46
|
-
lastName: string;
|
|
47
45
|
email: string;
|
|
46
|
+
lastName: string;
|
|
47
|
+
firstName: string;
|
|
48
48
|
}>>>;
|
|
49
49
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
50
50
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -59,8 +59,8 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
59
59
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
60
60
|
id: string;
|
|
61
61
|
name: string;
|
|
62
|
-
createdAt: string;
|
|
63
62
|
updatedAt: string;
|
|
63
|
+
createdAt: string;
|
|
64
64
|
crn: string | null;
|
|
65
65
|
govLink: string | null;
|
|
66
66
|
director: string;
|
|
@@ -71,16 +71,16 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
71
71
|
} | null | undefined;
|
|
72
72
|
lastUpdatedBy?: {
|
|
73
73
|
id: string;
|
|
74
|
-
firstName: string;
|
|
75
|
-
lastName: string;
|
|
76
74
|
email: string;
|
|
75
|
+
lastName: string;
|
|
76
|
+
firstName: string;
|
|
77
77
|
} | null | undefined;
|
|
78
78
|
}, {
|
|
79
79
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
80
80
|
id: string;
|
|
81
81
|
name: string;
|
|
82
|
-
createdAt: string | Date;
|
|
83
82
|
updatedAt: string | Date;
|
|
83
|
+
createdAt: string | Date;
|
|
84
84
|
crn: string | null;
|
|
85
85
|
govLink: string | null;
|
|
86
86
|
director: string;
|
|
@@ -91,9 +91,9 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
91
91
|
} | null | undefined;
|
|
92
92
|
lastUpdatedBy?: {
|
|
93
93
|
id: string;
|
|
94
|
-
firstName: string;
|
|
95
|
-
lastName: string;
|
|
96
94
|
email: string;
|
|
95
|
+
lastName: string;
|
|
96
|
+
firstName: string;
|
|
97
97
|
} | null | undefined;
|
|
98
98
|
}>;
|
|
99
99
|
name: z.ZodString;
|
|
@@ -108,14 +108,14 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
108
108
|
email: z.ZodString;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
110
|
id: string;
|
|
111
|
-
firstName: string;
|
|
112
|
-
lastName: string;
|
|
113
111
|
email: string;
|
|
112
|
+
lastName: string;
|
|
113
|
+
firstName: string;
|
|
114
114
|
}, {
|
|
115
115
|
id: string;
|
|
116
|
-
firstName: string;
|
|
117
|
-
lastName: string;
|
|
118
116
|
email: string;
|
|
117
|
+
lastName: string;
|
|
118
|
+
firstName: string;
|
|
119
119
|
}>;
|
|
120
120
|
createdById: z.ZodString;
|
|
121
121
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -123,18 +123,16 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
124
|
id: string;
|
|
125
125
|
name: string;
|
|
126
|
-
email: string | null;
|
|
127
|
-
createdAt: string;
|
|
128
126
|
updatedAt: string;
|
|
129
|
-
|
|
127
|
+
createdAt: string;
|
|
130
128
|
clientId: string;
|
|
131
129
|
createdById: string;
|
|
132
130
|
client: {
|
|
133
131
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
134
132
|
id: string;
|
|
135
133
|
name: string;
|
|
136
|
-
createdAt: string;
|
|
137
134
|
updatedAt: string;
|
|
135
|
+
createdAt: string;
|
|
138
136
|
crn: string | null;
|
|
139
137
|
govLink: string | null;
|
|
140
138
|
director: string;
|
|
@@ -145,34 +143,34 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
145
143
|
} | null | undefined;
|
|
146
144
|
lastUpdatedBy?: {
|
|
147
145
|
id: string;
|
|
148
|
-
firstName: string;
|
|
149
|
-
lastName: string;
|
|
150
146
|
email: string;
|
|
147
|
+
lastName: string;
|
|
148
|
+
firstName: string;
|
|
151
149
|
} | null | undefined;
|
|
152
150
|
};
|
|
151
|
+
phone: string;
|
|
152
|
+
email: string | null;
|
|
153
153
|
createdBy: {
|
|
154
154
|
id: string;
|
|
155
|
-
firstName: string;
|
|
156
|
-
lastName: string;
|
|
157
155
|
email: string;
|
|
156
|
+
lastName: string;
|
|
157
|
+
firstName: string;
|
|
158
158
|
};
|
|
159
159
|
position?: string | null | undefined;
|
|
160
160
|
source?: string | null | undefined;
|
|
161
161
|
}, {
|
|
162
162
|
id: string;
|
|
163
163
|
name: string;
|
|
164
|
-
email: string | null;
|
|
165
|
-
createdAt: string | Date;
|
|
166
164
|
updatedAt: string | Date;
|
|
167
|
-
|
|
165
|
+
createdAt: string | Date;
|
|
168
166
|
clientId: string;
|
|
169
167
|
createdById: string;
|
|
170
168
|
client: {
|
|
171
169
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
172
170
|
id: string;
|
|
173
171
|
name: string;
|
|
174
|
-
createdAt: string | Date;
|
|
175
172
|
updatedAt: string | Date;
|
|
173
|
+
createdAt: string | Date;
|
|
176
174
|
crn: string | null;
|
|
177
175
|
govLink: string | null;
|
|
178
176
|
director: string;
|
|
@@ -183,16 +181,18 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
183
181
|
} | null | undefined;
|
|
184
182
|
lastUpdatedBy?: {
|
|
185
183
|
id: string;
|
|
186
|
-
firstName: string;
|
|
187
|
-
lastName: string;
|
|
188
184
|
email: string;
|
|
185
|
+
lastName: string;
|
|
186
|
+
firstName: string;
|
|
189
187
|
} | null | undefined;
|
|
190
188
|
};
|
|
189
|
+
phone: string;
|
|
190
|
+
email: string | null;
|
|
191
191
|
createdBy: {
|
|
192
192
|
id: string;
|
|
193
|
-
firstName: string;
|
|
194
|
-
lastName: string;
|
|
195
193
|
email: string;
|
|
194
|
+
lastName: string;
|
|
195
|
+
firstName: string;
|
|
196
196
|
};
|
|
197
197
|
position?: string | null | undefined;
|
|
198
198
|
source?: string | null | undefined;
|
|
@@ -212,21 +212,21 @@ export declare const CreateClientContactSchema: z.ZodObject<{
|
|
|
212
212
|
source: z.ZodOptional<z.ZodString>;
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
214
|
name: string;
|
|
215
|
-
phone: string;
|
|
216
215
|
client: {
|
|
217
216
|
id: string;
|
|
218
217
|
};
|
|
219
|
-
|
|
218
|
+
phone: string;
|
|
220
219
|
position?: string | undefined;
|
|
220
|
+
email?: string | undefined;
|
|
221
221
|
source?: string | undefined;
|
|
222
222
|
}, {
|
|
223
223
|
name: string;
|
|
224
|
-
phone: string;
|
|
225
224
|
client: {
|
|
226
225
|
id: string;
|
|
227
226
|
};
|
|
228
|
-
|
|
227
|
+
phone: string;
|
|
229
228
|
position?: string | undefined;
|
|
229
|
+
email?: string | undefined;
|
|
230
230
|
source?: string | undefined;
|
|
231
231
|
}>;
|
|
232
232
|
export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
@@ -245,14 +245,14 @@ export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
|
245
245
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
246
246
|
name: string;
|
|
247
247
|
phone: string;
|
|
248
|
-
email?: string | undefined;
|
|
249
248
|
position?: string | undefined;
|
|
249
|
+
email?: string | undefined;
|
|
250
250
|
source?: string | undefined;
|
|
251
251
|
}, {
|
|
252
252
|
name: string;
|
|
253
253
|
phone: string;
|
|
254
|
-
email?: string | undefined;
|
|
255
254
|
position?: string | undefined;
|
|
255
|
+
email?: string | undefined;
|
|
256
256
|
source?: string | undefined;
|
|
257
257
|
}>;
|
|
258
258
|
export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
@@ -270,15 +270,15 @@ export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
|
270
270
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
271
271
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
272
272
|
name?: string | undefined;
|
|
273
|
-
email?: string | undefined;
|
|
274
|
-
phone?: string | undefined;
|
|
275
273
|
position?: string | undefined;
|
|
274
|
+
phone?: string | undefined;
|
|
275
|
+
email?: string | undefined;
|
|
276
276
|
source?: string | undefined;
|
|
277
277
|
}, {
|
|
278
278
|
name?: string | undefined;
|
|
279
|
-
email?: string | undefined;
|
|
280
|
-
phone?: string | undefined;
|
|
281
279
|
position?: string | undefined;
|
|
280
|
+
phone?: string | undefined;
|
|
281
|
+
email?: string | undefined;
|
|
282
282
|
source?: string | undefined;
|
|
283
283
|
}>;
|
|
284
284
|
export declare const FilterClientContactSchema: z.ZodObject<{
|
|
@@ -296,39 +296,39 @@ export declare const FilterClientContactSchema: z.ZodObject<{
|
|
|
296
296
|
field: z.ZodEnum<["name", "position", "email", "createdAt", "updatedAt"]>;
|
|
297
297
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
298
298
|
}, "strip", z.ZodTypeAny, {
|
|
299
|
-
field: "name" | "
|
|
299
|
+
field: "name" | "updatedAt" | "createdAt" | "position" | "email";
|
|
300
300
|
order: "ASC" | "DESC";
|
|
301
301
|
}, {
|
|
302
|
-
field: "name" | "
|
|
302
|
+
field: "name" | "updatedAt" | "createdAt" | "position" | "email";
|
|
303
303
|
order: "ASC" | "DESC";
|
|
304
304
|
}>, "many">>>;
|
|
305
305
|
}, "strip", z.ZodTypeAny, {
|
|
306
|
-
limit: number;
|
|
307
306
|
page: number;
|
|
307
|
+
limit: number;
|
|
308
308
|
sort?: {
|
|
309
|
-
field: "name" | "
|
|
309
|
+
field: "name" | "updatedAt" | "createdAt" | "position" | "email";
|
|
310
310
|
order: "ASC" | "DESC";
|
|
311
311
|
}[] | null | undefined;
|
|
312
312
|
name?: string | undefined;
|
|
313
|
-
email?: string | undefined;
|
|
314
|
-
phone?: string | undefined;
|
|
315
313
|
clientId?: string | undefined;
|
|
316
314
|
createdById?: string | undefined;
|
|
317
315
|
position?: string | undefined;
|
|
316
|
+
phone?: string | undefined;
|
|
317
|
+
email?: string | undefined;
|
|
318
318
|
source?: string | undefined;
|
|
319
319
|
}, {
|
|
320
320
|
sort?: {
|
|
321
|
-
field: "name" | "
|
|
321
|
+
field: "name" | "updatedAt" | "createdAt" | "position" | "email";
|
|
322
322
|
order: "ASC" | "DESC";
|
|
323
323
|
}[] | null | undefined;
|
|
324
|
-
name?: string | undefined;
|
|
325
|
-
limit?: number | undefined;
|
|
326
324
|
page?: number | undefined;
|
|
327
|
-
|
|
328
|
-
|
|
325
|
+
limit?: number | undefined;
|
|
326
|
+
name?: string | undefined;
|
|
329
327
|
clientId?: string | undefined;
|
|
330
328
|
createdById?: string | undefined;
|
|
331
329
|
position?: string | undefined;
|
|
330
|
+
phone?: string | undefined;
|
|
331
|
+
email?: string | undefined;
|
|
332
332
|
source?: string | undefined;
|
|
333
333
|
}>;
|
|
334
334
|
export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
@@ -351,14 +351,14 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
351
351
|
email: z.ZodString;
|
|
352
352
|
}, "strip", z.ZodTypeAny, {
|
|
353
353
|
id: string;
|
|
354
|
-
firstName: string;
|
|
355
|
-
lastName: string;
|
|
356
354
|
email: string;
|
|
355
|
+
lastName: string;
|
|
356
|
+
firstName: string;
|
|
357
357
|
}, {
|
|
358
358
|
id: string;
|
|
359
|
-
firstName: string;
|
|
360
|
-
lastName: string;
|
|
361
359
|
email: string;
|
|
360
|
+
lastName: string;
|
|
361
|
+
firstName: string;
|
|
362
362
|
}>>>;
|
|
363
363
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
364
364
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -373,8 +373,8 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
373
373
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
374
374
|
id: string;
|
|
375
375
|
name: string;
|
|
376
|
-
createdAt: string;
|
|
377
376
|
updatedAt: string;
|
|
377
|
+
createdAt: string;
|
|
378
378
|
crn: string | null;
|
|
379
379
|
govLink: string | null;
|
|
380
380
|
director: string;
|
|
@@ -385,16 +385,16 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
385
385
|
} | null | undefined;
|
|
386
386
|
lastUpdatedBy?: {
|
|
387
387
|
id: string;
|
|
388
|
-
firstName: string;
|
|
389
|
-
lastName: string;
|
|
390
388
|
email: string;
|
|
389
|
+
lastName: string;
|
|
390
|
+
firstName: string;
|
|
391
391
|
} | null | undefined;
|
|
392
392
|
}, {
|
|
393
393
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
394
394
|
id: string;
|
|
395
395
|
name: string;
|
|
396
|
-
createdAt: string | Date;
|
|
397
396
|
updatedAt: string | Date;
|
|
397
|
+
createdAt: string | Date;
|
|
398
398
|
crn: string | null;
|
|
399
399
|
govLink: string | null;
|
|
400
400
|
director: string;
|
|
@@ -405,9 +405,9 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
405
405
|
} | null | undefined;
|
|
406
406
|
lastUpdatedBy?: {
|
|
407
407
|
id: string;
|
|
408
|
-
firstName: string;
|
|
409
|
-
lastName: string;
|
|
410
408
|
email: string;
|
|
409
|
+
lastName: string;
|
|
410
|
+
firstName: string;
|
|
411
411
|
} | null | undefined;
|
|
412
412
|
}>;
|
|
413
413
|
name: z.ZodString;
|
|
@@ -422,14 +422,14 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
422
422
|
email: z.ZodString;
|
|
423
423
|
}, "strip", z.ZodTypeAny, {
|
|
424
424
|
id: string;
|
|
425
|
-
firstName: string;
|
|
426
|
-
lastName: string;
|
|
427
425
|
email: string;
|
|
426
|
+
lastName: string;
|
|
427
|
+
firstName: string;
|
|
428
428
|
}, {
|
|
429
429
|
id: string;
|
|
430
|
-
firstName: string;
|
|
431
|
-
lastName: string;
|
|
432
430
|
email: string;
|
|
431
|
+
lastName: string;
|
|
432
|
+
firstName: string;
|
|
433
433
|
}>;
|
|
434
434
|
createdById: z.ZodString;
|
|
435
435
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -437,18 +437,16 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
437
437
|
}, "strip", z.ZodTypeAny, {
|
|
438
438
|
id: string;
|
|
439
439
|
name: string;
|
|
440
|
-
email: string | null;
|
|
441
|
-
createdAt: string;
|
|
442
440
|
updatedAt: string;
|
|
443
|
-
|
|
441
|
+
createdAt: string;
|
|
444
442
|
clientId: string;
|
|
445
443
|
createdById: string;
|
|
446
444
|
client: {
|
|
447
445
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
448
446
|
id: string;
|
|
449
447
|
name: string;
|
|
450
|
-
createdAt: string;
|
|
451
448
|
updatedAt: string;
|
|
449
|
+
createdAt: string;
|
|
452
450
|
crn: string | null;
|
|
453
451
|
govLink: string | null;
|
|
454
452
|
director: string;
|
|
@@ -459,34 +457,34 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
459
457
|
} | null | undefined;
|
|
460
458
|
lastUpdatedBy?: {
|
|
461
459
|
id: string;
|
|
462
|
-
firstName: string;
|
|
463
|
-
lastName: string;
|
|
464
460
|
email: string;
|
|
461
|
+
lastName: string;
|
|
462
|
+
firstName: string;
|
|
465
463
|
} | null | undefined;
|
|
466
464
|
};
|
|
465
|
+
phone: string;
|
|
466
|
+
email: string | null;
|
|
467
467
|
createdBy: {
|
|
468
468
|
id: string;
|
|
469
|
-
firstName: string;
|
|
470
|
-
lastName: string;
|
|
471
469
|
email: string;
|
|
470
|
+
lastName: string;
|
|
471
|
+
firstName: string;
|
|
472
472
|
};
|
|
473
473
|
position?: string | null | undefined;
|
|
474
474
|
source?: string | null | undefined;
|
|
475
475
|
}, {
|
|
476
476
|
id: string;
|
|
477
477
|
name: string;
|
|
478
|
-
email: string | null;
|
|
479
|
-
createdAt: string | Date;
|
|
480
478
|
updatedAt: string | Date;
|
|
481
|
-
|
|
479
|
+
createdAt: string | Date;
|
|
482
480
|
clientId: string;
|
|
483
481
|
createdById: string;
|
|
484
482
|
client: {
|
|
485
483
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
486
484
|
id: string;
|
|
487
485
|
name: string;
|
|
488
|
-
createdAt: string | Date;
|
|
489
486
|
updatedAt: string | Date;
|
|
487
|
+
createdAt: string | Date;
|
|
490
488
|
crn: string | null;
|
|
491
489
|
govLink: string | null;
|
|
492
490
|
director: string;
|
|
@@ -497,16 +495,18 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
497
495
|
} | null | undefined;
|
|
498
496
|
lastUpdatedBy?: {
|
|
499
497
|
id: string;
|
|
500
|
-
firstName: string;
|
|
501
|
-
lastName: string;
|
|
502
498
|
email: string;
|
|
499
|
+
lastName: string;
|
|
500
|
+
firstName: string;
|
|
503
501
|
} | null | undefined;
|
|
504
502
|
};
|
|
503
|
+
phone: string;
|
|
504
|
+
email: string | null;
|
|
505
505
|
createdBy: {
|
|
506
506
|
id: string;
|
|
507
|
-
firstName: string;
|
|
508
|
-
lastName: string;
|
|
509
507
|
email: string;
|
|
508
|
+
lastName: string;
|
|
509
|
+
firstName: string;
|
|
510
510
|
};
|
|
511
511
|
position?: string | null | undefined;
|
|
512
512
|
source?: string | null | undefined;
|
|
@@ -521,18 +521,16 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
521
521
|
items: {
|
|
522
522
|
id: string;
|
|
523
523
|
name: string;
|
|
524
|
-
email: string | null;
|
|
525
|
-
createdAt: string;
|
|
526
524
|
updatedAt: string;
|
|
527
|
-
|
|
525
|
+
createdAt: string;
|
|
528
526
|
clientId: string;
|
|
529
527
|
createdById: string;
|
|
530
528
|
client: {
|
|
531
529
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
532
530
|
id: string;
|
|
533
531
|
name: string;
|
|
534
|
-
createdAt: string;
|
|
535
532
|
updatedAt: string;
|
|
533
|
+
createdAt: string;
|
|
536
534
|
crn: string | null;
|
|
537
535
|
govLink: string | null;
|
|
538
536
|
director: string;
|
|
@@ -543,16 +541,18 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
543
541
|
} | null | undefined;
|
|
544
542
|
lastUpdatedBy?: {
|
|
545
543
|
id: string;
|
|
546
|
-
firstName: string;
|
|
547
|
-
lastName: string;
|
|
548
544
|
email: string;
|
|
545
|
+
lastName: string;
|
|
546
|
+
firstName: string;
|
|
549
547
|
} | null | undefined;
|
|
550
548
|
};
|
|
549
|
+
phone: string;
|
|
550
|
+
email: string | null;
|
|
551
551
|
createdBy: {
|
|
552
552
|
id: string;
|
|
553
|
-
firstName: string;
|
|
554
|
-
lastName: string;
|
|
555
553
|
email: string;
|
|
554
|
+
lastName: string;
|
|
555
|
+
firstName: string;
|
|
556
556
|
};
|
|
557
557
|
position?: string | null | undefined;
|
|
558
558
|
source?: string | null | undefined;
|
|
@@ -566,18 +566,16 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
566
566
|
items: {
|
|
567
567
|
id: string;
|
|
568
568
|
name: string;
|
|
569
|
-
email: string | null;
|
|
570
|
-
createdAt: string | Date;
|
|
571
569
|
updatedAt: string | Date;
|
|
572
|
-
|
|
570
|
+
createdAt: string | Date;
|
|
573
571
|
clientId: string;
|
|
574
572
|
createdById: string;
|
|
575
573
|
client: {
|
|
576
574
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
577
575
|
id: string;
|
|
578
576
|
name: string;
|
|
579
|
-
createdAt: string | Date;
|
|
580
577
|
updatedAt: string | Date;
|
|
578
|
+
createdAt: string | Date;
|
|
581
579
|
crn: string | null;
|
|
582
580
|
govLink: string | null;
|
|
583
581
|
director: string;
|
|
@@ -588,16 +586,18 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
588
586
|
} | null | undefined;
|
|
589
587
|
lastUpdatedBy?: {
|
|
590
588
|
id: string;
|
|
591
|
-
firstName: string;
|
|
592
|
-
lastName: string;
|
|
593
589
|
email: string;
|
|
590
|
+
lastName: string;
|
|
591
|
+
firstName: string;
|
|
594
592
|
} | null | undefined;
|
|
595
593
|
};
|
|
594
|
+
phone: string;
|
|
595
|
+
email: string | null;
|
|
596
596
|
createdBy: {
|
|
597
597
|
id: string;
|
|
598
|
-
firstName: string;
|
|
599
|
-
lastName: string;
|
|
600
598
|
email: string;
|
|
599
|
+
lastName: string;
|
|
600
|
+
firstName: string;
|
|
601
601
|
};
|
|
602
602
|
position?: string | null | undefined;
|
|
603
603
|
source?: string | null | undefined;
|
|
@@ -658,21 +658,21 @@ export declare const clientContactsContractRouter: {
|
|
|
658
658
|
source: z.ZodOptional<z.ZodString>;
|
|
659
659
|
}, "strip", z.ZodTypeAny, {
|
|
660
660
|
name: string;
|
|
661
|
-
phone: string;
|
|
662
661
|
client: {
|
|
663
662
|
id: string;
|
|
664
663
|
};
|
|
665
|
-
|
|
664
|
+
phone: string;
|
|
666
665
|
position?: string | undefined;
|
|
666
|
+
email?: string | undefined;
|
|
667
667
|
source?: string | undefined;
|
|
668
668
|
}, {
|
|
669
669
|
name: string;
|
|
670
|
-
phone: string;
|
|
671
670
|
client: {
|
|
672
671
|
id: string;
|
|
673
672
|
};
|
|
674
|
-
|
|
673
|
+
phone: string;
|
|
675
674
|
position?: string | undefined;
|
|
675
|
+
email?: string | undefined;
|
|
676
676
|
source?: string | undefined;
|
|
677
677
|
}>;
|
|
678
678
|
path: "/v2/client-contacts";
|
|
@@ -796,14 +796,14 @@ export declare const clientContactsContractRouter: {
|
|
|
796
796
|
email: z.ZodString;
|
|
797
797
|
}, "strip", z.ZodTypeAny, {
|
|
798
798
|
id: string;
|
|
799
|
-
firstName: string;
|
|
800
|
-
lastName: string;
|
|
801
799
|
email: string;
|
|
800
|
+
lastName: string;
|
|
801
|
+
firstName: string;
|
|
802
802
|
}, {
|
|
803
803
|
id: string;
|
|
804
|
-
firstName: string;
|
|
805
|
-
lastName: string;
|
|
806
804
|
email: string;
|
|
805
|
+
lastName: string;
|
|
806
|
+
firstName: string;
|
|
807
807
|
}>>>;
|
|
808
808
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
809
809
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -818,8 +818,8 @@ export declare const clientContactsContractRouter: {
|
|
|
818
818
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
819
819
|
id: string;
|
|
820
820
|
name: string;
|
|
821
|
-
createdAt: string;
|
|
822
821
|
updatedAt: string;
|
|
822
|
+
createdAt: string;
|
|
823
823
|
crn: string | null;
|
|
824
824
|
govLink: string | null;
|
|
825
825
|
director: string;
|
|
@@ -830,16 +830,16 @@ export declare const clientContactsContractRouter: {
|
|
|
830
830
|
} | null | undefined;
|
|
831
831
|
lastUpdatedBy?: {
|
|
832
832
|
id: string;
|
|
833
|
-
firstName: string;
|
|
834
|
-
lastName: string;
|
|
835
833
|
email: string;
|
|
834
|
+
lastName: string;
|
|
835
|
+
firstName: string;
|
|
836
836
|
} | null | undefined;
|
|
837
837
|
}, {
|
|
838
838
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
839
839
|
id: string;
|
|
840
840
|
name: string;
|
|
841
|
-
createdAt: string | Date;
|
|
842
841
|
updatedAt: string | Date;
|
|
842
|
+
createdAt: string | Date;
|
|
843
843
|
crn: string | null;
|
|
844
844
|
govLink: string | null;
|
|
845
845
|
director: string;
|
|
@@ -850,9 +850,9 @@ export declare const clientContactsContractRouter: {
|
|
|
850
850
|
} | null | undefined;
|
|
851
851
|
lastUpdatedBy?: {
|
|
852
852
|
id: string;
|
|
853
|
-
firstName: string;
|
|
854
|
-
lastName: string;
|
|
855
853
|
email: string;
|
|
854
|
+
lastName: string;
|
|
855
|
+
firstName: string;
|
|
856
856
|
} | null | undefined;
|
|
857
857
|
}>;
|
|
858
858
|
name: z.ZodString;
|
|
@@ -867,14 +867,14 @@ export declare const clientContactsContractRouter: {
|
|
|
867
867
|
email: z.ZodString;
|
|
868
868
|
}, "strip", z.ZodTypeAny, {
|
|
869
869
|
id: string;
|
|
870
|
-
firstName: string;
|
|
871
|
-
lastName: string;
|
|
872
870
|
email: string;
|
|
871
|
+
lastName: string;
|
|
872
|
+
firstName: string;
|
|
873
873
|
}, {
|
|
874
874
|
id: string;
|
|
875
|
-
firstName: string;
|
|
876
|
-
lastName: string;
|
|
877
875
|
email: string;
|
|
876
|
+
lastName: string;
|
|
877
|
+
firstName: string;
|
|
878
878
|
}>;
|
|
879
879
|
createdById: z.ZodString;
|
|
880
880
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -882,18 +882,16 @@ export declare const clientContactsContractRouter: {
|
|
|
882
882
|
}, "strip", z.ZodTypeAny, {
|
|
883
883
|
id: string;
|
|
884
884
|
name: string;
|
|
885
|
-
email: string | null;
|
|
886
|
-
createdAt: string;
|
|
887
885
|
updatedAt: string;
|
|
888
|
-
|
|
886
|
+
createdAt: string;
|
|
889
887
|
clientId: string;
|
|
890
888
|
createdById: string;
|
|
891
889
|
client: {
|
|
892
890
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
893
891
|
id: string;
|
|
894
892
|
name: string;
|
|
895
|
-
createdAt: string;
|
|
896
893
|
updatedAt: string;
|
|
894
|
+
createdAt: string;
|
|
897
895
|
crn: string | null;
|
|
898
896
|
govLink: string | null;
|
|
899
897
|
director: string;
|
|
@@ -904,34 +902,34 @@ export declare const clientContactsContractRouter: {
|
|
|
904
902
|
} | null | undefined;
|
|
905
903
|
lastUpdatedBy?: {
|
|
906
904
|
id: string;
|
|
907
|
-
firstName: string;
|
|
908
|
-
lastName: string;
|
|
909
905
|
email: string;
|
|
906
|
+
lastName: string;
|
|
907
|
+
firstName: string;
|
|
910
908
|
} | null | undefined;
|
|
911
909
|
};
|
|
910
|
+
phone: string;
|
|
911
|
+
email: string | null;
|
|
912
912
|
createdBy: {
|
|
913
913
|
id: string;
|
|
914
|
-
firstName: string;
|
|
915
|
-
lastName: string;
|
|
916
914
|
email: string;
|
|
915
|
+
lastName: string;
|
|
916
|
+
firstName: string;
|
|
917
917
|
};
|
|
918
918
|
position?: string | null | undefined;
|
|
919
919
|
source?: string | null | undefined;
|
|
920
920
|
}, {
|
|
921
921
|
id: string;
|
|
922
922
|
name: string;
|
|
923
|
-
email: string | null;
|
|
924
|
-
createdAt: string | Date;
|
|
925
923
|
updatedAt: string | Date;
|
|
926
|
-
|
|
924
|
+
createdAt: string | Date;
|
|
927
925
|
clientId: string;
|
|
928
926
|
createdById: string;
|
|
929
927
|
client: {
|
|
930
928
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
931
929
|
id: string;
|
|
932
930
|
name: string;
|
|
933
|
-
createdAt: string | Date;
|
|
934
931
|
updatedAt: string | Date;
|
|
932
|
+
createdAt: string | Date;
|
|
935
933
|
crn: string | null;
|
|
936
934
|
govLink: string | null;
|
|
937
935
|
director: string;
|
|
@@ -942,16 +940,18 @@ export declare const clientContactsContractRouter: {
|
|
|
942
940
|
} | null | undefined;
|
|
943
941
|
lastUpdatedBy?: {
|
|
944
942
|
id: string;
|
|
945
|
-
firstName: string;
|
|
946
|
-
lastName: string;
|
|
947
943
|
email: string;
|
|
944
|
+
lastName: string;
|
|
945
|
+
firstName: string;
|
|
948
946
|
} | null | undefined;
|
|
949
947
|
};
|
|
948
|
+
phone: string;
|
|
949
|
+
email: string | null;
|
|
950
950
|
createdBy: {
|
|
951
951
|
id: string;
|
|
952
|
-
firstName: string;
|
|
953
|
-
lastName: string;
|
|
954
952
|
email: string;
|
|
953
|
+
lastName: string;
|
|
954
|
+
firstName: string;
|
|
955
955
|
};
|
|
956
956
|
position?: string | null | undefined;
|
|
957
957
|
source?: string | null | undefined;
|
|
@@ -1012,14 +1012,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1012
1012
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
1013
1013
|
name: string;
|
|
1014
1014
|
phone: string;
|
|
1015
|
-
email?: string | undefined;
|
|
1016
1015
|
position?: string | undefined;
|
|
1016
|
+
email?: string | undefined;
|
|
1017
1017
|
source?: string | undefined;
|
|
1018
1018
|
}, {
|
|
1019
1019
|
name: string;
|
|
1020
1020
|
phone: string;
|
|
1021
|
-
email?: string | undefined;
|
|
1022
1021
|
position?: string | undefined;
|
|
1022
|
+
email?: string | undefined;
|
|
1023
1023
|
source?: string | undefined;
|
|
1024
1024
|
}>;
|
|
1025
1025
|
path: "/v2/client-contacts/client/:clientId";
|
|
@@ -1143,14 +1143,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1143
1143
|
email: z.ZodString;
|
|
1144
1144
|
}, "strip", z.ZodTypeAny, {
|
|
1145
1145
|
id: string;
|
|
1146
|
-
firstName: string;
|
|
1147
|
-
lastName: string;
|
|
1148
1146
|
email: string;
|
|
1147
|
+
lastName: string;
|
|
1148
|
+
firstName: string;
|
|
1149
1149
|
}, {
|
|
1150
1150
|
id: string;
|
|
1151
|
-
firstName: string;
|
|
1152
|
-
lastName: string;
|
|
1153
1151
|
email: string;
|
|
1152
|
+
lastName: string;
|
|
1153
|
+
firstName: string;
|
|
1154
1154
|
}>>>;
|
|
1155
1155
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1156
1156
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1165,8 +1165,8 @@ export declare const clientContactsContractRouter: {
|
|
|
1165
1165
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1166
1166
|
id: string;
|
|
1167
1167
|
name: string;
|
|
1168
|
-
createdAt: string;
|
|
1169
1168
|
updatedAt: string;
|
|
1169
|
+
createdAt: string;
|
|
1170
1170
|
crn: string | null;
|
|
1171
1171
|
govLink: string | null;
|
|
1172
1172
|
director: string;
|
|
@@ -1177,16 +1177,16 @@ export declare const clientContactsContractRouter: {
|
|
|
1177
1177
|
} | null | undefined;
|
|
1178
1178
|
lastUpdatedBy?: {
|
|
1179
1179
|
id: string;
|
|
1180
|
-
firstName: string;
|
|
1181
|
-
lastName: string;
|
|
1182
1180
|
email: string;
|
|
1181
|
+
lastName: string;
|
|
1182
|
+
firstName: string;
|
|
1183
1183
|
} | null | undefined;
|
|
1184
1184
|
}, {
|
|
1185
1185
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1186
1186
|
id: string;
|
|
1187
1187
|
name: string;
|
|
1188
|
-
createdAt: string | Date;
|
|
1189
1188
|
updatedAt: string | Date;
|
|
1189
|
+
createdAt: string | Date;
|
|
1190
1190
|
crn: string | null;
|
|
1191
1191
|
govLink: string | null;
|
|
1192
1192
|
director: string;
|
|
@@ -1197,9 +1197,9 @@ export declare const clientContactsContractRouter: {
|
|
|
1197
1197
|
} | null | undefined;
|
|
1198
1198
|
lastUpdatedBy?: {
|
|
1199
1199
|
id: string;
|
|
1200
|
-
firstName: string;
|
|
1201
|
-
lastName: string;
|
|
1202
1200
|
email: string;
|
|
1201
|
+
lastName: string;
|
|
1202
|
+
firstName: string;
|
|
1203
1203
|
} | null | undefined;
|
|
1204
1204
|
}>;
|
|
1205
1205
|
name: z.ZodString;
|
|
@@ -1214,14 +1214,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1214
1214
|
email: z.ZodString;
|
|
1215
1215
|
}, "strip", z.ZodTypeAny, {
|
|
1216
1216
|
id: string;
|
|
1217
|
-
firstName: string;
|
|
1218
|
-
lastName: string;
|
|
1219
1217
|
email: string;
|
|
1218
|
+
lastName: string;
|
|
1219
|
+
firstName: string;
|
|
1220
1220
|
}, {
|
|
1221
1221
|
id: string;
|
|
1222
|
-
firstName: string;
|
|
1223
|
-
lastName: string;
|
|
1224
1222
|
email: string;
|
|
1223
|
+
lastName: string;
|
|
1224
|
+
firstName: string;
|
|
1225
1225
|
}>;
|
|
1226
1226
|
createdById: z.ZodString;
|
|
1227
1227
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1229,18 +1229,16 @@ export declare const clientContactsContractRouter: {
|
|
|
1229
1229
|
}, "strip", z.ZodTypeAny, {
|
|
1230
1230
|
id: string;
|
|
1231
1231
|
name: string;
|
|
1232
|
-
email: string | null;
|
|
1233
|
-
createdAt: string;
|
|
1234
1232
|
updatedAt: string;
|
|
1235
|
-
|
|
1233
|
+
createdAt: string;
|
|
1236
1234
|
clientId: string;
|
|
1237
1235
|
createdById: string;
|
|
1238
1236
|
client: {
|
|
1239
1237
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1240
1238
|
id: string;
|
|
1241
1239
|
name: string;
|
|
1242
|
-
createdAt: string;
|
|
1243
1240
|
updatedAt: string;
|
|
1241
|
+
createdAt: string;
|
|
1244
1242
|
crn: string | null;
|
|
1245
1243
|
govLink: string | null;
|
|
1246
1244
|
director: string;
|
|
@@ -1251,34 +1249,34 @@ export declare const clientContactsContractRouter: {
|
|
|
1251
1249
|
} | null | undefined;
|
|
1252
1250
|
lastUpdatedBy?: {
|
|
1253
1251
|
id: string;
|
|
1254
|
-
firstName: string;
|
|
1255
|
-
lastName: string;
|
|
1256
1252
|
email: string;
|
|
1253
|
+
lastName: string;
|
|
1254
|
+
firstName: string;
|
|
1257
1255
|
} | null | undefined;
|
|
1258
1256
|
};
|
|
1257
|
+
phone: string;
|
|
1258
|
+
email: string | null;
|
|
1259
1259
|
createdBy: {
|
|
1260
1260
|
id: string;
|
|
1261
|
-
firstName: string;
|
|
1262
|
-
lastName: string;
|
|
1263
1261
|
email: string;
|
|
1262
|
+
lastName: string;
|
|
1263
|
+
firstName: string;
|
|
1264
1264
|
};
|
|
1265
1265
|
position?: string | null | undefined;
|
|
1266
1266
|
source?: string | null | undefined;
|
|
1267
1267
|
}, {
|
|
1268
1268
|
id: string;
|
|
1269
1269
|
name: string;
|
|
1270
|
-
email: string | null;
|
|
1271
|
-
createdAt: string | Date;
|
|
1272
1270
|
updatedAt: string | Date;
|
|
1273
|
-
|
|
1271
|
+
createdAt: string | Date;
|
|
1274
1272
|
clientId: string;
|
|
1275
1273
|
createdById: string;
|
|
1276
1274
|
client: {
|
|
1277
1275
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1278
1276
|
id: string;
|
|
1279
1277
|
name: string;
|
|
1280
|
-
createdAt: string | Date;
|
|
1281
1278
|
updatedAt: string | Date;
|
|
1279
|
+
createdAt: string | Date;
|
|
1282
1280
|
crn: string | null;
|
|
1283
1281
|
govLink: string | null;
|
|
1284
1282
|
director: string;
|
|
@@ -1289,16 +1287,18 @@ export declare const clientContactsContractRouter: {
|
|
|
1289
1287
|
} | null | undefined;
|
|
1290
1288
|
lastUpdatedBy?: {
|
|
1291
1289
|
id: string;
|
|
1292
|
-
firstName: string;
|
|
1293
|
-
lastName: string;
|
|
1294
1290
|
email: string;
|
|
1291
|
+
lastName: string;
|
|
1292
|
+
firstName: string;
|
|
1295
1293
|
} | null | undefined;
|
|
1296
1294
|
};
|
|
1295
|
+
phone: string;
|
|
1296
|
+
email: string | null;
|
|
1297
1297
|
createdBy: {
|
|
1298
1298
|
id: string;
|
|
1299
|
-
firstName: string;
|
|
1300
|
-
lastName: string;
|
|
1301
1299
|
email: string;
|
|
1300
|
+
lastName: string;
|
|
1301
|
+
firstName: string;
|
|
1302
1302
|
};
|
|
1303
1303
|
position?: string | null | undefined;
|
|
1304
1304
|
source?: string | null | undefined;
|
|
@@ -1338,12 +1338,12 @@ export declare const clientContactsContractRouter: {
|
|
|
1338
1338
|
clientId: z.ZodOptional<z.ZodString>;
|
|
1339
1339
|
}, "strip", z.ZodTypeAny, {
|
|
1340
1340
|
id?: string | undefined;
|
|
1341
|
-
query?: string | undefined;
|
|
1342
1341
|
clientId?: string | undefined;
|
|
1342
|
+
query?: string | undefined;
|
|
1343
1343
|
}, {
|
|
1344
1344
|
id?: string | undefined;
|
|
1345
|
-
query?: string | undefined;
|
|
1346
1345
|
clientId?: string | undefined;
|
|
1346
|
+
query?: string | undefined;
|
|
1347
1347
|
}>;
|
|
1348
1348
|
metadata: {
|
|
1349
1349
|
tags: string[];
|
|
@@ -1483,39 +1483,39 @@ export declare const clientContactsContractRouter: {
|
|
|
1483
1483
|
field: z.ZodEnum<["name", "position", "email", "createdAt", "updatedAt"]>;
|
|
1484
1484
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
1485
1485
|
}, "strip", z.ZodTypeAny, {
|
|
1486
|
-
field: "name" | "
|
|
1486
|
+
field: "name" | "updatedAt" | "createdAt" | "position" | "email";
|
|
1487
1487
|
order: "ASC" | "DESC";
|
|
1488
1488
|
}, {
|
|
1489
|
-
field: "name" | "
|
|
1489
|
+
field: "name" | "updatedAt" | "createdAt" | "position" | "email";
|
|
1490
1490
|
order: "ASC" | "DESC";
|
|
1491
1491
|
}>, "many">>>;
|
|
1492
1492
|
}, "strip", z.ZodTypeAny, {
|
|
1493
|
-
limit: number;
|
|
1494
1493
|
page: number;
|
|
1494
|
+
limit: number;
|
|
1495
1495
|
sort?: {
|
|
1496
|
-
field: "name" | "
|
|
1496
|
+
field: "name" | "updatedAt" | "createdAt" | "position" | "email";
|
|
1497
1497
|
order: "ASC" | "DESC";
|
|
1498
1498
|
}[] | null | undefined;
|
|
1499
1499
|
name?: string | undefined;
|
|
1500
|
-
email?: string | undefined;
|
|
1501
|
-
phone?: string | undefined;
|
|
1502
1500
|
clientId?: string | undefined;
|
|
1503
1501
|
createdById?: string | undefined;
|
|
1504
1502
|
position?: string | undefined;
|
|
1503
|
+
phone?: string | undefined;
|
|
1504
|
+
email?: string | undefined;
|
|
1505
1505
|
source?: string | undefined;
|
|
1506
1506
|
}, {
|
|
1507
1507
|
sort?: {
|
|
1508
|
-
field: "name" | "
|
|
1508
|
+
field: "name" | "updatedAt" | "createdAt" | "position" | "email";
|
|
1509
1509
|
order: "ASC" | "DESC";
|
|
1510
1510
|
}[] | null | undefined;
|
|
1511
|
-
name?: string | undefined;
|
|
1512
|
-
limit?: number | undefined;
|
|
1513
1511
|
page?: number | undefined;
|
|
1514
|
-
|
|
1515
|
-
|
|
1512
|
+
limit?: number | undefined;
|
|
1513
|
+
name?: string | undefined;
|
|
1516
1514
|
clientId?: string | undefined;
|
|
1517
1515
|
createdById?: string | undefined;
|
|
1518
1516
|
position?: string | undefined;
|
|
1517
|
+
phone?: string | undefined;
|
|
1518
|
+
email?: string | undefined;
|
|
1519
1519
|
source?: string | undefined;
|
|
1520
1520
|
}>;
|
|
1521
1521
|
metadata: {
|
|
@@ -1645,14 +1645,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1645
1645
|
email: z.ZodString;
|
|
1646
1646
|
}, "strip", z.ZodTypeAny, {
|
|
1647
1647
|
id: string;
|
|
1648
|
-
firstName: string;
|
|
1649
|
-
lastName: string;
|
|
1650
1648
|
email: string;
|
|
1649
|
+
lastName: string;
|
|
1650
|
+
firstName: string;
|
|
1651
1651
|
}, {
|
|
1652
1652
|
id: string;
|
|
1653
|
-
firstName: string;
|
|
1654
|
-
lastName: string;
|
|
1655
1653
|
email: string;
|
|
1654
|
+
lastName: string;
|
|
1655
|
+
firstName: string;
|
|
1656
1656
|
}>>>;
|
|
1657
1657
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1658
1658
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1667,8 +1667,8 @@ export declare const clientContactsContractRouter: {
|
|
|
1667
1667
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1668
1668
|
id: string;
|
|
1669
1669
|
name: string;
|
|
1670
|
-
createdAt: string;
|
|
1671
1670
|
updatedAt: string;
|
|
1671
|
+
createdAt: string;
|
|
1672
1672
|
crn: string | null;
|
|
1673
1673
|
govLink: string | null;
|
|
1674
1674
|
director: string;
|
|
@@ -1679,16 +1679,16 @@ export declare const clientContactsContractRouter: {
|
|
|
1679
1679
|
} | null | undefined;
|
|
1680
1680
|
lastUpdatedBy?: {
|
|
1681
1681
|
id: string;
|
|
1682
|
-
firstName: string;
|
|
1683
|
-
lastName: string;
|
|
1684
1682
|
email: string;
|
|
1683
|
+
lastName: string;
|
|
1684
|
+
firstName: string;
|
|
1685
1685
|
} | null | undefined;
|
|
1686
1686
|
}, {
|
|
1687
1687
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1688
1688
|
id: string;
|
|
1689
1689
|
name: string;
|
|
1690
|
-
createdAt: string | Date;
|
|
1691
1690
|
updatedAt: string | Date;
|
|
1691
|
+
createdAt: string | Date;
|
|
1692
1692
|
crn: string | null;
|
|
1693
1693
|
govLink: string | null;
|
|
1694
1694
|
director: string;
|
|
@@ -1699,9 +1699,9 @@ export declare const clientContactsContractRouter: {
|
|
|
1699
1699
|
} | null | undefined;
|
|
1700
1700
|
lastUpdatedBy?: {
|
|
1701
1701
|
id: string;
|
|
1702
|
-
firstName: string;
|
|
1703
|
-
lastName: string;
|
|
1704
1702
|
email: string;
|
|
1703
|
+
lastName: string;
|
|
1704
|
+
firstName: string;
|
|
1705
1705
|
} | null | undefined;
|
|
1706
1706
|
}>;
|
|
1707
1707
|
name: z.ZodString;
|
|
@@ -1716,14 +1716,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1716
1716
|
email: z.ZodString;
|
|
1717
1717
|
}, "strip", z.ZodTypeAny, {
|
|
1718
1718
|
id: string;
|
|
1719
|
-
firstName: string;
|
|
1720
|
-
lastName: string;
|
|
1721
1719
|
email: string;
|
|
1720
|
+
lastName: string;
|
|
1721
|
+
firstName: string;
|
|
1722
1722
|
}, {
|
|
1723
1723
|
id: string;
|
|
1724
|
-
firstName: string;
|
|
1725
|
-
lastName: string;
|
|
1726
1724
|
email: string;
|
|
1725
|
+
lastName: string;
|
|
1726
|
+
firstName: string;
|
|
1727
1727
|
}>;
|
|
1728
1728
|
createdById: z.ZodString;
|
|
1729
1729
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1731,18 +1731,16 @@ export declare const clientContactsContractRouter: {
|
|
|
1731
1731
|
}, "strip", z.ZodTypeAny, {
|
|
1732
1732
|
id: string;
|
|
1733
1733
|
name: string;
|
|
1734
|
-
email: string | null;
|
|
1735
|
-
createdAt: string;
|
|
1736
1734
|
updatedAt: string;
|
|
1737
|
-
|
|
1735
|
+
createdAt: string;
|
|
1738
1736
|
clientId: string;
|
|
1739
1737
|
createdById: string;
|
|
1740
1738
|
client: {
|
|
1741
1739
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1742
1740
|
id: string;
|
|
1743
1741
|
name: string;
|
|
1744
|
-
createdAt: string;
|
|
1745
1742
|
updatedAt: string;
|
|
1743
|
+
createdAt: string;
|
|
1746
1744
|
crn: string | null;
|
|
1747
1745
|
govLink: string | null;
|
|
1748
1746
|
director: string;
|
|
@@ -1753,34 +1751,34 @@ export declare const clientContactsContractRouter: {
|
|
|
1753
1751
|
} | null | undefined;
|
|
1754
1752
|
lastUpdatedBy?: {
|
|
1755
1753
|
id: string;
|
|
1756
|
-
firstName: string;
|
|
1757
|
-
lastName: string;
|
|
1758
1754
|
email: string;
|
|
1755
|
+
lastName: string;
|
|
1756
|
+
firstName: string;
|
|
1759
1757
|
} | null | undefined;
|
|
1760
1758
|
};
|
|
1759
|
+
phone: string;
|
|
1760
|
+
email: string | null;
|
|
1761
1761
|
createdBy: {
|
|
1762
1762
|
id: string;
|
|
1763
|
-
firstName: string;
|
|
1764
|
-
lastName: string;
|
|
1765
1763
|
email: string;
|
|
1764
|
+
lastName: string;
|
|
1765
|
+
firstName: string;
|
|
1766
1766
|
};
|
|
1767
1767
|
position?: string | null | undefined;
|
|
1768
1768
|
source?: string | null | undefined;
|
|
1769
1769
|
}, {
|
|
1770
1770
|
id: string;
|
|
1771
1771
|
name: string;
|
|
1772
|
-
email: string | null;
|
|
1773
|
-
createdAt: string | Date;
|
|
1774
1772
|
updatedAt: string | Date;
|
|
1775
|
-
|
|
1773
|
+
createdAt: string | Date;
|
|
1776
1774
|
clientId: string;
|
|
1777
1775
|
createdById: string;
|
|
1778
1776
|
client: {
|
|
1779
1777
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1780
1778
|
id: string;
|
|
1781
1779
|
name: string;
|
|
1782
|
-
createdAt: string | Date;
|
|
1783
1780
|
updatedAt: string | Date;
|
|
1781
|
+
createdAt: string | Date;
|
|
1784
1782
|
crn: string | null;
|
|
1785
1783
|
govLink: string | null;
|
|
1786
1784
|
director: string;
|
|
@@ -1791,16 +1789,18 @@ export declare const clientContactsContractRouter: {
|
|
|
1791
1789
|
} | null | undefined;
|
|
1792
1790
|
lastUpdatedBy?: {
|
|
1793
1791
|
id: string;
|
|
1794
|
-
firstName: string;
|
|
1795
|
-
lastName: string;
|
|
1796
1792
|
email: string;
|
|
1793
|
+
lastName: string;
|
|
1794
|
+
firstName: string;
|
|
1797
1795
|
} | null | undefined;
|
|
1798
1796
|
};
|
|
1797
|
+
phone: string;
|
|
1798
|
+
email: string | null;
|
|
1799
1799
|
createdBy: {
|
|
1800
1800
|
id: string;
|
|
1801
|
-
firstName: string;
|
|
1802
|
-
lastName: string;
|
|
1803
1801
|
email: string;
|
|
1802
|
+
lastName: string;
|
|
1803
|
+
firstName: string;
|
|
1804
1804
|
};
|
|
1805
1805
|
position?: string | null | undefined;
|
|
1806
1806
|
source?: string | null | undefined;
|
|
@@ -1815,18 +1815,16 @@ export declare const clientContactsContractRouter: {
|
|
|
1815
1815
|
items: {
|
|
1816
1816
|
id: string;
|
|
1817
1817
|
name: string;
|
|
1818
|
-
email: string | null;
|
|
1819
|
-
createdAt: string;
|
|
1820
1818
|
updatedAt: string;
|
|
1821
|
-
|
|
1819
|
+
createdAt: string;
|
|
1822
1820
|
clientId: string;
|
|
1823
1821
|
createdById: string;
|
|
1824
1822
|
client: {
|
|
1825
1823
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1826
1824
|
id: string;
|
|
1827
1825
|
name: string;
|
|
1828
|
-
createdAt: string;
|
|
1829
1826
|
updatedAt: string;
|
|
1827
|
+
createdAt: string;
|
|
1830
1828
|
crn: string | null;
|
|
1831
1829
|
govLink: string | null;
|
|
1832
1830
|
director: string;
|
|
@@ -1837,16 +1835,18 @@ export declare const clientContactsContractRouter: {
|
|
|
1837
1835
|
} | null | undefined;
|
|
1838
1836
|
lastUpdatedBy?: {
|
|
1839
1837
|
id: string;
|
|
1840
|
-
firstName: string;
|
|
1841
|
-
lastName: string;
|
|
1842
1838
|
email: string;
|
|
1839
|
+
lastName: string;
|
|
1840
|
+
firstName: string;
|
|
1843
1841
|
} | null | undefined;
|
|
1844
1842
|
};
|
|
1843
|
+
phone: string;
|
|
1844
|
+
email: string | null;
|
|
1845
1845
|
createdBy: {
|
|
1846
1846
|
id: string;
|
|
1847
|
-
firstName: string;
|
|
1848
|
-
lastName: string;
|
|
1849
1847
|
email: string;
|
|
1848
|
+
lastName: string;
|
|
1849
|
+
firstName: string;
|
|
1850
1850
|
};
|
|
1851
1851
|
position?: string | null | undefined;
|
|
1852
1852
|
source?: string | null | undefined;
|
|
@@ -1860,18 +1860,16 @@ export declare const clientContactsContractRouter: {
|
|
|
1860
1860
|
items: {
|
|
1861
1861
|
id: string;
|
|
1862
1862
|
name: string;
|
|
1863
|
-
email: string | null;
|
|
1864
|
-
createdAt: string | Date;
|
|
1865
1863
|
updatedAt: string | Date;
|
|
1866
|
-
|
|
1864
|
+
createdAt: string | Date;
|
|
1867
1865
|
clientId: string;
|
|
1868
1866
|
createdById: string;
|
|
1869
1867
|
client: {
|
|
1870
1868
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1871
1869
|
id: string;
|
|
1872
1870
|
name: string;
|
|
1873
|
-
createdAt: string | Date;
|
|
1874
1871
|
updatedAt: string | Date;
|
|
1872
|
+
createdAt: string | Date;
|
|
1875
1873
|
crn: string | null;
|
|
1876
1874
|
govLink: string | null;
|
|
1877
1875
|
director: string;
|
|
@@ -1882,16 +1880,18 @@ export declare const clientContactsContractRouter: {
|
|
|
1882
1880
|
} | null | undefined;
|
|
1883
1881
|
lastUpdatedBy?: {
|
|
1884
1882
|
id: string;
|
|
1885
|
-
firstName: string;
|
|
1886
|
-
lastName: string;
|
|
1887
1883
|
email: string;
|
|
1884
|
+
lastName: string;
|
|
1885
|
+
firstName: string;
|
|
1888
1886
|
} | null | undefined;
|
|
1889
1887
|
};
|
|
1888
|
+
phone: string;
|
|
1889
|
+
email: string | null;
|
|
1890
1890
|
createdBy: {
|
|
1891
1891
|
id: string;
|
|
1892
|
-
firstName: string;
|
|
1893
|
-
lastName: string;
|
|
1894
1892
|
email: string;
|
|
1893
|
+
lastName: string;
|
|
1894
|
+
firstName: string;
|
|
1895
1895
|
};
|
|
1896
1896
|
position?: string | null | undefined;
|
|
1897
1897
|
source?: string | null | undefined;
|
|
@@ -2037,14 +2037,14 @@ export declare const clientContactsContractRouter: {
|
|
|
2037
2037
|
email: z.ZodString;
|
|
2038
2038
|
}, "strip", z.ZodTypeAny, {
|
|
2039
2039
|
id: string;
|
|
2040
|
-
firstName: string;
|
|
2041
|
-
lastName: string;
|
|
2042
2040
|
email: string;
|
|
2041
|
+
lastName: string;
|
|
2042
|
+
firstName: string;
|
|
2043
2043
|
}, {
|
|
2044
2044
|
id: string;
|
|
2045
|
-
firstName: string;
|
|
2046
|
-
lastName: string;
|
|
2047
2045
|
email: string;
|
|
2046
|
+
lastName: string;
|
|
2047
|
+
firstName: string;
|
|
2048
2048
|
}>>>;
|
|
2049
2049
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2050
2050
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2059,8 +2059,8 @@ export declare const clientContactsContractRouter: {
|
|
|
2059
2059
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2060
2060
|
id: string;
|
|
2061
2061
|
name: string;
|
|
2062
|
-
createdAt: string;
|
|
2063
2062
|
updatedAt: string;
|
|
2063
|
+
createdAt: string;
|
|
2064
2064
|
crn: string | null;
|
|
2065
2065
|
govLink: string | null;
|
|
2066
2066
|
director: string;
|
|
@@ -2071,16 +2071,16 @@ export declare const clientContactsContractRouter: {
|
|
|
2071
2071
|
} | null | undefined;
|
|
2072
2072
|
lastUpdatedBy?: {
|
|
2073
2073
|
id: string;
|
|
2074
|
-
firstName: string;
|
|
2075
|
-
lastName: string;
|
|
2076
2074
|
email: string;
|
|
2075
|
+
lastName: string;
|
|
2076
|
+
firstName: string;
|
|
2077
2077
|
} | null | undefined;
|
|
2078
2078
|
}, {
|
|
2079
2079
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2080
2080
|
id: string;
|
|
2081
2081
|
name: string;
|
|
2082
|
-
createdAt: string | Date;
|
|
2083
2082
|
updatedAt: string | Date;
|
|
2083
|
+
createdAt: string | Date;
|
|
2084
2084
|
crn: string | null;
|
|
2085
2085
|
govLink: string | null;
|
|
2086
2086
|
director: string;
|
|
@@ -2091,9 +2091,9 @@ export declare const clientContactsContractRouter: {
|
|
|
2091
2091
|
} | null | undefined;
|
|
2092
2092
|
lastUpdatedBy?: {
|
|
2093
2093
|
id: string;
|
|
2094
|
-
firstName: string;
|
|
2095
|
-
lastName: string;
|
|
2096
2094
|
email: string;
|
|
2095
|
+
lastName: string;
|
|
2096
|
+
firstName: string;
|
|
2097
2097
|
} | null | undefined;
|
|
2098
2098
|
}>;
|
|
2099
2099
|
name: z.ZodString;
|
|
@@ -2108,14 +2108,14 @@ export declare const clientContactsContractRouter: {
|
|
|
2108
2108
|
email: z.ZodString;
|
|
2109
2109
|
}, "strip", z.ZodTypeAny, {
|
|
2110
2110
|
id: string;
|
|
2111
|
-
firstName: string;
|
|
2112
|
-
lastName: string;
|
|
2113
2111
|
email: string;
|
|
2112
|
+
lastName: string;
|
|
2113
|
+
firstName: string;
|
|
2114
2114
|
}, {
|
|
2115
2115
|
id: string;
|
|
2116
|
-
firstName: string;
|
|
2117
|
-
lastName: string;
|
|
2118
2116
|
email: string;
|
|
2117
|
+
lastName: string;
|
|
2118
|
+
firstName: string;
|
|
2119
2119
|
}>;
|
|
2120
2120
|
createdById: z.ZodString;
|
|
2121
2121
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2123,18 +2123,16 @@ export declare const clientContactsContractRouter: {
|
|
|
2123
2123
|
}, "strip", z.ZodTypeAny, {
|
|
2124
2124
|
id: string;
|
|
2125
2125
|
name: string;
|
|
2126
|
-
email: string | null;
|
|
2127
|
-
createdAt: string;
|
|
2128
2126
|
updatedAt: string;
|
|
2129
|
-
|
|
2127
|
+
createdAt: string;
|
|
2130
2128
|
clientId: string;
|
|
2131
2129
|
createdById: string;
|
|
2132
2130
|
client: {
|
|
2133
2131
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2134
2132
|
id: string;
|
|
2135
2133
|
name: string;
|
|
2136
|
-
createdAt: string;
|
|
2137
2134
|
updatedAt: string;
|
|
2135
|
+
createdAt: string;
|
|
2138
2136
|
crn: string | null;
|
|
2139
2137
|
govLink: string | null;
|
|
2140
2138
|
director: string;
|
|
@@ -2145,34 +2143,34 @@ export declare const clientContactsContractRouter: {
|
|
|
2145
2143
|
} | null | undefined;
|
|
2146
2144
|
lastUpdatedBy?: {
|
|
2147
2145
|
id: string;
|
|
2148
|
-
firstName: string;
|
|
2149
|
-
lastName: string;
|
|
2150
2146
|
email: string;
|
|
2147
|
+
lastName: string;
|
|
2148
|
+
firstName: string;
|
|
2151
2149
|
} | null | undefined;
|
|
2152
2150
|
};
|
|
2151
|
+
phone: string;
|
|
2152
|
+
email: string | null;
|
|
2153
2153
|
createdBy: {
|
|
2154
2154
|
id: string;
|
|
2155
|
-
firstName: string;
|
|
2156
|
-
lastName: string;
|
|
2157
2155
|
email: string;
|
|
2156
|
+
lastName: string;
|
|
2157
|
+
firstName: string;
|
|
2158
2158
|
};
|
|
2159
2159
|
position?: string | null | undefined;
|
|
2160
2160
|
source?: string | null | undefined;
|
|
2161
2161
|
}, {
|
|
2162
2162
|
id: string;
|
|
2163
2163
|
name: string;
|
|
2164
|
-
email: string | null;
|
|
2165
|
-
createdAt: string | Date;
|
|
2166
2164
|
updatedAt: string | Date;
|
|
2167
|
-
|
|
2165
|
+
createdAt: string | Date;
|
|
2168
2166
|
clientId: string;
|
|
2169
2167
|
createdById: string;
|
|
2170
2168
|
client: {
|
|
2171
2169
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2172
2170
|
id: string;
|
|
2173
2171
|
name: string;
|
|
2174
|
-
createdAt: string | Date;
|
|
2175
2172
|
updatedAt: string | Date;
|
|
2173
|
+
createdAt: string | Date;
|
|
2176
2174
|
crn: string | null;
|
|
2177
2175
|
govLink: string | null;
|
|
2178
2176
|
director: string;
|
|
@@ -2183,16 +2181,18 @@ export declare const clientContactsContractRouter: {
|
|
|
2183
2181
|
} | null | undefined;
|
|
2184
2182
|
lastUpdatedBy?: {
|
|
2185
2183
|
id: string;
|
|
2186
|
-
firstName: string;
|
|
2187
|
-
lastName: string;
|
|
2188
2184
|
email: string;
|
|
2185
|
+
lastName: string;
|
|
2186
|
+
firstName: string;
|
|
2189
2187
|
} | null | undefined;
|
|
2190
2188
|
};
|
|
2189
|
+
phone: string;
|
|
2190
|
+
email: string | null;
|
|
2191
2191
|
createdBy: {
|
|
2192
2192
|
id: string;
|
|
2193
|
-
firstName: string;
|
|
2194
|
-
lastName: string;
|
|
2195
2193
|
email: string;
|
|
2194
|
+
lastName: string;
|
|
2195
|
+
firstName: string;
|
|
2196
2196
|
};
|
|
2197
2197
|
position?: string | null | undefined;
|
|
2198
2198
|
source?: string | null | undefined;
|
|
@@ -2252,15 +2252,15 @@ export declare const clientContactsContractRouter: {
|
|
|
2252
2252
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2253
2253
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
2254
2254
|
name?: string | undefined;
|
|
2255
|
-
email?: string | undefined;
|
|
2256
|
-
phone?: string | undefined;
|
|
2257
2255
|
position?: string | undefined;
|
|
2256
|
+
phone?: string | undefined;
|
|
2257
|
+
email?: string | undefined;
|
|
2258
2258
|
source?: string | undefined;
|
|
2259
2259
|
}, {
|
|
2260
2260
|
name?: string | undefined;
|
|
2261
|
-
email?: string | undefined;
|
|
2262
|
-
phone?: string | undefined;
|
|
2263
2261
|
position?: string | undefined;
|
|
2262
|
+
phone?: string | undefined;
|
|
2263
|
+
email?: string | undefined;
|
|
2264
2264
|
source?: string | undefined;
|
|
2265
2265
|
}>;
|
|
2266
2266
|
path: "/v2/client-contacts/:contactId";
|
|
@@ -2384,14 +2384,14 @@ export declare const clientContactsContractRouter: {
|
|
|
2384
2384
|
email: z.ZodString;
|
|
2385
2385
|
}, "strip", z.ZodTypeAny, {
|
|
2386
2386
|
id: string;
|
|
2387
|
-
firstName: string;
|
|
2388
|
-
lastName: string;
|
|
2389
2387
|
email: string;
|
|
2388
|
+
lastName: string;
|
|
2389
|
+
firstName: string;
|
|
2390
2390
|
}, {
|
|
2391
2391
|
id: string;
|
|
2392
|
-
firstName: string;
|
|
2393
|
-
lastName: string;
|
|
2394
2392
|
email: string;
|
|
2393
|
+
lastName: string;
|
|
2394
|
+
firstName: string;
|
|
2395
2395
|
}>>>;
|
|
2396
2396
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2397
2397
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2406,8 +2406,8 @@ export declare const clientContactsContractRouter: {
|
|
|
2406
2406
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2407
2407
|
id: string;
|
|
2408
2408
|
name: string;
|
|
2409
|
-
createdAt: string;
|
|
2410
2409
|
updatedAt: string;
|
|
2410
|
+
createdAt: string;
|
|
2411
2411
|
crn: string | null;
|
|
2412
2412
|
govLink: string | null;
|
|
2413
2413
|
director: string;
|
|
@@ -2418,16 +2418,16 @@ export declare const clientContactsContractRouter: {
|
|
|
2418
2418
|
} | null | undefined;
|
|
2419
2419
|
lastUpdatedBy?: {
|
|
2420
2420
|
id: string;
|
|
2421
|
-
firstName: string;
|
|
2422
|
-
lastName: string;
|
|
2423
2421
|
email: string;
|
|
2422
|
+
lastName: string;
|
|
2423
|
+
firstName: string;
|
|
2424
2424
|
} | null | undefined;
|
|
2425
2425
|
}, {
|
|
2426
2426
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2427
2427
|
id: string;
|
|
2428
2428
|
name: string;
|
|
2429
|
-
createdAt: string | Date;
|
|
2430
2429
|
updatedAt: string | Date;
|
|
2430
|
+
createdAt: string | Date;
|
|
2431
2431
|
crn: string | null;
|
|
2432
2432
|
govLink: string | null;
|
|
2433
2433
|
director: string;
|
|
@@ -2438,9 +2438,9 @@ export declare const clientContactsContractRouter: {
|
|
|
2438
2438
|
} | null | undefined;
|
|
2439
2439
|
lastUpdatedBy?: {
|
|
2440
2440
|
id: string;
|
|
2441
|
-
firstName: string;
|
|
2442
|
-
lastName: string;
|
|
2443
2441
|
email: string;
|
|
2442
|
+
lastName: string;
|
|
2443
|
+
firstName: string;
|
|
2444
2444
|
} | null | undefined;
|
|
2445
2445
|
}>;
|
|
2446
2446
|
name: z.ZodString;
|
|
@@ -2455,14 +2455,14 @@ export declare const clientContactsContractRouter: {
|
|
|
2455
2455
|
email: z.ZodString;
|
|
2456
2456
|
}, "strip", z.ZodTypeAny, {
|
|
2457
2457
|
id: string;
|
|
2458
|
-
firstName: string;
|
|
2459
|
-
lastName: string;
|
|
2460
2458
|
email: string;
|
|
2459
|
+
lastName: string;
|
|
2460
|
+
firstName: string;
|
|
2461
2461
|
}, {
|
|
2462
2462
|
id: string;
|
|
2463
|
-
firstName: string;
|
|
2464
|
-
lastName: string;
|
|
2465
2463
|
email: string;
|
|
2464
|
+
lastName: string;
|
|
2465
|
+
firstName: string;
|
|
2466
2466
|
}>;
|
|
2467
2467
|
createdById: z.ZodString;
|
|
2468
2468
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2470,18 +2470,16 @@ export declare const clientContactsContractRouter: {
|
|
|
2470
2470
|
}, "strip", z.ZodTypeAny, {
|
|
2471
2471
|
id: string;
|
|
2472
2472
|
name: string;
|
|
2473
|
-
email: string | null;
|
|
2474
|
-
createdAt: string;
|
|
2475
2473
|
updatedAt: string;
|
|
2476
|
-
|
|
2474
|
+
createdAt: string;
|
|
2477
2475
|
clientId: string;
|
|
2478
2476
|
createdById: string;
|
|
2479
2477
|
client: {
|
|
2480
2478
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2481
2479
|
id: string;
|
|
2482
2480
|
name: string;
|
|
2483
|
-
createdAt: string;
|
|
2484
2481
|
updatedAt: string;
|
|
2482
|
+
createdAt: string;
|
|
2485
2483
|
crn: string | null;
|
|
2486
2484
|
govLink: string | null;
|
|
2487
2485
|
director: string;
|
|
@@ -2492,34 +2490,34 @@ export declare const clientContactsContractRouter: {
|
|
|
2492
2490
|
} | null | undefined;
|
|
2493
2491
|
lastUpdatedBy?: {
|
|
2494
2492
|
id: string;
|
|
2495
|
-
firstName: string;
|
|
2496
|
-
lastName: string;
|
|
2497
2493
|
email: string;
|
|
2494
|
+
lastName: string;
|
|
2495
|
+
firstName: string;
|
|
2498
2496
|
} | null | undefined;
|
|
2499
2497
|
};
|
|
2498
|
+
phone: string;
|
|
2499
|
+
email: string | null;
|
|
2500
2500
|
createdBy: {
|
|
2501
2501
|
id: string;
|
|
2502
|
-
firstName: string;
|
|
2503
|
-
lastName: string;
|
|
2504
2502
|
email: string;
|
|
2503
|
+
lastName: string;
|
|
2504
|
+
firstName: string;
|
|
2505
2505
|
};
|
|
2506
2506
|
position?: string | null | undefined;
|
|
2507
2507
|
source?: string | null | undefined;
|
|
2508
2508
|
}, {
|
|
2509
2509
|
id: string;
|
|
2510
2510
|
name: string;
|
|
2511
|
-
email: string | null;
|
|
2512
|
-
createdAt: string | Date;
|
|
2513
2511
|
updatedAt: string | Date;
|
|
2514
|
-
|
|
2512
|
+
createdAt: string | Date;
|
|
2515
2513
|
clientId: string;
|
|
2516
2514
|
createdById: string;
|
|
2517
2515
|
client: {
|
|
2518
2516
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2519
2517
|
id: string;
|
|
2520
2518
|
name: string;
|
|
2521
|
-
createdAt: string | Date;
|
|
2522
2519
|
updatedAt: string | Date;
|
|
2520
|
+
createdAt: string | Date;
|
|
2523
2521
|
crn: string | null;
|
|
2524
2522
|
govLink: string | null;
|
|
2525
2523
|
director: string;
|
|
@@ -2530,16 +2528,18 @@ export declare const clientContactsContractRouter: {
|
|
|
2530
2528
|
} | null | undefined;
|
|
2531
2529
|
lastUpdatedBy?: {
|
|
2532
2530
|
id: string;
|
|
2533
|
-
firstName: string;
|
|
2534
|
-
lastName: string;
|
|
2535
2531
|
email: string;
|
|
2532
|
+
lastName: string;
|
|
2533
|
+
firstName: string;
|
|
2536
2534
|
} | null | undefined;
|
|
2537
2535
|
};
|
|
2536
|
+
phone: string;
|
|
2537
|
+
email: string | null;
|
|
2538
2538
|
createdBy: {
|
|
2539
2539
|
id: string;
|
|
2540
|
-
firstName: string;
|
|
2541
|
-
lastName: string;
|
|
2542
2540
|
email: string;
|
|
2541
|
+
lastName: string;
|
|
2542
|
+
firstName: string;
|
|
2543
2543
|
};
|
|
2544
2544
|
position?: string | null | undefined;
|
|
2545
2545
|
source?: string | null | undefined;
|