@dakkitor/api-contracts 1.1.26 → 1.1.28
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/actives/actives.contract.d.ts +4899 -597
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +0 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +487 -487
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.js +2 -0
- package/dist/auth/auth.contract.d.ts +4 -4
- package/dist/bookings/bookings.contract.d.ts +5657 -1430
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +6 -6
- package/dist/call-history/call-history.contract.d.ts +1188 -262
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +3 -4
- package/dist/client-contacts/client-contacts.contract.d.ts +515 -515
- package/dist/clients/clients.contract.d.ts +380 -380
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +8 -2
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3349 -1023
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaboration-checkings/collaboration-checkings.contract.js +3 -10
- package/dist/collaborations/collaborations.contract.d.ts +2934 -219
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +19 -33
- package/dist/common/common-schemas.d.ts +6 -6
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +3 -5
- package/dist/common/error-schemas.d.ts +6 -6
- package/dist/companies/companies.contract.d.ts +212 -212
- package/dist/cron-executions/cron-executions.contract.d.ts +228 -228
- package/dist/curated-workers/curated-workers.contract.d.ts +366 -366
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +4 -10
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +120 -120
- package/dist/files/files.contract.d.ts +228 -228
- package/dist/health/health.contract.d.ts +22 -22
- package/dist/jobs/jobs.contract.d.ts +3517 -511
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +36 -17
- package/dist/lead-assignments/lead-assignments.contract.d.ts +272 -272
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +63 -63
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +146 -146
- package/dist/leads/leads.contract.d.ts +316 -316
- package/dist/locations/locations.contract.d.ts +161 -161
- package/dist/postcodes/postcodes.contract.d.ts +66 -66
- package/dist/qualifications/qualifications.contract.d.ts +256 -256
- package/dist/trades/trades.contract.d.ts +160 -160
- package/dist/users/users.contract.d.ts +100 -100
- package/dist/workers/workers.contract.d.ts +129 -75
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +20 -13
- package/package.json +1 -1
- package/dist/common/api-responses.d.ts +0 -105
- package/dist/common/api-responses.d.ts.map +0 -1
- package/dist/common/api-responses.js +0 -107
|
@@ -12,69 +12,69 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
12
12
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
13
13
|
director: z.ZodString;
|
|
14
14
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
lastUpdatedBy: z.ZodObject<{
|
|
15
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
id: z.ZodString;
|
|
17
17
|
firstName: z.ZodString;
|
|
18
18
|
lastName: z.ZodString;
|
|
19
19
|
email: z.ZodString;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
|
|
21
|
+
id: string;
|
|
22
22
|
firstName: string;
|
|
23
|
+
lastName: string;
|
|
23
24
|
email: string;
|
|
24
|
-
id: string;
|
|
25
25
|
}, {
|
|
26
|
-
|
|
26
|
+
id: string;
|
|
27
27
|
firstName: string;
|
|
28
|
+
lastName: string;
|
|
28
29
|
email: string;
|
|
29
|
-
|
|
30
|
-
}>;
|
|
30
|
+
}>>>;
|
|
31
31
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
32
32
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
33
|
-
agentClientLinks: z.ZodObject<{
|
|
33
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
34
|
agentId: z.ZodString;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
agentId: string;
|
|
37
37
|
}, {
|
|
38
38
|
agentId: string;
|
|
39
|
-
}
|
|
39
|
+
}>>>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
|
|
42
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
41
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
43
42
|
id: string;
|
|
43
|
+
createdAt: string;
|
|
44
44
|
updatedAt: string;
|
|
45
45
|
name: string;
|
|
46
46
|
crn: string;
|
|
47
47
|
govLink: string;
|
|
48
48
|
director: string;
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
blacklistReason?: string | null | undefined;
|
|
50
|
+
lastUpdatedBy?: {
|
|
51
|
+
id: string;
|
|
51
52
|
firstName: string;
|
|
53
|
+
lastName: string;
|
|
52
54
|
email: string;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
agentClientLinks: {
|
|
55
|
+
} | null | undefined;
|
|
56
|
+
agentClientLinks?: {
|
|
56
57
|
agentId: string;
|
|
57
|
-
};
|
|
58
|
-
blacklistReason?: string | null | undefined;
|
|
58
|
+
} | null | undefined;
|
|
59
59
|
}, {
|
|
60
|
-
|
|
61
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
60
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
62
61
|
id: string;
|
|
62
|
+
createdAt: string | Date;
|
|
63
63
|
updatedAt: string | Date;
|
|
64
64
|
name: string;
|
|
65
65
|
crn: string;
|
|
66
66
|
govLink: string;
|
|
67
67
|
director: string;
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
blacklistReason?: string | null | undefined;
|
|
69
|
+
lastUpdatedBy?: {
|
|
70
|
+
id: string;
|
|
70
71
|
firstName: string;
|
|
72
|
+
lastName: string;
|
|
71
73
|
email: string;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
agentClientLinks: {
|
|
74
|
+
} | null | undefined;
|
|
75
|
+
agentClientLinks?: {
|
|
75
76
|
agentId: string;
|
|
76
|
-
};
|
|
77
|
-
blacklistReason?: string | null | undefined;
|
|
77
|
+
} | null | undefined;
|
|
78
78
|
}>;
|
|
79
79
|
agentId: z.ZodString;
|
|
80
80
|
agent: z.ZodObject<{
|
|
@@ -87,27 +87,27 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
87
87
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
88
88
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
|
-
|
|
90
|
+
id: string;
|
|
91
91
|
firstName: string;
|
|
92
|
+
lastName: string;
|
|
92
93
|
email: string;
|
|
93
|
-
phone: string;
|
|
94
94
|
createdAt: string;
|
|
95
|
-
id: string;
|
|
96
95
|
updatedAt: string;
|
|
96
|
+
phone: string;
|
|
97
97
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
98
98
|
}, {
|
|
99
|
-
|
|
99
|
+
id: string;
|
|
100
100
|
firstName: string;
|
|
101
|
+
lastName: string;
|
|
101
102
|
email: string;
|
|
102
|
-
phone: string;
|
|
103
103
|
createdAt: string | Date;
|
|
104
|
-
id: string;
|
|
105
104
|
updatedAt: string | Date;
|
|
105
|
+
phone: string;
|
|
106
106
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
107
107
|
}>;
|
|
108
108
|
linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
109
|
-
suggestedChanges: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
110
|
-
appliedChanges: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
109
|
+
suggestedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
110
|
+
appliedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
111
111
|
createdBy: z.ZodString;
|
|
112
112
|
creator: z.ZodObject<{
|
|
113
113
|
id: z.ZodString;
|
|
@@ -119,126 +119,126 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
119
119
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
120
120
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
|
|
122
|
+
id: string;
|
|
123
123
|
firstName: string;
|
|
124
|
+
lastName: string;
|
|
124
125
|
email: string;
|
|
125
|
-
phone: string;
|
|
126
126
|
createdAt: string;
|
|
127
|
-
id: string;
|
|
128
127
|
updatedAt: string;
|
|
128
|
+
phone: string;
|
|
129
129
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
130
130
|
}, {
|
|
131
|
-
|
|
131
|
+
id: string;
|
|
132
132
|
firstName: string;
|
|
133
|
+
lastName: string;
|
|
133
134
|
email: string;
|
|
134
|
-
phone: string;
|
|
135
135
|
createdAt: string | Date;
|
|
136
|
-
id: string;
|
|
137
136
|
updatedAt: string | Date;
|
|
137
|
+
phone: string;
|
|
138
138
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
139
139
|
}>;
|
|
140
140
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
141
141
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
142
142
|
}, "strip", z.ZodTypeAny, {
|
|
143
|
-
createdAt: string;
|
|
144
143
|
id: string;
|
|
144
|
+
createdAt: string;
|
|
145
145
|
updatedAt: string;
|
|
146
|
-
clientId: string;
|
|
147
146
|
agentId: string;
|
|
148
147
|
client: {
|
|
149
|
-
|
|
150
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
148
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
151
149
|
id: string;
|
|
150
|
+
createdAt: string;
|
|
152
151
|
updatedAt: string;
|
|
153
152
|
name: string;
|
|
154
153
|
crn: string;
|
|
155
154
|
govLink: string;
|
|
156
155
|
director: string;
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
blacklistReason?: string | null | undefined;
|
|
157
|
+
lastUpdatedBy?: {
|
|
158
|
+
id: string;
|
|
159
159
|
firstName: string;
|
|
160
|
+
lastName: string;
|
|
160
161
|
email: string;
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
agentClientLinks: {
|
|
162
|
+
} | null | undefined;
|
|
163
|
+
agentClientLinks?: {
|
|
164
164
|
agentId: string;
|
|
165
|
-
};
|
|
166
|
-
blacklistReason?: string | null | undefined;
|
|
165
|
+
} | null | undefined;
|
|
167
166
|
};
|
|
167
|
+
clientId: string;
|
|
168
|
+
createdBy: string;
|
|
168
169
|
agent: {
|
|
169
|
-
|
|
170
|
+
id: string;
|
|
170
171
|
firstName: string;
|
|
172
|
+
lastName: string;
|
|
171
173
|
email: string;
|
|
172
|
-
phone: string;
|
|
173
174
|
createdAt: string;
|
|
174
|
-
id: string;
|
|
175
175
|
updatedAt: string;
|
|
176
|
+
phone: string;
|
|
176
177
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
177
178
|
};
|
|
178
179
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
179
|
-
createdBy: string;
|
|
180
180
|
creator: {
|
|
181
|
-
|
|
181
|
+
id: string;
|
|
182
182
|
firstName: string;
|
|
183
|
+
lastName: string;
|
|
183
184
|
email: string;
|
|
184
|
-
phone: string;
|
|
185
185
|
createdAt: string;
|
|
186
|
-
id: string;
|
|
187
186
|
updatedAt: string;
|
|
187
|
+
phone: string;
|
|
188
188
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
189
189
|
};
|
|
190
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
191
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
190
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
191
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
192
192
|
}, {
|
|
193
|
-
createdAt: string | Date;
|
|
194
193
|
id: string;
|
|
194
|
+
createdAt: string | Date;
|
|
195
195
|
updatedAt: string | Date;
|
|
196
|
-
clientId: string;
|
|
197
196
|
agentId: string;
|
|
198
197
|
client: {
|
|
199
|
-
|
|
200
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
198
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
201
199
|
id: string;
|
|
200
|
+
createdAt: string | Date;
|
|
202
201
|
updatedAt: string | Date;
|
|
203
202
|
name: string;
|
|
204
203
|
crn: string;
|
|
205
204
|
govLink: string;
|
|
206
205
|
director: string;
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
blacklistReason?: string | null | undefined;
|
|
207
|
+
lastUpdatedBy?: {
|
|
208
|
+
id: string;
|
|
209
209
|
firstName: string;
|
|
210
|
+
lastName: string;
|
|
210
211
|
email: string;
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
agentClientLinks: {
|
|
212
|
+
} | null | undefined;
|
|
213
|
+
agentClientLinks?: {
|
|
214
214
|
agentId: string;
|
|
215
|
-
};
|
|
216
|
-
blacklistReason?: string | null | undefined;
|
|
215
|
+
} | null | undefined;
|
|
217
216
|
};
|
|
217
|
+
clientId: string;
|
|
218
|
+
createdBy: string;
|
|
218
219
|
agent: {
|
|
219
|
-
|
|
220
|
+
id: string;
|
|
220
221
|
firstName: string;
|
|
222
|
+
lastName: string;
|
|
221
223
|
email: string;
|
|
222
|
-
phone: string;
|
|
223
224
|
createdAt: string | Date;
|
|
224
|
-
id: string;
|
|
225
225
|
updatedAt: string | Date;
|
|
226
|
+
phone: string;
|
|
226
227
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
227
228
|
};
|
|
228
229
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
229
|
-
createdBy: string;
|
|
230
230
|
creator: {
|
|
231
|
-
|
|
231
|
+
id: string;
|
|
232
232
|
firstName: string;
|
|
233
|
+
lastName: string;
|
|
233
234
|
email: string;
|
|
234
|
-
phone: string;
|
|
235
235
|
createdAt: string | Date;
|
|
236
|
-
id: string;
|
|
237
236
|
updatedAt: string | Date;
|
|
237
|
+
phone: string;
|
|
238
238
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
239
239
|
};
|
|
240
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
241
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
240
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
241
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
242
242
|
}>;
|
|
243
243
|
export declare const FilterAgentClientLinkSchema: z.ZodObject<{
|
|
244
244
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -254,16 +254,16 @@ export declare const FilterAgentClientLinkSchema: z.ZodObject<{
|
|
|
254
254
|
page: number;
|
|
255
255
|
sortBy: "createdAt";
|
|
256
256
|
sortOrder: "ASC" | "DESC";
|
|
257
|
-
clientId?: string | undefined;
|
|
258
257
|
agentId?: string | undefined;
|
|
258
|
+
clientId?: string | undefined;
|
|
259
259
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
260
260
|
}, {
|
|
261
261
|
limit?: number | undefined;
|
|
262
262
|
page?: number | undefined;
|
|
263
263
|
sortBy?: "createdAt" | undefined;
|
|
264
264
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
265
|
-
clientId?: string | undefined;
|
|
266
265
|
agentId?: string | undefined;
|
|
266
|
+
clientId?: string | undefined;
|
|
267
267
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
268
268
|
}>;
|
|
269
269
|
export declare const ApplyChangesSchema: z.ZodObject<{
|
|
@@ -285,69 +285,69 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
285
285
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
286
286
|
director: z.ZodString;
|
|
287
287
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
288
|
-
lastUpdatedBy: z.ZodObject<{
|
|
288
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
289
289
|
id: z.ZodString;
|
|
290
290
|
firstName: z.ZodString;
|
|
291
291
|
lastName: z.ZodString;
|
|
292
292
|
email: z.ZodString;
|
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
|
294
|
-
|
|
294
|
+
id: string;
|
|
295
295
|
firstName: string;
|
|
296
|
+
lastName: string;
|
|
296
297
|
email: string;
|
|
297
|
-
id: string;
|
|
298
298
|
}, {
|
|
299
|
-
|
|
299
|
+
id: string;
|
|
300
300
|
firstName: string;
|
|
301
|
+
lastName: string;
|
|
301
302
|
email: string;
|
|
302
|
-
|
|
303
|
-
}>;
|
|
303
|
+
}>>>;
|
|
304
304
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
305
305
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
306
|
-
agentClientLinks: z.ZodObject<{
|
|
306
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
307
307
|
agentId: z.ZodString;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
309
|
agentId: string;
|
|
310
310
|
}, {
|
|
311
311
|
agentId: string;
|
|
312
|
-
}
|
|
312
|
+
}>>>;
|
|
313
313
|
}, "strip", z.ZodTypeAny, {
|
|
314
|
-
|
|
315
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
314
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
316
315
|
id: string;
|
|
316
|
+
createdAt: string;
|
|
317
317
|
updatedAt: string;
|
|
318
318
|
name: string;
|
|
319
319
|
crn: string;
|
|
320
320
|
govLink: string;
|
|
321
321
|
director: string;
|
|
322
|
-
|
|
323
|
-
|
|
322
|
+
blacklistReason?: string | null | undefined;
|
|
323
|
+
lastUpdatedBy?: {
|
|
324
|
+
id: string;
|
|
324
325
|
firstName: string;
|
|
326
|
+
lastName: string;
|
|
325
327
|
email: string;
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
agentClientLinks: {
|
|
328
|
+
} | null | undefined;
|
|
329
|
+
agentClientLinks?: {
|
|
329
330
|
agentId: string;
|
|
330
|
-
};
|
|
331
|
-
blacklistReason?: string | null | undefined;
|
|
331
|
+
} | null | undefined;
|
|
332
332
|
}, {
|
|
333
|
-
|
|
334
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
333
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
335
334
|
id: string;
|
|
335
|
+
createdAt: string | Date;
|
|
336
336
|
updatedAt: string | Date;
|
|
337
337
|
name: string;
|
|
338
338
|
crn: string;
|
|
339
339
|
govLink: string;
|
|
340
340
|
director: string;
|
|
341
|
-
|
|
342
|
-
|
|
341
|
+
blacklistReason?: string | null | undefined;
|
|
342
|
+
lastUpdatedBy?: {
|
|
343
|
+
id: string;
|
|
343
344
|
firstName: string;
|
|
345
|
+
lastName: string;
|
|
344
346
|
email: string;
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
agentClientLinks: {
|
|
347
|
+
} | null | undefined;
|
|
348
|
+
agentClientLinks?: {
|
|
348
349
|
agentId: string;
|
|
349
|
-
};
|
|
350
|
-
blacklistReason?: string | null | undefined;
|
|
350
|
+
} | null | undefined;
|
|
351
351
|
}>;
|
|
352
352
|
agentId: z.ZodString;
|
|
353
353
|
agent: z.ZodObject<{
|
|
@@ -360,27 +360,27 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
360
360
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
361
361
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
362
362
|
}, "strip", z.ZodTypeAny, {
|
|
363
|
-
|
|
363
|
+
id: string;
|
|
364
364
|
firstName: string;
|
|
365
|
+
lastName: string;
|
|
365
366
|
email: string;
|
|
366
|
-
phone: string;
|
|
367
367
|
createdAt: string;
|
|
368
|
-
id: string;
|
|
369
368
|
updatedAt: string;
|
|
369
|
+
phone: string;
|
|
370
370
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
371
371
|
}, {
|
|
372
|
-
|
|
372
|
+
id: string;
|
|
373
373
|
firstName: string;
|
|
374
|
+
lastName: string;
|
|
374
375
|
email: string;
|
|
375
|
-
phone: string;
|
|
376
376
|
createdAt: string | Date;
|
|
377
|
-
id: string;
|
|
378
377
|
updatedAt: string | Date;
|
|
378
|
+
phone: string;
|
|
379
379
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
380
380
|
}>;
|
|
381
381
|
linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
382
|
-
suggestedChanges: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
383
|
-
appliedChanges: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
382
|
+
suggestedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
383
|
+
appliedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
384
384
|
createdBy: z.ZodString;
|
|
385
385
|
creator: z.ZodObject<{
|
|
386
386
|
id: z.ZodString;
|
|
@@ -392,126 +392,126 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
392
392
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
393
393
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
394
394
|
}, "strip", z.ZodTypeAny, {
|
|
395
|
-
|
|
395
|
+
id: string;
|
|
396
396
|
firstName: string;
|
|
397
|
+
lastName: string;
|
|
397
398
|
email: string;
|
|
398
|
-
phone: string;
|
|
399
399
|
createdAt: string;
|
|
400
|
-
id: string;
|
|
401
400
|
updatedAt: string;
|
|
401
|
+
phone: string;
|
|
402
402
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
403
403
|
}, {
|
|
404
|
-
|
|
404
|
+
id: string;
|
|
405
405
|
firstName: string;
|
|
406
|
+
lastName: string;
|
|
406
407
|
email: string;
|
|
407
|
-
phone: string;
|
|
408
408
|
createdAt: string | Date;
|
|
409
|
-
id: string;
|
|
410
409
|
updatedAt: string | Date;
|
|
410
|
+
phone: string;
|
|
411
411
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
412
412
|
}>;
|
|
413
413
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
414
414
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
415
415
|
}, "strip", z.ZodTypeAny, {
|
|
416
|
-
createdAt: string;
|
|
417
416
|
id: string;
|
|
417
|
+
createdAt: string;
|
|
418
418
|
updatedAt: string;
|
|
419
|
-
clientId: string;
|
|
420
419
|
agentId: string;
|
|
421
420
|
client: {
|
|
422
|
-
|
|
423
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
421
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
424
422
|
id: string;
|
|
423
|
+
createdAt: string;
|
|
425
424
|
updatedAt: string;
|
|
426
425
|
name: string;
|
|
427
426
|
crn: string;
|
|
428
427
|
govLink: string;
|
|
429
428
|
director: string;
|
|
430
|
-
|
|
431
|
-
|
|
429
|
+
blacklistReason?: string | null | undefined;
|
|
430
|
+
lastUpdatedBy?: {
|
|
431
|
+
id: string;
|
|
432
432
|
firstName: string;
|
|
433
|
+
lastName: string;
|
|
433
434
|
email: string;
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
agentClientLinks: {
|
|
435
|
+
} | null | undefined;
|
|
436
|
+
agentClientLinks?: {
|
|
437
437
|
agentId: string;
|
|
438
|
-
};
|
|
439
|
-
blacklistReason?: string | null | undefined;
|
|
438
|
+
} | null | undefined;
|
|
440
439
|
};
|
|
440
|
+
clientId: string;
|
|
441
|
+
createdBy: string;
|
|
441
442
|
agent: {
|
|
442
|
-
|
|
443
|
+
id: string;
|
|
443
444
|
firstName: string;
|
|
445
|
+
lastName: string;
|
|
444
446
|
email: string;
|
|
445
|
-
phone: string;
|
|
446
447
|
createdAt: string;
|
|
447
|
-
id: string;
|
|
448
448
|
updatedAt: string;
|
|
449
|
+
phone: string;
|
|
449
450
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
450
451
|
};
|
|
451
452
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
452
|
-
createdBy: string;
|
|
453
453
|
creator: {
|
|
454
|
-
|
|
454
|
+
id: string;
|
|
455
455
|
firstName: string;
|
|
456
|
+
lastName: string;
|
|
456
457
|
email: string;
|
|
457
|
-
phone: string;
|
|
458
458
|
createdAt: string;
|
|
459
|
-
id: string;
|
|
460
459
|
updatedAt: string;
|
|
460
|
+
phone: string;
|
|
461
461
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
462
462
|
};
|
|
463
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
464
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
463
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
464
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
465
465
|
}, {
|
|
466
|
-
createdAt: string | Date;
|
|
467
466
|
id: string;
|
|
467
|
+
createdAt: string | Date;
|
|
468
468
|
updatedAt: string | Date;
|
|
469
|
-
clientId: string;
|
|
470
469
|
agentId: string;
|
|
471
470
|
client: {
|
|
472
|
-
|
|
473
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
471
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
474
472
|
id: string;
|
|
473
|
+
createdAt: string | Date;
|
|
475
474
|
updatedAt: string | Date;
|
|
476
475
|
name: string;
|
|
477
476
|
crn: string;
|
|
478
477
|
govLink: string;
|
|
479
478
|
director: string;
|
|
480
|
-
|
|
481
|
-
|
|
479
|
+
blacklistReason?: string | null | undefined;
|
|
480
|
+
lastUpdatedBy?: {
|
|
481
|
+
id: string;
|
|
482
482
|
firstName: string;
|
|
483
|
+
lastName: string;
|
|
483
484
|
email: string;
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
agentClientLinks: {
|
|
485
|
+
} | null | undefined;
|
|
486
|
+
agentClientLinks?: {
|
|
487
487
|
agentId: string;
|
|
488
|
-
};
|
|
489
|
-
blacklistReason?: string | null | undefined;
|
|
488
|
+
} | null | undefined;
|
|
490
489
|
};
|
|
490
|
+
clientId: string;
|
|
491
|
+
createdBy: string;
|
|
491
492
|
agent: {
|
|
492
|
-
|
|
493
|
+
id: string;
|
|
493
494
|
firstName: string;
|
|
495
|
+
lastName: string;
|
|
494
496
|
email: string;
|
|
495
|
-
phone: string;
|
|
496
497
|
createdAt: string | Date;
|
|
497
|
-
id: string;
|
|
498
498
|
updatedAt: string | Date;
|
|
499
|
+
phone: string;
|
|
499
500
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
500
501
|
};
|
|
501
502
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
502
|
-
createdBy: string;
|
|
503
503
|
creator: {
|
|
504
|
-
|
|
504
|
+
id: string;
|
|
505
505
|
firstName: string;
|
|
506
|
+
lastName: string;
|
|
506
507
|
email: string;
|
|
507
|
-
phone: string;
|
|
508
508
|
createdAt: string | Date;
|
|
509
|
-
id: string;
|
|
510
509
|
updatedAt: string | Date;
|
|
510
|
+
phone: string;
|
|
511
511
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
512
512
|
};
|
|
513
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
514
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
513
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
514
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
515
515
|
}>, "many">;
|
|
516
516
|
totalCount: z.ZodNumber;
|
|
517
517
|
limit: z.ZodNumber;
|
|
@@ -521,55 +521,55 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
521
521
|
}, "strip", z.ZodTypeAny, {
|
|
522
522
|
limit: number;
|
|
523
523
|
items: {
|
|
524
|
-
createdAt: string;
|
|
525
524
|
id: string;
|
|
525
|
+
createdAt: string;
|
|
526
526
|
updatedAt: string;
|
|
527
|
-
clientId: string;
|
|
528
527
|
agentId: string;
|
|
529
528
|
client: {
|
|
530
|
-
|
|
531
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
529
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
532
530
|
id: string;
|
|
531
|
+
createdAt: string;
|
|
533
532
|
updatedAt: string;
|
|
534
533
|
name: string;
|
|
535
534
|
crn: string;
|
|
536
535
|
govLink: string;
|
|
537
536
|
director: string;
|
|
538
|
-
|
|
539
|
-
|
|
537
|
+
blacklistReason?: string | null | undefined;
|
|
538
|
+
lastUpdatedBy?: {
|
|
539
|
+
id: string;
|
|
540
540
|
firstName: string;
|
|
541
|
+
lastName: string;
|
|
541
542
|
email: string;
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
agentClientLinks: {
|
|
543
|
+
} | null | undefined;
|
|
544
|
+
agentClientLinks?: {
|
|
545
545
|
agentId: string;
|
|
546
|
-
};
|
|
547
|
-
blacklistReason?: string | null | undefined;
|
|
546
|
+
} | null | undefined;
|
|
548
547
|
};
|
|
548
|
+
clientId: string;
|
|
549
|
+
createdBy: string;
|
|
549
550
|
agent: {
|
|
550
|
-
|
|
551
|
+
id: string;
|
|
551
552
|
firstName: string;
|
|
553
|
+
lastName: string;
|
|
552
554
|
email: string;
|
|
553
|
-
phone: string;
|
|
554
555
|
createdAt: string;
|
|
555
|
-
id: string;
|
|
556
556
|
updatedAt: string;
|
|
557
|
+
phone: string;
|
|
557
558
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
558
559
|
};
|
|
559
560
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
560
|
-
createdBy: string;
|
|
561
561
|
creator: {
|
|
562
|
-
|
|
562
|
+
id: string;
|
|
563
563
|
firstName: string;
|
|
564
|
+
lastName: string;
|
|
564
565
|
email: string;
|
|
565
|
-
phone: string;
|
|
566
566
|
createdAt: string;
|
|
567
|
-
id: string;
|
|
568
567
|
updatedAt: string;
|
|
568
|
+
phone: string;
|
|
569
569
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
570
570
|
};
|
|
571
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
572
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
571
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
572
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
573
573
|
}[];
|
|
574
574
|
totalCount: number;
|
|
575
575
|
skip: number;
|
|
@@ -578,55 +578,55 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
578
578
|
}, {
|
|
579
579
|
limit: number;
|
|
580
580
|
items: {
|
|
581
|
-
createdAt: string | Date;
|
|
582
581
|
id: string;
|
|
582
|
+
createdAt: string | Date;
|
|
583
583
|
updatedAt: string | Date;
|
|
584
|
-
clientId: string;
|
|
585
584
|
agentId: string;
|
|
586
585
|
client: {
|
|
587
|
-
|
|
588
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
586
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
589
587
|
id: string;
|
|
588
|
+
createdAt: string | Date;
|
|
590
589
|
updatedAt: string | Date;
|
|
591
590
|
name: string;
|
|
592
591
|
crn: string;
|
|
593
592
|
govLink: string;
|
|
594
593
|
director: string;
|
|
595
|
-
|
|
596
|
-
|
|
594
|
+
blacklistReason?: string | null | undefined;
|
|
595
|
+
lastUpdatedBy?: {
|
|
596
|
+
id: string;
|
|
597
597
|
firstName: string;
|
|
598
|
+
lastName: string;
|
|
598
599
|
email: string;
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
agentClientLinks: {
|
|
600
|
+
} | null | undefined;
|
|
601
|
+
agentClientLinks?: {
|
|
602
602
|
agentId: string;
|
|
603
|
-
};
|
|
604
|
-
blacklistReason?: string | null | undefined;
|
|
603
|
+
} | null | undefined;
|
|
605
604
|
};
|
|
605
|
+
clientId: string;
|
|
606
|
+
createdBy: string;
|
|
606
607
|
agent: {
|
|
607
|
-
|
|
608
|
+
id: string;
|
|
608
609
|
firstName: string;
|
|
610
|
+
lastName: string;
|
|
609
611
|
email: string;
|
|
610
|
-
phone: string;
|
|
611
612
|
createdAt: string | Date;
|
|
612
|
-
id: string;
|
|
613
613
|
updatedAt: string | Date;
|
|
614
|
+
phone: string;
|
|
614
615
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
615
616
|
};
|
|
616
617
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
617
|
-
createdBy: string;
|
|
618
618
|
creator: {
|
|
619
|
-
|
|
619
|
+
id: string;
|
|
620
620
|
firstName: string;
|
|
621
|
+
lastName: string;
|
|
621
622
|
email: string;
|
|
622
|
-
phone: string;
|
|
623
623
|
createdAt: string | Date;
|
|
624
|
-
id: string;
|
|
625
624
|
updatedAt: string | Date;
|
|
625
|
+
phone: string;
|
|
626
626
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
627
627
|
};
|
|
628
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
629
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
628
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
629
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
630
630
|
}[];
|
|
631
631
|
totalCount: number;
|
|
632
632
|
skip: number;
|
|
@@ -641,9 +641,6 @@ export type ApplyChanges = z.infer<typeof ApplyChangesSchema>;
|
|
|
641
641
|
export type PaginatedAgentClientLinkResponse = z.infer<typeof PaginatedAgentClientLinkResponseSchema>;
|
|
642
642
|
export declare const agentClientLinksContract: {
|
|
643
643
|
findAll: {
|
|
644
|
-
metadata: {
|
|
645
|
-
tags: string[];
|
|
646
|
-
};
|
|
647
644
|
query: z.ZodObject<{
|
|
648
645
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
649
646
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -658,18 +655,21 @@ export declare const agentClientLinksContract: {
|
|
|
658
655
|
page: number;
|
|
659
656
|
sortBy: "createdAt";
|
|
660
657
|
sortOrder: "ASC" | "DESC";
|
|
661
|
-
clientId?: string | undefined;
|
|
662
658
|
agentId?: string | undefined;
|
|
659
|
+
clientId?: string | undefined;
|
|
663
660
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
664
661
|
}, {
|
|
665
662
|
limit?: number | undefined;
|
|
666
663
|
page?: number | undefined;
|
|
667
664
|
sortBy?: "createdAt" | undefined;
|
|
668
665
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
669
|
-
clientId?: string | undefined;
|
|
670
666
|
agentId?: string | undefined;
|
|
667
|
+
clientId?: string | undefined;
|
|
671
668
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
672
669
|
}>;
|
|
670
|
+
metadata: {
|
|
671
|
+
tags: string[];
|
|
672
|
+
};
|
|
673
673
|
summary: "Get all agent-client links";
|
|
674
674
|
method: "GET";
|
|
675
675
|
path: "/v2/agent-client-links";
|
|
@@ -786,69 +786,69 @@ export declare const agentClientLinksContract: {
|
|
|
786
786
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
787
787
|
director: z.ZodString;
|
|
788
788
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
789
|
-
lastUpdatedBy: z.ZodObject<{
|
|
789
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
790
790
|
id: z.ZodString;
|
|
791
791
|
firstName: z.ZodString;
|
|
792
792
|
lastName: z.ZodString;
|
|
793
793
|
email: z.ZodString;
|
|
794
794
|
}, "strip", z.ZodTypeAny, {
|
|
795
|
-
|
|
795
|
+
id: string;
|
|
796
796
|
firstName: string;
|
|
797
|
+
lastName: string;
|
|
797
798
|
email: string;
|
|
798
|
-
id: string;
|
|
799
799
|
}, {
|
|
800
|
-
|
|
800
|
+
id: string;
|
|
801
801
|
firstName: string;
|
|
802
|
+
lastName: string;
|
|
802
803
|
email: string;
|
|
803
|
-
|
|
804
|
-
}>;
|
|
804
|
+
}>>>;
|
|
805
805
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
806
806
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
807
|
-
agentClientLinks: z.ZodObject<{
|
|
807
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
808
808
|
agentId: z.ZodString;
|
|
809
809
|
}, "strip", z.ZodTypeAny, {
|
|
810
810
|
agentId: string;
|
|
811
811
|
}, {
|
|
812
812
|
agentId: string;
|
|
813
|
-
}
|
|
813
|
+
}>>>;
|
|
814
814
|
}, "strip", z.ZodTypeAny, {
|
|
815
|
-
|
|
816
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
815
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
817
816
|
id: string;
|
|
817
|
+
createdAt: string;
|
|
818
818
|
updatedAt: string;
|
|
819
819
|
name: string;
|
|
820
820
|
crn: string;
|
|
821
821
|
govLink: string;
|
|
822
822
|
director: string;
|
|
823
|
-
|
|
824
|
-
|
|
823
|
+
blacklistReason?: string | null | undefined;
|
|
824
|
+
lastUpdatedBy?: {
|
|
825
|
+
id: string;
|
|
825
826
|
firstName: string;
|
|
827
|
+
lastName: string;
|
|
826
828
|
email: string;
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
agentClientLinks: {
|
|
829
|
+
} | null | undefined;
|
|
830
|
+
agentClientLinks?: {
|
|
830
831
|
agentId: string;
|
|
831
|
-
};
|
|
832
|
-
blacklistReason?: string | null | undefined;
|
|
832
|
+
} | null | undefined;
|
|
833
833
|
}, {
|
|
834
|
-
|
|
835
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
834
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
836
835
|
id: string;
|
|
836
|
+
createdAt: string | Date;
|
|
837
837
|
updatedAt: string | Date;
|
|
838
838
|
name: string;
|
|
839
839
|
crn: string;
|
|
840
840
|
govLink: string;
|
|
841
841
|
director: string;
|
|
842
|
-
|
|
843
|
-
|
|
842
|
+
blacklistReason?: string | null | undefined;
|
|
843
|
+
lastUpdatedBy?: {
|
|
844
|
+
id: string;
|
|
844
845
|
firstName: string;
|
|
846
|
+
lastName: string;
|
|
845
847
|
email: string;
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
agentClientLinks: {
|
|
848
|
+
} | null | undefined;
|
|
849
|
+
agentClientLinks?: {
|
|
849
850
|
agentId: string;
|
|
850
|
-
};
|
|
851
|
-
blacklistReason?: string | null | undefined;
|
|
851
|
+
} | null | undefined;
|
|
852
852
|
}>;
|
|
853
853
|
agentId: z.ZodString;
|
|
854
854
|
agent: z.ZodObject<{
|
|
@@ -861,27 +861,27 @@ export declare const agentClientLinksContract: {
|
|
|
861
861
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
862
862
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
863
863
|
}, "strip", z.ZodTypeAny, {
|
|
864
|
-
|
|
864
|
+
id: string;
|
|
865
865
|
firstName: string;
|
|
866
|
+
lastName: string;
|
|
866
867
|
email: string;
|
|
867
|
-
phone: string;
|
|
868
868
|
createdAt: string;
|
|
869
|
-
id: string;
|
|
870
869
|
updatedAt: string;
|
|
870
|
+
phone: string;
|
|
871
871
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
872
872
|
}, {
|
|
873
|
-
|
|
873
|
+
id: string;
|
|
874
874
|
firstName: string;
|
|
875
|
+
lastName: string;
|
|
875
876
|
email: string;
|
|
876
|
-
phone: string;
|
|
877
877
|
createdAt: string | Date;
|
|
878
|
-
id: string;
|
|
879
878
|
updatedAt: string | Date;
|
|
879
|
+
phone: string;
|
|
880
880
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
881
881
|
}>;
|
|
882
882
|
linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
883
|
-
suggestedChanges: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
884
|
-
appliedChanges: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
883
|
+
suggestedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
884
|
+
appliedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
885
885
|
createdBy: z.ZodString;
|
|
886
886
|
creator: z.ZodObject<{
|
|
887
887
|
id: z.ZodString;
|
|
@@ -893,126 +893,126 @@ export declare const agentClientLinksContract: {
|
|
|
893
893
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
894
894
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
895
895
|
}, "strip", z.ZodTypeAny, {
|
|
896
|
-
|
|
896
|
+
id: string;
|
|
897
897
|
firstName: string;
|
|
898
|
+
lastName: string;
|
|
898
899
|
email: string;
|
|
899
|
-
phone: string;
|
|
900
900
|
createdAt: string;
|
|
901
|
-
id: string;
|
|
902
901
|
updatedAt: string;
|
|
902
|
+
phone: string;
|
|
903
903
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
904
904
|
}, {
|
|
905
|
-
|
|
905
|
+
id: string;
|
|
906
906
|
firstName: string;
|
|
907
|
+
lastName: string;
|
|
907
908
|
email: string;
|
|
908
|
-
phone: string;
|
|
909
909
|
createdAt: string | Date;
|
|
910
|
-
id: string;
|
|
911
910
|
updatedAt: string | Date;
|
|
911
|
+
phone: string;
|
|
912
912
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
913
913
|
}>;
|
|
914
914
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
915
915
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
916
916
|
}, "strip", z.ZodTypeAny, {
|
|
917
|
-
createdAt: string;
|
|
918
917
|
id: string;
|
|
918
|
+
createdAt: string;
|
|
919
919
|
updatedAt: string;
|
|
920
|
-
clientId: string;
|
|
921
920
|
agentId: string;
|
|
922
921
|
client: {
|
|
923
|
-
|
|
924
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
922
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
925
923
|
id: string;
|
|
924
|
+
createdAt: string;
|
|
926
925
|
updatedAt: string;
|
|
927
926
|
name: string;
|
|
928
927
|
crn: string;
|
|
929
928
|
govLink: string;
|
|
930
929
|
director: string;
|
|
931
|
-
|
|
932
|
-
|
|
930
|
+
blacklistReason?: string | null | undefined;
|
|
931
|
+
lastUpdatedBy?: {
|
|
932
|
+
id: string;
|
|
933
933
|
firstName: string;
|
|
934
|
+
lastName: string;
|
|
934
935
|
email: string;
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
agentClientLinks: {
|
|
936
|
+
} | null | undefined;
|
|
937
|
+
agentClientLinks?: {
|
|
938
938
|
agentId: string;
|
|
939
|
-
};
|
|
940
|
-
blacklistReason?: string | null | undefined;
|
|
939
|
+
} | null | undefined;
|
|
941
940
|
};
|
|
941
|
+
clientId: string;
|
|
942
|
+
createdBy: string;
|
|
942
943
|
agent: {
|
|
943
|
-
|
|
944
|
+
id: string;
|
|
944
945
|
firstName: string;
|
|
946
|
+
lastName: string;
|
|
945
947
|
email: string;
|
|
946
|
-
phone: string;
|
|
947
948
|
createdAt: string;
|
|
948
|
-
id: string;
|
|
949
949
|
updatedAt: string;
|
|
950
|
+
phone: string;
|
|
950
951
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
951
952
|
};
|
|
952
953
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
953
|
-
createdBy: string;
|
|
954
954
|
creator: {
|
|
955
|
-
|
|
955
|
+
id: string;
|
|
956
956
|
firstName: string;
|
|
957
|
+
lastName: string;
|
|
957
958
|
email: string;
|
|
958
|
-
phone: string;
|
|
959
959
|
createdAt: string;
|
|
960
|
-
id: string;
|
|
961
960
|
updatedAt: string;
|
|
961
|
+
phone: string;
|
|
962
962
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
963
963
|
};
|
|
964
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
965
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
964
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
965
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
966
966
|
}, {
|
|
967
|
-
createdAt: string | Date;
|
|
968
967
|
id: string;
|
|
968
|
+
createdAt: string | Date;
|
|
969
969
|
updatedAt: string | Date;
|
|
970
|
-
clientId: string;
|
|
971
970
|
agentId: string;
|
|
972
971
|
client: {
|
|
973
|
-
|
|
974
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
972
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
975
973
|
id: string;
|
|
974
|
+
createdAt: string | Date;
|
|
976
975
|
updatedAt: string | Date;
|
|
977
976
|
name: string;
|
|
978
977
|
crn: string;
|
|
979
978
|
govLink: string;
|
|
980
979
|
director: string;
|
|
981
|
-
|
|
982
|
-
|
|
980
|
+
blacklistReason?: string | null | undefined;
|
|
981
|
+
lastUpdatedBy?: {
|
|
982
|
+
id: string;
|
|
983
983
|
firstName: string;
|
|
984
|
+
lastName: string;
|
|
984
985
|
email: string;
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
agentClientLinks: {
|
|
986
|
+
} | null | undefined;
|
|
987
|
+
agentClientLinks?: {
|
|
988
988
|
agentId: string;
|
|
989
|
-
};
|
|
990
|
-
blacklistReason?: string | null | undefined;
|
|
989
|
+
} | null | undefined;
|
|
991
990
|
};
|
|
991
|
+
clientId: string;
|
|
992
|
+
createdBy: string;
|
|
992
993
|
agent: {
|
|
993
|
-
|
|
994
|
+
id: string;
|
|
994
995
|
firstName: string;
|
|
996
|
+
lastName: string;
|
|
995
997
|
email: string;
|
|
996
|
-
phone: string;
|
|
997
998
|
createdAt: string | Date;
|
|
998
|
-
id: string;
|
|
999
999
|
updatedAt: string | Date;
|
|
1000
|
+
phone: string;
|
|
1000
1001
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1001
1002
|
};
|
|
1002
1003
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1003
|
-
createdBy: string;
|
|
1004
1004
|
creator: {
|
|
1005
|
-
|
|
1005
|
+
id: string;
|
|
1006
1006
|
firstName: string;
|
|
1007
|
+
lastName: string;
|
|
1007
1008
|
email: string;
|
|
1008
|
-
phone: string;
|
|
1009
1009
|
createdAt: string | Date;
|
|
1010
|
-
id: string;
|
|
1011
1010
|
updatedAt: string | Date;
|
|
1011
|
+
phone: string;
|
|
1012
1012
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1013
1013
|
};
|
|
1014
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
1015
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
1014
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
1015
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
1016
1016
|
}>, "many">;
|
|
1017
1017
|
totalCount: z.ZodNumber;
|
|
1018
1018
|
limit: z.ZodNumber;
|
|
@@ -1022,55 +1022,55 @@ export declare const agentClientLinksContract: {
|
|
|
1022
1022
|
}, "strip", z.ZodTypeAny, {
|
|
1023
1023
|
limit: number;
|
|
1024
1024
|
items: {
|
|
1025
|
-
createdAt: string;
|
|
1026
1025
|
id: string;
|
|
1026
|
+
createdAt: string;
|
|
1027
1027
|
updatedAt: string;
|
|
1028
|
-
clientId: string;
|
|
1029
1028
|
agentId: string;
|
|
1030
1029
|
client: {
|
|
1031
|
-
|
|
1032
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1030
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1033
1031
|
id: string;
|
|
1032
|
+
createdAt: string;
|
|
1034
1033
|
updatedAt: string;
|
|
1035
1034
|
name: string;
|
|
1036
1035
|
crn: string;
|
|
1037
1036
|
govLink: string;
|
|
1038
1037
|
director: string;
|
|
1039
|
-
|
|
1040
|
-
|
|
1038
|
+
blacklistReason?: string | null | undefined;
|
|
1039
|
+
lastUpdatedBy?: {
|
|
1040
|
+
id: string;
|
|
1041
1041
|
firstName: string;
|
|
1042
|
+
lastName: string;
|
|
1042
1043
|
email: string;
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
agentClientLinks: {
|
|
1044
|
+
} | null | undefined;
|
|
1045
|
+
agentClientLinks?: {
|
|
1046
1046
|
agentId: string;
|
|
1047
|
-
};
|
|
1048
|
-
blacklistReason?: string | null | undefined;
|
|
1047
|
+
} | null | undefined;
|
|
1049
1048
|
};
|
|
1049
|
+
clientId: string;
|
|
1050
|
+
createdBy: string;
|
|
1050
1051
|
agent: {
|
|
1051
|
-
|
|
1052
|
+
id: string;
|
|
1052
1053
|
firstName: string;
|
|
1054
|
+
lastName: string;
|
|
1053
1055
|
email: string;
|
|
1054
|
-
phone: string;
|
|
1055
1056
|
createdAt: string;
|
|
1056
|
-
id: string;
|
|
1057
1057
|
updatedAt: string;
|
|
1058
|
+
phone: string;
|
|
1058
1059
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1059
1060
|
};
|
|
1060
1061
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1061
|
-
createdBy: string;
|
|
1062
1062
|
creator: {
|
|
1063
|
-
|
|
1063
|
+
id: string;
|
|
1064
1064
|
firstName: string;
|
|
1065
|
+
lastName: string;
|
|
1065
1066
|
email: string;
|
|
1066
|
-
phone: string;
|
|
1067
1067
|
createdAt: string;
|
|
1068
|
-
id: string;
|
|
1069
1068
|
updatedAt: string;
|
|
1069
|
+
phone: string;
|
|
1070
1070
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1071
1071
|
};
|
|
1072
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
1073
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
1072
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
1073
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
1074
1074
|
}[];
|
|
1075
1075
|
totalCount: number;
|
|
1076
1076
|
skip: number;
|
|
@@ -1079,55 +1079,55 @@ export declare const agentClientLinksContract: {
|
|
|
1079
1079
|
}, {
|
|
1080
1080
|
limit: number;
|
|
1081
1081
|
items: {
|
|
1082
|
-
createdAt: string | Date;
|
|
1083
1082
|
id: string;
|
|
1083
|
+
createdAt: string | Date;
|
|
1084
1084
|
updatedAt: string | Date;
|
|
1085
|
-
clientId: string;
|
|
1086
1085
|
agentId: string;
|
|
1087
1086
|
client: {
|
|
1088
|
-
|
|
1089
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1087
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1090
1088
|
id: string;
|
|
1089
|
+
createdAt: string | Date;
|
|
1091
1090
|
updatedAt: string | Date;
|
|
1092
1091
|
name: string;
|
|
1093
1092
|
crn: string;
|
|
1094
1093
|
govLink: string;
|
|
1095
1094
|
director: string;
|
|
1096
|
-
|
|
1097
|
-
|
|
1095
|
+
blacklistReason?: string | null | undefined;
|
|
1096
|
+
lastUpdatedBy?: {
|
|
1097
|
+
id: string;
|
|
1098
1098
|
firstName: string;
|
|
1099
|
+
lastName: string;
|
|
1099
1100
|
email: string;
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
agentClientLinks: {
|
|
1101
|
+
} | null | undefined;
|
|
1102
|
+
agentClientLinks?: {
|
|
1103
1103
|
agentId: string;
|
|
1104
|
-
};
|
|
1105
|
-
blacklistReason?: string | null | undefined;
|
|
1104
|
+
} | null | undefined;
|
|
1106
1105
|
};
|
|
1106
|
+
clientId: string;
|
|
1107
|
+
createdBy: string;
|
|
1107
1108
|
agent: {
|
|
1108
|
-
|
|
1109
|
+
id: string;
|
|
1109
1110
|
firstName: string;
|
|
1111
|
+
lastName: string;
|
|
1110
1112
|
email: string;
|
|
1111
|
-
phone: string;
|
|
1112
1113
|
createdAt: string | Date;
|
|
1113
|
-
id: string;
|
|
1114
1114
|
updatedAt: string | Date;
|
|
1115
|
+
phone: string;
|
|
1115
1116
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1116
1117
|
};
|
|
1117
1118
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1118
|
-
createdBy: string;
|
|
1119
1119
|
creator: {
|
|
1120
|
-
|
|
1120
|
+
id: string;
|
|
1121
1121
|
firstName: string;
|
|
1122
|
+
lastName: string;
|
|
1122
1123
|
email: string;
|
|
1123
|
-
phone: string;
|
|
1124
1124
|
createdAt: string | Date;
|
|
1125
|
-
id: string;
|
|
1126
1125
|
updatedAt: string | Date;
|
|
1126
|
+
phone: string;
|
|
1127
1127
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1128
1128
|
};
|
|
1129
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
1130
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
1129
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
1130
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
1131
1131
|
}[];
|
|
1132
1132
|
totalCount: number;
|
|
1133
1133
|
skip: number;
|
|
@@ -1262,69 +1262,69 @@ export declare const agentClientLinksContract: {
|
|
|
1262
1262
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1263
1263
|
director: z.ZodString;
|
|
1264
1264
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1265
|
-
lastUpdatedBy: z.ZodObject<{
|
|
1265
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1266
1266
|
id: z.ZodString;
|
|
1267
1267
|
firstName: z.ZodString;
|
|
1268
1268
|
lastName: z.ZodString;
|
|
1269
1269
|
email: z.ZodString;
|
|
1270
1270
|
}, "strip", z.ZodTypeAny, {
|
|
1271
|
-
|
|
1271
|
+
id: string;
|
|
1272
1272
|
firstName: string;
|
|
1273
|
+
lastName: string;
|
|
1273
1274
|
email: string;
|
|
1274
|
-
id: string;
|
|
1275
1275
|
}, {
|
|
1276
|
-
|
|
1276
|
+
id: string;
|
|
1277
1277
|
firstName: string;
|
|
1278
|
+
lastName: string;
|
|
1278
1279
|
email: string;
|
|
1279
|
-
|
|
1280
|
-
}>;
|
|
1280
|
+
}>>>;
|
|
1281
1281
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1282
1282
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1283
|
-
agentClientLinks: z.ZodObject<{
|
|
1283
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1284
1284
|
agentId: z.ZodString;
|
|
1285
1285
|
}, "strip", z.ZodTypeAny, {
|
|
1286
1286
|
agentId: string;
|
|
1287
1287
|
}, {
|
|
1288
1288
|
agentId: string;
|
|
1289
|
-
}
|
|
1289
|
+
}>>>;
|
|
1290
1290
|
}, "strip", z.ZodTypeAny, {
|
|
1291
|
-
|
|
1292
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1291
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1293
1292
|
id: string;
|
|
1293
|
+
createdAt: string;
|
|
1294
1294
|
updatedAt: string;
|
|
1295
1295
|
name: string;
|
|
1296
1296
|
crn: string;
|
|
1297
1297
|
govLink: string;
|
|
1298
1298
|
director: string;
|
|
1299
|
-
|
|
1300
|
-
|
|
1299
|
+
blacklistReason?: string | null | undefined;
|
|
1300
|
+
lastUpdatedBy?: {
|
|
1301
|
+
id: string;
|
|
1301
1302
|
firstName: string;
|
|
1303
|
+
lastName: string;
|
|
1302
1304
|
email: string;
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
agentClientLinks: {
|
|
1305
|
+
} | null | undefined;
|
|
1306
|
+
agentClientLinks?: {
|
|
1306
1307
|
agentId: string;
|
|
1307
|
-
};
|
|
1308
|
-
blacklistReason?: string | null | undefined;
|
|
1308
|
+
} | null | undefined;
|
|
1309
1309
|
}, {
|
|
1310
|
-
|
|
1311
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1310
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1312
1311
|
id: string;
|
|
1312
|
+
createdAt: string | Date;
|
|
1313
1313
|
updatedAt: string | Date;
|
|
1314
1314
|
name: string;
|
|
1315
1315
|
crn: string;
|
|
1316
1316
|
govLink: string;
|
|
1317
1317
|
director: string;
|
|
1318
|
-
|
|
1319
|
-
|
|
1318
|
+
blacklistReason?: string | null | undefined;
|
|
1319
|
+
lastUpdatedBy?: {
|
|
1320
|
+
id: string;
|
|
1320
1321
|
firstName: string;
|
|
1322
|
+
lastName: string;
|
|
1321
1323
|
email: string;
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
agentClientLinks: {
|
|
1324
|
+
} | null | undefined;
|
|
1325
|
+
agentClientLinks?: {
|
|
1325
1326
|
agentId: string;
|
|
1326
|
-
};
|
|
1327
|
-
blacklistReason?: string | null | undefined;
|
|
1327
|
+
} | null | undefined;
|
|
1328
1328
|
}>;
|
|
1329
1329
|
agentId: z.ZodString;
|
|
1330
1330
|
agent: z.ZodObject<{
|
|
@@ -1337,27 +1337,27 @@ export declare const agentClientLinksContract: {
|
|
|
1337
1337
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1338
1338
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1339
1339
|
}, "strip", z.ZodTypeAny, {
|
|
1340
|
-
|
|
1340
|
+
id: string;
|
|
1341
1341
|
firstName: string;
|
|
1342
|
+
lastName: string;
|
|
1342
1343
|
email: string;
|
|
1343
|
-
phone: string;
|
|
1344
1344
|
createdAt: string;
|
|
1345
|
-
id: string;
|
|
1346
1345
|
updatedAt: string;
|
|
1346
|
+
phone: string;
|
|
1347
1347
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1348
1348
|
}, {
|
|
1349
|
-
|
|
1349
|
+
id: string;
|
|
1350
1350
|
firstName: string;
|
|
1351
|
+
lastName: string;
|
|
1351
1352
|
email: string;
|
|
1352
|
-
phone: string;
|
|
1353
1353
|
createdAt: string | Date;
|
|
1354
|
-
id: string;
|
|
1355
1354
|
updatedAt: string | Date;
|
|
1355
|
+
phone: string;
|
|
1356
1356
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1357
1357
|
}>;
|
|
1358
1358
|
linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
1359
|
-
suggestedChanges: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
1360
|
-
appliedChanges: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
1359
|
+
suggestedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1360
|
+
appliedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1361
1361
|
createdBy: z.ZodString;
|
|
1362
1362
|
creator: z.ZodObject<{
|
|
1363
1363
|
id: z.ZodString;
|
|
@@ -1369,126 +1369,126 @@ export declare const agentClientLinksContract: {
|
|
|
1369
1369
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1370
1370
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1371
1371
|
}, "strip", z.ZodTypeAny, {
|
|
1372
|
-
|
|
1372
|
+
id: string;
|
|
1373
1373
|
firstName: string;
|
|
1374
|
+
lastName: string;
|
|
1374
1375
|
email: string;
|
|
1375
|
-
phone: string;
|
|
1376
1376
|
createdAt: string;
|
|
1377
|
-
id: string;
|
|
1378
1377
|
updatedAt: string;
|
|
1378
|
+
phone: string;
|
|
1379
1379
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1380
1380
|
}, {
|
|
1381
|
-
|
|
1381
|
+
id: string;
|
|
1382
1382
|
firstName: string;
|
|
1383
|
+
lastName: string;
|
|
1383
1384
|
email: string;
|
|
1384
|
-
phone: string;
|
|
1385
1385
|
createdAt: string | Date;
|
|
1386
|
-
id: string;
|
|
1387
1386
|
updatedAt: string | Date;
|
|
1387
|
+
phone: string;
|
|
1388
1388
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1389
1389
|
}>;
|
|
1390
1390
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1391
1391
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1392
1392
|
}, "strip", z.ZodTypeAny, {
|
|
1393
|
-
createdAt: string;
|
|
1394
1393
|
id: string;
|
|
1394
|
+
createdAt: string;
|
|
1395
1395
|
updatedAt: string;
|
|
1396
|
-
clientId: string;
|
|
1397
1396
|
agentId: string;
|
|
1398
1397
|
client: {
|
|
1399
|
-
|
|
1400
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1398
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1401
1399
|
id: string;
|
|
1400
|
+
createdAt: string;
|
|
1402
1401
|
updatedAt: string;
|
|
1403
1402
|
name: string;
|
|
1404
1403
|
crn: string;
|
|
1405
1404
|
govLink: string;
|
|
1406
1405
|
director: string;
|
|
1407
|
-
|
|
1408
|
-
|
|
1406
|
+
blacklistReason?: string | null | undefined;
|
|
1407
|
+
lastUpdatedBy?: {
|
|
1408
|
+
id: string;
|
|
1409
1409
|
firstName: string;
|
|
1410
|
+
lastName: string;
|
|
1410
1411
|
email: string;
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
agentClientLinks: {
|
|
1412
|
+
} | null | undefined;
|
|
1413
|
+
agentClientLinks?: {
|
|
1414
1414
|
agentId: string;
|
|
1415
|
-
};
|
|
1416
|
-
blacklistReason?: string | null | undefined;
|
|
1415
|
+
} | null | undefined;
|
|
1417
1416
|
};
|
|
1417
|
+
clientId: string;
|
|
1418
|
+
createdBy: string;
|
|
1418
1419
|
agent: {
|
|
1419
|
-
|
|
1420
|
+
id: string;
|
|
1420
1421
|
firstName: string;
|
|
1422
|
+
lastName: string;
|
|
1421
1423
|
email: string;
|
|
1422
|
-
phone: string;
|
|
1423
1424
|
createdAt: string;
|
|
1424
|
-
id: string;
|
|
1425
1425
|
updatedAt: string;
|
|
1426
|
+
phone: string;
|
|
1426
1427
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1427
1428
|
};
|
|
1428
1429
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1429
|
-
createdBy: string;
|
|
1430
1430
|
creator: {
|
|
1431
|
-
|
|
1431
|
+
id: string;
|
|
1432
1432
|
firstName: string;
|
|
1433
|
+
lastName: string;
|
|
1433
1434
|
email: string;
|
|
1434
|
-
phone: string;
|
|
1435
1435
|
createdAt: string;
|
|
1436
|
-
id: string;
|
|
1437
1436
|
updatedAt: string;
|
|
1437
|
+
phone: string;
|
|
1438
1438
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1439
1439
|
};
|
|
1440
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
1441
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
1440
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
1441
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
1442
1442
|
}, {
|
|
1443
|
-
createdAt: string | Date;
|
|
1444
1443
|
id: string;
|
|
1444
|
+
createdAt: string | Date;
|
|
1445
1445
|
updatedAt: string | Date;
|
|
1446
|
-
clientId: string;
|
|
1447
1446
|
agentId: string;
|
|
1448
1447
|
client: {
|
|
1449
|
-
|
|
1450
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1448
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1451
1449
|
id: string;
|
|
1450
|
+
createdAt: string | Date;
|
|
1452
1451
|
updatedAt: string | Date;
|
|
1453
1452
|
name: string;
|
|
1454
1453
|
crn: string;
|
|
1455
1454
|
govLink: string;
|
|
1456
1455
|
director: string;
|
|
1457
|
-
|
|
1458
|
-
|
|
1456
|
+
blacklistReason?: string | null | undefined;
|
|
1457
|
+
lastUpdatedBy?: {
|
|
1458
|
+
id: string;
|
|
1459
1459
|
firstName: string;
|
|
1460
|
+
lastName: string;
|
|
1460
1461
|
email: string;
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
agentClientLinks: {
|
|
1462
|
+
} | null | undefined;
|
|
1463
|
+
agentClientLinks?: {
|
|
1464
1464
|
agentId: string;
|
|
1465
|
-
};
|
|
1466
|
-
blacklistReason?: string | null | undefined;
|
|
1465
|
+
} | null | undefined;
|
|
1467
1466
|
};
|
|
1467
|
+
clientId: string;
|
|
1468
|
+
createdBy: string;
|
|
1468
1469
|
agent: {
|
|
1469
|
-
|
|
1470
|
+
id: string;
|
|
1470
1471
|
firstName: string;
|
|
1472
|
+
lastName: string;
|
|
1471
1473
|
email: string;
|
|
1472
|
-
phone: string;
|
|
1473
1474
|
createdAt: string | Date;
|
|
1474
|
-
id: string;
|
|
1475
1475
|
updatedAt: string | Date;
|
|
1476
|
+
phone: string;
|
|
1476
1477
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1477
1478
|
};
|
|
1478
1479
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1479
|
-
createdBy: string;
|
|
1480
1480
|
creator: {
|
|
1481
|
-
|
|
1481
|
+
id: string;
|
|
1482
1482
|
firstName: string;
|
|
1483
|
+
lastName: string;
|
|
1483
1484
|
email: string;
|
|
1484
|
-
phone: string;
|
|
1485
1485
|
createdAt: string | Date;
|
|
1486
|
-
id: string;
|
|
1487
1486
|
updatedAt: string | Date;
|
|
1487
|
+
phone: string;
|
|
1488
1488
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1489
1489
|
};
|
|
1490
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
1491
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
1490
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
1491
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
1492
1492
|
}>;
|
|
1493
1493
|
404: z.ZodObject<{
|
|
1494
1494
|
statusCode: z.ZodNumber;
|
|
@@ -1650,69 +1650,69 @@ export declare const agentClientLinksContract: {
|
|
|
1650
1650
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1651
1651
|
director: z.ZodString;
|
|
1652
1652
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1653
|
-
lastUpdatedBy: z.ZodObject<{
|
|
1653
|
+
lastUpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1654
1654
|
id: z.ZodString;
|
|
1655
1655
|
firstName: z.ZodString;
|
|
1656
1656
|
lastName: z.ZodString;
|
|
1657
1657
|
email: z.ZodString;
|
|
1658
1658
|
}, "strip", z.ZodTypeAny, {
|
|
1659
|
-
|
|
1659
|
+
id: string;
|
|
1660
1660
|
firstName: string;
|
|
1661
|
+
lastName: string;
|
|
1661
1662
|
email: string;
|
|
1662
|
-
id: string;
|
|
1663
1663
|
}, {
|
|
1664
|
-
|
|
1664
|
+
id: string;
|
|
1665
1665
|
firstName: string;
|
|
1666
|
+
lastName: string;
|
|
1666
1667
|
email: string;
|
|
1667
|
-
|
|
1668
|
-
}>;
|
|
1668
|
+
}>>>;
|
|
1669
1669
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1670
1670
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1671
|
-
agentClientLinks: z.ZodObject<{
|
|
1671
|
+
agentClientLinks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1672
1672
|
agentId: z.ZodString;
|
|
1673
1673
|
}, "strip", z.ZodTypeAny, {
|
|
1674
1674
|
agentId: string;
|
|
1675
1675
|
}, {
|
|
1676
1676
|
agentId: string;
|
|
1677
|
-
}
|
|
1677
|
+
}>>>;
|
|
1678
1678
|
}, "strip", z.ZodTypeAny, {
|
|
1679
|
-
|
|
1680
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1679
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1681
1680
|
id: string;
|
|
1681
|
+
createdAt: string;
|
|
1682
1682
|
updatedAt: string;
|
|
1683
1683
|
name: string;
|
|
1684
1684
|
crn: string;
|
|
1685
1685
|
govLink: string;
|
|
1686
1686
|
director: string;
|
|
1687
|
-
|
|
1688
|
-
|
|
1687
|
+
blacklistReason?: string | null | undefined;
|
|
1688
|
+
lastUpdatedBy?: {
|
|
1689
|
+
id: string;
|
|
1689
1690
|
firstName: string;
|
|
1691
|
+
lastName: string;
|
|
1690
1692
|
email: string;
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
agentClientLinks: {
|
|
1693
|
+
} | null | undefined;
|
|
1694
|
+
agentClientLinks?: {
|
|
1694
1695
|
agentId: string;
|
|
1695
|
-
};
|
|
1696
|
-
blacklistReason?: string | null | undefined;
|
|
1696
|
+
} | null | undefined;
|
|
1697
1697
|
}, {
|
|
1698
|
-
|
|
1699
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1698
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1700
1699
|
id: string;
|
|
1700
|
+
createdAt: string | Date;
|
|
1701
1701
|
updatedAt: string | Date;
|
|
1702
1702
|
name: string;
|
|
1703
1703
|
crn: string;
|
|
1704
1704
|
govLink: string;
|
|
1705
1705
|
director: string;
|
|
1706
|
-
|
|
1707
|
-
|
|
1706
|
+
blacklistReason?: string | null | undefined;
|
|
1707
|
+
lastUpdatedBy?: {
|
|
1708
|
+
id: string;
|
|
1708
1709
|
firstName: string;
|
|
1710
|
+
lastName: string;
|
|
1709
1711
|
email: string;
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
agentClientLinks: {
|
|
1712
|
+
} | null | undefined;
|
|
1713
|
+
agentClientLinks?: {
|
|
1713
1714
|
agentId: string;
|
|
1714
|
-
};
|
|
1715
|
-
blacklistReason?: string | null | undefined;
|
|
1715
|
+
} | null | undefined;
|
|
1716
1716
|
}>;
|
|
1717
1717
|
agentId: z.ZodString;
|
|
1718
1718
|
agent: z.ZodObject<{
|
|
@@ -1725,27 +1725,27 @@ export declare const agentClientLinksContract: {
|
|
|
1725
1725
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1726
1726
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1727
1727
|
}, "strip", z.ZodTypeAny, {
|
|
1728
|
-
|
|
1728
|
+
id: string;
|
|
1729
1729
|
firstName: string;
|
|
1730
|
+
lastName: string;
|
|
1730
1731
|
email: string;
|
|
1731
|
-
phone: string;
|
|
1732
1732
|
createdAt: string;
|
|
1733
|
-
id: string;
|
|
1734
1733
|
updatedAt: string;
|
|
1734
|
+
phone: string;
|
|
1735
1735
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1736
1736
|
}, {
|
|
1737
|
-
|
|
1737
|
+
id: string;
|
|
1738
1738
|
firstName: string;
|
|
1739
|
+
lastName: string;
|
|
1739
1740
|
email: string;
|
|
1740
|
-
phone: string;
|
|
1741
1741
|
createdAt: string | Date;
|
|
1742
|
-
id: string;
|
|
1743
1742
|
updatedAt: string | Date;
|
|
1743
|
+
phone: string;
|
|
1744
1744
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1745
1745
|
}>;
|
|
1746
1746
|
linkType: z.ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
|
|
1747
|
-
suggestedChanges: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
1748
|
-
appliedChanges: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
1747
|
+
suggestedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1748
|
+
appliedChanges: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1749
1749
|
createdBy: z.ZodString;
|
|
1750
1750
|
creator: z.ZodObject<{
|
|
1751
1751
|
id: z.ZodString;
|
|
@@ -1757,126 +1757,126 @@ export declare const agentClientLinksContract: {
|
|
|
1757
1757
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1758
1758
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1759
1759
|
}, "strip", z.ZodTypeAny, {
|
|
1760
|
-
|
|
1760
|
+
id: string;
|
|
1761
1761
|
firstName: string;
|
|
1762
|
+
lastName: string;
|
|
1762
1763
|
email: string;
|
|
1763
|
-
phone: string;
|
|
1764
1764
|
createdAt: string;
|
|
1765
|
-
id: string;
|
|
1766
1765
|
updatedAt: string;
|
|
1766
|
+
phone: string;
|
|
1767
1767
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1768
1768
|
}, {
|
|
1769
|
-
|
|
1769
|
+
id: string;
|
|
1770
1770
|
firstName: string;
|
|
1771
|
+
lastName: string;
|
|
1771
1772
|
email: string;
|
|
1772
|
-
phone: string;
|
|
1773
1773
|
createdAt: string | Date;
|
|
1774
|
-
id: string;
|
|
1775
1774
|
updatedAt: string | Date;
|
|
1775
|
+
phone: string;
|
|
1776
1776
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1777
1777
|
}>;
|
|
1778
1778
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1779
1779
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1780
1780
|
}, "strip", z.ZodTypeAny, {
|
|
1781
|
-
createdAt: string;
|
|
1782
1781
|
id: string;
|
|
1782
|
+
createdAt: string;
|
|
1783
1783
|
updatedAt: string;
|
|
1784
|
-
clientId: string;
|
|
1785
1784
|
agentId: string;
|
|
1786
1785
|
client: {
|
|
1787
|
-
|
|
1788
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1786
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1789
1787
|
id: string;
|
|
1788
|
+
createdAt: string;
|
|
1790
1789
|
updatedAt: string;
|
|
1791
1790
|
name: string;
|
|
1792
1791
|
crn: string;
|
|
1793
1792
|
govLink: string;
|
|
1794
1793
|
director: string;
|
|
1795
|
-
|
|
1796
|
-
|
|
1794
|
+
blacklistReason?: string | null | undefined;
|
|
1795
|
+
lastUpdatedBy?: {
|
|
1796
|
+
id: string;
|
|
1797
1797
|
firstName: string;
|
|
1798
|
+
lastName: string;
|
|
1798
1799
|
email: string;
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
agentClientLinks: {
|
|
1800
|
+
} | null | undefined;
|
|
1801
|
+
agentClientLinks?: {
|
|
1802
1802
|
agentId: string;
|
|
1803
|
-
};
|
|
1804
|
-
blacklistReason?: string | null | undefined;
|
|
1803
|
+
} | null | undefined;
|
|
1805
1804
|
};
|
|
1805
|
+
clientId: string;
|
|
1806
|
+
createdBy: string;
|
|
1806
1807
|
agent: {
|
|
1807
|
-
|
|
1808
|
+
id: string;
|
|
1808
1809
|
firstName: string;
|
|
1810
|
+
lastName: string;
|
|
1809
1811
|
email: string;
|
|
1810
|
-
phone: string;
|
|
1811
1812
|
createdAt: string;
|
|
1812
|
-
id: string;
|
|
1813
1813
|
updatedAt: string;
|
|
1814
|
+
phone: string;
|
|
1814
1815
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1815
1816
|
};
|
|
1816
1817
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1817
|
-
createdBy: string;
|
|
1818
1818
|
creator: {
|
|
1819
|
-
|
|
1819
|
+
id: string;
|
|
1820
1820
|
firstName: string;
|
|
1821
|
+
lastName: string;
|
|
1821
1822
|
email: string;
|
|
1822
|
-
phone: string;
|
|
1823
1823
|
createdAt: string;
|
|
1824
|
-
id: string;
|
|
1825
1824
|
updatedAt: string;
|
|
1825
|
+
phone: string;
|
|
1826
1826
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1827
1827
|
};
|
|
1828
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
1829
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
1828
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
1829
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
1830
1830
|
}, {
|
|
1831
|
-
createdAt: string | Date;
|
|
1832
1831
|
id: string;
|
|
1832
|
+
createdAt: string | Date;
|
|
1833
1833
|
updatedAt: string | Date;
|
|
1834
|
-
clientId: string;
|
|
1835
1834
|
agentId: string;
|
|
1836
1835
|
client: {
|
|
1837
|
-
|
|
1838
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1836
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1839
1837
|
id: string;
|
|
1838
|
+
createdAt: string | Date;
|
|
1840
1839
|
updatedAt: string | Date;
|
|
1841
1840
|
name: string;
|
|
1842
1841
|
crn: string;
|
|
1843
1842
|
govLink: string;
|
|
1844
1843
|
director: string;
|
|
1845
|
-
|
|
1846
|
-
|
|
1844
|
+
blacklistReason?: string | null | undefined;
|
|
1845
|
+
lastUpdatedBy?: {
|
|
1846
|
+
id: string;
|
|
1847
1847
|
firstName: string;
|
|
1848
|
+
lastName: string;
|
|
1848
1849
|
email: string;
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
agentClientLinks: {
|
|
1850
|
+
} | null | undefined;
|
|
1851
|
+
agentClientLinks?: {
|
|
1852
1852
|
agentId: string;
|
|
1853
|
-
};
|
|
1854
|
-
blacklistReason?: string | null | undefined;
|
|
1853
|
+
} | null | undefined;
|
|
1855
1854
|
};
|
|
1855
|
+
clientId: string;
|
|
1856
|
+
createdBy: string;
|
|
1856
1857
|
agent: {
|
|
1857
|
-
|
|
1858
|
+
id: string;
|
|
1858
1859
|
firstName: string;
|
|
1860
|
+
lastName: string;
|
|
1859
1861
|
email: string;
|
|
1860
|
-
phone: string;
|
|
1861
1862
|
createdAt: string | Date;
|
|
1862
|
-
id: string;
|
|
1863
1863
|
updatedAt: string | Date;
|
|
1864
|
+
phone: string;
|
|
1864
1865
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1865
1866
|
};
|
|
1866
1867
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1867
|
-
createdBy: string;
|
|
1868
1868
|
creator: {
|
|
1869
|
-
|
|
1869
|
+
id: string;
|
|
1870
1870
|
firstName: string;
|
|
1871
|
+
lastName: string;
|
|
1871
1872
|
email: string;
|
|
1872
|
-
phone: string;
|
|
1873
1873
|
createdAt: string | Date;
|
|
1874
|
-
id: string;
|
|
1875
1874
|
updatedAt: string | Date;
|
|
1875
|
+
phone: string;
|
|
1876
1876
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1877
1877
|
};
|
|
1878
|
-
suggestedChanges?: Record<string, unknown> | undefined;
|
|
1879
|
-
appliedChanges?: Record<string, unknown> | undefined;
|
|
1878
|
+
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
1879
|
+
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
1880
1880
|
}>;
|
|
1881
1881
|
404: z.ZodObject<{
|
|
1882
1882
|
statusCode: z.ZodNumber;
|