@dakkitor/api-contracts 1.1.28 → 1.1.30
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 +24 -0
- package/dist/abilities/abilities.contract.d.ts.map +1 -0
- package/dist/abilities/abilities.contract.js +24 -0
- package/dist/abilities/admin.abilities.json +22 -0
- package/dist/abilities/first-agent.abilities.json +573 -0
- package/dist/abilities/second-agent.abilities.json +311 -0
- package/dist/actives/actives.contract.d.ts +1856 -1914
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +419 -419
- package/dist/auth/auth.contract.d.ts +4 -4
- package/dist/bookings/bookings.contract.d.ts +1481 -1534
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +2 -14
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +8 -24
- package/dist/client-contacts/client-contacts.contract.d.ts +356 -319
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.js +4 -1
- package/dist/common/call-rating.schema.d.ts +31 -0
- package/dist/common/call-rating.schema.d.ts.map +1 -0
- package/dist/common/call-rating.schema.js +63 -0
- package/dist/common/common-schemas.js +2 -2
- package/dist/curated-workers/curated-workers.contract.d.ts +8 -8
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +2 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/jobs/jobs.contract.d.ts +629 -629
- package/dist/jobs/jobs.contract.js +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +6 -6
- package/dist/lead-assignments/lead-assignments.contract.js +2 -2
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +63 -63
- package/dist/leads/leads.contract.d.ts +9 -9
- package/dist/users/users.contract.d.ts +108 -108
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +2 -3
- package/dist/workers/workers.contract.d.ts +130 -205
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +2 -8
- package/package.json +1 -1
|
@@ -18,15 +18,15 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
18
18
|
lastName: z.ZodString;
|
|
19
19
|
email: z.ZodString;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
id: string;
|
|
22
|
-
firstName: string;
|
|
23
21
|
lastName: string;
|
|
22
|
+
firstName: string;
|
|
24
23
|
email: string;
|
|
25
|
-
}, {
|
|
26
24
|
id: string;
|
|
27
|
-
|
|
25
|
+
}, {
|
|
28
26
|
lastName: string;
|
|
27
|
+
firstName: string;
|
|
29
28
|
email: string;
|
|
29
|
+
id: string;
|
|
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>;
|
|
@@ -38,9 +38,9 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
38
38
|
agentId: string;
|
|
39
39
|
}>>>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
42
|
-
id: string;
|
|
43
41
|
createdAt: string;
|
|
42
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
43
|
+
id: string;
|
|
44
44
|
updatedAt: string;
|
|
45
45
|
name: string;
|
|
46
46
|
crn: string;
|
|
@@ -48,18 +48,18 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
48
48
|
director: string;
|
|
49
49
|
blacklistReason?: string | null | undefined;
|
|
50
50
|
lastUpdatedBy?: {
|
|
51
|
-
id: string;
|
|
52
|
-
firstName: string;
|
|
53
51
|
lastName: string;
|
|
52
|
+
firstName: string;
|
|
54
53
|
email: string;
|
|
54
|
+
id: string;
|
|
55
55
|
} | null | undefined;
|
|
56
56
|
agentClientLinks?: {
|
|
57
57
|
agentId: string;
|
|
58
58
|
} | null | undefined;
|
|
59
59
|
}, {
|
|
60
|
-
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
61
|
-
id: string;
|
|
62
60
|
createdAt: string | Date;
|
|
61
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
62
|
+
id: string;
|
|
63
63
|
updatedAt: string | Date;
|
|
64
64
|
name: string;
|
|
65
65
|
crn: string;
|
|
@@ -67,10 +67,10 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
67
67
|
director: string;
|
|
68
68
|
blacklistReason?: string | null | undefined;
|
|
69
69
|
lastUpdatedBy?: {
|
|
70
|
-
id: string;
|
|
71
|
-
firstName: string;
|
|
72
70
|
lastName: string;
|
|
71
|
+
firstName: string;
|
|
73
72
|
email: string;
|
|
73
|
+
id: string;
|
|
74
74
|
} | null | undefined;
|
|
75
75
|
agentClientLinks?: {
|
|
76
76
|
agentId: string;
|
|
@@ -87,22 +87,22 @@ 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
|
-
id: string;
|
|
91
|
-
firstName: string;
|
|
92
90
|
lastName: string;
|
|
91
|
+
firstName: string;
|
|
93
92
|
email: string;
|
|
93
|
+
phone: string;
|
|
94
94
|
createdAt: string;
|
|
95
|
+
id: string;
|
|
95
96
|
updatedAt: string;
|
|
96
|
-
phone: string;
|
|
97
97
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
98
98
|
}, {
|
|
99
|
-
id: string;
|
|
100
|
-
firstName: string;
|
|
101
99
|
lastName: string;
|
|
100
|
+
firstName: string;
|
|
102
101
|
email: string;
|
|
102
|
+
phone: string;
|
|
103
103
|
createdAt: string | Date;
|
|
104
|
+
id: string;
|
|
104
105
|
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"]>;
|
|
@@ -119,35 +119,46 @@ 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
|
-
id: string;
|
|
123
|
-
firstName: string;
|
|
124
122
|
lastName: string;
|
|
123
|
+
firstName: string;
|
|
125
124
|
email: string;
|
|
125
|
+
phone: string;
|
|
126
126
|
createdAt: string;
|
|
127
|
+
id: string;
|
|
127
128
|
updatedAt: string;
|
|
128
|
-
phone: string;
|
|
129
129
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
130
130
|
}, {
|
|
131
|
-
id: string;
|
|
132
|
-
firstName: string;
|
|
133
131
|
lastName: string;
|
|
132
|
+
firstName: string;
|
|
134
133
|
email: string;
|
|
134
|
+
phone: string;
|
|
135
135
|
createdAt: string | Date;
|
|
136
|
+
id: string;
|
|
136
137
|
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
|
-
id: string;
|
|
144
143
|
createdAt: string;
|
|
144
|
+
id: string;
|
|
145
145
|
updatedAt: string;
|
|
146
146
|
agentId: string;
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
agent: {
|
|
148
|
+
lastName: string;
|
|
149
|
+
firstName: string;
|
|
150
|
+
email: string;
|
|
151
|
+
phone: string;
|
|
152
|
+
createdAt: string;
|
|
149
153
|
id: string;
|
|
154
|
+
updatedAt: string;
|
|
155
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
156
|
+
};
|
|
157
|
+
clientId: string;
|
|
158
|
+
client: {
|
|
150
159
|
createdAt: string;
|
|
160
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
161
|
+
id: string;
|
|
151
162
|
updatedAt: string;
|
|
152
163
|
name: string;
|
|
153
164
|
crn: string;
|
|
@@ -155,49 +166,49 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
155
166
|
director: string;
|
|
156
167
|
blacklistReason?: string | null | undefined;
|
|
157
168
|
lastUpdatedBy?: {
|
|
158
|
-
id: string;
|
|
159
|
-
firstName: string;
|
|
160
169
|
lastName: string;
|
|
170
|
+
firstName: string;
|
|
161
171
|
email: string;
|
|
172
|
+
id: string;
|
|
162
173
|
} | null | undefined;
|
|
163
174
|
agentClientLinks?: {
|
|
164
175
|
agentId: string;
|
|
165
176
|
} | null | undefined;
|
|
166
177
|
};
|
|
167
|
-
clientId: string;
|
|
168
|
-
createdBy: string;
|
|
169
|
-
agent: {
|
|
170
|
-
id: string;
|
|
171
|
-
firstName: string;
|
|
172
|
-
lastName: string;
|
|
173
|
-
email: string;
|
|
174
|
-
createdAt: string;
|
|
175
|
-
updatedAt: string;
|
|
176
|
-
phone: string;
|
|
177
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
178
|
-
};
|
|
179
178
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
179
|
+
createdBy: string;
|
|
180
180
|
creator: {
|
|
181
|
-
id: string;
|
|
182
|
-
firstName: string;
|
|
183
181
|
lastName: string;
|
|
182
|
+
firstName: string;
|
|
184
183
|
email: string;
|
|
184
|
+
phone: string;
|
|
185
185
|
createdAt: string;
|
|
186
|
+
id: string;
|
|
186
187
|
updatedAt: string;
|
|
187
|
-
phone: string;
|
|
188
188
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
189
189
|
};
|
|
190
190
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
191
191
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
192
192
|
}, {
|
|
193
|
-
id: string;
|
|
194
193
|
createdAt: string | Date;
|
|
194
|
+
id: string;
|
|
195
195
|
updatedAt: string | Date;
|
|
196
196
|
agentId: string;
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
agent: {
|
|
198
|
+
lastName: string;
|
|
199
|
+
firstName: string;
|
|
200
|
+
email: string;
|
|
201
|
+
phone: string;
|
|
202
|
+
createdAt: string | Date;
|
|
199
203
|
id: string;
|
|
204
|
+
updatedAt: string | Date;
|
|
205
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
206
|
+
};
|
|
207
|
+
clientId: string;
|
|
208
|
+
client: {
|
|
200
209
|
createdAt: string | Date;
|
|
210
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
211
|
+
id: string;
|
|
201
212
|
updatedAt: string | Date;
|
|
202
213
|
name: string;
|
|
203
214
|
crn: string;
|
|
@@ -205,36 +216,25 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
|
|
|
205
216
|
director: string;
|
|
206
217
|
blacklistReason?: string | null | undefined;
|
|
207
218
|
lastUpdatedBy?: {
|
|
208
|
-
id: string;
|
|
209
|
-
firstName: string;
|
|
210
219
|
lastName: string;
|
|
220
|
+
firstName: string;
|
|
211
221
|
email: string;
|
|
222
|
+
id: string;
|
|
212
223
|
} | null | undefined;
|
|
213
224
|
agentClientLinks?: {
|
|
214
225
|
agentId: string;
|
|
215
226
|
} | null | undefined;
|
|
216
227
|
};
|
|
217
|
-
clientId: string;
|
|
218
|
-
createdBy: string;
|
|
219
|
-
agent: {
|
|
220
|
-
id: string;
|
|
221
|
-
firstName: string;
|
|
222
|
-
lastName: string;
|
|
223
|
-
email: string;
|
|
224
|
-
createdAt: string | Date;
|
|
225
|
-
updatedAt: string | Date;
|
|
226
|
-
phone: string;
|
|
227
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
228
|
-
};
|
|
229
228
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
229
|
+
createdBy: string;
|
|
230
230
|
creator: {
|
|
231
|
-
id: string;
|
|
232
|
-
firstName: string;
|
|
233
231
|
lastName: string;
|
|
232
|
+
firstName: string;
|
|
234
233
|
email: string;
|
|
234
|
+
phone: string;
|
|
235
235
|
createdAt: string | Date;
|
|
236
|
+
id: string;
|
|
236
237
|
updatedAt: string | Date;
|
|
237
|
-
phone: string;
|
|
238
238
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
239
239
|
};
|
|
240
240
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
@@ -291,15 +291,15 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
291
291
|
lastName: z.ZodString;
|
|
292
292
|
email: z.ZodString;
|
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
|
294
|
-
id: string;
|
|
295
|
-
firstName: string;
|
|
296
294
|
lastName: string;
|
|
295
|
+
firstName: string;
|
|
297
296
|
email: string;
|
|
298
|
-
}, {
|
|
299
297
|
id: string;
|
|
300
|
-
|
|
298
|
+
}, {
|
|
301
299
|
lastName: string;
|
|
300
|
+
firstName: string;
|
|
302
301
|
email: string;
|
|
302
|
+
id: string;
|
|
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>;
|
|
@@ -311,9 +311,9 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
311
311
|
agentId: string;
|
|
312
312
|
}>>>;
|
|
313
313
|
}, "strip", z.ZodTypeAny, {
|
|
314
|
-
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
315
|
-
id: string;
|
|
316
314
|
createdAt: string;
|
|
315
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
316
|
+
id: string;
|
|
317
317
|
updatedAt: string;
|
|
318
318
|
name: string;
|
|
319
319
|
crn: string;
|
|
@@ -321,18 +321,18 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
321
321
|
director: string;
|
|
322
322
|
blacklistReason?: string | null | undefined;
|
|
323
323
|
lastUpdatedBy?: {
|
|
324
|
-
id: string;
|
|
325
|
-
firstName: string;
|
|
326
324
|
lastName: string;
|
|
325
|
+
firstName: string;
|
|
327
326
|
email: string;
|
|
327
|
+
id: string;
|
|
328
328
|
} | null | undefined;
|
|
329
329
|
agentClientLinks?: {
|
|
330
330
|
agentId: string;
|
|
331
331
|
} | null | undefined;
|
|
332
332
|
}, {
|
|
333
|
-
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
334
|
-
id: string;
|
|
335
333
|
createdAt: string | Date;
|
|
334
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
335
|
+
id: string;
|
|
336
336
|
updatedAt: string | Date;
|
|
337
337
|
name: string;
|
|
338
338
|
crn: string;
|
|
@@ -340,10 +340,10 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
340
340
|
director: string;
|
|
341
341
|
blacklistReason?: string | null | undefined;
|
|
342
342
|
lastUpdatedBy?: {
|
|
343
|
-
id: string;
|
|
344
|
-
firstName: string;
|
|
345
343
|
lastName: string;
|
|
344
|
+
firstName: string;
|
|
346
345
|
email: string;
|
|
346
|
+
id: string;
|
|
347
347
|
} | null | undefined;
|
|
348
348
|
agentClientLinks?: {
|
|
349
349
|
agentId: string;
|
|
@@ -360,22 +360,22 @@ 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
|
-
id: string;
|
|
364
|
-
firstName: string;
|
|
365
363
|
lastName: string;
|
|
364
|
+
firstName: string;
|
|
366
365
|
email: string;
|
|
366
|
+
phone: string;
|
|
367
367
|
createdAt: string;
|
|
368
|
+
id: string;
|
|
368
369
|
updatedAt: string;
|
|
369
|
-
phone: string;
|
|
370
370
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
371
371
|
}, {
|
|
372
|
-
id: string;
|
|
373
|
-
firstName: string;
|
|
374
372
|
lastName: string;
|
|
373
|
+
firstName: string;
|
|
375
374
|
email: string;
|
|
375
|
+
phone: string;
|
|
376
376
|
createdAt: string | Date;
|
|
377
|
+
id: string;
|
|
377
378
|
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"]>;
|
|
@@ -392,35 +392,46 @@ 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
|
-
id: string;
|
|
396
|
-
firstName: string;
|
|
397
395
|
lastName: string;
|
|
396
|
+
firstName: string;
|
|
398
397
|
email: string;
|
|
398
|
+
phone: string;
|
|
399
399
|
createdAt: string;
|
|
400
|
+
id: string;
|
|
400
401
|
updatedAt: string;
|
|
401
|
-
phone: string;
|
|
402
402
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
403
403
|
}, {
|
|
404
|
-
id: string;
|
|
405
|
-
firstName: string;
|
|
406
404
|
lastName: string;
|
|
405
|
+
firstName: string;
|
|
407
406
|
email: string;
|
|
407
|
+
phone: string;
|
|
408
408
|
createdAt: string | Date;
|
|
409
|
+
id: string;
|
|
409
410
|
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
|
-
id: string;
|
|
417
416
|
createdAt: string;
|
|
417
|
+
id: string;
|
|
418
418
|
updatedAt: string;
|
|
419
419
|
agentId: string;
|
|
420
|
-
|
|
421
|
-
|
|
420
|
+
agent: {
|
|
421
|
+
lastName: string;
|
|
422
|
+
firstName: string;
|
|
423
|
+
email: string;
|
|
424
|
+
phone: string;
|
|
425
|
+
createdAt: string;
|
|
422
426
|
id: string;
|
|
427
|
+
updatedAt: string;
|
|
428
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
429
|
+
};
|
|
430
|
+
clientId: string;
|
|
431
|
+
client: {
|
|
423
432
|
createdAt: string;
|
|
433
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
434
|
+
id: string;
|
|
424
435
|
updatedAt: string;
|
|
425
436
|
name: string;
|
|
426
437
|
crn: string;
|
|
@@ -428,49 +439,49 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
428
439
|
director: string;
|
|
429
440
|
blacklistReason?: string | null | undefined;
|
|
430
441
|
lastUpdatedBy?: {
|
|
431
|
-
id: string;
|
|
432
|
-
firstName: string;
|
|
433
442
|
lastName: string;
|
|
443
|
+
firstName: string;
|
|
434
444
|
email: string;
|
|
445
|
+
id: string;
|
|
435
446
|
} | null | undefined;
|
|
436
447
|
agentClientLinks?: {
|
|
437
448
|
agentId: string;
|
|
438
449
|
} | null | undefined;
|
|
439
450
|
};
|
|
440
|
-
clientId: string;
|
|
441
|
-
createdBy: string;
|
|
442
|
-
agent: {
|
|
443
|
-
id: string;
|
|
444
|
-
firstName: string;
|
|
445
|
-
lastName: string;
|
|
446
|
-
email: string;
|
|
447
|
-
createdAt: string;
|
|
448
|
-
updatedAt: string;
|
|
449
|
-
phone: string;
|
|
450
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
451
|
-
};
|
|
452
451
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
452
|
+
createdBy: string;
|
|
453
453
|
creator: {
|
|
454
|
-
id: string;
|
|
455
|
-
firstName: string;
|
|
456
454
|
lastName: string;
|
|
455
|
+
firstName: string;
|
|
457
456
|
email: string;
|
|
457
|
+
phone: string;
|
|
458
458
|
createdAt: string;
|
|
459
|
+
id: string;
|
|
459
460
|
updatedAt: string;
|
|
460
|
-
phone: string;
|
|
461
461
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
462
462
|
};
|
|
463
463
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
464
464
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
465
465
|
}, {
|
|
466
|
-
id: string;
|
|
467
466
|
createdAt: string | Date;
|
|
467
|
+
id: string;
|
|
468
468
|
updatedAt: string | Date;
|
|
469
469
|
agentId: string;
|
|
470
|
-
|
|
471
|
-
|
|
470
|
+
agent: {
|
|
471
|
+
lastName: string;
|
|
472
|
+
firstName: string;
|
|
473
|
+
email: string;
|
|
474
|
+
phone: string;
|
|
475
|
+
createdAt: string | Date;
|
|
472
476
|
id: string;
|
|
477
|
+
updatedAt: string | Date;
|
|
478
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
479
|
+
};
|
|
480
|
+
clientId: string;
|
|
481
|
+
client: {
|
|
473
482
|
createdAt: string | Date;
|
|
483
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
484
|
+
id: string;
|
|
474
485
|
updatedAt: string | Date;
|
|
475
486
|
name: string;
|
|
476
487
|
crn: string;
|
|
@@ -478,36 +489,25 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
478
489
|
director: string;
|
|
479
490
|
blacklistReason?: string | null | undefined;
|
|
480
491
|
lastUpdatedBy?: {
|
|
481
|
-
id: string;
|
|
482
|
-
firstName: string;
|
|
483
492
|
lastName: string;
|
|
493
|
+
firstName: string;
|
|
484
494
|
email: string;
|
|
495
|
+
id: string;
|
|
485
496
|
} | null | undefined;
|
|
486
497
|
agentClientLinks?: {
|
|
487
498
|
agentId: string;
|
|
488
499
|
} | null | undefined;
|
|
489
500
|
};
|
|
490
|
-
clientId: string;
|
|
491
|
-
createdBy: string;
|
|
492
|
-
agent: {
|
|
493
|
-
id: string;
|
|
494
|
-
firstName: string;
|
|
495
|
-
lastName: string;
|
|
496
|
-
email: string;
|
|
497
|
-
createdAt: string | Date;
|
|
498
|
-
updatedAt: string | Date;
|
|
499
|
-
phone: string;
|
|
500
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
501
|
-
};
|
|
502
501
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
502
|
+
createdBy: string;
|
|
503
503
|
creator: {
|
|
504
|
-
id: string;
|
|
505
|
-
firstName: string;
|
|
506
504
|
lastName: string;
|
|
505
|
+
firstName: string;
|
|
507
506
|
email: string;
|
|
507
|
+
phone: string;
|
|
508
508
|
createdAt: string | Date;
|
|
509
|
+
id: string;
|
|
509
510
|
updatedAt: string | Date;
|
|
510
|
-
phone: string;
|
|
511
511
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
512
512
|
};
|
|
513
513
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
@@ -521,51 +521,51 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
521
521
|
}, "strip", z.ZodTypeAny, {
|
|
522
522
|
limit: number;
|
|
523
523
|
items: {
|
|
524
|
-
id: string;
|
|
525
524
|
createdAt: string;
|
|
525
|
+
id: string;
|
|
526
526
|
updatedAt: string;
|
|
527
527
|
agentId: string;
|
|
528
|
-
client: {
|
|
529
|
-
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
530
|
-
id: string;
|
|
531
|
-
createdAt: string;
|
|
532
|
-
updatedAt: string;
|
|
533
|
-
name: string;
|
|
534
|
-
crn: string;
|
|
535
|
-
govLink: string;
|
|
536
|
-
director: string;
|
|
537
|
-
blacklistReason?: string | null | undefined;
|
|
538
|
-
lastUpdatedBy?: {
|
|
539
|
-
id: string;
|
|
540
|
-
firstName: string;
|
|
541
|
-
lastName: string;
|
|
542
|
-
email: string;
|
|
543
|
-
} | null | undefined;
|
|
544
|
-
agentClientLinks?: {
|
|
545
|
-
agentId: string;
|
|
546
|
-
} | null | undefined;
|
|
547
|
-
};
|
|
548
|
-
clientId: string;
|
|
549
|
-
createdBy: string;
|
|
550
528
|
agent: {
|
|
551
|
-
id: string;
|
|
552
|
-
firstName: string;
|
|
553
529
|
lastName: string;
|
|
530
|
+
firstName: string;
|
|
554
531
|
email: string;
|
|
532
|
+
phone: string;
|
|
555
533
|
createdAt: string;
|
|
534
|
+
id: string;
|
|
556
535
|
updatedAt: string;
|
|
557
|
-
phone: string;
|
|
558
536
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
559
537
|
};
|
|
538
|
+
clientId: string;
|
|
539
|
+
client: {
|
|
540
|
+
createdAt: string;
|
|
541
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
542
|
+
id: string;
|
|
543
|
+
updatedAt: string;
|
|
544
|
+
name: string;
|
|
545
|
+
crn: string;
|
|
546
|
+
govLink: string;
|
|
547
|
+
director: string;
|
|
548
|
+
blacklistReason?: string | null | undefined;
|
|
549
|
+
lastUpdatedBy?: {
|
|
550
|
+
lastName: string;
|
|
551
|
+
firstName: string;
|
|
552
|
+
email: string;
|
|
553
|
+
id: string;
|
|
554
|
+
} | null | undefined;
|
|
555
|
+
agentClientLinks?: {
|
|
556
|
+
agentId: string;
|
|
557
|
+
} | null | undefined;
|
|
558
|
+
};
|
|
560
559
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
560
|
+
createdBy: string;
|
|
561
561
|
creator: {
|
|
562
|
-
id: string;
|
|
563
|
-
firstName: string;
|
|
564
562
|
lastName: string;
|
|
563
|
+
firstName: string;
|
|
565
564
|
email: string;
|
|
565
|
+
phone: string;
|
|
566
566
|
createdAt: string;
|
|
567
|
+
id: string;
|
|
567
568
|
updatedAt: string;
|
|
568
|
-
phone: string;
|
|
569
569
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
570
570
|
};
|
|
571
571
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
@@ -578,14 +578,25 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
578
578
|
}, {
|
|
579
579
|
limit: number;
|
|
580
580
|
items: {
|
|
581
|
-
id: string;
|
|
582
581
|
createdAt: string | Date;
|
|
582
|
+
id: string;
|
|
583
583
|
updatedAt: string | Date;
|
|
584
584
|
agentId: string;
|
|
585
|
-
|
|
586
|
-
|
|
585
|
+
agent: {
|
|
586
|
+
lastName: string;
|
|
587
|
+
firstName: string;
|
|
588
|
+
email: string;
|
|
589
|
+
phone: string;
|
|
590
|
+
createdAt: string | Date;
|
|
587
591
|
id: string;
|
|
592
|
+
updatedAt: string | Date;
|
|
593
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
594
|
+
};
|
|
595
|
+
clientId: string;
|
|
596
|
+
client: {
|
|
588
597
|
createdAt: string | Date;
|
|
598
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
599
|
+
id: string;
|
|
589
600
|
updatedAt: string | Date;
|
|
590
601
|
name: string;
|
|
591
602
|
crn: string;
|
|
@@ -593,36 +604,25 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
|
|
|
593
604
|
director: string;
|
|
594
605
|
blacklistReason?: string | null | undefined;
|
|
595
606
|
lastUpdatedBy?: {
|
|
596
|
-
id: string;
|
|
597
|
-
firstName: string;
|
|
598
607
|
lastName: string;
|
|
608
|
+
firstName: string;
|
|
599
609
|
email: string;
|
|
610
|
+
id: string;
|
|
600
611
|
} | null | undefined;
|
|
601
612
|
agentClientLinks?: {
|
|
602
613
|
agentId: string;
|
|
603
614
|
} | null | undefined;
|
|
604
615
|
};
|
|
605
|
-
clientId: string;
|
|
606
|
-
createdBy: string;
|
|
607
|
-
agent: {
|
|
608
|
-
id: string;
|
|
609
|
-
firstName: string;
|
|
610
|
-
lastName: string;
|
|
611
|
-
email: string;
|
|
612
|
-
createdAt: string | Date;
|
|
613
|
-
updatedAt: string | Date;
|
|
614
|
-
phone: string;
|
|
615
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
616
|
-
};
|
|
617
616
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
617
|
+
createdBy: string;
|
|
618
618
|
creator: {
|
|
619
|
-
id: string;
|
|
620
|
-
firstName: string;
|
|
621
619
|
lastName: string;
|
|
620
|
+
firstName: string;
|
|
622
621
|
email: string;
|
|
622
|
+
phone: string;
|
|
623
623
|
createdAt: string | Date;
|
|
624
|
+
id: string;
|
|
624
625
|
updatedAt: string | Date;
|
|
625
|
-
phone: string;
|
|
626
626
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
627
627
|
};
|
|
628
628
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
@@ -641,6 +641,9 @@ 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
|
+
};
|
|
644
647
|
query: z.ZodObject<{
|
|
645
648
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
646
649
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -667,9 +670,6 @@ export declare const agentClientLinksContract: {
|
|
|
667
670
|
clientId?: string | undefined;
|
|
668
671
|
linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
|
|
669
672
|
}>;
|
|
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";
|
|
@@ -792,15 +792,15 @@ export declare const agentClientLinksContract: {
|
|
|
792
792
|
lastName: z.ZodString;
|
|
793
793
|
email: z.ZodString;
|
|
794
794
|
}, "strip", z.ZodTypeAny, {
|
|
795
|
-
id: string;
|
|
796
|
-
firstName: string;
|
|
797
795
|
lastName: string;
|
|
796
|
+
firstName: string;
|
|
798
797
|
email: string;
|
|
799
|
-
}, {
|
|
800
798
|
id: string;
|
|
801
|
-
|
|
799
|
+
}, {
|
|
802
800
|
lastName: string;
|
|
801
|
+
firstName: string;
|
|
803
802
|
email: string;
|
|
803
|
+
id: string;
|
|
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>;
|
|
@@ -812,9 +812,9 @@ export declare const agentClientLinksContract: {
|
|
|
812
812
|
agentId: string;
|
|
813
813
|
}>>>;
|
|
814
814
|
}, "strip", z.ZodTypeAny, {
|
|
815
|
-
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
816
|
-
id: string;
|
|
817
815
|
createdAt: string;
|
|
816
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
817
|
+
id: string;
|
|
818
818
|
updatedAt: string;
|
|
819
819
|
name: string;
|
|
820
820
|
crn: string;
|
|
@@ -822,18 +822,18 @@ export declare const agentClientLinksContract: {
|
|
|
822
822
|
director: string;
|
|
823
823
|
blacklistReason?: string | null | undefined;
|
|
824
824
|
lastUpdatedBy?: {
|
|
825
|
-
id: string;
|
|
826
|
-
firstName: string;
|
|
827
825
|
lastName: string;
|
|
826
|
+
firstName: string;
|
|
828
827
|
email: string;
|
|
828
|
+
id: string;
|
|
829
829
|
} | null | undefined;
|
|
830
830
|
agentClientLinks?: {
|
|
831
831
|
agentId: string;
|
|
832
832
|
} | null | undefined;
|
|
833
833
|
}, {
|
|
834
|
-
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
835
|
-
id: string;
|
|
836
834
|
createdAt: string | Date;
|
|
835
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
836
|
+
id: string;
|
|
837
837
|
updatedAt: string | Date;
|
|
838
838
|
name: string;
|
|
839
839
|
crn: string;
|
|
@@ -841,10 +841,10 @@ export declare const agentClientLinksContract: {
|
|
|
841
841
|
director: string;
|
|
842
842
|
blacklistReason?: string | null | undefined;
|
|
843
843
|
lastUpdatedBy?: {
|
|
844
|
-
id: string;
|
|
845
|
-
firstName: string;
|
|
846
844
|
lastName: string;
|
|
845
|
+
firstName: string;
|
|
847
846
|
email: string;
|
|
847
|
+
id: string;
|
|
848
848
|
} | null | undefined;
|
|
849
849
|
agentClientLinks?: {
|
|
850
850
|
agentId: string;
|
|
@@ -861,22 +861,22 @@ 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
|
-
id: string;
|
|
865
|
-
firstName: string;
|
|
866
864
|
lastName: string;
|
|
865
|
+
firstName: string;
|
|
867
866
|
email: string;
|
|
867
|
+
phone: string;
|
|
868
868
|
createdAt: string;
|
|
869
|
+
id: string;
|
|
869
870
|
updatedAt: string;
|
|
870
|
-
phone: string;
|
|
871
871
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
872
872
|
}, {
|
|
873
|
-
id: string;
|
|
874
|
-
firstName: string;
|
|
875
873
|
lastName: string;
|
|
874
|
+
firstName: string;
|
|
876
875
|
email: string;
|
|
876
|
+
phone: string;
|
|
877
877
|
createdAt: string | Date;
|
|
878
|
+
id: string;
|
|
878
879
|
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"]>;
|
|
@@ -893,35 +893,46 @@ 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
|
-
id: string;
|
|
897
|
-
firstName: string;
|
|
898
896
|
lastName: string;
|
|
897
|
+
firstName: string;
|
|
899
898
|
email: string;
|
|
899
|
+
phone: string;
|
|
900
900
|
createdAt: string;
|
|
901
|
+
id: string;
|
|
901
902
|
updatedAt: string;
|
|
902
|
-
phone: string;
|
|
903
903
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
904
904
|
}, {
|
|
905
|
-
id: string;
|
|
906
|
-
firstName: string;
|
|
907
905
|
lastName: string;
|
|
906
|
+
firstName: string;
|
|
908
907
|
email: string;
|
|
908
|
+
phone: string;
|
|
909
909
|
createdAt: string | Date;
|
|
910
|
+
id: string;
|
|
910
911
|
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
|
-
id: string;
|
|
918
917
|
createdAt: string;
|
|
918
|
+
id: string;
|
|
919
919
|
updatedAt: string;
|
|
920
920
|
agentId: string;
|
|
921
|
-
|
|
922
|
-
|
|
921
|
+
agent: {
|
|
922
|
+
lastName: string;
|
|
923
|
+
firstName: string;
|
|
924
|
+
email: string;
|
|
925
|
+
phone: string;
|
|
926
|
+
createdAt: string;
|
|
923
927
|
id: string;
|
|
928
|
+
updatedAt: string;
|
|
929
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
930
|
+
};
|
|
931
|
+
clientId: string;
|
|
932
|
+
client: {
|
|
924
933
|
createdAt: string;
|
|
934
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
935
|
+
id: string;
|
|
925
936
|
updatedAt: string;
|
|
926
937
|
name: string;
|
|
927
938
|
crn: string;
|
|
@@ -929,49 +940,49 @@ export declare const agentClientLinksContract: {
|
|
|
929
940
|
director: string;
|
|
930
941
|
blacklistReason?: string | null | undefined;
|
|
931
942
|
lastUpdatedBy?: {
|
|
932
|
-
id: string;
|
|
933
|
-
firstName: string;
|
|
934
943
|
lastName: string;
|
|
944
|
+
firstName: string;
|
|
935
945
|
email: string;
|
|
946
|
+
id: string;
|
|
936
947
|
} | null | undefined;
|
|
937
948
|
agentClientLinks?: {
|
|
938
949
|
agentId: string;
|
|
939
950
|
} | null | undefined;
|
|
940
951
|
};
|
|
941
|
-
clientId: string;
|
|
942
|
-
createdBy: string;
|
|
943
|
-
agent: {
|
|
944
|
-
id: string;
|
|
945
|
-
firstName: string;
|
|
946
|
-
lastName: string;
|
|
947
|
-
email: string;
|
|
948
|
-
createdAt: string;
|
|
949
|
-
updatedAt: string;
|
|
950
|
-
phone: string;
|
|
951
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
952
|
-
};
|
|
953
952
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
953
|
+
createdBy: string;
|
|
954
954
|
creator: {
|
|
955
|
-
id: string;
|
|
956
|
-
firstName: string;
|
|
957
955
|
lastName: string;
|
|
956
|
+
firstName: string;
|
|
958
957
|
email: string;
|
|
958
|
+
phone: string;
|
|
959
959
|
createdAt: string;
|
|
960
|
+
id: string;
|
|
960
961
|
updatedAt: string;
|
|
961
|
-
phone: string;
|
|
962
962
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
963
963
|
};
|
|
964
964
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
965
965
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
966
966
|
}, {
|
|
967
|
-
id: string;
|
|
968
967
|
createdAt: string | Date;
|
|
968
|
+
id: string;
|
|
969
969
|
updatedAt: string | Date;
|
|
970
970
|
agentId: string;
|
|
971
|
-
|
|
972
|
-
|
|
971
|
+
agent: {
|
|
972
|
+
lastName: string;
|
|
973
|
+
firstName: string;
|
|
974
|
+
email: string;
|
|
975
|
+
phone: string;
|
|
976
|
+
createdAt: string | Date;
|
|
973
977
|
id: string;
|
|
978
|
+
updatedAt: string | Date;
|
|
979
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
980
|
+
};
|
|
981
|
+
clientId: string;
|
|
982
|
+
client: {
|
|
974
983
|
createdAt: string | Date;
|
|
984
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
985
|
+
id: string;
|
|
975
986
|
updatedAt: string | Date;
|
|
976
987
|
name: string;
|
|
977
988
|
crn: string;
|
|
@@ -979,36 +990,25 @@ export declare const agentClientLinksContract: {
|
|
|
979
990
|
director: string;
|
|
980
991
|
blacklistReason?: string | null | undefined;
|
|
981
992
|
lastUpdatedBy?: {
|
|
982
|
-
id: string;
|
|
983
|
-
firstName: string;
|
|
984
993
|
lastName: string;
|
|
994
|
+
firstName: string;
|
|
985
995
|
email: string;
|
|
996
|
+
id: string;
|
|
986
997
|
} | null | undefined;
|
|
987
998
|
agentClientLinks?: {
|
|
988
999
|
agentId: string;
|
|
989
1000
|
} | null | undefined;
|
|
990
1001
|
};
|
|
991
|
-
clientId: string;
|
|
992
|
-
createdBy: string;
|
|
993
|
-
agent: {
|
|
994
|
-
id: string;
|
|
995
|
-
firstName: string;
|
|
996
|
-
lastName: string;
|
|
997
|
-
email: string;
|
|
998
|
-
createdAt: string | Date;
|
|
999
|
-
updatedAt: string | Date;
|
|
1000
|
-
phone: string;
|
|
1001
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1002
|
-
};
|
|
1003
1002
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1003
|
+
createdBy: string;
|
|
1004
1004
|
creator: {
|
|
1005
|
-
id: string;
|
|
1006
|
-
firstName: string;
|
|
1007
1005
|
lastName: string;
|
|
1006
|
+
firstName: string;
|
|
1008
1007
|
email: string;
|
|
1008
|
+
phone: string;
|
|
1009
1009
|
createdAt: string | Date;
|
|
1010
|
+
id: string;
|
|
1010
1011
|
updatedAt: string | Date;
|
|
1011
|
-
phone: string;
|
|
1012
1012
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1013
1013
|
};
|
|
1014
1014
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
@@ -1022,14 +1022,25 @@ export declare const agentClientLinksContract: {
|
|
|
1022
1022
|
}, "strip", z.ZodTypeAny, {
|
|
1023
1023
|
limit: number;
|
|
1024
1024
|
items: {
|
|
1025
|
-
id: string;
|
|
1026
1025
|
createdAt: string;
|
|
1026
|
+
id: string;
|
|
1027
1027
|
updatedAt: string;
|
|
1028
1028
|
agentId: string;
|
|
1029
|
-
|
|
1030
|
-
|
|
1029
|
+
agent: {
|
|
1030
|
+
lastName: string;
|
|
1031
|
+
firstName: string;
|
|
1032
|
+
email: string;
|
|
1033
|
+
phone: string;
|
|
1034
|
+
createdAt: string;
|
|
1031
1035
|
id: string;
|
|
1036
|
+
updatedAt: string;
|
|
1037
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1038
|
+
};
|
|
1039
|
+
clientId: string;
|
|
1040
|
+
client: {
|
|
1032
1041
|
createdAt: string;
|
|
1042
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1043
|
+
id: string;
|
|
1033
1044
|
updatedAt: string;
|
|
1034
1045
|
name: string;
|
|
1035
1046
|
crn: string;
|
|
@@ -1037,36 +1048,25 @@ export declare const agentClientLinksContract: {
|
|
|
1037
1048
|
director: string;
|
|
1038
1049
|
blacklistReason?: string | null | undefined;
|
|
1039
1050
|
lastUpdatedBy?: {
|
|
1040
|
-
id: string;
|
|
1041
|
-
firstName: string;
|
|
1042
1051
|
lastName: string;
|
|
1052
|
+
firstName: string;
|
|
1043
1053
|
email: string;
|
|
1054
|
+
id: string;
|
|
1044
1055
|
} | null | undefined;
|
|
1045
1056
|
agentClientLinks?: {
|
|
1046
1057
|
agentId: string;
|
|
1047
1058
|
} | null | undefined;
|
|
1048
1059
|
};
|
|
1049
|
-
clientId: string;
|
|
1050
|
-
createdBy: string;
|
|
1051
|
-
agent: {
|
|
1052
|
-
id: string;
|
|
1053
|
-
firstName: string;
|
|
1054
|
-
lastName: string;
|
|
1055
|
-
email: string;
|
|
1056
|
-
createdAt: string;
|
|
1057
|
-
updatedAt: string;
|
|
1058
|
-
phone: string;
|
|
1059
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1060
|
-
};
|
|
1061
1060
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1061
|
+
createdBy: string;
|
|
1062
1062
|
creator: {
|
|
1063
|
-
id: string;
|
|
1064
|
-
firstName: string;
|
|
1065
1063
|
lastName: string;
|
|
1064
|
+
firstName: string;
|
|
1066
1065
|
email: string;
|
|
1066
|
+
phone: string;
|
|
1067
1067
|
createdAt: string;
|
|
1068
|
+
id: string;
|
|
1068
1069
|
updatedAt: string;
|
|
1069
|
-
phone: string;
|
|
1070
1070
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1071
1071
|
};
|
|
1072
1072
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
@@ -1079,51 +1079,51 @@ export declare const agentClientLinksContract: {
|
|
|
1079
1079
|
}, {
|
|
1080
1080
|
limit: number;
|
|
1081
1081
|
items: {
|
|
1082
|
-
id: string;
|
|
1083
1082
|
createdAt: string | Date;
|
|
1083
|
+
id: string;
|
|
1084
1084
|
updatedAt: string | Date;
|
|
1085
1085
|
agentId: string;
|
|
1086
|
-
|
|
1087
|
-
|
|
1086
|
+
agent: {
|
|
1087
|
+
lastName: string;
|
|
1088
|
+
firstName: string;
|
|
1089
|
+
email: string;
|
|
1090
|
+
phone: string;
|
|
1091
|
+
createdAt: string | Date;
|
|
1088
1092
|
id: string;
|
|
1093
|
+
updatedAt: string | Date;
|
|
1094
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1095
|
+
};
|
|
1096
|
+
clientId: string;
|
|
1097
|
+
client: {
|
|
1089
1098
|
createdAt: string | Date;
|
|
1099
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1100
|
+
id: string;
|
|
1090
1101
|
updatedAt: string | Date;
|
|
1091
1102
|
name: string;
|
|
1092
1103
|
crn: string;
|
|
1093
1104
|
govLink: string;
|
|
1094
1105
|
director: string;
|
|
1095
1106
|
blacklistReason?: string | null | undefined;
|
|
1096
|
-
lastUpdatedBy?: {
|
|
1097
|
-
|
|
1098
|
-
firstName: string;
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
} | null | undefined;
|
|
1102
|
-
agentClientLinks?: {
|
|
1103
|
-
agentId: string;
|
|
1104
|
-
} | null | undefined;
|
|
1105
|
-
};
|
|
1106
|
-
clientId: string;
|
|
1107
|
-
createdBy: string;
|
|
1108
|
-
agent: {
|
|
1109
|
-
id: string;
|
|
1110
|
-
firstName: string;
|
|
1111
|
-
lastName: string;
|
|
1112
|
-
email: string;
|
|
1113
|
-
createdAt: string | Date;
|
|
1114
|
-
updatedAt: string | Date;
|
|
1115
|
-
phone: string;
|
|
1116
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1107
|
+
lastUpdatedBy?: {
|
|
1108
|
+
lastName: string;
|
|
1109
|
+
firstName: string;
|
|
1110
|
+
email: string;
|
|
1111
|
+
id: string;
|
|
1112
|
+
} | null | undefined;
|
|
1113
|
+
agentClientLinks?: {
|
|
1114
|
+
agentId: string;
|
|
1115
|
+
} | null | undefined;
|
|
1117
1116
|
};
|
|
1118
1117
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1118
|
+
createdBy: string;
|
|
1119
1119
|
creator: {
|
|
1120
|
-
id: string;
|
|
1121
|
-
firstName: string;
|
|
1122
1120
|
lastName: string;
|
|
1121
|
+
firstName: string;
|
|
1123
1122
|
email: string;
|
|
1123
|
+
phone: string;
|
|
1124
1124
|
createdAt: string | Date;
|
|
1125
|
+
id: string;
|
|
1125
1126
|
updatedAt: string | Date;
|
|
1126
|
-
phone: string;
|
|
1127
1127
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1128
1128
|
};
|
|
1129
1129
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
@@ -1268,15 +1268,15 @@ export declare const agentClientLinksContract: {
|
|
|
1268
1268
|
lastName: z.ZodString;
|
|
1269
1269
|
email: z.ZodString;
|
|
1270
1270
|
}, "strip", z.ZodTypeAny, {
|
|
1271
|
-
id: string;
|
|
1272
|
-
firstName: string;
|
|
1273
1271
|
lastName: string;
|
|
1272
|
+
firstName: string;
|
|
1274
1273
|
email: string;
|
|
1275
|
-
}, {
|
|
1276
1274
|
id: string;
|
|
1277
|
-
|
|
1275
|
+
}, {
|
|
1278
1276
|
lastName: string;
|
|
1277
|
+
firstName: string;
|
|
1279
1278
|
email: string;
|
|
1279
|
+
id: string;
|
|
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>;
|
|
@@ -1288,9 +1288,9 @@ export declare const agentClientLinksContract: {
|
|
|
1288
1288
|
agentId: string;
|
|
1289
1289
|
}>>>;
|
|
1290
1290
|
}, "strip", z.ZodTypeAny, {
|
|
1291
|
-
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1292
|
-
id: string;
|
|
1293
1291
|
createdAt: string;
|
|
1292
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1293
|
+
id: string;
|
|
1294
1294
|
updatedAt: string;
|
|
1295
1295
|
name: string;
|
|
1296
1296
|
crn: string;
|
|
@@ -1298,18 +1298,18 @@ export declare const agentClientLinksContract: {
|
|
|
1298
1298
|
director: string;
|
|
1299
1299
|
blacklistReason?: string | null | undefined;
|
|
1300
1300
|
lastUpdatedBy?: {
|
|
1301
|
-
id: string;
|
|
1302
|
-
firstName: string;
|
|
1303
1301
|
lastName: string;
|
|
1302
|
+
firstName: string;
|
|
1304
1303
|
email: string;
|
|
1304
|
+
id: string;
|
|
1305
1305
|
} | null | undefined;
|
|
1306
1306
|
agentClientLinks?: {
|
|
1307
1307
|
agentId: string;
|
|
1308
1308
|
} | null | undefined;
|
|
1309
1309
|
}, {
|
|
1310
|
-
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1311
|
-
id: string;
|
|
1312
1310
|
createdAt: string | Date;
|
|
1311
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1312
|
+
id: string;
|
|
1313
1313
|
updatedAt: string | Date;
|
|
1314
1314
|
name: string;
|
|
1315
1315
|
crn: string;
|
|
@@ -1317,10 +1317,10 @@ export declare const agentClientLinksContract: {
|
|
|
1317
1317
|
director: string;
|
|
1318
1318
|
blacklistReason?: string | null | undefined;
|
|
1319
1319
|
lastUpdatedBy?: {
|
|
1320
|
-
id: string;
|
|
1321
|
-
firstName: string;
|
|
1322
1320
|
lastName: string;
|
|
1321
|
+
firstName: string;
|
|
1323
1322
|
email: string;
|
|
1323
|
+
id: string;
|
|
1324
1324
|
} | null | undefined;
|
|
1325
1325
|
agentClientLinks?: {
|
|
1326
1326
|
agentId: string;
|
|
@@ -1337,22 +1337,22 @@ 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
|
-
id: string;
|
|
1341
|
-
firstName: string;
|
|
1342
1340
|
lastName: string;
|
|
1341
|
+
firstName: string;
|
|
1343
1342
|
email: string;
|
|
1343
|
+
phone: string;
|
|
1344
1344
|
createdAt: string;
|
|
1345
|
+
id: string;
|
|
1345
1346
|
updatedAt: string;
|
|
1346
|
-
phone: string;
|
|
1347
1347
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1348
1348
|
}, {
|
|
1349
|
-
id: string;
|
|
1350
|
-
firstName: string;
|
|
1351
1349
|
lastName: string;
|
|
1350
|
+
firstName: string;
|
|
1352
1351
|
email: string;
|
|
1352
|
+
phone: string;
|
|
1353
1353
|
createdAt: string | Date;
|
|
1354
|
+
id: string;
|
|
1354
1355
|
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"]>;
|
|
@@ -1369,35 +1369,46 @@ 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
|
-
id: string;
|
|
1373
|
-
firstName: string;
|
|
1374
1372
|
lastName: string;
|
|
1373
|
+
firstName: string;
|
|
1375
1374
|
email: string;
|
|
1375
|
+
phone: string;
|
|
1376
1376
|
createdAt: string;
|
|
1377
|
+
id: string;
|
|
1377
1378
|
updatedAt: string;
|
|
1378
|
-
phone: string;
|
|
1379
1379
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1380
1380
|
}, {
|
|
1381
|
-
id: string;
|
|
1382
|
-
firstName: string;
|
|
1383
1381
|
lastName: string;
|
|
1382
|
+
firstName: string;
|
|
1384
1383
|
email: string;
|
|
1384
|
+
phone: string;
|
|
1385
1385
|
createdAt: string | Date;
|
|
1386
|
+
id: string;
|
|
1386
1387
|
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
|
-
id: string;
|
|
1394
1393
|
createdAt: string;
|
|
1394
|
+
id: string;
|
|
1395
1395
|
updatedAt: string;
|
|
1396
1396
|
agentId: string;
|
|
1397
|
-
|
|
1398
|
-
|
|
1397
|
+
agent: {
|
|
1398
|
+
lastName: string;
|
|
1399
|
+
firstName: string;
|
|
1400
|
+
email: string;
|
|
1401
|
+
phone: string;
|
|
1402
|
+
createdAt: string;
|
|
1399
1403
|
id: string;
|
|
1404
|
+
updatedAt: string;
|
|
1405
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1406
|
+
};
|
|
1407
|
+
clientId: string;
|
|
1408
|
+
client: {
|
|
1400
1409
|
createdAt: string;
|
|
1410
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1411
|
+
id: string;
|
|
1401
1412
|
updatedAt: string;
|
|
1402
1413
|
name: string;
|
|
1403
1414
|
crn: string;
|
|
@@ -1405,49 +1416,49 @@ export declare const agentClientLinksContract: {
|
|
|
1405
1416
|
director: string;
|
|
1406
1417
|
blacklistReason?: string | null | undefined;
|
|
1407
1418
|
lastUpdatedBy?: {
|
|
1408
|
-
id: string;
|
|
1409
|
-
firstName: string;
|
|
1410
1419
|
lastName: string;
|
|
1420
|
+
firstName: string;
|
|
1411
1421
|
email: string;
|
|
1422
|
+
id: string;
|
|
1412
1423
|
} | null | undefined;
|
|
1413
1424
|
agentClientLinks?: {
|
|
1414
1425
|
agentId: string;
|
|
1415
1426
|
} | null | undefined;
|
|
1416
1427
|
};
|
|
1417
|
-
clientId: string;
|
|
1418
|
-
createdBy: string;
|
|
1419
|
-
agent: {
|
|
1420
|
-
id: string;
|
|
1421
|
-
firstName: string;
|
|
1422
|
-
lastName: string;
|
|
1423
|
-
email: string;
|
|
1424
|
-
createdAt: string;
|
|
1425
|
-
updatedAt: string;
|
|
1426
|
-
phone: string;
|
|
1427
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1428
|
-
};
|
|
1429
1428
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1429
|
+
createdBy: string;
|
|
1430
1430
|
creator: {
|
|
1431
|
-
id: string;
|
|
1432
|
-
firstName: string;
|
|
1433
1431
|
lastName: string;
|
|
1432
|
+
firstName: string;
|
|
1434
1433
|
email: string;
|
|
1434
|
+
phone: string;
|
|
1435
1435
|
createdAt: string;
|
|
1436
|
+
id: string;
|
|
1436
1437
|
updatedAt: string;
|
|
1437
|
-
phone: string;
|
|
1438
1438
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1439
1439
|
};
|
|
1440
1440
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
1441
1441
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
1442
1442
|
}, {
|
|
1443
|
-
id: string;
|
|
1444
1443
|
createdAt: string | Date;
|
|
1444
|
+
id: string;
|
|
1445
1445
|
updatedAt: string | Date;
|
|
1446
1446
|
agentId: string;
|
|
1447
|
-
|
|
1448
|
-
|
|
1447
|
+
agent: {
|
|
1448
|
+
lastName: string;
|
|
1449
|
+
firstName: string;
|
|
1450
|
+
email: string;
|
|
1451
|
+
phone: string;
|
|
1452
|
+
createdAt: string | Date;
|
|
1449
1453
|
id: string;
|
|
1454
|
+
updatedAt: string | Date;
|
|
1455
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1456
|
+
};
|
|
1457
|
+
clientId: string;
|
|
1458
|
+
client: {
|
|
1450
1459
|
createdAt: string | Date;
|
|
1460
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1461
|
+
id: string;
|
|
1451
1462
|
updatedAt: string | Date;
|
|
1452
1463
|
name: string;
|
|
1453
1464
|
crn: string;
|
|
@@ -1455,36 +1466,25 @@ export declare const agentClientLinksContract: {
|
|
|
1455
1466
|
director: string;
|
|
1456
1467
|
blacklistReason?: string | null | undefined;
|
|
1457
1468
|
lastUpdatedBy?: {
|
|
1458
|
-
id: string;
|
|
1459
|
-
firstName: string;
|
|
1460
1469
|
lastName: string;
|
|
1470
|
+
firstName: string;
|
|
1461
1471
|
email: string;
|
|
1472
|
+
id: string;
|
|
1462
1473
|
} | null | undefined;
|
|
1463
1474
|
agentClientLinks?: {
|
|
1464
1475
|
agentId: string;
|
|
1465
1476
|
} | null | undefined;
|
|
1466
1477
|
};
|
|
1467
|
-
clientId: string;
|
|
1468
|
-
createdBy: string;
|
|
1469
|
-
agent: {
|
|
1470
|
-
id: string;
|
|
1471
|
-
firstName: string;
|
|
1472
|
-
lastName: string;
|
|
1473
|
-
email: string;
|
|
1474
|
-
createdAt: string | Date;
|
|
1475
|
-
updatedAt: string | Date;
|
|
1476
|
-
phone: string;
|
|
1477
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1478
|
-
};
|
|
1479
1478
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1479
|
+
createdBy: string;
|
|
1480
1480
|
creator: {
|
|
1481
|
-
id: string;
|
|
1482
|
-
firstName: string;
|
|
1483
1481
|
lastName: string;
|
|
1482
|
+
firstName: string;
|
|
1484
1483
|
email: string;
|
|
1484
|
+
phone: string;
|
|
1485
1485
|
createdAt: string | Date;
|
|
1486
|
+
id: string;
|
|
1486
1487
|
updatedAt: string | Date;
|
|
1487
|
-
phone: string;
|
|
1488
1488
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1489
1489
|
};
|
|
1490
1490
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
@@ -1656,15 +1656,15 @@ export declare const agentClientLinksContract: {
|
|
|
1656
1656
|
lastName: z.ZodString;
|
|
1657
1657
|
email: z.ZodString;
|
|
1658
1658
|
}, "strip", z.ZodTypeAny, {
|
|
1659
|
-
id: string;
|
|
1660
|
-
firstName: string;
|
|
1661
1659
|
lastName: string;
|
|
1660
|
+
firstName: string;
|
|
1662
1661
|
email: string;
|
|
1663
|
-
}, {
|
|
1664
1662
|
id: string;
|
|
1665
|
-
|
|
1663
|
+
}, {
|
|
1666
1664
|
lastName: string;
|
|
1665
|
+
firstName: string;
|
|
1667
1666
|
email: string;
|
|
1667
|
+
id: string;
|
|
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>;
|
|
@@ -1676,9 +1676,9 @@ export declare const agentClientLinksContract: {
|
|
|
1676
1676
|
agentId: string;
|
|
1677
1677
|
}>>>;
|
|
1678
1678
|
}, "strip", z.ZodTypeAny, {
|
|
1679
|
-
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1680
|
-
id: string;
|
|
1681
1679
|
createdAt: string;
|
|
1680
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1681
|
+
id: string;
|
|
1682
1682
|
updatedAt: string;
|
|
1683
1683
|
name: string;
|
|
1684
1684
|
crn: string;
|
|
@@ -1686,18 +1686,18 @@ export declare const agentClientLinksContract: {
|
|
|
1686
1686
|
director: string;
|
|
1687
1687
|
blacklistReason?: string | null | undefined;
|
|
1688
1688
|
lastUpdatedBy?: {
|
|
1689
|
-
id: string;
|
|
1690
|
-
firstName: string;
|
|
1691
1689
|
lastName: string;
|
|
1690
|
+
firstName: string;
|
|
1692
1691
|
email: string;
|
|
1692
|
+
id: string;
|
|
1693
1693
|
} | null | undefined;
|
|
1694
1694
|
agentClientLinks?: {
|
|
1695
1695
|
agentId: string;
|
|
1696
1696
|
} | null | undefined;
|
|
1697
1697
|
}, {
|
|
1698
|
-
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1699
|
-
id: string;
|
|
1700
1698
|
createdAt: string | Date;
|
|
1699
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1700
|
+
id: string;
|
|
1701
1701
|
updatedAt: string | Date;
|
|
1702
1702
|
name: string;
|
|
1703
1703
|
crn: string;
|
|
@@ -1705,10 +1705,10 @@ export declare const agentClientLinksContract: {
|
|
|
1705
1705
|
director: string;
|
|
1706
1706
|
blacklistReason?: string | null | undefined;
|
|
1707
1707
|
lastUpdatedBy?: {
|
|
1708
|
-
id: string;
|
|
1709
|
-
firstName: string;
|
|
1710
1708
|
lastName: string;
|
|
1709
|
+
firstName: string;
|
|
1711
1710
|
email: string;
|
|
1711
|
+
id: string;
|
|
1712
1712
|
} | null | undefined;
|
|
1713
1713
|
agentClientLinks?: {
|
|
1714
1714
|
agentId: string;
|
|
@@ -1725,22 +1725,22 @@ 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
|
-
id: string;
|
|
1729
|
-
firstName: string;
|
|
1730
1728
|
lastName: string;
|
|
1729
|
+
firstName: string;
|
|
1731
1730
|
email: string;
|
|
1731
|
+
phone: string;
|
|
1732
1732
|
createdAt: string;
|
|
1733
|
+
id: string;
|
|
1733
1734
|
updatedAt: string;
|
|
1734
|
-
phone: string;
|
|
1735
1735
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1736
1736
|
}, {
|
|
1737
|
-
id: string;
|
|
1738
|
-
firstName: string;
|
|
1739
1737
|
lastName: string;
|
|
1738
|
+
firstName: string;
|
|
1740
1739
|
email: string;
|
|
1740
|
+
phone: string;
|
|
1741
1741
|
createdAt: string | Date;
|
|
1742
|
+
id: string;
|
|
1742
1743
|
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"]>;
|
|
@@ -1757,35 +1757,46 @@ 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
|
-
id: string;
|
|
1761
|
-
firstName: string;
|
|
1762
1760
|
lastName: string;
|
|
1761
|
+
firstName: string;
|
|
1763
1762
|
email: string;
|
|
1763
|
+
phone: string;
|
|
1764
1764
|
createdAt: string;
|
|
1765
|
+
id: string;
|
|
1765
1766
|
updatedAt: string;
|
|
1766
|
-
phone: string;
|
|
1767
1767
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1768
1768
|
}, {
|
|
1769
|
-
id: string;
|
|
1770
|
-
firstName: string;
|
|
1771
1769
|
lastName: string;
|
|
1770
|
+
firstName: string;
|
|
1772
1771
|
email: string;
|
|
1772
|
+
phone: string;
|
|
1773
1773
|
createdAt: string | Date;
|
|
1774
|
+
id: string;
|
|
1774
1775
|
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
|
-
id: string;
|
|
1782
1781
|
createdAt: string;
|
|
1782
|
+
id: string;
|
|
1783
1783
|
updatedAt: string;
|
|
1784
1784
|
agentId: string;
|
|
1785
|
-
|
|
1786
|
-
|
|
1785
|
+
agent: {
|
|
1786
|
+
lastName: string;
|
|
1787
|
+
firstName: string;
|
|
1788
|
+
email: string;
|
|
1789
|
+
phone: string;
|
|
1790
|
+
createdAt: string;
|
|
1787
1791
|
id: string;
|
|
1792
|
+
updatedAt: string;
|
|
1793
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1794
|
+
};
|
|
1795
|
+
clientId: string;
|
|
1796
|
+
client: {
|
|
1788
1797
|
createdAt: string;
|
|
1798
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1799
|
+
id: string;
|
|
1789
1800
|
updatedAt: string;
|
|
1790
1801
|
name: string;
|
|
1791
1802
|
crn: string;
|
|
@@ -1793,49 +1804,49 @@ export declare const agentClientLinksContract: {
|
|
|
1793
1804
|
director: string;
|
|
1794
1805
|
blacklistReason?: string | null | undefined;
|
|
1795
1806
|
lastUpdatedBy?: {
|
|
1796
|
-
id: string;
|
|
1797
|
-
firstName: string;
|
|
1798
1807
|
lastName: string;
|
|
1808
|
+
firstName: string;
|
|
1799
1809
|
email: string;
|
|
1810
|
+
id: string;
|
|
1800
1811
|
} | null | undefined;
|
|
1801
1812
|
agentClientLinks?: {
|
|
1802
1813
|
agentId: string;
|
|
1803
1814
|
} | null | undefined;
|
|
1804
1815
|
};
|
|
1805
|
-
clientId: string;
|
|
1806
|
-
createdBy: string;
|
|
1807
|
-
agent: {
|
|
1808
|
-
id: string;
|
|
1809
|
-
firstName: string;
|
|
1810
|
-
lastName: string;
|
|
1811
|
-
email: string;
|
|
1812
|
-
createdAt: string;
|
|
1813
|
-
updatedAt: string;
|
|
1814
|
-
phone: string;
|
|
1815
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1816
|
-
};
|
|
1817
1816
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1817
|
+
createdBy: string;
|
|
1818
1818
|
creator: {
|
|
1819
|
-
id: string;
|
|
1820
|
-
firstName: string;
|
|
1821
1819
|
lastName: string;
|
|
1820
|
+
firstName: string;
|
|
1822
1821
|
email: string;
|
|
1822
|
+
phone: string;
|
|
1823
1823
|
createdAt: string;
|
|
1824
|
+
id: string;
|
|
1824
1825
|
updatedAt: string;
|
|
1825
|
-
phone: string;
|
|
1826
1826
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1827
1827
|
};
|
|
1828
1828
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|
|
1829
1829
|
appliedChanges?: Record<string, unknown> | null | undefined;
|
|
1830
1830
|
}, {
|
|
1831
|
-
id: string;
|
|
1832
1831
|
createdAt: string | Date;
|
|
1832
|
+
id: string;
|
|
1833
1833
|
updatedAt: string | Date;
|
|
1834
1834
|
agentId: string;
|
|
1835
|
-
|
|
1836
|
-
|
|
1835
|
+
agent: {
|
|
1836
|
+
lastName: string;
|
|
1837
|
+
firstName: string;
|
|
1838
|
+
email: string;
|
|
1839
|
+
phone: string;
|
|
1840
|
+
createdAt: string | Date;
|
|
1837
1841
|
id: string;
|
|
1842
|
+
updatedAt: string | Date;
|
|
1843
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1844
|
+
};
|
|
1845
|
+
clientId: string;
|
|
1846
|
+
client: {
|
|
1838
1847
|
createdAt: string | Date;
|
|
1848
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1849
|
+
id: string;
|
|
1839
1850
|
updatedAt: string | Date;
|
|
1840
1851
|
name: string;
|
|
1841
1852
|
crn: string;
|
|
@@ -1843,36 +1854,25 @@ export declare const agentClientLinksContract: {
|
|
|
1843
1854
|
director: string;
|
|
1844
1855
|
blacklistReason?: string | null | undefined;
|
|
1845
1856
|
lastUpdatedBy?: {
|
|
1846
|
-
id: string;
|
|
1847
|
-
firstName: string;
|
|
1848
1857
|
lastName: string;
|
|
1858
|
+
firstName: string;
|
|
1849
1859
|
email: string;
|
|
1860
|
+
id: string;
|
|
1850
1861
|
} | null | undefined;
|
|
1851
1862
|
agentClientLinks?: {
|
|
1852
1863
|
agentId: string;
|
|
1853
1864
|
} | null | undefined;
|
|
1854
1865
|
};
|
|
1855
|
-
clientId: string;
|
|
1856
|
-
createdBy: string;
|
|
1857
|
-
agent: {
|
|
1858
|
-
id: string;
|
|
1859
|
-
firstName: string;
|
|
1860
|
-
lastName: string;
|
|
1861
|
-
email: string;
|
|
1862
|
-
createdAt: string | Date;
|
|
1863
|
-
updatedAt: string | Date;
|
|
1864
|
-
phone: string;
|
|
1865
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1866
|
-
};
|
|
1867
1866
|
linkType: "CREATION" | "EDIT_SUGGESTION";
|
|
1867
|
+
createdBy: string;
|
|
1868
1868
|
creator: {
|
|
1869
|
-
id: string;
|
|
1870
|
-
firstName: string;
|
|
1871
1869
|
lastName: string;
|
|
1870
|
+
firstName: string;
|
|
1872
1871
|
email: string;
|
|
1872
|
+
phone: string;
|
|
1873
1873
|
createdAt: string | Date;
|
|
1874
|
+
id: string;
|
|
1874
1875
|
updatedAt: string | Date;
|
|
1875
|
-
phone: string;
|
|
1876
1876
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1877
1877
|
};
|
|
1878
1878
|
suggestedChanges?: Record<string, unknown> | null | undefined;
|