@dakkitor/api-contracts 1.1.73 → 1.1.76
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/first-agent.abilities.json +4 -1
- package/dist/abilities/second-agent.abilities.json +1 -0
- package/dist/actives/actives.contract.d.ts +2959 -2199
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +416 -416
- package/dist/auth/auth.contract.d.ts +4 -4
- package/dist/bookings/bookings.contract.d.ts +2634 -1894
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +0 -2
- package/dist/call-history/call-history.contract.d.ts +409 -409
- package/dist/client-contacts/client-contacts.contract.d.ts +231 -231
- package/dist/clients/clients.contract.d.ts +98 -98
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1269 -749
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1069 -609
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +2 -11
- package/dist/common/common-schemas.d.ts +0 -17
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -9
- package/dist/companies/companies.contract.d.ts +36 -36
- package/dist/curated-workers/curated-workers.contract.d.ts +213 -213
- package/dist/jobs/jobs.contract.d.ts +1053 -533
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +344 -344
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +111 -111
- package/dist/leads/leads.contract.d.ts +101 -101
- package/dist/users/users.contract.d.ts +132 -132
- package/dist/workers/workers.contract.d.ts +200 -200
- package/package.json +1 -1
|
@@ -54,15 +54,15 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
54
54
|
agentId: string;
|
|
55
55
|
}>>>;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
57
58
|
id: string;
|
|
58
|
-
|
|
59
|
+
createdAt: string;
|
|
60
|
+
updatedAt: string;
|
|
59
61
|
name: string;
|
|
60
62
|
crn: string | null;
|
|
61
63
|
govLink: string;
|
|
62
64
|
soleTrader: boolean;
|
|
63
65
|
director: string;
|
|
64
|
-
createdAt: string;
|
|
65
|
-
updatedAt: string;
|
|
66
66
|
blacklistReason?: string | null | undefined;
|
|
67
67
|
lastUpdatedBy?: {
|
|
68
68
|
id: string;
|
|
@@ -74,15 +74,15 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
74
74
|
agentId: string;
|
|
75
75
|
} | null | undefined;
|
|
76
76
|
}, {
|
|
77
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
77
78
|
id: string;
|
|
78
|
-
|
|
79
|
+
createdAt: string | Date;
|
|
80
|
+
updatedAt: string | Date;
|
|
79
81
|
name: string;
|
|
80
82
|
crn: string | null;
|
|
81
83
|
govLink: string;
|
|
82
84
|
soleTrader: boolean;
|
|
83
85
|
director: string;
|
|
84
|
-
createdAt: string | Date;
|
|
85
|
-
updatedAt: string | Date;
|
|
86
86
|
blacklistReason?: string | null | undefined;
|
|
87
87
|
lastUpdatedBy?: {
|
|
88
88
|
id: string;
|
|
@@ -121,17 +121,17 @@ export declare const UpdateClientBaseSchema: z.ZodObject<{
|
|
|
121
121
|
status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
|
|
122
122
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
status?: "
|
|
124
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
125
125
|
name?: string | undefined;
|
|
126
|
+
blacklistReason?: string | null | undefined;
|
|
126
127
|
govLink?: string | undefined;
|
|
127
128
|
director?: string | undefined;
|
|
128
|
-
blacklistReason?: string | null | undefined;
|
|
129
129
|
}, {
|
|
130
|
-
status?: "
|
|
130
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
131
131
|
name?: string | undefined;
|
|
132
|
+
blacklistReason?: string | null | undefined;
|
|
132
133
|
govLink?: string | undefined;
|
|
133
134
|
director?: string | undefined;
|
|
134
|
-
blacklistReason?: string | null | undefined;
|
|
135
135
|
}>;
|
|
136
136
|
/**
|
|
137
137
|
* Conditional validation rules for UpdateClient.
|
|
@@ -165,29 +165,29 @@ export declare const UpdateClientSchema: z.ZodEffects<z.ZodObject<{
|
|
|
165
165
|
status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
|
|
166
166
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
167
167
|
}, "strip", z.ZodTypeAny, {
|
|
168
|
-
status?: "
|
|
168
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
169
169
|
name?: string | undefined;
|
|
170
|
+
blacklistReason?: string | null | undefined;
|
|
170
171
|
govLink?: string | undefined;
|
|
171
172
|
director?: string | undefined;
|
|
172
|
-
blacklistReason?: string | null | undefined;
|
|
173
173
|
}, {
|
|
174
|
-
status?: "
|
|
174
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
175
175
|
name?: string | undefined;
|
|
176
|
+
blacklistReason?: string | null | undefined;
|
|
176
177
|
govLink?: string | undefined;
|
|
177
178
|
director?: string | undefined;
|
|
178
|
-
blacklistReason?: string | null | undefined;
|
|
179
179
|
}>, {
|
|
180
|
-
status?: "
|
|
180
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
181
181
|
name?: string | undefined;
|
|
182
|
+
blacklistReason?: string | null | undefined;
|
|
182
183
|
govLink?: string | undefined;
|
|
183
184
|
director?: string | undefined;
|
|
184
|
-
blacklistReason?: string | null | undefined;
|
|
185
185
|
}, {
|
|
186
|
-
status?: "
|
|
186
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
187
187
|
name?: string | undefined;
|
|
188
|
+
blacklistReason?: string | null | undefined;
|
|
188
189
|
govLink?: string | undefined;
|
|
189
190
|
director?: string | undefined;
|
|
190
|
-
blacklistReason?: string | null | undefined;
|
|
191
191
|
}>;
|
|
192
192
|
export declare const FilterClientSchema: z.ZodObject<{
|
|
193
193
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -211,27 +211,27 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
211
211
|
}, "strip", z.ZodTypeAny, {
|
|
212
212
|
limit: number;
|
|
213
213
|
page: number;
|
|
214
|
-
status?: "
|
|
215
|
-
name?: string | null | undefined;
|
|
216
|
-
director?: string | null | undefined;
|
|
214
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
217
215
|
createdAt?: {
|
|
218
216
|
from?: string | null | undefined;
|
|
219
217
|
to?: string | null | undefined;
|
|
220
218
|
} | null | undefined;
|
|
221
|
-
sortBy?: "name" | "director" | "createdAt" | "updatedAt" | null | undefined;
|
|
222
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
223
|
-
}, {
|
|
224
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
225
219
|
name?: string | null | undefined;
|
|
220
|
+
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|
|
221
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
226
222
|
director?: string | null | undefined;
|
|
223
|
+
}, {
|
|
224
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
227
225
|
createdAt?: {
|
|
228
226
|
from?: string | null | undefined;
|
|
229
227
|
to?: string | null | undefined;
|
|
230
228
|
} | null | undefined;
|
|
231
229
|
limit?: number | undefined;
|
|
232
230
|
page?: number | undefined;
|
|
233
|
-
|
|
231
|
+
name?: string | null | undefined;
|
|
232
|
+
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|
|
234
233
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
234
|
+
director?: string | null | undefined;
|
|
235
235
|
}>;
|
|
236
236
|
export declare const ClientAutocompleteResponseSchema: z.ZodObject<{
|
|
237
237
|
id: z.ZodString;
|
|
@@ -289,15 +289,15 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
289
289
|
agentId: string;
|
|
290
290
|
}>>>;
|
|
291
291
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
292
293
|
id: string;
|
|
293
|
-
|
|
294
|
+
createdAt: string;
|
|
295
|
+
updatedAt: string;
|
|
294
296
|
name: string;
|
|
295
297
|
crn: string | null;
|
|
296
298
|
govLink: string;
|
|
297
299
|
soleTrader: boolean;
|
|
298
300
|
director: string;
|
|
299
|
-
createdAt: string;
|
|
300
|
-
updatedAt: string;
|
|
301
301
|
blacklistReason?: string | null | undefined;
|
|
302
302
|
lastUpdatedBy?: {
|
|
303
303
|
id: string;
|
|
@@ -309,15 +309,15 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
309
309
|
agentId: string;
|
|
310
310
|
} | null | undefined;
|
|
311
311
|
}, {
|
|
312
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
312
313
|
id: string;
|
|
313
|
-
|
|
314
|
+
createdAt: string | Date;
|
|
315
|
+
updatedAt: string | Date;
|
|
314
316
|
name: string;
|
|
315
317
|
crn: string | null;
|
|
316
318
|
govLink: string;
|
|
317
319
|
soleTrader: boolean;
|
|
318
320
|
director: string;
|
|
319
|
-
createdAt: string | Date;
|
|
320
|
-
updatedAt: string | Date;
|
|
321
321
|
blacklistReason?: string | null | undefined;
|
|
322
322
|
lastUpdatedBy?: {
|
|
323
323
|
id: string;
|
|
@@ -337,15 +337,15 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
338
|
limit: number;
|
|
339
339
|
items: {
|
|
340
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
340
341
|
id: string;
|
|
341
|
-
|
|
342
|
+
createdAt: string;
|
|
343
|
+
updatedAt: string;
|
|
342
344
|
name: string;
|
|
343
345
|
crn: string | null;
|
|
344
346
|
govLink: string;
|
|
345
347
|
soleTrader: boolean;
|
|
346
348
|
director: string;
|
|
347
|
-
createdAt: string;
|
|
348
|
-
updatedAt: string;
|
|
349
349
|
blacklistReason?: string | null | undefined;
|
|
350
350
|
lastUpdatedBy?: {
|
|
351
351
|
id: string;
|
|
@@ -364,15 +364,15 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
364
364
|
}, {
|
|
365
365
|
limit: number;
|
|
366
366
|
items: {
|
|
367
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
367
368
|
id: string;
|
|
368
|
-
|
|
369
|
+
createdAt: string | Date;
|
|
370
|
+
updatedAt: string | Date;
|
|
369
371
|
name: string;
|
|
370
372
|
crn: string | null;
|
|
371
373
|
govLink: string;
|
|
372
374
|
soleTrader: boolean;
|
|
373
375
|
director: string;
|
|
374
|
-
createdAt: string | Date;
|
|
375
|
-
updatedAt: string | Date;
|
|
376
376
|
blacklistReason?: string | null | undefined;
|
|
377
377
|
lastUpdatedBy?: {
|
|
378
378
|
id: string;
|
|
@@ -561,15 +561,15 @@ export declare const clientsContractRouter: {
|
|
|
561
561
|
agentId: string;
|
|
562
562
|
}>>>;
|
|
563
563
|
}, "strip", z.ZodTypeAny, {
|
|
564
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
564
565
|
id: string;
|
|
565
|
-
|
|
566
|
+
createdAt: string;
|
|
567
|
+
updatedAt: string;
|
|
566
568
|
name: string;
|
|
567
569
|
crn: string | null;
|
|
568
570
|
govLink: string;
|
|
569
571
|
soleTrader: boolean;
|
|
570
572
|
director: string;
|
|
571
|
-
createdAt: string;
|
|
572
|
-
updatedAt: string;
|
|
573
573
|
blacklistReason?: string | null | undefined;
|
|
574
574
|
lastUpdatedBy?: {
|
|
575
575
|
id: string;
|
|
@@ -581,15 +581,15 @@ export declare const clientsContractRouter: {
|
|
|
581
581
|
agentId: string;
|
|
582
582
|
} | null | undefined;
|
|
583
583
|
}, {
|
|
584
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
584
585
|
id: string;
|
|
585
|
-
|
|
586
|
+
createdAt: string | Date;
|
|
587
|
+
updatedAt: string | Date;
|
|
586
588
|
name: string;
|
|
587
589
|
crn: string | null;
|
|
588
590
|
govLink: string;
|
|
589
591
|
soleTrader: boolean;
|
|
590
592
|
director: string;
|
|
591
|
-
createdAt: string | Date;
|
|
592
|
-
updatedAt: string | Date;
|
|
593
593
|
blacklistReason?: string | null | undefined;
|
|
594
594
|
lastUpdatedBy?: {
|
|
595
595
|
id: string;
|
|
@@ -629,12 +629,6 @@ export declare const clientsContractRouter: {
|
|
|
629
629
|
};
|
|
630
630
|
};
|
|
631
631
|
findAll: {
|
|
632
|
-
metadata: {
|
|
633
|
-
tags: string[];
|
|
634
|
-
openApi: {
|
|
635
|
-
operationId: string;
|
|
636
|
-
};
|
|
637
|
-
};
|
|
638
632
|
query: z.ZodObject<{
|
|
639
633
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
640
634
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -657,28 +651,34 @@ export declare const clientsContractRouter: {
|
|
|
657
651
|
}, "strip", z.ZodTypeAny, {
|
|
658
652
|
limit: number;
|
|
659
653
|
page: number;
|
|
660
|
-
status?: "
|
|
661
|
-
name?: string | null | undefined;
|
|
662
|
-
director?: string | null | undefined;
|
|
654
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
663
655
|
createdAt?: {
|
|
664
656
|
from?: string | null | undefined;
|
|
665
657
|
to?: string | null | undefined;
|
|
666
658
|
} | null | undefined;
|
|
667
|
-
sortBy?: "name" | "director" | "createdAt" | "updatedAt" | null | undefined;
|
|
668
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
669
|
-
}, {
|
|
670
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
671
659
|
name?: string | null | undefined;
|
|
660
|
+
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|
|
661
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
672
662
|
director?: string | null | undefined;
|
|
663
|
+
}, {
|
|
664
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
673
665
|
createdAt?: {
|
|
674
666
|
from?: string | null | undefined;
|
|
675
667
|
to?: string | null | undefined;
|
|
676
668
|
} | null | undefined;
|
|
677
669
|
limit?: number | undefined;
|
|
678
670
|
page?: number | undefined;
|
|
679
|
-
|
|
671
|
+
name?: string | null | undefined;
|
|
672
|
+
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|
|
680
673
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
674
|
+
director?: string | null | undefined;
|
|
681
675
|
}>;
|
|
676
|
+
metadata: {
|
|
677
|
+
tags: string[];
|
|
678
|
+
openApi: {
|
|
679
|
+
operationId: string;
|
|
680
|
+
};
|
|
681
|
+
};
|
|
682
682
|
summary: "Get all clients";
|
|
683
683
|
method: "GET";
|
|
684
684
|
path: "/v2/clients";
|
|
@@ -819,15 +819,15 @@ export declare const clientsContractRouter: {
|
|
|
819
819
|
agentId: string;
|
|
820
820
|
}>>>;
|
|
821
821
|
}, "strip", z.ZodTypeAny, {
|
|
822
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
822
823
|
id: string;
|
|
823
|
-
|
|
824
|
+
createdAt: string;
|
|
825
|
+
updatedAt: string;
|
|
824
826
|
name: string;
|
|
825
827
|
crn: string | null;
|
|
826
828
|
govLink: string;
|
|
827
829
|
soleTrader: boolean;
|
|
828
830
|
director: string;
|
|
829
|
-
createdAt: string;
|
|
830
|
-
updatedAt: string;
|
|
831
831
|
blacklistReason?: string | null | undefined;
|
|
832
832
|
lastUpdatedBy?: {
|
|
833
833
|
id: string;
|
|
@@ -839,15 +839,15 @@ export declare const clientsContractRouter: {
|
|
|
839
839
|
agentId: string;
|
|
840
840
|
} | null | undefined;
|
|
841
841
|
}, {
|
|
842
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
842
843
|
id: string;
|
|
843
|
-
|
|
844
|
+
createdAt: string | Date;
|
|
845
|
+
updatedAt: string | Date;
|
|
844
846
|
name: string;
|
|
845
847
|
crn: string | null;
|
|
846
848
|
govLink: string;
|
|
847
849
|
soleTrader: boolean;
|
|
848
850
|
director: string;
|
|
849
|
-
createdAt: string | Date;
|
|
850
|
-
updatedAt: string | Date;
|
|
851
851
|
blacklistReason?: string | null | undefined;
|
|
852
852
|
lastUpdatedBy?: {
|
|
853
853
|
id: string;
|
|
@@ -867,15 +867,15 @@ export declare const clientsContractRouter: {
|
|
|
867
867
|
}, "strip", z.ZodTypeAny, {
|
|
868
868
|
limit: number;
|
|
869
869
|
items: {
|
|
870
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
870
871
|
id: string;
|
|
871
|
-
|
|
872
|
+
createdAt: string;
|
|
873
|
+
updatedAt: string;
|
|
872
874
|
name: string;
|
|
873
875
|
crn: string | null;
|
|
874
876
|
govLink: string;
|
|
875
877
|
soleTrader: boolean;
|
|
876
878
|
director: string;
|
|
877
|
-
createdAt: string;
|
|
878
|
-
updatedAt: string;
|
|
879
879
|
blacklistReason?: string | null | undefined;
|
|
880
880
|
lastUpdatedBy?: {
|
|
881
881
|
id: string;
|
|
@@ -894,15 +894,15 @@ export declare const clientsContractRouter: {
|
|
|
894
894
|
}, {
|
|
895
895
|
limit: number;
|
|
896
896
|
items: {
|
|
897
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
897
898
|
id: string;
|
|
898
|
-
|
|
899
|
+
createdAt: string | Date;
|
|
900
|
+
updatedAt: string | Date;
|
|
899
901
|
name: string;
|
|
900
902
|
crn: string | null;
|
|
901
903
|
govLink: string;
|
|
902
904
|
soleTrader: boolean;
|
|
903
905
|
director: string;
|
|
904
|
-
createdAt: string | Date;
|
|
905
|
-
updatedAt: string | Date;
|
|
906
906
|
blacklistReason?: string | null | undefined;
|
|
907
907
|
lastUpdatedBy?: {
|
|
908
908
|
id: string;
|
|
@@ -922,22 +922,22 @@ export declare const clientsContractRouter: {
|
|
|
922
922
|
};
|
|
923
923
|
};
|
|
924
924
|
autocomplete: {
|
|
925
|
-
metadata: {
|
|
926
|
-
tags: string[];
|
|
927
|
-
openApi: {
|
|
928
|
-
operationId: string;
|
|
929
|
-
};
|
|
930
|
-
};
|
|
931
925
|
query: z.ZodObject<{
|
|
932
926
|
query: z.ZodOptional<z.ZodString>;
|
|
933
927
|
id: z.ZodOptional<z.ZodString>;
|
|
934
928
|
}, "strip", z.ZodTypeAny, {
|
|
935
|
-
id?: string | undefined;
|
|
936
929
|
query?: string | undefined;
|
|
937
|
-
}, {
|
|
938
930
|
id?: string | undefined;
|
|
931
|
+
}, {
|
|
939
932
|
query?: string | undefined;
|
|
933
|
+
id?: string | undefined;
|
|
940
934
|
}>;
|
|
935
|
+
metadata: {
|
|
936
|
+
tags: string[];
|
|
937
|
+
openApi: {
|
|
938
|
+
operationId: string;
|
|
939
|
+
};
|
|
940
|
+
};
|
|
941
941
|
summary: "Get clients for autocomplete";
|
|
942
942
|
method: "GET";
|
|
943
943
|
path: "/v2/clients/autocomplete";
|
|
@@ -1207,15 +1207,15 @@ export declare const clientsContractRouter: {
|
|
|
1207
1207
|
agentId: string;
|
|
1208
1208
|
}>>>;
|
|
1209
1209
|
}, "strip", z.ZodTypeAny, {
|
|
1210
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1210
1211
|
id: string;
|
|
1211
|
-
|
|
1212
|
+
createdAt: string;
|
|
1213
|
+
updatedAt: string;
|
|
1212
1214
|
name: string;
|
|
1213
1215
|
crn: string | null;
|
|
1214
1216
|
govLink: string;
|
|
1215
1217
|
soleTrader: boolean;
|
|
1216
1218
|
director: string;
|
|
1217
|
-
createdAt: string;
|
|
1218
|
-
updatedAt: string;
|
|
1219
1219
|
blacklistReason?: string | null | undefined;
|
|
1220
1220
|
lastUpdatedBy?: {
|
|
1221
1221
|
id: string;
|
|
@@ -1227,15 +1227,15 @@ export declare const clientsContractRouter: {
|
|
|
1227
1227
|
agentId: string;
|
|
1228
1228
|
} | null | undefined;
|
|
1229
1229
|
}, {
|
|
1230
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1230
1231
|
id: string;
|
|
1231
|
-
|
|
1232
|
+
createdAt: string | Date;
|
|
1233
|
+
updatedAt: string | Date;
|
|
1232
1234
|
name: string;
|
|
1233
1235
|
crn: string | null;
|
|
1234
1236
|
govLink: string;
|
|
1235
1237
|
soleTrader: boolean;
|
|
1236
1238
|
director: string;
|
|
1237
|
-
createdAt: string | Date;
|
|
1238
|
-
updatedAt: string | Date;
|
|
1239
1239
|
blacklistReason?: string | null | undefined;
|
|
1240
1240
|
lastUpdatedBy?: {
|
|
1241
1241
|
id: string;
|
|
@@ -1297,29 +1297,29 @@ export declare const clientsContractRouter: {
|
|
|
1297
1297
|
status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
|
|
1298
1298
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1299
1299
|
}, "strip", z.ZodTypeAny, {
|
|
1300
|
-
status?: "
|
|
1300
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1301
1301
|
name?: string | undefined;
|
|
1302
|
+
blacklistReason?: string | null | undefined;
|
|
1302
1303
|
govLink?: string | undefined;
|
|
1303
1304
|
director?: string | undefined;
|
|
1304
|
-
blacklistReason?: string | null | undefined;
|
|
1305
1305
|
}, {
|
|
1306
|
-
status?: "
|
|
1306
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1307
1307
|
name?: string | undefined;
|
|
1308
|
+
blacklistReason?: string | null | undefined;
|
|
1308
1309
|
govLink?: string | undefined;
|
|
1309
1310
|
director?: string | undefined;
|
|
1310
|
-
blacklistReason?: string | null | undefined;
|
|
1311
1311
|
}>, {
|
|
1312
|
-
status?: "
|
|
1312
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1313
1313
|
name?: string | undefined;
|
|
1314
|
+
blacklistReason?: string | null | undefined;
|
|
1314
1315
|
govLink?: string | undefined;
|
|
1315
1316
|
director?: string | undefined;
|
|
1316
|
-
blacklistReason?: string | null | undefined;
|
|
1317
1317
|
}, {
|
|
1318
|
-
status?: "
|
|
1318
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1319
1319
|
name?: string | undefined;
|
|
1320
|
+
blacklistReason?: string | null | undefined;
|
|
1320
1321
|
govLink?: string | undefined;
|
|
1321
1322
|
director?: string | undefined;
|
|
1322
|
-
blacklistReason?: string | null | undefined;
|
|
1323
1323
|
}>;
|
|
1324
1324
|
path: "/v2/clients/:id";
|
|
1325
1325
|
responses: {
|
|
@@ -1458,15 +1458,15 @@ export declare const clientsContractRouter: {
|
|
|
1458
1458
|
agentId: string;
|
|
1459
1459
|
}>>>;
|
|
1460
1460
|
}, "strip", z.ZodTypeAny, {
|
|
1461
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1461
1462
|
id: string;
|
|
1462
|
-
|
|
1463
|
+
createdAt: string;
|
|
1464
|
+
updatedAt: string;
|
|
1463
1465
|
name: string;
|
|
1464
1466
|
crn: string | null;
|
|
1465
1467
|
govLink: string;
|
|
1466
1468
|
soleTrader: boolean;
|
|
1467
1469
|
director: string;
|
|
1468
|
-
createdAt: string;
|
|
1469
|
-
updatedAt: string;
|
|
1470
1470
|
blacklistReason?: string | null | undefined;
|
|
1471
1471
|
lastUpdatedBy?: {
|
|
1472
1472
|
id: string;
|
|
@@ -1478,15 +1478,15 @@ export declare const clientsContractRouter: {
|
|
|
1478
1478
|
agentId: string;
|
|
1479
1479
|
} | null | undefined;
|
|
1480
1480
|
}, {
|
|
1481
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1481
1482
|
id: string;
|
|
1482
|
-
|
|
1483
|
+
createdAt: string | Date;
|
|
1484
|
+
updatedAt: string | Date;
|
|
1483
1485
|
name: string;
|
|
1484
1486
|
crn: string | null;
|
|
1485
1487
|
govLink: string;
|
|
1486
1488
|
soleTrader: boolean;
|
|
1487
1489
|
director: string;
|
|
1488
|
-
createdAt: string | Date;
|
|
1489
|
-
updatedAt: string | Date;
|
|
1490
1490
|
blacklistReason?: string | null | undefined;
|
|
1491
1491
|
lastUpdatedBy?: {
|
|
1492
1492
|
id: string;
|