@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
|
@@ -56,45 +56,45 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
56
56
|
agentId: string;
|
|
57
57
|
}>>>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
status: "
|
|
59
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
60
60
|
id: string;
|
|
61
61
|
name: string;
|
|
62
62
|
createdAt: string;
|
|
63
63
|
updatedAt: string;
|
|
64
64
|
crn: string | null;
|
|
65
65
|
govLink: string | null;
|
|
66
|
-
soleTrader: boolean;
|
|
67
66
|
director: string;
|
|
67
|
+
soleTrader: boolean;
|
|
68
68
|
blacklistReason?: string | null | undefined;
|
|
69
|
+
agentClientLinks?: {
|
|
70
|
+
agentId: string;
|
|
71
|
+
} | null | undefined;
|
|
69
72
|
lastUpdatedBy?: {
|
|
70
73
|
id: string;
|
|
71
74
|
firstName: string;
|
|
72
75
|
lastName: string;
|
|
73
76
|
email: string;
|
|
74
77
|
} | null | undefined;
|
|
75
|
-
agentClientLinks?: {
|
|
76
|
-
agentId: string;
|
|
77
|
-
} | null | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
status: "
|
|
79
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
80
80
|
id: string;
|
|
81
81
|
name: string;
|
|
82
82
|
createdAt: string | Date;
|
|
83
83
|
updatedAt: string | Date;
|
|
84
84
|
crn: string | null;
|
|
85
85
|
govLink: string | null;
|
|
86
|
-
soleTrader: boolean;
|
|
87
86
|
director: string;
|
|
87
|
+
soleTrader: boolean;
|
|
88
88
|
blacklistReason?: string | null | undefined;
|
|
89
|
+
agentClientLinks?: {
|
|
90
|
+
agentId: string;
|
|
91
|
+
} | null | undefined;
|
|
89
92
|
lastUpdatedBy?: {
|
|
90
93
|
id: string;
|
|
91
94
|
firstName: string;
|
|
92
95
|
lastName: string;
|
|
93
96
|
email: string;
|
|
94
97
|
} | null | undefined;
|
|
95
|
-
agentClientLinks?: {
|
|
96
|
-
agentId: string;
|
|
97
|
-
} | null | undefined;
|
|
98
98
|
}>;
|
|
99
99
|
name: z.ZodString;
|
|
100
100
|
position: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -122,80 +122,80 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
122
122
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
124
|
id: string;
|
|
125
|
-
email: string | null;
|
|
126
125
|
name: string;
|
|
126
|
+
email: string | null;
|
|
127
127
|
createdAt: string;
|
|
128
128
|
updatedAt: string;
|
|
129
|
-
createdById: string;
|
|
130
|
-
createdBy: {
|
|
131
|
-
id: string;
|
|
132
|
-
firstName: string;
|
|
133
|
-
lastName: string;
|
|
134
|
-
email: string;
|
|
135
|
-
};
|
|
136
|
-
clientId: string;
|
|
137
129
|
phone: string;
|
|
130
|
+
clientId: string;
|
|
131
|
+
createdById: string;
|
|
138
132
|
client: {
|
|
139
|
-
status: "
|
|
133
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
140
134
|
id: string;
|
|
141
135
|
name: string;
|
|
142
136
|
createdAt: string;
|
|
143
137
|
updatedAt: string;
|
|
144
138
|
crn: string | null;
|
|
145
139
|
govLink: string | null;
|
|
146
|
-
soleTrader: boolean;
|
|
147
140
|
director: string;
|
|
141
|
+
soleTrader: boolean;
|
|
148
142
|
blacklistReason?: string | null | undefined;
|
|
143
|
+
agentClientLinks?: {
|
|
144
|
+
agentId: string;
|
|
145
|
+
} | null | undefined;
|
|
149
146
|
lastUpdatedBy?: {
|
|
150
147
|
id: string;
|
|
151
148
|
firstName: string;
|
|
152
149
|
lastName: string;
|
|
153
150
|
email: string;
|
|
154
151
|
} | null | undefined;
|
|
155
|
-
agentClientLinks?: {
|
|
156
|
-
agentId: string;
|
|
157
|
-
} | null | undefined;
|
|
158
152
|
};
|
|
159
|
-
source?: string | null | undefined;
|
|
160
|
-
position?: string | null | undefined;
|
|
161
|
-
}, {
|
|
162
|
-
id: string;
|
|
163
|
-
email: string | null;
|
|
164
|
-
name: string;
|
|
165
|
-
createdAt: string | Date;
|
|
166
|
-
updatedAt: string | Date;
|
|
167
|
-
createdById: string;
|
|
168
153
|
createdBy: {
|
|
169
154
|
id: string;
|
|
170
155
|
firstName: string;
|
|
171
156
|
lastName: string;
|
|
172
157
|
email: string;
|
|
173
158
|
};
|
|
174
|
-
|
|
159
|
+
position?: string | null | undefined;
|
|
160
|
+
source?: string | null | undefined;
|
|
161
|
+
}, {
|
|
162
|
+
id: string;
|
|
163
|
+
name: string;
|
|
164
|
+
email: string | null;
|
|
165
|
+
createdAt: string | Date;
|
|
166
|
+
updatedAt: string | Date;
|
|
175
167
|
phone: string;
|
|
168
|
+
clientId: string;
|
|
169
|
+
createdById: string;
|
|
176
170
|
client: {
|
|
177
|
-
status: "
|
|
171
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
178
172
|
id: string;
|
|
179
173
|
name: string;
|
|
180
174
|
createdAt: string | Date;
|
|
181
175
|
updatedAt: string | Date;
|
|
182
176
|
crn: string | null;
|
|
183
177
|
govLink: string | null;
|
|
184
|
-
soleTrader: boolean;
|
|
185
178
|
director: string;
|
|
179
|
+
soleTrader: boolean;
|
|
186
180
|
blacklistReason?: string | null | undefined;
|
|
181
|
+
agentClientLinks?: {
|
|
182
|
+
agentId: string;
|
|
183
|
+
} | null | undefined;
|
|
187
184
|
lastUpdatedBy?: {
|
|
188
185
|
id: string;
|
|
189
186
|
firstName: string;
|
|
190
187
|
lastName: string;
|
|
191
188
|
email: string;
|
|
192
189
|
} | null | undefined;
|
|
193
|
-
agentClientLinks?: {
|
|
194
|
-
agentId: string;
|
|
195
|
-
} | null | undefined;
|
|
196
190
|
};
|
|
197
|
-
|
|
191
|
+
createdBy: {
|
|
192
|
+
id: string;
|
|
193
|
+
firstName: string;
|
|
194
|
+
lastName: string;
|
|
195
|
+
email: string;
|
|
196
|
+
};
|
|
198
197
|
position?: string | null | undefined;
|
|
198
|
+
source?: string | null | undefined;
|
|
199
199
|
}>;
|
|
200
200
|
export declare const CreateClientContactSchema: z.ZodObject<{
|
|
201
201
|
client: z.ZodObject<{
|
|
@@ -217,8 +217,8 @@ export declare const CreateClientContactSchema: z.ZodObject<{
|
|
|
217
217
|
id: string;
|
|
218
218
|
};
|
|
219
219
|
email?: string | undefined;
|
|
220
|
-
source?: string | undefined;
|
|
221
220
|
position?: string | undefined;
|
|
221
|
+
source?: string | undefined;
|
|
222
222
|
}, {
|
|
223
223
|
name: string;
|
|
224
224
|
phone: string;
|
|
@@ -226,8 +226,8 @@ export declare const CreateClientContactSchema: z.ZodObject<{
|
|
|
226
226
|
id: string;
|
|
227
227
|
};
|
|
228
228
|
email?: string | undefined;
|
|
229
|
-
source?: string | undefined;
|
|
230
229
|
position?: string | undefined;
|
|
230
|
+
source?: string | undefined;
|
|
231
231
|
}>;
|
|
232
232
|
export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
233
233
|
client: z.ZodObject<{
|
|
@@ -246,14 +246,14 @@ export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
|
246
246
|
name: string;
|
|
247
247
|
phone: string;
|
|
248
248
|
email?: string | undefined;
|
|
249
|
-
source?: string | undefined;
|
|
250
249
|
position?: string | undefined;
|
|
250
|
+
source?: string | undefined;
|
|
251
251
|
}, {
|
|
252
252
|
name: string;
|
|
253
253
|
phone: string;
|
|
254
254
|
email?: string | undefined;
|
|
255
|
-
source?: string | undefined;
|
|
256
255
|
position?: string | undefined;
|
|
256
|
+
source?: string | undefined;
|
|
257
257
|
}>;
|
|
258
258
|
export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
259
259
|
client: z.ZodOptional<z.ZodObject<{
|
|
@@ -269,17 +269,17 @@ export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
|
269
269
|
email: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
|
|
270
270
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
271
271
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
272
|
-
email?: string | undefined;
|
|
273
272
|
name?: string | undefined;
|
|
274
|
-
|
|
275
|
-
position?: string | undefined;
|
|
273
|
+
email?: string | undefined;
|
|
276
274
|
phone?: string | undefined;
|
|
275
|
+
position?: string | undefined;
|
|
276
|
+
source?: string | undefined;
|
|
277
277
|
}, {
|
|
278
|
-
email?: string | undefined;
|
|
279
278
|
name?: string | undefined;
|
|
280
|
-
|
|
281
|
-
position?: string | undefined;
|
|
279
|
+
email?: string | undefined;
|
|
282
280
|
phone?: string | undefined;
|
|
281
|
+
position?: string | undefined;
|
|
282
|
+
source?: string | undefined;
|
|
283
283
|
}>;
|
|
284
284
|
export declare const FilterClientContactSchema: z.ZodObject<{
|
|
285
285
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -296,40 +296,40 @@ 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: "
|
|
299
|
+
field: "name" | "email" | "createdAt" | "updatedAt" | "position";
|
|
300
300
|
order: "ASC" | "DESC";
|
|
301
301
|
}, {
|
|
302
|
-
field: "
|
|
302
|
+
field: "name" | "email" | "createdAt" | "updatedAt" | "position";
|
|
303
303
|
order: "ASC" | "DESC";
|
|
304
304
|
}>, "many">>>;
|
|
305
305
|
}, "strip", z.ZodTypeAny, {
|
|
306
306
|
limit: number;
|
|
307
307
|
page: number;
|
|
308
308
|
sort?: {
|
|
309
|
-
field: "
|
|
309
|
+
field: "name" | "email" | "createdAt" | "updatedAt" | "position";
|
|
310
310
|
order: "ASC" | "DESC";
|
|
311
311
|
}[] | null | undefined;
|
|
312
|
-
email?: string | undefined;
|
|
313
312
|
name?: string | undefined;
|
|
314
|
-
|
|
315
|
-
position?: string | undefined;
|
|
316
|
-
createdById?: string | undefined;
|
|
317
|
-
clientId?: string | undefined;
|
|
313
|
+
email?: string | undefined;
|
|
318
314
|
phone?: string | undefined;
|
|
315
|
+
clientId?: string | undefined;
|
|
316
|
+
createdById?: string | undefined;
|
|
317
|
+
position?: string | undefined;
|
|
318
|
+
source?: string | undefined;
|
|
319
319
|
}, {
|
|
320
|
-
limit?: number | undefined;
|
|
321
|
-
page?: number | undefined;
|
|
322
320
|
sort?: {
|
|
323
|
-
field: "
|
|
321
|
+
field: "name" | "email" | "createdAt" | "updatedAt" | "position";
|
|
324
322
|
order: "ASC" | "DESC";
|
|
325
323
|
}[] | null | undefined;
|
|
326
|
-
email?: string | undefined;
|
|
327
324
|
name?: string | undefined;
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
clientId?: string | undefined;
|
|
325
|
+
limit?: number | undefined;
|
|
326
|
+
page?: number | undefined;
|
|
327
|
+
email?: string | undefined;
|
|
332
328
|
phone?: string | undefined;
|
|
329
|
+
clientId?: string | undefined;
|
|
330
|
+
createdById?: string | undefined;
|
|
331
|
+
position?: string | undefined;
|
|
332
|
+
source?: string | undefined;
|
|
333
333
|
}>;
|
|
334
334
|
export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
335
335
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -370,45 +370,45 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
370
370
|
agentId: string;
|
|
371
371
|
}>>>;
|
|
372
372
|
}, "strip", z.ZodTypeAny, {
|
|
373
|
-
status: "
|
|
373
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
374
374
|
id: string;
|
|
375
375
|
name: string;
|
|
376
376
|
createdAt: string;
|
|
377
377
|
updatedAt: string;
|
|
378
378
|
crn: string | null;
|
|
379
379
|
govLink: string | null;
|
|
380
|
-
soleTrader: boolean;
|
|
381
380
|
director: string;
|
|
381
|
+
soleTrader: boolean;
|
|
382
382
|
blacklistReason?: string | null | undefined;
|
|
383
|
+
agentClientLinks?: {
|
|
384
|
+
agentId: string;
|
|
385
|
+
} | null | undefined;
|
|
383
386
|
lastUpdatedBy?: {
|
|
384
387
|
id: string;
|
|
385
388
|
firstName: string;
|
|
386
389
|
lastName: string;
|
|
387
390
|
email: string;
|
|
388
391
|
} | null | undefined;
|
|
389
|
-
agentClientLinks?: {
|
|
390
|
-
agentId: string;
|
|
391
|
-
} | null | undefined;
|
|
392
392
|
}, {
|
|
393
|
-
status: "
|
|
393
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
394
394
|
id: string;
|
|
395
395
|
name: string;
|
|
396
396
|
createdAt: string | Date;
|
|
397
397
|
updatedAt: string | Date;
|
|
398
398
|
crn: string | null;
|
|
399
399
|
govLink: string | null;
|
|
400
|
-
soleTrader: boolean;
|
|
401
400
|
director: string;
|
|
401
|
+
soleTrader: boolean;
|
|
402
402
|
blacklistReason?: string | null | undefined;
|
|
403
|
+
agentClientLinks?: {
|
|
404
|
+
agentId: string;
|
|
405
|
+
} | null | undefined;
|
|
403
406
|
lastUpdatedBy?: {
|
|
404
407
|
id: string;
|
|
405
408
|
firstName: string;
|
|
406
409
|
lastName: string;
|
|
407
410
|
email: string;
|
|
408
411
|
} | null | undefined;
|
|
409
|
-
agentClientLinks?: {
|
|
410
|
-
agentId: string;
|
|
411
|
-
} | null | undefined;
|
|
412
412
|
}>;
|
|
413
413
|
name: z.ZodString;
|
|
414
414
|
position: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -436,80 +436,80 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
436
436
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
437
437
|
}, "strip", z.ZodTypeAny, {
|
|
438
438
|
id: string;
|
|
439
|
-
email: string | null;
|
|
440
439
|
name: string;
|
|
440
|
+
email: string | null;
|
|
441
441
|
createdAt: string;
|
|
442
442
|
updatedAt: string;
|
|
443
|
-
createdById: string;
|
|
444
|
-
createdBy: {
|
|
445
|
-
id: string;
|
|
446
|
-
firstName: string;
|
|
447
|
-
lastName: string;
|
|
448
|
-
email: string;
|
|
449
|
-
};
|
|
450
|
-
clientId: string;
|
|
451
443
|
phone: string;
|
|
444
|
+
clientId: string;
|
|
445
|
+
createdById: string;
|
|
452
446
|
client: {
|
|
453
|
-
status: "
|
|
447
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
454
448
|
id: string;
|
|
455
449
|
name: string;
|
|
456
450
|
createdAt: string;
|
|
457
451
|
updatedAt: string;
|
|
458
452
|
crn: string | null;
|
|
459
453
|
govLink: string | null;
|
|
460
|
-
soleTrader: boolean;
|
|
461
454
|
director: string;
|
|
455
|
+
soleTrader: boolean;
|
|
462
456
|
blacklistReason?: string | null | undefined;
|
|
457
|
+
agentClientLinks?: {
|
|
458
|
+
agentId: string;
|
|
459
|
+
} | null | undefined;
|
|
463
460
|
lastUpdatedBy?: {
|
|
464
461
|
id: string;
|
|
465
462
|
firstName: string;
|
|
466
463
|
lastName: string;
|
|
467
464
|
email: string;
|
|
468
465
|
} | null | undefined;
|
|
469
|
-
agentClientLinks?: {
|
|
470
|
-
agentId: string;
|
|
471
|
-
} | null | undefined;
|
|
472
466
|
};
|
|
473
|
-
source?: string | null | undefined;
|
|
474
|
-
position?: string | null | undefined;
|
|
475
|
-
}, {
|
|
476
|
-
id: string;
|
|
477
|
-
email: string | null;
|
|
478
|
-
name: string;
|
|
479
|
-
createdAt: string | Date;
|
|
480
|
-
updatedAt: string | Date;
|
|
481
|
-
createdById: string;
|
|
482
467
|
createdBy: {
|
|
483
468
|
id: string;
|
|
484
469
|
firstName: string;
|
|
485
470
|
lastName: string;
|
|
486
471
|
email: string;
|
|
487
472
|
};
|
|
488
|
-
|
|
473
|
+
position?: string | null | undefined;
|
|
474
|
+
source?: string | null | undefined;
|
|
475
|
+
}, {
|
|
476
|
+
id: string;
|
|
477
|
+
name: string;
|
|
478
|
+
email: string | null;
|
|
479
|
+
createdAt: string | Date;
|
|
480
|
+
updatedAt: string | Date;
|
|
489
481
|
phone: string;
|
|
482
|
+
clientId: string;
|
|
483
|
+
createdById: string;
|
|
490
484
|
client: {
|
|
491
|
-
status: "
|
|
485
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
492
486
|
id: string;
|
|
493
487
|
name: string;
|
|
494
488
|
createdAt: string | Date;
|
|
495
489
|
updatedAt: string | Date;
|
|
496
490
|
crn: string | null;
|
|
497
491
|
govLink: string | null;
|
|
498
|
-
soleTrader: boolean;
|
|
499
492
|
director: string;
|
|
493
|
+
soleTrader: boolean;
|
|
500
494
|
blacklistReason?: string | null | undefined;
|
|
495
|
+
agentClientLinks?: {
|
|
496
|
+
agentId: string;
|
|
497
|
+
} | null | undefined;
|
|
501
498
|
lastUpdatedBy?: {
|
|
502
499
|
id: string;
|
|
503
500
|
firstName: string;
|
|
504
501
|
lastName: string;
|
|
505
502
|
email: string;
|
|
506
503
|
} | null | undefined;
|
|
507
|
-
agentClientLinks?: {
|
|
508
|
-
agentId: string;
|
|
509
|
-
} | null | undefined;
|
|
510
504
|
};
|
|
511
|
-
|
|
505
|
+
createdBy: {
|
|
506
|
+
id: string;
|
|
507
|
+
firstName: string;
|
|
508
|
+
lastName: string;
|
|
509
|
+
email: string;
|
|
510
|
+
};
|
|
512
511
|
position?: string | null | undefined;
|
|
512
|
+
source?: string | null | undefined;
|
|
513
513
|
}>, "many">;
|
|
514
514
|
totalCount: z.ZodNumber;
|
|
515
515
|
limit: z.ZodNumber;
|
|
@@ -520,42 +520,42 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
520
520
|
limit: number;
|
|
521
521
|
items: {
|
|
522
522
|
id: string;
|
|
523
|
-
email: string | null;
|
|
524
523
|
name: string;
|
|
524
|
+
email: string | null;
|
|
525
525
|
createdAt: string;
|
|
526
526
|
updatedAt: string;
|
|
527
|
-
createdById: string;
|
|
528
|
-
createdBy: {
|
|
529
|
-
id: string;
|
|
530
|
-
firstName: string;
|
|
531
|
-
lastName: string;
|
|
532
|
-
email: string;
|
|
533
|
-
};
|
|
534
|
-
clientId: string;
|
|
535
527
|
phone: string;
|
|
528
|
+
clientId: string;
|
|
529
|
+
createdById: string;
|
|
536
530
|
client: {
|
|
537
|
-
status: "
|
|
531
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
538
532
|
id: string;
|
|
539
533
|
name: string;
|
|
540
534
|
createdAt: string;
|
|
541
535
|
updatedAt: string;
|
|
542
536
|
crn: string | null;
|
|
543
537
|
govLink: string | null;
|
|
544
|
-
soleTrader: boolean;
|
|
545
538
|
director: string;
|
|
539
|
+
soleTrader: boolean;
|
|
546
540
|
blacklistReason?: string | null | undefined;
|
|
541
|
+
agentClientLinks?: {
|
|
542
|
+
agentId: string;
|
|
543
|
+
} | null | undefined;
|
|
547
544
|
lastUpdatedBy?: {
|
|
548
545
|
id: string;
|
|
549
546
|
firstName: string;
|
|
550
547
|
lastName: string;
|
|
551
548
|
email: string;
|
|
552
549
|
} | null | undefined;
|
|
553
|
-
agentClientLinks?: {
|
|
554
|
-
agentId: string;
|
|
555
|
-
} | null | undefined;
|
|
556
550
|
};
|
|
557
|
-
|
|
551
|
+
createdBy: {
|
|
552
|
+
id: string;
|
|
553
|
+
firstName: string;
|
|
554
|
+
lastName: string;
|
|
555
|
+
email: string;
|
|
556
|
+
};
|
|
558
557
|
position?: string | null | undefined;
|
|
558
|
+
source?: string | null | undefined;
|
|
559
559
|
}[];
|
|
560
560
|
totalCount: number;
|
|
561
561
|
skip: number;
|
|
@@ -565,42 +565,42 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
565
565
|
limit: number;
|
|
566
566
|
items: {
|
|
567
567
|
id: string;
|
|
568
|
-
email: string | null;
|
|
569
568
|
name: string;
|
|
569
|
+
email: string | null;
|
|
570
570
|
createdAt: string | Date;
|
|
571
571
|
updatedAt: string | Date;
|
|
572
|
-
createdById: string;
|
|
573
|
-
createdBy: {
|
|
574
|
-
id: string;
|
|
575
|
-
firstName: string;
|
|
576
|
-
lastName: string;
|
|
577
|
-
email: string;
|
|
578
|
-
};
|
|
579
|
-
clientId: string;
|
|
580
572
|
phone: string;
|
|
573
|
+
clientId: string;
|
|
574
|
+
createdById: string;
|
|
581
575
|
client: {
|
|
582
|
-
status: "
|
|
576
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
583
577
|
id: string;
|
|
584
578
|
name: string;
|
|
585
579
|
createdAt: string | Date;
|
|
586
580
|
updatedAt: string | Date;
|
|
587
581
|
crn: string | null;
|
|
588
582
|
govLink: string | null;
|
|
589
|
-
soleTrader: boolean;
|
|
590
583
|
director: string;
|
|
584
|
+
soleTrader: boolean;
|
|
591
585
|
blacklistReason?: string | null | undefined;
|
|
586
|
+
agentClientLinks?: {
|
|
587
|
+
agentId: string;
|
|
588
|
+
} | null | undefined;
|
|
592
589
|
lastUpdatedBy?: {
|
|
593
590
|
id: string;
|
|
594
591
|
firstName: string;
|
|
595
592
|
lastName: string;
|
|
596
593
|
email: string;
|
|
597
594
|
} | null | undefined;
|
|
598
|
-
agentClientLinks?: {
|
|
599
|
-
agentId: string;
|
|
600
|
-
} | null | undefined;
|
|
601
595
|
};
|
|
602
|
-
|
|
596
|
+
createdBy: {
|
|
597
|
+
id: string;
|
|
598
|
+
firstName: string;
|
|
599
|
+
lastName: string;
|
|
600
|
+
email: string;
|
|
601
|
+
};
|
|
603
602
|
position?: string | null | undefined;
|
|
603
|
+
source?: string | null | undefined;
|
|
604
604
|
}[];
|
|
605
605
|
totalCount: number;
|
|
606
606
|
skip: number;
|
|
@@ -663,8 +663,8 @@ export declare const clientContactsContractRouter: {
|
|
|
663
663
|
id: string;
|
|
664
664
|
};
|
|
665
665
|
email?: string | undefined;
|
|
666
|
-
source?: string | undefined;
|
|
667
666
|
position?: string | undefined;
|
|
667
|
+
source?: string | undefined;
|
|
668
668
|
}, {
|
|
669
669
|
name: string;
|
|
670
670
|
phone: string;
|
|
@@ -672,8 +672,8 @@ export declare const clientContactsContractRouter: {
|
|
|
672
672
|
id: string;
|
|
673
673
|
};
|
|
674
674
|
email?: string | undefined;
|
|
675
|
-
source?: string | undefined;
|
|
676
675
|
position?: string | undefined;
|
|
676
|
+
source?: string | undefined;
|
|
677
677
|
}>;
|
|
678
678
|
path: "/v2/client-contacts";
|
|
679
679
|
responses: {
|
|
@@ -686,17 +686,17 @@ export declare const clientContactsContractRouter: {
|
|
|
686
686
|
path: z.ZodString;
|
|
687
687
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
688
688
|
}, "strip", z.ZodTypeAny, {
|
|
689
|
+
message: string;
|
|
689
690
|
code: string;
|
|
690
691
|
path: string;
|
|
691
|
-
message: string;
|
|
692
692
|
statusCode: number;
|
|
693
693
|
timestamp: string;
|
|
694
694
|
details?: unknown;
|
|
695
695
|
correlationId?: string | undefined;
|
|
696
696
|
}, {
|
|
697
|
+
message: string;
|
|
697
698
|
code: string;
|
|
698
699
|
path: string;
|
|
699
|
-
message: string;
|
|
700
700
|
statusCode: number;
|
|
701
701
|
timestamp: string;
|
|
702
702
|
details?: unknown;
|
|
@@ -711,17 +711,17 @@ export declare const clientContactsContractRouter: {
|
|
|
711
711
|
path: z.ZodString;
|
|
712
712
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
713
713
|
}, "strip", z.ZodTypeAny, {
|
|
714
|
+
message: string;
|
|
714
715
|
code: string;
|
|
715
716
|
path: string;
|
|
716
|
-
message: string;
|
|
717
717
|
statusCode: number;
|
|
718
718
|
timestamp: string;
|
|
719
719
|
details?: unknown;
|
|
720
720
|
correlationId?: string | undefined;
|
|
721
721
|
}, {
|
|
722
|
+
message: string;
|
|
722
723
|
code: string;
|
|
723
724
|
path: string;
|
|
724
|
-
message: string;
|
|
725
725
|
statusCode: number;
|
|
726
726
|
timestamp: string;
|
|
727
727
|
details?: unknown;
|
|
@@ -736,17 +736,17 @@ export declare const clientContactsContractRouter: {
|
|
|
736
736
|
path: z.ZodString;
|
|
737
737
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
738
738
|
}, "strip", z.ZodTypeAny, {
|
|
739
|
+
message: string;
|
|
739
740
|
code: string;
|
|
740
741
|
path: string;
|
|
741
|
-
message: string;
|
|
742
742
|
statusCode: number;
|
|
743
743
|
timestamp: string;
|
|
744
744
|
details?: unknown;
|
|
745
745
|
correlationId?: string | undefined;
|
|
746
746
|
}, {
|
|
747
|
+
message: string;
|
|
747
748
|
code: string;
|
|
748
749
|
path: string;
|
|
749
|
-
message: string;
|
|
750
750
|
statusCode: number;
|
|
751
751
|
timestamp: string;
|
|
752
752
|
details?: unknown;
|
|
@@ -761,17 +761,17 @@ export declare const clientContactsContractRouter: {
|
|
|
761
761
|
path: z.ZodString;
|
|
762
762
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
763
763
|
}, "strip", z.ZodTypeAny, {
|
|
764
|
+
message: string;
|
|
764
765
|
code: string;
|
|
765
766
|
path: string;
|
|
766
|
-
message: string;
|
|
767
767
|
statusCode: number;
|
|
768
768
|
timestamp: string;
|
|
769
769
|
details?: unknown;
|
|
770
770
|
correlationId?: string | undefined;
|
|
771
771
|
}, {
|
|
772
|
+
message: string;
|
|
772
773
|
code: string;
|
|
773
774
|
path: string;
|
|
774
|
-
message: string;
|
|
775
775
|
statusCode: number;
|
|
776
776
|
timestamp: string;
|
|
777
777
|
details?: unknown;
|
|
@@ -815,45 +815,45 @@ export declare const clientContactsContractRouter: {
|
|
|
815
815
|
agentId: string;
|
|
816
816
|
}>>>;
|
|
817
817
|
}, "strip", z.ZodTypeAny, {
|
|
818
|
-
status: "
|
|
818
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
819
819
|
id: string;
|
|
820
820
|
name: string;
|
|
821
821
|
createdAt: string;
|
|
822
822
|
updatedAt: string;
|
|
823
823
|
crn: string | null;
|
|
824
824
|
govLink: string | null;
|
|
825
|
-
soleTrader: boolean;
|
|
826
825
|
director: string;
|
|
826
|
+
soleTrader: boolean;
|
|
827
827
|
blacklistReason?: string | null | undefined;
|
|
828
|
+
agentClientLinks?: {
|
|
829
|
+
agentId: string;
|
|
830
|
+
} | null | undefined;
|
|
828
831
|
lastUpdatedBy?: {
|
|
829
832
|
id: string;
|
|
830
833
|
firstName: string;
|
|
831
834
|
lastName: string;
|
|
832
835
|
email: string;
|
|
833
836
|
} | null | undefined;
|
|
834
|
-
agentClientLinks?: {
|
|
835
|
-
agentId: string;
|
|
836
|
-
} | null | undefined;
|
|
837
837
|
}, {
|
|
838
|
-
status: "
|
|
838
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
839
839
|
id: string;
|
|
840
840
|
name: string;
|
|
841
841
|
createdAt: string | Date;
|
|
842
842
|
updatedAt: string | Date;
|
|
843
843
|
crn: string | null;
|
|
844
844
|
govLink: string | null;
|
|
845
|
-
soleTrader: boolean;
|
|
846
845
|
director: string;
|
|
846
|
+
soleTrader: boolean;
|
|
847
847
|
blacklistReason?: string | null | undefined;
|
|
848
|
+
agentClientLinks?: {
|
|
849
|
+
agentId: string;
|
|
850
|
+
} | null | undefined;
|
|
848
851
|
lastUpdatedBy?: {
|
|
849
852
|
id: string;
|
|
850
853
|
firstName: string;
|
|
851
854
|
lastName: string;
|
|
852
855
|
email: string;
|
|
853
856
|
} | null | undefined;
|
|
854
|
-
agentClientLinks?: {
|
|
855
|
-
agentId: string;
|
|
856
|
-
} | null | undefined;
|
|
857
857
|
}>;
|
|
858
858
|
name: z.ZodString;
|
|
859
859
|
position: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -881,80 +881,80 @@ export declare const clientContactsContractRouter: {
|
|
|
881
881
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
882
882
|
}, "strip", z.ZodTypeAny, {
|
|
883
883
|
id: string;
|
|
884
|
-
email: string | null;
|
|
885
884
|
name: string;
|
|
885
|
+
email: string | null;
|
|
886
886
|
createdAt: string;
|
|
887
887
|
updatedAt: string;
|
|
888
|
-
createdById: string;
|
|
889
|
-
createdBy: {
|
|
890
|
-
id: string;
|
|
891
|
-
firstName: string;
|
|
892
|
-
lastName: string;
|
|
893
|
-
email: string;
|
|
894
|
-
};
|
|
895
|
-
clientId: string;
|
|
896
888
|
phone: string;
|
|
889
|
+
clientId: string;
|
|
890
|
+
createdById: string;
|
|
897
891
|
client: {
|
|
898
|
-
status: "
|
|
892
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
899
893
|
id: string;
|
|
900
894
|
name: string;
|
|
901
895
|
createdAt: string;
|
|
902
896
|
updatedAt: string;
|
|
903
897
|
crn: string | null;
|
|
904
898
|
govLink: string | null;
|
|
905
|
-
soleTrader: boolean;
|
|
906
899
|
director: string;
|
|
900
|
+
soleTrader: boolean;
|
|
907
901
|
blacklistReason?: string | null | undefined;
|
|
902
|
+
agentClientLinks?: {
|
|
903
|
+
agentId: string;
|
|
904
|
+
} | null | undefined;
|
|
908
905
|
lastUpdatedBy?: {
|
|
909
906
|
id: string;
|
|
910
907
|
firstName: string;
|
|
911
908
|
lastName: string;
|
|
912
909
|
email: string;
|
|
913
910
|
} | null | undefined;
|
|
914
|
-
agentClientLinks?: {
|
|
915
|
-
agentId: string;
|
|
916
|
-
} | null | undefined;
|
|
917
911
|
};
|
|
918
|
-
source?: string | null | undefined;
|
|
919
|
-
position?: string | null | undefined;
|
|
920
|
-
}, {
|
|
921
|
-
id: string;
|
|
922
|
-
email: string | null;
|
|
923
|
-
name: string;
|
|
924
|
-
createdAt: string | Date;
|
|
925
|
-
updatedAt: string | Date;
|
|
926
|
-
createdById: string;
|
|
927
912
|
createdBy: {
|
|
928
913
|
id: string;
|
|
929
914
|
firstName: string;
|
|
930
915
|
lastName: string;
|
|
931
916
|
email: string;
|
|
932
917
|
};
|
|
933
|
-
|
|
918
|
+
position?: string | null | undefined;
|
|
919
|
+
source?: string | null | undefined;
|
|
920
|
+
}, {
|
|
921
|
+
id: string;
|
|
922
|
+
name: string;
|
|
923
|
+
email: string | null;
|
|
924
|
+
createdAt: string | Date;
|
|
925
|
+
updatedAt: string | Date;
|
|
934
926
|
phone: string;
|
|
927
|
+
clientId: string;
|
|
928
|
+
createdById: string;
|
|
935
929
|
client: {
|
|
936
|
-
status: "
|
|
930
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
937
931
|
id: string;
|
|
938
932
|
name: string;
|
|
939
933
|
createdAt: string | Date;
|
|
940
934
|
updatedAt: string | Date;
|
|
941
935
|
crn: string | null;
|
|
942
936
|
govLink: string | null;
|
|
943
|
-
soleTrader: boolean;
|
|
944
937
|
director: string;
|
|
938
|
+
soleTrader: boolean;
|
|
945
939
|
blacklistReason?: string | null | undefined;
|
|
940
|
+
agentClientLinks?: {
|
|
941
|
+
agentId: string;
|
|
942
|
+
} | null | undefined;
|
|
946
943
|
lastUpdatedBy?: {
|
|
947
944
|
id: string;
|
|
948
945
|
firstName: string;
|
|
949
946
|
lastName: string;
|
|
950
947
|
email: string;
|
|
951
948
|
} | null | undefined;
|
|
952
|
-
agentClientLinks?: {
|
|
953
|
-
agentId: string;
|
|
954
|
-
} | null | undefined;
|
|
955
949
|
};
|
|
956
|
-
|
|
950
|
+
createdBy: {
|
|
951
|
+
id: string;
|
|
952
|
+
firstName: string;
|
|
953
|
+
lastName: string;
|
|
954
|
+
email: string;
|
|
955
|
+
};
|
|
957
956
|
position?: string | null | undefined;
|
|
957
|
+
source?: string | null | undefined;
|
|
958
958
|
}>;
|
|
959
959
|
409: z.ZodObject<{
|
|
960
960
|
statusCode: z.ZodNumber;
|
|
@@ -965,17 +965,17 @@ export declare const clientContactsContractRouter: {
|
|
|
965
965
|
path: z.ZodString;
|
|
966
966
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
967
967
|
}, "strip", z.ZodTypeAny, {
|
|
968
|
+
message: string;
|
|
968
969
|
code: string;
|
|
969
970
|
path: string;
|
|
970
|
-
message: string;
|
|
971
971
|
statusCode: number;
|
|
972
972
|
timestamp: string;
|
|
973
973
|
details?: unknown;
|
|
974
974
|
correlationId?: string | undefined;
|
|
975
975
|
}, {
|
|
976
|
+
message: string;
|
|
976
977
|
code: string;
|
|
977
978
|
path: string;
|
|
978
|
-
message: string;
|
|
979
979
|
statusCode: number;
|
|
980
980
|
timestamp: string;
|
|
981
981
|
details?: unknown;
|
|
@@ -1013,14 +1013,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1013
1013
|
name: string;
|
|
1014
1014
|
phone: string;
|
|
1015
1015
|
email?: string | undefined;
|
|
1016
|
-
source?: string | undefined;
|
|
1017
1016
|
position?: string | undefined;
|
|
1017
|
+
source?: string | undefined;
|
|
1018
1018
|
}, {
|
|
1019
1019
|
name: string;
|
|
1020
1020
|
phone: string;
|
|
1021
1021
|
email?: string | undefined;
|
|
1022
|
-
source?: string | undefined;
|
|
1023
1022
|
position?: string | undefined;
|
|
1023
|
+
source?: string | undefined;
|
|
1024
1024
|
}>;
|
|
1025
1025
|
path: "/v2/client-contacts/client/:clientId";
|
|
1026
1026
|
responses: {
|
|
@@ -1033,17 +1033,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1033
1033
|
path: z.ZodString;
|
|
1034
1034
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1035
1035
|
}, "strip", z.ZodTypeAny, {
|
|
1036
|
+
message: string;
|
|
1036
1037
|
code: string;
|
|
1037
1038
|
path: string;
|
|
1038
|
-
message: string;
|
|
1039
1039
|
statusCode: number;
|
|
1040
1040
|
timestamp: string;
|
|
1041
1041
|
details?: unknown;
|
|
1042
1042
|
correlationId?: string | undefined;
|
|
1043
1043
|
}, {
|
|
1044
|
+
message: string;
|
|
1044
1045
|
code: string;
|
|
1045
1046
|
path: string;
|
|
1046
|
-
message: string;
|
|
1047
1047
|
statusCode: number;
|
|
1048
1048
|
timestamp: string;
|
|
1049
1049
|
details?: unknown;
|
|
@@ -1058,17 +1058,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1058
1058
|
path: z.ZodString;
|
|
1059
1059
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1060
1060
|
}, "strip", z.ZodTypeAny, {
|
|
1061
|
+
message: string;
|
|
1061
1062
|
code: string;
|
|
1062
1063
|
path: string;
|
|
1063
|
-
message: string;
|
|
1064
1064
|
statusCode: number;
|
|
1065
1065
|
timestamp: string;
|
|
1066
1066
|
details?: unknown;
|
|
1067
1067
|
correlationId?: string | undefined;
|
|
1068
1068
|
}, {
|
|
1069
|
+
message: string;
|
|
1069
1070
|
code: string;
|
|
1070
1071
|
path: string;
|
|
1071
|
-
message: string;
|
|
1072
1072
|
statusCode: number;
|
|
1073
1073
|
timestamp: string;
|
|
1074
1074
|
details?: unknown;
|
|
@@ -1083,17 +1083,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1083
1083
|
path: z.ZodString;
|
|
1084
1084
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1085
1085
|
}, "strip", z.ZodTypeAny, {
|
|
1086
|
+
message: string;
|
|
1086
1087
|
code: string;
|
|
1087
1088
|
path: string;
|
|
1088
|
-
message: string;
|
|
1089
1089
|
statusCode: number;
|
|
1090
1090
|
timestamp: string;
|
|
1091
1091
|
details?: unknown;
|
|
1092
1092
|
correlationId?: string | undefined;
|
|
1093
1093
|
}, {
|
|
1094
|
+
message: string;
|
|
1094
1095
|
code: string;
|
|
1095
1096
|
path: string;
|
|
1096
|
-
message: string;
|
|
1097
1097
|
statusCode: number;
|
|
1098
1098
|
timestamp: string;
|
|
1099
1099
|
details?: unknown;
|
|
@@ -1108,17 +1108,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1108
1108
|
path: z.ZodString;
|
|
1109
1109
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1110
1110
|
}, "strip", z.ZodTypeAny, {
|
|
1111
|
+
message: string;
|
|
1111
1112
|
code: string;
|
|
1112
1113
|
path: string;
|
|
1113
|
-
message: string;
|
|
1114
1114
|
statusCode: number;
|
|
1115
1115
|
timestamp: string;
|
|
1116
1116
|
details?: unknown;
|
|
1117
1117
|
correlationId?: string | undefined;
|
|
1118
1118
|
}, {
|
|
1119
|
+
message: string;
|
|
1119
1120
|
code: string;
|
|
1120
1121
|
path: string;
|
|
1121
|
-
message: string;
|
|
1122
1122
|
statusCode: number;
|
|
1123
1123
|
timestamp: string;
|
|
1124
1124
|
details?: unknown;
|
|
@@ -1162,45 +1162,45 @@ export declare const clientContactsContractRouter: {
|
|
|
1162
1162
|
agentId: string;
|
|
1163
1163
|
}>>>;
|
|
1164
1164
|
}, "strip", z.ZodTypeAny, {
|
|
1165
|
-
status: "
|
|
1165
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1166
1166
|
id: string;
|
|
1167
1167
|
name: string;
|
|
1168
1168
|
createdAt: string;
|
|
1169
1169
|
updatedAt: string;
|
|
1170
1170
|
crn: string | null;
|
|
1171
1171
|
govLink: string | null;
|
|
1172
|
-
soleTrader: boolean;
|
|
1173
1172
|
director: string;
|
|
1173
|
+
soleTrader: boolean;
|
|
1174
1174
|
blacklistReason?: string | null | undefined;
|
|
1175
|
+
agentClientLinks?: {
|
|
1176
|
+
agentId: string;
|
|
1177
|
+
} | null | undefined;
|
|
1175
1178
|
lastUpdatedBy?: {
|
|
1176
1179
|
id: string;
|
|
1177
1180
|
firstName: string;
|
|
1178
1181
|
lastName: string;
|
|
1179
1182
|
email: string;
|
|
1180
1183
|
} | null | undefined;
|
|
1181
|
-
agentClientLinks?: {
|
|
1182
|
-
agentId: string;
|
|
1183
|
-
} | null | undefined;
|
|
1184
1184
|
}, {
|
|
1185
|
-
status: "
|
|
1185
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1186
1186
|
id: string;
|
|
1187
1187
|
name: string;
|
|
1188
1188
|
createdAt: string | Date;
|
|
1189
1189
|
updatedAt: string | Date;
|
|
1190
1190
|
crn: string | null;
|
|
1191
1191
|
govLink: string | null;
|
|
1192
|
-
soleTrader: boolean;
|
|
1193
1192
|
director: string;
|
|
1193
|
+
soleTrader: boolean;
|
|
1194
1194
|
blacklistReason?: string | null | undefined;
|
|
1195
|
+
agentClientLinks?: {
|
|
1196
|
+
agentId: string;
|
|
1197
|
+
} | null | undefined;
|
|
1195
1198
|
lastUpdatedBy?: {
|
|
1196
1199
|
id: string;
|
|
1197
1200
|
firstName: string;
|
|
1198
1201
|
lastName: string;
|
|
1199
1202
|
email: string;
|
|
1200
1203
|
} | null | undefined;
|
|
1201
|
-
agentClientLinks?: {
|
|
1202
|
-
agentId: string;
|
|
1203
|
-
} | null | undefined;
|
|
1204
1204
|
}>;
|
|
1205
1205
|
name: z.ZodString;
|
|
1206
1206
|
position: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1228,80 +1228,80 @@ export declare const clientContactsContractRouter: {
|
|
|
1228
1228
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1229
1229
|
}, "strip", z.ZodTypeAny, {
|
|
1230
1230
|
id: string;
|
|
1231
|
-
email: string | null;
|
|
1232
1231
|
name: string;
|
|
1232
|
+
email: string | null;
|
|
1233
1233
|
createdAt: string;
|
|
1234
1234
|
updatedAt: string;
|
|
1235
|
-
createdById: string;
|
|
1236
|
-
createdBy: {
|
|
1237
|
-
id: string;
|
|
1238
|
-
firstName: string;
|
|
1239
|
-
lastName: string;
|
|
1240
|
-
email: string;
|
|
1241
|
-
};
|
|
1242
|
-
clientId: string;
|
|
1243
1235
|
phone: string;
|
|
1236
|
+
clientId: string;
|
|
1237
|
+
createdById: string;
|
|
1244
1238
|
client: {
|
|
1245
|
-
status: "
|
|
1239
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1246
1240
|
id: string;
|
|
1247
1241
|
name: string;
|
|
1248
1242
|
createdAt: string;
|
|
1249
1243
|
updatedAt: string;
|
|
1250
1244
|
crn: string | null;
|
|
1251
1245
|
govLink: string | null;
|
|
1252
|
-
soleTrader: boolean;
|
|
1253
1246
|
director: string;
|
|
1247
|
+
soleTrader: boolean;
|
|
1254
1248
|
blacklistReason?: string | null | undefined;
|
|
1249
|
+
agentClientLinks?: {
|
|
1250
|
+
agentId: string;
|
|
1251
|
+
} | null | undefined;
|
|
1255
1252
|
lastUpdatedBy?: {
|
|
1256
1253
|
id: string;
|
|
1257
1254
|
firstName: string;
|
|
1258
1255
|
lastName: string;
|
|
1259
1256
|
email: string;
|
|
1260
1257
|
} | null | undefined;
|
|
1261
|
-
agentClientLinks?: {
|
|
1262
|
-
agentId: string;
|
|
1263
|
-
} | null | undefined;
|
|
1264
1258
|
};
|
|
1265
|
-
source?: string | null | undefined;
|
|
1266
|
-
position?: string | null | undefined;
|
|
1267
|
-
}, {
|
|
1268
|
-
id: string;
|
|
1269
|
-
email: string | null;
|
|
1270
|
-
name: string;
|
|
1271
|
-
createdAt: string | Date;
|
|
1272
|
-
updatedAt: string | Date;
|
|
1273
|
-
createdById: string;
|
|
1274
1259
|
createdBy: {
|
|
1275
1260
|
id: string;
|
|
1276
1261
|
firstName: string;
|
|
1277
1262
|
lastName: string;
|
|
1278
1263
|
email: string;
|
|
1279
1264
|
};
|
|
1280
|
-
|
|
1265
|
+
position?: string | null | undefined;
|
|
1266
|
+
source?: string | null | undefined;
|
|
1267
|
+
}, {
|
|
1268
|
+
id: string;
|
|
1269
|
+
name: string;
|
|
1270
|
+
email: string | null;
|
|
1271
|
+
createdAt: string | Date;
|
|
1272
|
+
updatedAt: string | Date;
|
|
1281
1273
|
phone: string;
|
|
1274
|
+
clientId: string;
|
|
1275
|
+
createdById: string;
|
|
1282
1276
|
client: {
|
|
1283
|
-
status: "
|
|
1277
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1284
1278
|
id: string;
|
|
1285
1279
|
name: string;
|
|
1286
1280
|
createdAt: string | Date;
|
|
1287
1281
|
updatedAt: string | Date;
|
|
1288
1282
|
crn: string | null;
|
|
1289
1283
|
govLink: string | null;
|
|
1290
|
-
soleTrader: boolean;
|
|
1291
1284
|
director: string;
|
|
1285
|
+
soleTrader: boolean;
|
|
1292
1286
|
blacklistReason?: string | null | undefined;
|
|
1287
|
+
agentClientLinks?: {
|
|
1288
|
+
agentId: string;
|
|
1289
|
+
} | null | undefined;
|
|
1293
1290
|
lastUpdatedBy?: {
|
|
1294
1291
|
id: string;
|
|
1295
1292
|
firstName: string;
|
|
1296
1293
|
lastName: string;
|
|
1297
1294
|
email: string;
|
|
1298
1295
|
} | null | undefined;
|
|
1299
|
-
agentClientLinks?: {
|
|
1300
|
-
agentId: string;
|
|
1301
|
-
} | null | undefined;
|
|
1302
1296
|
};
|
|
1303
|
-
|
|
1297
|
+
createdBy: {
|
|
1298
|
+
id: string;
|
|
1299
|
+
firstName: string;
|
|
1300
|
+
lastName: string;
|
|
1301
|
+
email: string;
|
|
1302
|
+
};
|
|
1304
1303
|
position?: string | null | undefined;
|
|
1304
|
+
source?: string | null | undefined;
|
|
1305
1305
|
}>;
|
|
1306
1306
|
409: z.ZodObject<{
|
|
1307
1307
|
statusCode: z.ZodNumber;
|
|
@@ -1312,17 +1312,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1312
1312
|
path: z.ZodString;
|
|
1313
1313
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1314
1314
|
}, "strip", z.ZodTypeAny, {
|
|
1315
|
+
message: string;
|
|
1315
1316
|
code: string;
|
|
1316
1317
|
path: string;
|
|
1317
|
-
message: string;
|
|
1318
1318
|
statusCode: number;
|
|
1319
1319
|
timestamp: string;
|
|
1320
1320
|
details?: unknown;
|
|
1321
1321
|
correlationId?: string | undefined;
|
|
1322
1322
|
}, {
|
|
1323
|
+
message: string;
|
|
1323
1324
|
code: string;
|
|
1324
1325
|
path: string;
|
|
1325
|
-
message: string;
|
|
1326
1326
|
statusCode: number;
|
|
1327
1327
|
timestamp: string;
|
|
1328
1328
|
details?: unknown;
|
|
@@ -1331,12 +1331,6 @@ export declare const clientContactsContractRouter: {
|
|
|
1331
1331
|
};
|
|
1332
1332
|
};
|
|
1333
1333
|
autocomplete: {
|
|
1334
|
-
metadata: {
|
|
1335
|
-
tags: string[];
|
|
1336
|
-
openApi: {
|
|
1337
|
-
operationId: string;
|
|
1338
|
-
};
|
|
1339
|
-
};
|
|
1340
1334
|
query: z.ZodObject<{
|
|
1341
1335
|
query: z.ZodOptional<z.ZodString>;
|
|
1342
1336
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1351,6 +1345,12 @@ export declare const clientContactsContractRouter: {
|
|
|
1351
1345
|
query?: string | undefined;
|
|
1352
1346
|
clientId?: string | undefined;
|
|
1353
1347
|
}>;
|
|
1348
|
+
metadata: {
|
|
1349
|
+
tags: string[];
|
|
1350
|
+
openApi: {
|
|
1351
|
+
operationId: string;
|
|
1352
|
+
};
|
|
1353
|
+
};
|
|
1354
1354
|
summary: "Get client contacts for autocomplete";
|
|
1355
1355
|
method: "GET";
|
|
1356
1356
|
path: "/v2/client-contacts/autocomplete";
|
|
@@ -1364,17 +1364,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1364
1364
|
path: z.ZodString;
|
|
1365
1365
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1366
1366
|
}, "strip", z.ZodTypeAny, {
|
|
1367
|
+
message: string;
|
|
1367
1368
|
code: string;
|
|
1368
1369
|
path: string;
|
|
1369
|
-
message: string;
|
|
1370
1370
|
statusCode: number;
|
|
1371
1371
|
timestamp: string;
|
|
1372
1372
|
details?: unknown;
|
|
1373
1373
|
correlationId?: string | undefined;
|
|
1374
1374
|
}, {
|
|
1375
|
+
message: string;
|
|
1375
1376
|
code: string;
|
|
1376
1377
|
path: string;
|
|
1377
|
-
message: string;
|
|
1378
1378
|
statusCode: number;
|
|
1379
1379
|
timestamp: string;
|
|
1380
1380
|
details?: unknown;
|
|
@@ -1389,17 +1389,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1389
1389
|
path: z.ZodString;
|
|
1390
1390
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1391
1391
|
}, "strip", z.ZodTypeAny, {
|
|
1392
|
+
message: string;
|
|
1392
1393
|
code: string;
|
|
1393
1394
|
path: string;
|
|
1394
|
-
message: string;
|
|
1395
1395
|
statusCode: number;
|
|
1396
1396
|
timestamp: string;
|
|
1397
1397
|
details?: unknown;
|
|
1398
1398
|
correlationId?: string | undefined;
|
|
1399
1399
|
}, {
|
|
1400
|
+
message: string;
|
|
1400
1401
|
code: string;
|
|
1401
1402
|
path: string;
|
|
1402
|
-
message: string;
|
|
1403
1403
|
statusCode: number;
|
|
1404
1404
|
timestamp: string;
|
|
1405
1405
|
details?: unknown;
|
|
@@ -1414,17 +1414,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1414
1414
|
path: z.ZodString;
|
|
1415
1415
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1416
1416
|
}, "strip", z.ZodTypeAny, {
|
|
1417
|
+
message: string;
|
|
1417
1418
|
code: string;
|
|
1418
1419
|
path: string;
|
|
1419
|
-
message: string;
|
|
1420
1420
|
statusCode: number;
|
|
1421
1421
|
timestamp: string;
|
|
1422
1422
|
details?: unknown;
|
|
1423
1423
|
correlationId?: string | undefined;
|
|
1424
1424
|
}, {
|
|
1425
|
+
message: string;
|
|
1425
1426
|
code: string;
|
|
1426
1427
|
path: string;
|
|
1427
|
-
message: string;
|
|
1428
1428
|
statusCode: number;
|
|
1429
1429
|
timestamp: string;
|
|
1430
1430
|
details?: unknown;
|
|
@@ -1439,17 +1439,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1439
1439
|
path: z.ZodString;
|
|
1440
1440
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1441
1441
|
}, "strip", z.ZodTypeAny, {
|
|
1442
|
+
message: string;
|
|
1442
1443
|
code: string;
|
|
1443
1444
|
path: string;
|
|
1444
|
-
message: string;
|
|
1445
1445
|
statusCode: number;
|
|
1446
1446
|
timestamp: string;
|
|
1447
1447
|
details?: unknown;
|
|
1448
1448
|
correlationId?: string | undefined;
|
|
1449
1449
|
}, {
|
|
1450
|
+
message: string;
|
|
1450
1451
|
code: string;
|
|
1451
1452
|
path: string;
|
|
1452
|
-
message: string;
|
|
1453
1453
|
statusCode: number;
|
|
1454
1454
|
timestamp: string;
|
|
1455
1455
|
details?: unknown;
|
|
@@ -1468,9 +1468,6 @@ export declare const clientContactsContractRouter: {
|
|
|
1468
1468
|
};
|
|
1469
1469
|
};
|
|
1470
1470
|
findAll: {
|
|
1471
|
-
metadata: {
|
|
1472
|
-
tags: string[];
|
|
1473
|
-
};
|
|
1474
1471
|
query: z.ZodObject<{
|
|
1475
1472
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1476
1473
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1486,41 +1483,44 @@ export declare const clientContactsContractRouter: {
|
|
|
1486
1483
|
field: z.ZodEnum<["name", "position", "email", "createdAt", "updatedAt"]>;
|
|
1487
1484
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
1488
1485
|
}, "strip", z.ZodTypeAny, {
|
|
1489
|
-
field: "
|
|
1486
|
+
field: "name" | "email" | "createdAt" | "updatedAt" | "position";
|
|
1490
1487
|
order: "ASC" | "DESC";
|
|
1491
1488
|
}, {
|
|
1492
|
-
field: "
|
|
1489
|
+
field: "name" | "email" | "createdAt" | "updatedAt" | "position";
|
|
1493
1490
|
order: "ASC" | "DESC";
|
|
1494
1491
|
}>, "many">>>;
|
|
1495
1492
|
}, "strip", z.ZodTypeAny, {
|
|
1496
1493
|
limit: number;
|
|
1497
1494
|
page: number;
|
|
1498
1495
|
sort?: {
|
|
1499
|
-
field: "
|
|
1496
|
+
field: "name" | "email" | "createdAt" | "updatedAt" | "position";
|
|
1500
1497
|
order: "ASC" | "DESC";
|
|
1501
1498
|
}[] | null | undefined;
|
|
1502
|
-
email?: string | undefined;
|
|
1503
1499
|
name?: string | undefined;
|
|
1504
|
-
|
|
1505
|
-
position?: string | undefined;
|
|
1506
|
-
createdById?: string | undefined;
|
|
1507
|
-
clientId?: string | undefined;
|
|
1500
|
+
email?: string | undefined;
|
|
1508
1501
|
phone?: string | undefined;
|
|
1502
|
+
clientId?: string | undefined;
|
|
1503
|
+
createdById?: string | undefined;
|
|
1504
|
+
position?: string | undefined;
|
|
1505
|
+
source?: string | undefined;
|
|
1509
1506
|
}, {
|
|
1510
|
-
limit?: number | undefined;
|
|
1511
|
-
page?: number | undefined;
|
|
1512
1507
|
sort?: {
|
|
1513
|
-
field: "
|
|
1508
|
+
field: "name" | "email" | "createdAt" | "updatedAt" | "position";
|
|
1514
1509
|
order: "ASC" | "DESC";
|
|
1515
1510
|
}[] | null | undefined;
|
|
1516
|
-
email?: string | undefined;
|
|
1517
1511
|
name?: string | undefined;
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
clientId?: string | undefined;
|
|
1512
|
+
limit?: number | undefined;
|
|
1513
|
+
page?: number | undefined;
|
|
1514
|
+
email?: string | undefined;
|
|
1522
1515
|
phone?: string | undefined;
|
|
1516
|
+
clientId?: string | undefined;
|
|
1517
|
+
createdById?: string | undefined;
|
|
1518
|
+
position?: string | undefined;
|
|
1519
|
+
source?: string | undefined;
|
|
1523
1520
|
}>;
|
|
1521
|
+
metadata: {
|
|
1522
|
+
tags: string[];
|
|
1523
|
+
};
|
|
1524
1524
|
summary: "Get all client contacts";
|
|
1525
1525
|
method: "GET";
|
|
1526
1526
|
path: "/v2/client-contacts";
|
|
@@ -1534,17 +1534,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1534
1534
|
path: z.ZodString;
|
|
1535
1535
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1536
1536
|
}, "strip", z.ZodTypeAny, {
|
|
1537
|
+
message: string;
|
|
1537
1538
|
code: string;
|
|
1538
1539
|
path: string;
|
|
1539
|
-
message: string;
|
|
1540
1540
|
statusCode: number;
|
|
1541
1541
|
timestamp: string;
|
|
1542
1542
|
details?: unknown;
|
|
1543
1543
|
correlationId?: string | undefined;
|
|
1544
1544
|
}, {
|
|
1545
|
+
message: string;
|
|
1545
1546
|
code: string;
|
|
1546
1547
|
path: string;
|
|
1547
|
-
message: string;
|
|
1548
1548
|
statusCode: number;
|
|
1549
1549
|
timestamp: string;
|
|
1550
1550
|
details?: unknown;
|
|
@@ -1559,17 +1559,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1559
1559
|
path: z.ZodString;
|
|
1560
1560
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1561
1561
|
}, "strip", z.ZodTypeAny, {
|
|
1562
|
+
message: string;
|
|
1562
1563
|
code: string;
|
|
1563
1564
|
path: string;
|
|
1564
|
-
message: string;
|
|
1565
1565
|
statusCode: number;
|
|
1566
1566
|
timestamp: string;
|
|
1567
1567
|
details?: unknown;
|
|
1568
1568
|
correlationId?: string | undefined;
|
|
1569
1569
|
}, {
|
|
1570
|
+
message: string;
|
|
1570
1571
|
code: string;
|
|
1571
1572
|
path: string;
|
|
1572
|
-
message: string;
|
|
1573
1573
|
statusCode: number;
|
|
1574
1574
|
timestamp: string;
|
|
1575
1575
|
details?: unknown;
|
|
@@ -1584,17 +1584,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1584
1584
|
path: z.ZodString;
|
|
1585
1585
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1586
1586
|
}, "strip", z.ZodTypeAny, {
|
|
1587
|
+
message: string;
|
|
1587
1588
|
code: string;
|
|
1588
1589
|
path: string;
|
|
1589
|
-
message: string;
|
|
1590
1590
|
statusCode: number;
|
|
1591
1591
|
timestamp: string;
|
|
1592
1592
|
details?: unknown;
|
|
1593
1593
|
correlationId?: string | undefined;
|
|
1594
1594
|
}, {
|
|
1595
|
+
message: string;
|
|
1595
1596
|
code: string;
|
|
1596
1597
|
path: string;
|
|
1597
|
-
message: string;
|
|
1598
1598
|
statusCode: number;
|
|
1599
1599
|
timestamp: string;
|
|
1600
1600
|
details?: unknown;
|
|
@@ -1609,17 +1609,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1609
1609
|
path: z.ZodString;
|
|
1610
1610
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1611
1611
|
}, "strip", z.ZodTypeAny, {
|
|
1612
|
+
message: string;
|
|
1612
1613
|
code: string;
|
|
1613
1614
|
path: string;
|
|
1614
|
-
message: string;
|
|
1615
1615
|
statusCode: number;
|
|
1616
1616
|
timestamp: string;
|
|
1617
1617
|
details?: unknown;
|
|
1618
1618
|
correlationId?: string | undefined;
|
|
1619
1619
|
}, {
|
|
1620
|
+
message: string;
|
|
1620
1621
|
code: string;
|
|
1621
1622
|
path: string;
|
|
1622
|
-
message: string;
|
|
1623
1623
|
statusCode: number;
|
|
1624
1624
|
timestamp: string;
|
|
1625
1625
|
details?: unknown;
|
|
@@ -1664,45 +1664,45 @@ export declare const clientContactsContractRouter: {
|
|
|
1664
1664
|
agentId: string;
|
|
1665
1665
|
}>>>;
|
|
1666
1666
|
}, "strip", z.ZodTypeAny, {
|
|
1667
|
-
status: "
|
|
1667
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1668
1668
|
id: string;
|
|
1669
1669
|
name: string;
|
|
1670
1670
|
createdAt: string;
|
|
1671
1671
|
updatedAt: string;
|
|
1672
1672
|
crn: string | null;
|
|
1673
1673
|
govLink: string | null;
|
|
1674
|
-
soleTrader: boolean;
|
|
1675
1674
|
director: string;
|
|
1675
|
+
soleTrader: boolean;
|
|
1676
1676
|
blacklistReason?: string | null | undefined;
|
|
1677
|
+
agentClientLinks?: {
|
|
1678
|
+
agentId: string;
|
|
1679
|
+
} | null | undefined;
|
|
1677
1680
|
lastUpdatedBy?: {
|
|
1678
1681
|
id: string;
|
|
1679
1682
|
firstName: string;
|
|
1680
1683
|
lastName: string;
|
|
1681
1684
|
email: string;
|
|
1682
1685
|
} | null | undefined;
|
|
1683
|
-
agentClientLinks?: {
|
|
1684
|
-
agentId: string;
|
|
1685
|
-
} | null | undefined;
|
|
1686
1686
|
}, {
|
|
1687
|
-
status: "
|
|
1687
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1688
1688
|
id: string;
|
|
1689
1689
|
name: string;
|
|
1690
1690
|
createdAt: string | Date;
|
|
1691
1691
|
updatedAt: string | Date;
|
|
1692
1692
|
crn: string | null;
|
|
1693
1693
|
govLink: string | null;
|
|
1694
|
-
soleTrader: boolean;
|
|
1695
1694
|
director: string;
|
|
1695
|
+
soleTrader: boolean;
|
|
1696
1696
|
blacklistReason?: string | null | undefined;
|
|
1697
|
+
agentClientLinks?: {
|
|
1698
|
+
agentId: string;
|
|
1699
|
+
} | null | undefined;
|
|
1697
1700
|
lastUpdatedBy?: {
|
|
1698
1701
|
id: string;
|
|
1699
1702
|
firstName: string;
|
|
1700
1703
|
lastName: string;
|
|
1701
1704
|
email: string;
|
|
1702
1705
|
} | null | undefined;
|
|
1703
|
-
agentClientLinks?: {
|
|
1704
|
-
agentId: string;
|
|
1705
|
-
} | null | undefined;
|
|
1706
1706
|
}>;
|
|
1707
1707
|
name: z.ZodString;
|
|
1708
1708
|
position: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1730,80 +1730,80 @@ export declare const clientContactsContractRouter: {
|
|
|
1730
1730
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1731
1731
|
}, "strip", z.ZodTypeAny, {
|
|
1732
1732
|
id: string;
|
|
1733
|
-
email: string | null;
|
|
1734
1733
|
name: string;
|
|
1734
|
+
email: string | null;
|
|
1735
1735
|
createdAt: string;
|
|
1736
1736
|
updatedAt: string;
|
|
1737
|
-
createdById: string;
|
|
1738
|
-
createdBy: {
|
|
1739
|
-
id: string;
|
|
1740
|
-
firstName: string;
|
|
1741
|
-
lastName: string;
|
|
1742
|
-
email: string;
|
|
1743
|
-
};
|
|
1744
|
-
clientId: string;
|
|
1745
1737
|
phone: string;
|
|
1738
|
+
clientId: string;
|
|
1739
|
+
createdById: string;
|
|
1746
1740
|
client: {
|
|
1747
|
-
status: "
|
|
1741
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1748
1742
|
id: string;
|
|
1749
1743
|
name: string;
|
|
1750
1744
|
createdAt: string;
|
|
1751
1745
|
updatedAt: string;
|
|
1752
1746
|
crn: string | null;
|
|
1753
1747
|
govLink: string | null;
|
|
1754
|
-
soleTrader: boolean;
|
|
1755
1748
|
director: string;
|
|
1749
|
+
soleTrader: boolean;
|
|
1756
1750
|
blacklistReason?: string | null | undefined;
|
|
1751
|
+
agentClientLinks?: {
|
|
1752
|
+
agentId: string;
|
|
1753
|
+
} | null | undefined;
|
|
1757
1754
|
lastUpdatedBy?: {
|
|
1758
1755
|
id: string;
|
|
1759
1756
|
firstName: string;
|
|
1760
1757
|
lastName: string;
|
|
1761
1758
|
email: string;
|
|
1762
1759
|
} | null | undefined;
|
|
1763
|
-
agentClientLinks?: {
|
|
1764
|
-
agentId: string;
|
|
1765
|
-
} | null | undefined;
|
|
1766
1760
|
};
|
|
1767
|
-
source?: string | null | undefined;
|
|
1768
|
-
position?: string | null | undefined;
|
|
1769
|
-
}, {
|
|
1770
|
-
id: string;
|
|
1771
|
-
email: string | null;
|
|
1772
|
-
name: string;
|
|
1773
|
-
createdAt: string | Date;
|
|
1774
|
-
updatedAt: string | Date;
|
|
1775
|
-
createdById: string;
|
|
1776
1761
|
createdBy: {
|
|
1777
1762
|
id: string;
|
|
1778
1763
|
firstName: string;
|
|
1779
1764
|
lastName: string;
|
|
1780
1765
|
email: string;
|
|
1781
1766
|
};
|
|
1782
|
-
|
|
1767
|
+
position?: string | null | undefined;
|
|
1768
|
+
source?: string | null | undefined;
|
|
1769
|
+
}, {
|
|
1770
|
+
id: string;
|
|
1771
|
+
name: string;
|
|
1772
|
+
email: string | null;
|
|
1773
|
+
createdAt: string | Date;
|
|
1774
|
+
updatedAt: string | Date;
|
|
1783
1775
|
phone: string;
|
|
1776
|
+
clientId: string;
|
|
1777
|
+
createdById: string;
|
|
1784
1778
|
client: {
|
|
1785
|
-
status: "
|
|
1779
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1786
1780
|
id: string;
|
|
1787
1781
|
name: string;
|
|
1788
1782
|
createdAt: string | Date;
|
|
1789
1783
|
updatedAt: string | Date;
|
|
1790
1784
|
crn: string | null;
|
|
1791
1785
|
govLink: string | null;
|
|
1792
|
-
soleTrader: boolean;
|
|
1793
1786
|
director: string;
|
|
1787
|
+
soleTrader: boolean;
|
|
1794
1788
|
blacklistReason?: string | null | undefined;
|
|
1789
|
+
agentClientLinks?: {
|
|
1790
|
+
agentId: string;
|
|
1791
|
+
} | null | undefined;
|
|
1795
1792
|
lastUpdatedBy?: {
|
|
1796
1793
|
id: string;
|
|
1797
1794
|
firstName: string;
|
|
1798
1795
|
lastName: string;
|
|
1799
1796
|
email: string;
|
|
1800
1797
|
} | null | undefined;
|
|
1801
|
-
agentClientLinks?: {
|
|
1802
|
-
agentId: string;
|
|
1803
|
-
} | null | undefined;
|
|
1804
1798
|
};
|
|
1805
|
-
|
|
1799
|
+
createdBy: {
|
|
1800
|
+
id: string;
|
|
1801
|
+
firstName: string;
|
|
1802
|
+
lastName: string;
|
|
1803
|
+
email: string;
|
|
1804
|
+
};
|
|
1806
1805
|
position?: string | null | undefined;
|
|
1806
|
+
source?: string | null | undefined;
|
|
1807
1807
|
}>, "many">;
|
|
1808
1808
|
totalCount: z.ZodNumber;
|
|
1809
1809
|
limit: z.ZodNumber;
|
|
@@ -1814,42 +1814,42 @@ export declare const clientContactsContractRouter: {
|
|
|
1814
1814
|
limit: number;
|
|
1815
1815
|
items: {
|
|
1816
1816
|
id: string;
|
|
1817
|
-
email: string | null;
|
|
1818
1817
|
name: string;
|
|
1818
|
+
email: string | null;
|
|
1819
1819
|
createdAt: string;
|
|
1820
1820
|
updatedAt: string;
|
|
1821
|
-
createdById: string;
|
|
1822
|
-
createdBy: {
|
|
1823
|
-
id: string;
|
|
1824
|
-
firstName: string;
|
|
1825
|
-
lastName: string;
|
|
1826
|
-
email: string;
|
|
1827
|
-
};
|
|
1828
|
-
clientId: string;
|
|
1829
1821
|
phone: string;
|
|
1822
|
+
clientId: string;
|
|
1823
|
+
createdById: string;
|
|
1830
1824
|
client: {
|
|
1831
|
-
status: "
|
|
1825
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1832
1826
|
id: string;
|
|
1833
1827
|
name: string;
|
|
1834
1828
|
createdAt: string;
|
|
1835
1829
|
updatedAt: string;
|
|
1836
1830
|
crn: string | null;
|
|
1837
1831
|
govLink: string | null;
|
|
1838
|
-
soleTrader: boolean;
|
|
1839
1832
|
director: string;
|
|
1833
|
+
soleTrader: boolean;
|
|
1840
1834
|
blacklistReason?: string | null | undefined;
|
|
1835
|
+
agentClientLinks?: {
|
|
1836
|
+
agentId: string;
|
|
1837
|
+
} | null | undefined;
|
|
1841
1838
|
lastUpdatedBy?: {
|
|
1842
1839
|
id: string;
|
|
1843
1840
|
firstName: string;
|
|
1844
1841
|
lastName: string;
|
|
1845
1842
|
email: string;
|
|
1846
1843
|
} | null | undefined;
|
|
1847
|
-
agentClientLinks?: {
|
|
1848
|
-
agentId: string;
|
|
1849
|
-
} | null | undefined;
|
|
1850
1844
|
};
|
|
1851
|
-
|
|
1845
|
+
createdBy: {
|
|
1846
|
+
id: string;
|
|
1847
|
+
firstName: string;
|
|
1848
|
+
lastName: string;
|
|
1849
|
+
email: string;
|
|
1850
|
+
};
|
|
1852
1851
|
position?: string | null | undefined;
|
|
1852
|
+
source?: string | null | undefined;
|
|
1853
1853
|
}[];
|
|
1854
1854
|
totalCount: number;
|
|
1855
1855
|
skip: number;
|
|
@@ -1859,42 +1859,42 @@ export declare const clientContactsContractRouter: {
|
|
|
1859
1859
|
limit: number;
|
|
1860
1860
|
items: {
|
|
1861
1861
|
id: string;
|
|
1862
|
-
email: string | null;
|
|
1863
1862
|
name: string;
|
|
1863
|
+
email: string | null;
|
|
1864
1864
|
createdAt: string | Date;
|
|
1865
1865
|
updatedAt: string | Date;
|
|
1866
|
-
createdById: string;
|
|
1867
|
-
createdBy: {
|
|
1868
|
-
id: string;
|
|
1869
|
-
firstName: string;
|
|
1870
|
-
lastName: string;
|
|
1871
|
-
email: string;
|
|
1872
|
-
};
|
|
1873
|
-
clientId: string;
|
|
1874
1866
|
phone: string;
|
|
1867
|
+
clientId: string;
|
|
1868
|
+
createdById: string;
|
|
1875
1869
|
client: {
|
|
1876
|
-
status: "
|
|
1870
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1877
1871
|
id: string;
|
|
1878
1872
|
name: string;
|
|
1879
1873
|
createdAt: string | Date;
|
|
1880
1874
|
updatedAt: string | Date;
|
|
1881
1875
|
crn: string | null;
|
|
1882
1876
|
govLink: string | null;
|
|
1883
|
-
soleTrader: boolean;
|
|
1884
1877
|
director: string;
|
|
1878
|
+
soleTrader: boolean;
|
|
1885
1879
|
blacklistReason?: string | null | undefined;
|
|
1880
|
+
agentClientLinks?: {
|
|
1881
|
+
agentId: string;
|
|
1882
|
+
} | null | undefined;
|
|
1886
1883
|
lastUpdatedBy?: {
|
|
1887
1884
|
id: string;
|
|
1888
1885
|
firstName: string;
|
|
1889
1886
|
lastName: string;
|
|
1890
1887
|
email: string;
|
|
1891
1888
|
} | null | undefined;
|
|
1892
|
-
agentClientLinks?: {
|
|
1893
|
-
agentId: string;
|
|
1894
|
-
} | null | undefined;
|
|
1895
1889
|
};
|
|
1896
|
-
|
|
1890
|
+
createdBy: {
|
|
1891
|
+
id: string;
|
|
1892
|
+
firstName: string;
|
|
1893
|
+
lastName: string;
|
|
1894
|
+
email: string;
|
|
1895
|
+
};
|
|
1897
1896
|
position?: string | null | undefined;
|
|
1897
|
+
source?: string | null | undefined;
|
|
1898
1898
|
}[];
|
|
1899
1899
|
totalCount: number;
|
|
1900
1900
|
skip: number;
|
|
@@ -1927,17 +1927,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1927
1927
|
path: z.ZodString;
|
|
1928
1928
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1929
1929
|
}, "strip", z.ZodTypeAny, {
|
|
1930
|
+
message: string;
|
|
1930
1931
|
code: string;
|
|
1931
1932
|
path: string;
|
|
1932
|
-
message: string;
|
|
1933
1933
|
statusCode: number;
|
|
1934
1934
|
timestamp: string;
|
|
1935
1935
|
details?: unknown;
|
|
1936
1936
|
correlationId?: string | undefined;
|
|
1937
1937
|
}, {
|
|
1938
|
+
message: string;
|
|
1938
1939
|
code: string;
|
|
1939
1940
|
path: string;
|
|
1940
|
-
message: string;
|
|
1941
1941
|
statusCode: number;
|
|
1942
1942
|
timestamp: string;
|
|
1943
1943
|
details?: unknown;
|
|
@@ -1952,17 +1952,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1952
1952
|
path: z.ZodString;
|
|
1953
1953
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1954
1954
|
}, "strip", z.ZodTypeAny, {
|
|
1955
|
+
message: string;
|
|
1955
1956
|
code: string;
|
|
1956
1957
|
path: string;
|
|
1957
|
-
message: string;
|
|
1958
1958
|
statusCode: number;
|
|
1959
1959
|
timestamp: string;
|
|
1960
1960
|
details?: unknown;
|
|
1961
1961
|
correlationId?: string | undefined;
|
|
1962
1962
|
}, {
|
|
1963
|
+
message: string;
|
|
1963
1964
|
code: string;
|
|
1964
1965
|
path: string;
|
|
1965
|
-
message: string;
|
|
1966
1966
|
statusCode: number;
|
|
1967
1967
|
timestamp: string;
|
|
1968
1968
|
details?: unknown;
|
|
@@ -1977,17 +1977,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1977
1977
|
path: z.ZodString;
|
|
1978
1978
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1979
1979
|
}, "strip", z.ZodTypeAny, {
|
|
1980
|
+
message: string;
|
|
1980
1981
|
code: string;
|
|
1981
1982
|
path: string;
|
|
1982
|
-
message: string;
|
|
1983
1983
|
statusCode: number;
|
|
1984
1984
|
timestamp: string;
|
|
1985
1985
|
details?: unknown;
|
|
1986
1986
|
correlationId?: string | undefined;
|
|
1987
1987
|
}, {
|
|
1988
|
+
message: string;
|
|
1988
1989
|
code: string;
|
|
1989
1990
|
path: string;
|
|
1990
|
-
message: string;
|
|
1991
1991
|
statusCode: number;
|
|
1992
1992
|
timestamp: string;
|
|
1993
1993
|
details?: unknown;
|
|
@@ -2002,17 +2002,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2002
2002
|
path: z.ZodString;
|
|
2003
2003
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2004
2004
|
}, "strip", z.ZodTypeAny, {
|
|
2005
|
+
message: string;
|
|
2005
2006
|
code: string;
|
|
2006
2007
|
path: string;
|
|
2007
|
-
message: string;
|
|
2008
2008
|
statusCode: number;
|
|
2009
2009
|
timestamp: string;
|
|
2010
2010
|
details?: unknown;
|
|
2011
2011
|
correlationId?: string | undefined;
|
|
2012
2012
|
}, {
|
|
2013
|
+
message: string;
|
|
2013
2014
|
code: string;
|
|
2014
2015
|
path: string;
|
|
2015
|
-
message: string;
|
|
2016
2016
|
statusCode: number;
|
|
2017
2017
|
timestamp: string;
|
|
2018
2018
|
details?: unknown;
|
|
@@ -2056,45 +2056,45 @@ export declare const clientContactsContractRouter: {
|
|
|
2056
2056
|
agentId: string;
|
|
2057
2057
|
}>>>;
|
|
2058
2058
|
}, "strip", z.ZodTypeAny, {
|
|
2059
|
-
status: "
|
|
2059
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2060
2060
|
id: string;
|
|
2061
2061
|
name: string;
|
|
2062
2062
|
createdAt: string;
|
|
2063
2063
|
updatedAt: string;
|
|
2064
2064
|
crn: string | null;
|
|
2065
2065
|
govLink: string | null;
|
|
2066
|
-
soleTrader: boolean;
|
|
2067
2066
|
director: string;
|
|
2067
|
+
soleTrader: boolean;
|
|
2068
2068
|
blacklistReason?: string | null | undefined;
|
|
2069
|
+
agentClientLinks?: {
|
|
2070
|
+
agentId: string;
|
|
2071
|
+
} | null | undefined;
|
|
2069
2072
|
lastUpdatedBy?: {
|
|
2070
2073
|
id: string;
|
|
2071
2074
|
firstName: string;
|
|
2072
2075
|
lastName: string;
|
|
2073
2076
|
email: string;
|
|
2074
2077
|
} | null | undefined;
|
|
2075
|
-
agentClientLinks?: {
|
|
2076
|
-
agentId: string;
|
|
2077
|
-
} | null | undefined;
|
|
2078
2078
|
}, {
|
|
2079
|
-
status: "
|
|
2079
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2080
2080
|
id: string;
|
|
2081
2081
|
name: string;
|
|
2082
2082
|
createdAt: string | Date;
|
|
2083
2083
|
updatedAt: string | Date;
|
|
2084
2084
|
crn: string | null;
|
|
2085
2085
|
govLink: string | null;
|
|
2086
|
-
soleTrader: boolean;
|
|
2087
2086
|
director: string;
|
|
2087
|
+
soleTrader: boolean;
|
|
2088
2088
|
blacklistReason?: string | null | undefined;
|
|
2089
|
+
agentClientLinks?: {
|
|
2090
|
+
agentId: string;
|
|
2091
|
+
} | null | undefined;
|
|
2089
2092
|
lastUpdatedBy?: {
|
|
2090
2093
|
id: string;
|
|
2091
2094
|
firstName: string;
|
|
2092
2095
|
lastName: string;
|
|
2093
2096
|
email: string;
|
|
2094
2097
|
} | null | undefined;
|
|
2095
|
-
agentClientLinks?: {
|
|
2096
|
-
agentId: string;
|
|
2097
|
-
} | null | undefined;
|
|
2098
2098
|
}>;
|
|
2099
2099
|
name: z.ZodString;
|
|
2100
2100
|
position: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2122,80 +2122,80 @@ export declare const clientContactsContractRouter: {
|
|
|
2122
2122
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2123
2123
|
}, "strip", z.ZodTypeAny, {
|
|
2124
2124
|
id: string;
|
|
2125
|
-
email: string | null;
|
|
2126
2125
|
name: string;
|
|
2126
|
+
email: string | null;
|
|
2127
2127
|
createdAt: string;
|
|
2128
2128
|
updatedAt: string;
|
|
2129
|
-
createdById: string;
|
|
2130
|
-
createdBy: {
|
|
2131
|
-
id: string;
|
|
2132
|
-
firstName: string;
|
|
2133
|
-
lastName: string;
|
|
2134
|
-
email: string;
|
|
2135
|
-
};
|
|
2136
|
-
clientId: string;
|
|
2137
2129
|
phone: string;
|
|
2130
|
+
clientId: string;
|
|
2131
|
+
createdById: string;
|
|
2138
2132
|
client: {
|
|
2139
|
-
status: "
|
|
2133
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2140
2134
|
id: string;
|
|
2141
2135
|
name: string;
|
|
2142
2136
|
createdAt: string;
|
|
2143
2137
|
updatedAt: string;
|
|
2144
2138
|
crn: string | null;
|
|
2145
2139
|
govLink: string | null;
|
|
2146
|
-
soleTrader: boolean;
|
|
2147
2140
|
director: string;
|
|
2141
|
+
soleTrader: boolean;
|
|
2148
2142
|
blacklistReason?: string | null | undefined;
|
|
2143
|
+
agentClientLinks?: {
|
|
2144
|
+
agentId: string;
|
|
2145
|
+
} | null | undefined;
|
|
2149
2146
|
lastUpdatedBy?: {
|
|
2150
2147
|
id: string;
|
|
2151
2148
|
firstName: string;
|
|
2152
2149
|
lastName: string;
|
|
2153
2150
|
email: string;
|
|
2154
2151
|
} | null | undefined;
|
|
2155
|
-
agentClientLinks?: {
|
|
2156
|
-
agentId: string;
|
|
2157
|
-
} | null | undefined;
|
|
2158
2152
|
};
|
|
2159
|
-
source?: string | null | undefined;
|
|
2160
|
-
position?: string | null | undefined;
|
|
2161
|
-
}, {
|
|
2162
|
-
id: string;
|
|
2163
|
-
email: string | null;
|
|
2164
|
-
name: string;
|
|
2165
|
-
createdAt: string | Date;
|
|
2166
|
-
updatedAt: string | Date;
|
|
2167
|
-
createdById: string;
|
|
2168
2153
|
createdBy: {
|
|
2169
2154
|
id: string;
|
|
2170
2155
|
firstName: string;
|
|
2171
2156
|
lastName: string;
|
|
2172
2157
|
email: string;
|
|
2173
2158
|
};
|
|
2174
|
-
|
|
2159
|
+
position?: string | null | undefined;
|
|
2160
|
+
source?: string | null | undefined;
|
|
2161
|
+
}, {
|
|
2162
|
+
id: string;
|
|
2163
|
+
name: string;
|
|
2164
|
+
email: string | null;
|
|
2165
|
+
createdAt: string | Date;
|
|
2166
|
+
updatedAt: string | Date;
|
|
2175
2167
|
phone: string;
|
|
2168
|
+
clientId: string;
|
|
2169
|
+
createdById: string;
|
|
2176
2170
|
client: {
|
|
2177
|
-
status: "
|
|
2171
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2178
2172
|
id: string;
|
|
2179
2173
|
name: string;
|
|
2180
2174
|
createdAt: string | Date;
|
|
2181
2175
|
updatedAt: string | Date;
|
|
2182
2176
|
crn: string | null;
|
|
2183
2177
|
govLink: string | null;
|
|
2184
|
-
soleTrader: boolean;
|
|
2185
2178
|
director: string;
|
|
2179
|
+
soleTrader: boolean;
|
|
2186
2180
|
blacklistReason?: string | null | undefined;
|
|
2181
|
+
agentClientLinks?: {
|
|
2182
|
+
agentId: string;
|
|
2183
|
+
} | null | undefined;
|
|
2187
2184
|
lastUpdatedBy?: {
|
|
2188
2185
|
id: string;
|
|
2189
2186
|
firstName: string;
|
|
2190
2187
|
lastName: string;
|
|
2191
2188
|
email: string;
|
|
2192
2189
|
} | null | undefined;
|
|
2193
|
-
agentClientLinks?: {
|
|
2194
|
-
agentId: string;
|
|
2195
|
-
} | null | undefined;
|
|
2196
2190
|
};
|
|
2197
|
-
|
|
2191
|
+
createdBy: {
|
|
2192
|
+
id: string;
|
|
2193
|
+
firstName: string;
|
|
2194
|
+
lastName: string;
|
|
2195
|
+
email: string;
|
|
2196
|
+
};
|
|
2198
2197
|
position?: string | null | undefined;
|
|
2198
|
+
source?: string | null | undefined;
|
|
2199
2199
|
}>;
|
|
2200
2200
|
404: z.ZodObject<{
|
|
2201
2201
|
statusCode: z.ZodNumber;
|
|
@@ -2206,17 +2206,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2206
2206
|
path: z.ZodString;
|
|
2207
2207
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2208
2208
|
}, "strip", z.ZodTypeAny, {
|
|
2209
|
+
message: string;
|
|
2209
2210
|
code: string;
|
|
2210
2211
|
path: string;
|
|
2211
|
-
message: string;
|
|
2212
2212
|
statusCode: number;
|
|
2213
2213
|
timestamp: string;
|
|
2214
2214
|
details?: unknown;
|
|
2215
2215
|
correlationId?: string | undefined;
|
|
2216
2216
|
}, {
|
|
2217
|
+
message: string;
|
|
2217
2218
|
code: string;
|
|
2218
2219
|
path: string;
|
|
2219
|
-
message: string;
|
|
2220
2220
|
statusCode: number;
|
|
2221
2221
|
timestamp: string;
|
|
2222
2222
|
details?: unknown;
|
|
@@ -2251,17 +2251,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2251
2251
|
email: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
|
|
2252
2252
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2253
2253
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
2254
|
-
email?: string | undefined;
|
|
2255
2254
|
name?: string | undefined;
|
|
2256
|
-
|
|
2257
|
-
position?: string | undefined;
|
|
2255
|
+
email?: string | undefined;
|
|
2258
2256
|
phone?: string | undefined;
|
|
2257
|
+
position?: string | undefined;
|
|
2258
|
+
source?: string | undefined;
|
|
2259
2259
|
}, {
|
|
2260
|
-
email?: string | undefined;
|
|
2261
2260
|
name?: string | undefined;
|
|
2262
|
-
|
|
2263
|
-
position?: string | undefined;
|
|
2261
|
+
email?: string | undefined;
|
|
2264
2262
|
phone?: string | undefined;
|
|
2263
|
+
position?: string | undefined;
|
|
2264
|
+
source?: string | undefined;
|
|
2265
2265
|
}>;
|
|
2266
2266
|
path: "/v2/client-contacts/:contactId";
|
|
2267
2267
|
responses: {
|
|
@@ -2274,17 +2274,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2274
2274
|
path: z.ZodString;
|
|
2275
2275
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2276
2276
|
}, "strip", z.ZodTypeAny, {
|
|
2277
|
+
message: string;
|
|
2277
2278
|
code: string;
|
|
2278
2279
|
path: string;
|
|
2279
|
-
message: string;
|
|
2280
2280
|
statusCode: number;
|
|
2281
2281
|
timestamp: string;
|
|
2282
2282
|
details?: unknown;
|
|
2283
2283
|
correlationId?: string | undefined;
|
|
2284
2284
|
}, {
|
|
2285
|
+
message: string;
|
|
2285
2286
|
code: string;
|
|
2286
2287
|
path: string;
|
|
2287
|
-
message: string;
|
|
2288
2288
|
statusCode: number;
|
|
2289
2289
|
timestamp: string;
|
|
2290
2290
|
details?: unknown;
|
|
@@ -2299,17 +2299,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2299
2299
|
path: z.ZodString;
|
|
2300
2300
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2301
2301
|
}, "strip", z.ZodTypeAny, {
|
|
2302
|
+
message: string;
|
|
2302
2303
|
code: string;
|
|
2303
2304
|
path: string;
|
|
2304
|
-
message: string;
|
|
2305
2305
|
statusCode: number;
|
|
2306
2306
|
timestamp: string;
|
|
2307
2307
|
details?: unknown;
|
|
2308
2308
|
correlationId?: string | undefined;
|
|
2309
2309
|
}, {
|
|
2310
|
+
message: string;
|
|
2310
2311
|
code: string;
|
|
2311
2312
|
path: string;
|
|
2312
|
-
message: string;
|
|
2313
2313
|
statusCode: number;
|
|
2314
2314
|
timestamp: string;
|
|
2315
2315
|
details?: unknown;
|
|
@@ -2324,17 +2324,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2324
2324
|
path: z.ZodString;
|
|
2325
2325
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2326
2326
|
}, "strip", z.ZodTypeAny, {
|
|
2327
|
+
message: string;
|
|
2327
2328
|
code: string;
|
|
2328
2329
|
path: string;
|
|
2329
|
-
message: string;
|
|
2330
2330
|
statusCode: number;
|
|
2331
2331
|
timestamp: string;
|
|
2332
2332
|
details?: unknown;
|
|
2333
2333
|
correlationId?: string | undefined;
|
|
2334
2334
|
}, {
|
|
2335
|
+
message: string;
|
|
2335
2336
|
code: string;
|
|
2336
2337
|
path: string;
|
|
2337
|
-
message: string;
|
|
2338
2338
|
statusCode: number;
|
|
2339
2339
|
timestamp: string;
|
|
2340
2340
|
details?: unknown;
|
|
@@ -2349,17 +2349,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2349
2349
|
path: z.ZodString;
|
|
2350
2350
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2351
2351
|
}, "strip", z.ZodTypeAny, {
|
|
2352
|
+
message: string;
|
|
2352
2353
|
code: string;
|
|
2353
2354
|
path: string;
|
|
2354
|
-
message: string;
|
|
2355
2355
|
statusCode: number;
|
|
2356
2356
|
timestamp: string;
|
|
2357
2357
|
details?: unknown;
|
|
2358
2358
|
correlationId?: string | undefined;
|
|
2359
2359
|
}, {
|
|
2360
|
+
message: string;
|
|
2360
2361
|
code: string;
|
|
2361
2362
|
path: string;
|
|
2362
|
-
message: string;
|
|
2363
2363
|
statusCode: number;
|
|
2364
2364
|
timestamp: string;
|
|
2365
2365
|
details?: unknown;
|
|
@@ -2403,45 +2403,45 @@ export declare const clientContactsContractRouter: {
|
|
|
2403
2403
|
agentId: string;
|
|
2404
2404
|
}>>>;
|
|
2405
2405
|
}, "strip", z.ZodTypeAny, {
|
|
2406
|
-
status: "
|
|
2406
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2407
2407
|
id: string;
|
|
2408
2408
|
name: string;
|
|
2409
2409
|
createdAt: string;
|
|
2410
2410
|
updatedAt: string;
|
|
2411
2411
|
crn: string | null;
|
|
2412
2412
|
govLink: string | null;
|
|
2413
|
-
soleTrader: boolean;
|
|
2414
2413
|
director: string;
|
|
2414
|
+
soleTrader: boolean;
|
|
2415
2415
|
blacklistReason?: string | null | undefined;
|
|
2416
|
+
agentClientLinks?: {
|
|
2417
|
+
agentId: string;
|
|
2418
|
+
} | null | undefined;
|
|
2416
2419
|
lastUpdatedBy?: {
|
|
2417
2420
|
id: string;
|
|
2418
2421
|
firstName: string;
|
|
2419
2422
|
lastName: string;
|
|
2420
2423
|
email: string;
|
|
2421
2424
|
} | null | undefined;
|
|
2422
|
-
agentClientLinks?: {
|
|
2423
|
-
agentId: string;
|
|
2424
|
-
} | null | undefined;
|
|
2425
2425
|
}, {
|
|
2426
|
-
status: "
|
|
2426
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2427
2427
|
id: string;
|
|
2428
2428
|
name: string;
|
|
2429
2429
|
createdAt: string | Date;
|
|
2430
2430
|
updatedAt: string | Date;
|
|
2431
2431
|
crn: string | null;
|
|
2432
2432
|
govLink: string | null;
|
|
2433
|
-
soleTrader: boolean;
|
|
2434
2433
|
director: string;
|
|
2434
|
+
soleTrader: boolean;
|
|
2435
2435
|
blacklistReason?: string | null | undefined;
|
|
2436
|
+
agentClientLinks?: {
|
|
2437
|
+
agentId: string;
|
|
2438
|
+
} | null | undefined;
|
|
2436
2439
|
lastUpdatedBy?: {
|
|
2437
2440
|
id: string;
|
|
2438
2441
|
firstName: string;
|
|
2439
2442
|
lastName: string;
|
|
2440
2443
|
email: string;
|
|
2441
2444
|
} | null | undefined;
|
|
2442
|
-
agentClientLinks?: {
|
|
2443
|
-
agentId: string;
|
|
2444
|
-
} | null | undefined;
|
|
2445
2445
|
}>;
|
|
2446
2446
|
name: z.ZodString;
|
|
2447
2447
|
position: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2469,80 +2469,80 @@ export declare const clientContactsContractRouter: {
|
|
|
2469
2469
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2470
2470
|
}, "strip", z.ZodTypeAny, {
|
|
2471
2471
|
id: string;
|
|
2472
|
-
email: string | null;
|
|
2473
2472
|
name: string;
|
|
2473
|
+
email: string | null;
|
|
2474
2474
|
createdAt: string;
|
|
2475
2475
|
updatedAt: string;
|
|
2476
|
-
createdById: string;
|
|
2477
|
-
createdBy: {
|
|
2478
|
-
id: string;
|
|
2479
|
-
firstName: string;
|
|
2480
|
-
lastName: string;
|
|
2481
|
-
email: string;
|
|
2482
|
-
};
|
|
2483
|
-
clientId: string;
|
|
2484
2476
|
phone: string;
|
|
2477
|
+
clientId: string;
|
|
2478
|
+
createdById: string;
|
|
2485
2479
|
client: {
|
|
2486
|
-
status: "
|
|
2480
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2487
2481
|
id: string;
|
|
2488
2482
|
name: string;
|
|
2489
2483
|
createdAt: string;
|
|
2490
2484
|
updatedAt: string;
|
|
2491
2485
|
crn: string | null;
|
|
2492
2486
|
govLink: string | null;
|
|
2493
|
-
soleTrader: boolean;
|
|
2494
2487
|
director: string;
|
|
2488
|
+
soleTrader: boolean;
|
|
2495
2489
|
blacklistReason?: string | null | undefined;
|
|
2490
|
+
agentClientLinks?: {
|
|
2491
|
+
agentId: string;
|
|
2492
|
+
} | null | undefined;
|
|
2496
2493
|
lastUpdatedBy?: {
|
|
2497
2494
|
id: string;
|
|
2498
2495
|
firstName: string;
|
|
2499
2496
|
lastName: string;
|
|
2500
2497
|
email: string;
|
|
2501
2498
|
} | null | undefined;
|
|
2502
|
-
agentClientLinks?: {
|
|
2503
|
-
agentId: string;
|
|
2504
|
-
} | null | undefined;
|
|
2505
2499
|
};
|
|
2506
|
-
source?: string | null | undefined;
|
|
2507
|
-
position?: string | null | undefined;
|
|
2508
|
-
}, {
|
|
2509
|
-
id: string;
|
|
2510
|
-
email: string | null;
|
|
2511
|
-
name: string;
|
|
2512
|
-
createdAt: string | Date;
|
|
2513
|
-
updatedAt: string | Date;
|
|
2514
|
-
createdById: string;
|
|
2515
2500
|
createdBy: {
|
|
2516
2501
|
id: string;
|
|
2517
2502
|
firstName: string;
|
|
2518
2503
|
lastName: string;
|
|
2519
2504
|
email: string;
|
|
2520
2505
|
};
|
|
2521
|
-
|
|
2506
|
+
position?: string | null | undefined;
|
|
2507
|
+
source?: string | null | undefined;
|
|
2508
|
+
}, {
|
|
2509
|
+
id: string;
|
|
2510
|
+
name: string;
|
|
2511
|
+
email: string | null;
|
|
2512
|
+
createdAt: string | Date;
|
|
2513
|
+
updatedAt: string | Date;
|
|
2522
2514
|
phone: string;
|
|
2515
|
+
clientId: string;
|
|
2516
|
+
createdById: string;
|
|
2523
2517
|
client: {
|
|
2524
|
-
status: "
|
|
2518
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2525
2519
|
id: string;
|
|
2526
2520
|
name: string;
|
|
2527
2521
|
createdAt: string | Date;
|
|
2528
2522
|
updatedAt: string | Date;
|
|
2529
2523
|
crn: string | null;
|
|
2530
2524
|
govLink: string | null;
|
|
2531
|
-
soleTrader: boolean;
|
|
2532
2525
|
director: string;
|
|
2526
|
+
soleTrader: boolean;
|
|
2533
2527
|
blacklistReason?: string | null | undefined;
|
|
2528
|
+
agentClientLinks?: {
|
|
2529
|
+
agentId: string;
|
|
2530
|
+
} | null | undefined;
|
|
2534
2531
|
lastUpdatedBy?: {
|
|
2535
2532
|
id: string;
|
|
2536
2533
|
firstName: string;
|
|
2537
2534
|
lastName: string;
|
|
2538
2535
|
email: string;
|
|
2539
2536
|
} | null | undefined;
|
|
2540
|
-
agentClientLinks?: {
|
|
2541
|
-
agentId: string;
|
|
2542
|
-
} | null | undefined;
|
|
2543
2537
|
};
|
|
2544
|
-
|
|
2538
|
+
createdBy: {
|
|
2539
|
+
id: string;
|
|
2540
|
+
firstName: string;
|
|
2541
|
+
lastName: string;
|
|
2542
|
+
email: string;
|
|
2543
|
+
};
|
|
2545
2544
|
position?: string | null | undefined;
|
|
2545
|
+
source?: string | null | undefined;
|
|
2546
2546
|
}>;
|
|
2547
2547
|
404: z.ZodObject<{
|
|
2548
2548
|
statusCode: z.ZodNumber;
|
|
@@ -2553,17 +2553,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2553
2553
|
path: z.ZodString;
|
|
2554
2554
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2555
2555
|
}, "strip", z.ZodTypeAny, {
|
|
2556
|
+
message: string;
|
|
2556
2557
|
code: string;
|
|
2557
2558
|
path: string;
|
|
2558
|
-
message: string;
|
|
2559
2559
|
statusCode: number;
|
|
2560
2560
|
timestamp: string;
|
|
2561
2561
|
details?: unknown;
|
|
2562
2562
|
correlationId?: string | undefined;
|
|
2563
2563
|
}, {
|
|
2564
|
+
message: string;
|
|
2564
2565
|
code: string;
|
|
2565
2566
|
path: string;
|
|
2566
|
-
message: string;
|
|
2567
2567
|
statusCode: number;
|
|
2568
2568
|
timestamp: string;
|
|
2569
2569
|
details?: unknown;
|
|
@@ -2578,17 +2578,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2578
2578
|
path: z.ZodString;
|
|
2579
2579
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2580
2580
|
}, "strip", z.ZodTypeAny, {
|
|
2581
|
+
message: string;
|
|
2581
2582
|
code: string;
|
|
2582
2583
|
path: string;
|
|
2583
|
-
message: string;
|
|
2584
2584
|
statusCode: number;
|
|
2585
2585
|
timestamp: string;
|
|
2586
2586
|
details?: unknown;
|
|
2587
2587
|
correlationId?: string | undefined;
|
|
2588
2588
|
}, {
|
|
2589
|
+
message: string;
|
|
2589
2590
|
code: string;
|
|
2590
2591
|
path: string;
|
|
2591
|
-
message: string;
|
|
2592
2592
|
statusCode: number;
|
|
2593
2593
|
timestamp: string;
|
|
2594
2594
|
details?: unknown;
|
|
@@ -2621,17 +2621,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2621
2621
|
path: z.ZodString;
|
|
2622
2622
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2623
2623
|
}, "strip", z.ZodTypeAny, {
|
|
2624
|
+
message: string;
|
|
2624
2625
|
code: string;
|
|
2625
2626
|
path: string;
|
|
2626
|
-
message: string;
|
|
2627
2627
|
statusCode: number;
|
|
2628
2628
|
timestamp: string;
|
|
2629
2629
|
details?: unknown;
|
|
2630
2630
|
correlationId?: string | undefined;
|
|
2631
2631
|
}, {
|
|
2632
|
+
message: string;
|
|
2632
2633
|
code: string;
|
|
2633
2634
|
path: string;
|
|
2634
|
-
message: string;
|
|
2635
2635
|
statusCode: number;
|
|
2636
2636
|
timestamp: string;
|
|
2637
2637
|
details?: unknown;
|
|
@@ -2646,17 +2646,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2646
2646
|
path: z.ZodString;
|
|
2647
2647
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2648
2648
|
}, "strip", z.ZodTypeAny, {
|
|
2649
|
+
message: string;
|
|
2649
2650
|
code: string;
|
|
2650
2651
|
path: string;
|
|
2651
|
-
message: string;
|
|
2652
2652
|
statusCode: number;
|
|
2653
2653
|
timestamp: string;
|
|
2654
2654
|
details?: unknown;
|
|
2655
2655
|
correlationId?: string | undefined;
|
|
2656
2656
|
}, {
|
|
2657
|
+
message: string;
|
|
2657
2658
|
code: string;
|
|
2658
2659
|
path: string;
|
|
2659
|
-
message: string;
|
|
2660
2660
|
statusCode: number;
|
|
2661
2661
|
timestamp: string;
|
|
2662
2662
|
details?: unknown;
|
|
@@ -2671,17 +2671,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2671
2671
|
path: z.ZodString;
|
|
2672
2672
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2673
2673
|
}, "strip", z.ZodTypeAny, {
|
|
2674
|
+
message: string;
|
|
2674
2675
|
code: string;
|
|
2675
2676
|
path: string;
|
|
2676
|
-
message: string;
|
|
2677
2677
|
statusCode: number;
|
|
2678
2678
|
timestamp: string;
|
|
2679
2679
|
details?: unknown;
|
|
2680
2680
|
correlationId?: string | undefined;
|
|
2681
2681
|
}, {
|
|
2682
|
+
message: string;
|
|
2682
2683
|
code: string;
|
|
2683
2684
|
path: string;
|
|
2684
|
-
message: string;
|
|
2685
2685
|
statusCode: number;
|
|
2686
2686
|
timestamp: string;
|
|
2687
2687
|
details?: unknown;
|
|
@@ -2696,17 +2696,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2696
2696
|
path: z.ZodString;
|
|
2697
2697
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2698
2698
|
}, "strip", z.ZodTypeAny, {
|
|
2699
|
+
message: string;
|
|
2699
2700
|
code: string;
|
|
2700
2701
|
path: string;
|
|
2701
|
-
message: string;
|
|
2702
2702
|
statusCode: number;
|
|
2703
2703
|
timestamp: string;
|
|
2704
2704
|
details?: unknown;
|
|
2705
2705
|
correlationId?: string | undefined;
|
|
2706
2706
|
}, {
|
|
2707
|
+
message: string;
|
|
2707
2708
|
code: string;
|
|
2708
2709
|
path: string;
|
|
2709
|
-
message: string;
|
|
2710
2710
|
statusCode: number;
|
|
2711
2711
|
timestamp: string;
|
|
2712
2712
|
details?: unknown;
|
|
@@ -2722,17 +2722,17 @@ export declare const clientContactsContractRouter: {
|
|
|
2722
2722
|
path: z.ZodString;
|
|
2723
2723
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2724
2724
|
}, "strip", z.ZodTypeAny, {
|
|
2725
|
+
message: string;
|
|
2725
2726
|
code: string;
|
|
2726
2727
|
path: string;
|
|
2727
|
-
message: string;
|
|
2728
2728
|
statusCode: number;
|
|
2729
2729
|
timestamp: string;
|
|
2730
2730
|
details?: unknown;
|
|
2731
2731
|
correlationId?: string | undefined;
|
|
2732
2732
|
}, {
|
|
2733
|
+
message: string;
|
|
2733
2734
|
code: string;
|
|
2734
2735
|
path: string;
|
|
2735
|
-
message: string;
|
|
2736
2736
|
statusCode: number;
|
|
2737
2737
|
timestamp: string;
|
|
2738
2738
|
details?: unknown;
|