@dakkitor/api-contracts 1.1.131 → 1.1.133
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 +19 -13
- package/dist/abilities/abilities.contract.js +33 -18
- package/dist/abilities/first-agent.abilities.json +68 -56
- package/dist/abilities/second-agent.abilities.json +3 -3
- package/dist/abilities/team-leads.json +3 -6
- package/dist/actives/actives.contract.d.ts +6313 -6313
- package/dist/actives/actives.contract.js +92 -92
- package/dist/agent-client-links/agent-client-links.contract.d.ts +511 -511
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +23378 -23378
- package/dist/call-history/call-history.contract.d.ts +366 -366
- package/dist/call-history/call-history.contract.js +67 -67
- package/dist/client-contacts/client-contacts.contract.d.ts +159 -159
- package/dist/clients/clients.contract.d.ts +72 -72
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1330 -1330
- package/dist/collaborations/collaborations.contract.d.ts +1198 -1198
- package/dist/common/call-rating.schema.d.ts +12 -12
- package/dist/common/call-rating.schema.js +48 -40
- package/dist/common/common-schemas.d.ts +4 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -2
- package/dist/common/error-schemas.d.ts +11 -5
- package/dist/common/error-schemas.js +11 -8
- package/dist/common/openapi-metadata.d.ts +54 -44
- package/dist/common/openapi-metadata.js +135 -129
- package/dist/common/pagination-query.schema.d.ts +11 -5
- package/dist/common/pagination-query.schema.js +11 -8
- package/dist/companies/companies.contract.d.ts +40 -40
- package/dist/cron-executions/cron-executions.contract.d.ts +14 -14
- package/dist/curated-workers/curated-workers.contract.d.ts +211 -211
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +798 -616
- package/dist/dashboards/agent-daily-metrics.contract.js +100 -89
- package/dist/dashboards/dashboard-widgets.contract.d.ts +75 -75
- package/dist/dashboards/dashboard-widgets.contract.js +89 -89
- package/dist/dashboards/dashboard.contract.d.ts +305 -215
- package/dist/files/files.contract.d.ts +1544 -1177
- package/dist/files/files.contract.js +177 -162
- package/dist/health/health.contract.d.ts +191 -144
- package/dist/health/health.contract.js +53 -40
- package/dist/index.d.ts +67 -67
- package/dist/jobs/jobs.contract.d.ts +2553 -2553
- package/dist/jobs/jobs.contract.js +150 -150
- package/dist/lead-assignments/lead-assignments.contract.d.ts +587 -587
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +239 -239
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +25 -25
- package/dist/leads/leads.contract.d.ts +108 -108
- package/dist/leads/leads.contract.js +119 -119
- package/dist/locations/locations.contract.d.ts +7 -7
- package/dist/monitoring/monitoring.contract.d.ts +13 -13
- package/dist/monitoring/monitoring.contract.js +37 -37
- package/dist/own-research/own-research.contract.d.ts +535 -134
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +88 -56
- package/dist/postcodes/postcodes.contract.d.ts +24 -24
- package/dist/qualifications/qualifications.contract.d.ts +1898 -1387
- package/dist/qualifications/qualifications.contract.js +193 -171
- package/dist/trades/trades.contract.d.ts +991 -763
- package/dist/trades/trades.contract.js +111 -89
- package/dist/users/users.contract.d.ts +202 -202
- package/dist/users/users.contract.js +121 -121
- package/dist/workers/workers.contract.d.ts +710 -710
- package/dist/workers/workers.contract.js +150 -150
- package/package.json +1 -1
|
@@ -55,10 +55,10 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
55
55
|
}>>>;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
name: string;
|
|
58
|
+
id: string;
|
|
59
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
58
60
|
createdAt: string;
|
|
59
61
|
updatedAt: string;
|
|
60
|
-
id: string;
|
|
61
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
62
62
|
crn: string | null;
|
|
63
63
|
govLink: string;
|
|
64
64
|
soleTrader: boolean;
|
|
@@ -75,10 +75,10 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
75
75
|
} | null | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
name: string;
|
|
78
|
+
id: string;
|
|
79
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
78
80
|
createdAt: string | Date;
|
|
79
81
|
updatedAt: string | Date;
|
|
80
|
-
id: string;
|
|
81
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
82
82
|
crn: string | null;
|
|
83
83
|
govLink: string;
|
|
84
84
|
soleTrader: boolean;
|
|
@@ -122,16 +122,16 @@ export declare const UpdateClientBaseSchema: z.ZodObject<{
|
|
|
122
122
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
124
|
name?: string | undefined;
|
|
125
|
-
status?: "
|
|
125
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
126
|
+
blacklistReason?: string | null | undefined;
|
|
126
127
|
govLink?: string | undefined;
|
|
127
128
|
director?: string | undefined;
|
|
128
|
-
blacklistReason?: string | null | undefined;
|
|
129
129
|
}, {
|
|
130
130
|
name?: string | undefined;
|
|
131
|
-
status?: "
|
|
131
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | 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.
|
|
@@ -166,28 +166,28 @@ export declare const UpdateClientSchema: z.ZodEffects<z.ZodObject<{
|
|
|
166
166
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
167
167
|
}, "strip", z.ZodTypeAny, {
|
|
168
168
|
name?: string | undefined;
|
|
169
|
-
status?: "
|
|
169
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
170
|
+
blacklistReason?: string | null | undefined;
|
|
170
171
|
govLink?: string | undefined;
|
|
171
172
|
director?: string | undefined;
|
|
172
|
-
blacklistReason?: string | null | undefined;
|
|
173
173
|
}, {
|
|
174
174
|
name?: string | undefined;
|
|
175
|
-
status?: "
|
|
175
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
176
|
+
blacklistReason?: string | null | undefined;
|
|
176
177
|
govLink?: string | undefined;
|
|
177
178
|
director?: string | undefined;
|
|
178
|
-
blacklistReason?: string | null | undefined;
|
|
179
179
|
}>, {
|
|
180
180
|
name?: string | undefined;
|
|
181
|
-
status?: "
|
|
181
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
182
|
+
blacklistReason?: string | null | undefined;
|
|
182
183
|
govLink?: string | undefined;
|
|
183
184
|
director?: string | undefined;
|
|
184
|
-
blacklistReason?: string | null | undefined;
|
|
185
185
|
}, {
|
|
186
186
|
name?: string | undefined;
|
|
187
|
-
status?: "
|
|
187
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | 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>;
|
|
@@ -224,6 +224,7 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
224
224
|
name?: string | null | undefined;
|
|
225
225
|
sortBy?: "name" | "createdAt" | "updatedAt" | "director" | null | undefined;
|
|
226
226
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
227
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
227
228
|
createdAt?: {
|
|
228
229
|
from?: string | null | undefined;
|
|
229
230
|
to?: string | null | undefined;
|
|
@@ -232,12 +233,14 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
232
233
|
from?: string | null | undefined;
|
|
233
234
|
to?: string | null | undefined;
|
|
234
235
|
} | null | undefined;
|
|
235
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
236
236
|
director?: string | null | undefined;
|
|
237
237
|
}, {
|
|
238
238
|
name?: string | null | undefined;
|
|
239
239
|
sortBy?: "name" | "createdAt" | "updatedAt" | "director" | null | undefined;
|
|
240
240
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
241
|
+
page?: number | undefined;
|
|
242
|
+
limit?: number | undefined;
|
|
243
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
241
244
|
createdAt?: {
|
|
242
245
|
from?: string | null | undefined;
|
|
243
246
|
to?: string | null | undefined;
|
|
@@ -246,9 +249,6 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
246
249
|
from?: string | null | undefined;
|
|
247
250
|
to?: string | null | undefined;
|
|
248
251
|
} | null | undefined;
|
|
249
|
-
page?: number | undefined;
|
|
250
|
-
limit?: number | undefined;
|
|
251
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
252
252
|
director?: string | null | undefined;
|
|
253
253
|
}>;
|
|
254
254
|
export declare const ClientAutocompleteResponseSchema: z.ZodObject<{
|
|
@@ -308,10 +308,10 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
308
308
|
}>>>;
|
|
309
309
|
}, "strip", z.ZodTypeAny, {
|
|
310
310
|
name: string;
|
|
311
|
+
id: string;
|
|
312
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
311
313
|
createdAt: string;
|
|
312
314
|
updatedAt: string;
|
|
313
|
-
id: string;
|
|
314
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
315
315
|
crn: string | null;
|
|
316
316
|
govLink: string;
|
|
317
317
|
soleTrader: boolean;
|
|
@@ -328,10 +328,10 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
328
328
|
} | null | undefined;
|
|
329
329
|
}, {
|
|
330
330
|
name: string;
|
|
331
|
+
id: string;
|
|
332
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
331
333
|
createdAt: string | Date;
|
|
332
334
|
updatedAt: string | Date;
|
|
333
|
-
id: string;
|
|
334
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
335
335
|
crn: string | null;
|
|
336
336
|
govLink: string;
|
|
337
337
|
soleTrader: boolean;
|
|
@@ -356,10 +356,10 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
356
356
|
limit: number;
|
|
357
357
|
items: {
|
|
358
358
|
name: string;
|
|
359
|
+
id: string;
|
|
360
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
359
361
|
createdAt: string;
|
|
360
362
|
updatedAt: string;
|
|
361
|
-
id: string;
|
|
362
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
363
363
|
crn: string | null;
|
|
364
364
|
govLink: string;
|
|
365
365
|
soleTrader: boolean;
|
|
@@ -383,10 +383,10 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
383
383
|
limit: number;
|
|
384
384
|
items: {
|
|
385
385
|
name: string;
|
|
386
|
+
id: string;
|
|
387
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
386
388
|
createdAt: string | Date;
|
|
387
389
|
updatedAt: string | Date;
|
|
388
|
-
id: string;
|
|
389
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
390
390
|
crn: string | null;
|
|
391
391
|
govLink: string;
|
|
392
392
|
soleTrader: boolean;
|
|
@@ -580,10 +580,10 @@ export declare const clientsContractRouter: {
|
|
|
580
580
|
}>>>;
|
|
581
581
|
}, "strip", z.ZodTypeAny, {
|
|
582
582
|
name: string;
|
|
583
|
+
id: string;
|
|
584
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
583
585
|
createdAt: string;
|
|
584
586
|
updatedAt: string;
|
|
585
|
-
id: string;
|
|
586
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
587
587
|
crn: string | null;
|
|
588
588
|
govLink: string;
|
|
589
589
|
soleTrader: boolean;
|
|
@@ -600,10 +600,10 @@ export declare const clientsContractRouter: {
|
|
|
600
600
|
} | null | undefined;
|
|
601
601
|
}, {
|
|
602
602
|
name: string;
|
|
603
|
+
id: string;
|
|
604
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
603
605
|
createdAt: string | Date;
|
|
604
606
|
updatedAt: string | Date;
|
|
605
|
-
id: string;
|
|
606
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
607
607
|
crn: string | null;
|
|
608
608
|
govLink: string;
|
|
609
609
|
soleTrader: boolean;
|
|
@@ -647,12 +647,6 @@ export declare const clientsContractRouter: {
|
|
|
647
647
|
};
|
|
648
648
|
};
|
|
649
649
|
findAll: {
|
|
650
|
-
metadata: {
|
|
651
|
-
tags: string[];
|
|
652
|
-
openApi: {
|
|
653
|
-
operationId: string;
|
|
654
|
-
};
|
|
655
|
-
};
|
|
656
650
|
query: z.ZodObject<{
|
|
657
651
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
658
652
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -688,6 +682,7 @@ export declare const clientsContractRouter: {
|
|
|
688
682
|
name?: string | null | undefined;
|
|
689
683
|
sortBy?: "name" | "createdAt" | "updatedAt" | "director" | null | undefined;
|
|
690
684
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
685
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
691
686
|
createdAt?: {
|
|
692
687
|
from?: string | null | undefined;
|
|
693
688
|
to?: string | null | undefined;
|
|
@@ -696,12 +691,14 @@ export declare const clientsContractRouter: {
|
|
|
696
691
|
from?: string | null | undefined;
|
|
697
692
|
to?: string | null | undefined;
|
|
698
693
|
} | null | undefined;
|
|
699
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
700
694
|
director?: string | null | undefined;
|
|
701
695
|
}, {
|
|
702
696
|
name?: string | null | undefined;
|
|
703
697
|
sortBy?: "name" | "createdAt" | "updatedAt" | "director" | null | undefined;
|
|
704
698
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
699
|
+
page?: number | undefined;
|
|
700
|
+
limit?: number | undefined;
|
|
701
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
705
702
|
createdAt?: {
|
|
706
703
|
from?: string | null | undefined;
|
|
707
704
|
to?: string | null | undefined;
|
|
@@ -710,11 +707,14 @@ export declare const clientsContractRouter: {
|
|
|
710
707
|
from?: string | null | undefined;
|
|
711
708
|
to?: string | null | undefined;
|
|
712
709
|
} | null | undefined;
|
|
713
|
-
page?: number | undefined;
|
|
714
|
-
limit?: number | undefined;
|
|
715
|
-
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
716
710
|
director?: string | null | undefined;
|
|
717
711
|
}>;
|
|
712
|
+
metadata: {
|
|
713
|
+
tags: string[];
|
|
714
|
+
openApi: {
|
|
715
|
+
operationId: string;
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
718
|
summary: "Get all clients";
|
|
719
719
|
method: "GET";
|
|
720
720
|
path: "/v2/clients";
|
|
@@ -856,10 +856,10 @@ export declare const clientsContractRouter: {
|
|
|
856
856
|
}>>>;
|
|
857
857
|
}, "strip", z.ZodTypeAny, {
|
|
858
858
|
name: string;
|
|
859
|
+
id: string;
|
|
860
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
859
861
|
createdAt: string;
|
|
860
862
|
updatedAt: string;
|
|
861
|
-
id: string;
|
|
862
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
863
863
|
crn: string | null;
|
|
864
864
|
govLink: string;
|
|
865
865
|
soleTrader: boolean;
|
|
@@ -876,10 +876,10 @@ export declare const clientsContractRouter: {
|
|
|
876
876
|
} | null | undefined;
|
|
877
877
|
}, {
|
|
878
878
|
name: string;
|
|
879
|
+
id: string;
|
|
880
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
879
881
|
createdAt: string | Date;
|
|
880
882
|
updatedAt: string | Date;
|
|
881
|
-
id: string;
|
|
882
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
883
883
|
crn: string | null;
|
|
884
884
|
govLink: string;
|
|
885
885
|
soleTrader: boolean;
|
|
@@ -904,10 +904,10 @@ export declare const clientsContractRouter: {
|
|
|
904
904
|
limit: number;
|
|
905
905
|
items: {
|
|
906
906
|
name: string;
|
|
907
|
+
id: string;
|
|
908
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
907
909
|
createdAt: string;
|
|
908
910
|
updatedAt: string;
|
|
909
|
-
id: string;
|
|
910
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
911
911
|
crn: string | null;
|
|
912
912
|
govLink: string;
|
|
913
913
|
soleTrader: boolean;
|
|
@@ -931,10 +931,10 @@ export declare const clientsContractRouter: {
|
|
|
931
931
|
limit: number;
|
|
932
932
|
items: {
|
|
933
933
|
name: string;
|
|
934
|
+
id: string;
|
|
935
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
934
936
|
createdAt: string | Date;
|
|
935
937
|
updatedAt: string | Date;
|
|
936
|
-
id: string;
|
|
937
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
938
938
|
crn: string | null;
|
|
939
939
|
govLink: string;
|
|
940
940
|
soleTrader: boolean;
|
|
@@ -958,12 +958,6 @@ export declare const clientsContractRouter: {
|
|
|
958
958
|
};
|
|
959
959
|
};
|
|
960
960
|
autocomplete: {
|
|
961
|
-
metadata: {
|
|
962
|
-
tags: string[];
|
|
963
|
-
openApi: {
|
|
964
|
-
operationId: string;
|
|
965
|
-
};
|
|
966
|
-
};
|
|
967
961
|
query: z.ZodObject<{
|
|
968
962
|
query: z.ZodOptional<z.ZodString>;
|
|
969
963
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -974,6 +968,12 @@ export declare const clientsContractRouter: {
|
|
|
974
968
|
id?: string | undefined;
|
|
975
969
|
query?: string | undefined;
|
|
976
970
|
}>;
|
|
971
|
+
metadata: {
|
|
972
|
+
tags: string[];
|
|
973
|
+
openApi: {
|
|
974
|
+
operationId: string;
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
977
|
summary: "Get clients for autocomplete";
|
|
978
978
|
method: "GET";
|
|
979
979
|
path: "/v2/clients/autocomplete";
|
|
@@ -1244,10 +1244,10 @@ export declare const clientsContractRouter: {
|
|
|
1244
1244
|
}>>>;
|
|
1245
1245
|
}, "strip", z.ZodTypeAny, {
|
|
1246
1246
|
name: string;
|
|
1247
|
+
id: string;
|
|
1248
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1247
1249
|
createdAt: string;
|
|
1248
1250
|
updatedAt: string;
|
|
1249
|
-
id: string;
|
|
1250
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1251
1251
|
crn: string | null;
|
|
1252
1252
|
govLink: string;
|
|
1253
1253
|
soleTrader: boolean;
|
|
@@ -1264,10 +1264,10 @@ export declare const clientsContractRouter: {
|
|
|
1264
1264
|
} | null | undefined;
|
|
1265
1265
|
}, {
|
|
1266
1266
|
name: string;
|
|
1267
|
+
id: string;
|
|
1268
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1267
1269
|
createdAt: string | Date;
|
|
1268
1270
|
updatedAt: string | Date;
|
|
1269
|
-
id: string;
|
|
1270
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1271
1271
|
crn: string | null;
|
|
1272
1272
|
govLink: string;
|
|
1273
1273
|
soleTrader: boolean;
|
|
@@ -1334,28 +1334,28 @@ export declare const clientsContractRouter: {
|
|
|
1334
1334
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1335
1335
|
}, "strip", z.ZodTypeAny, {
|
|
1336
1336
|
name?: string | undefined;
|
|
1337
|
-
status?: "
|
|
1337
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1338
|
+
blacklistReason?: string | null | undefined;
|
|
1338
1339
|
govLink?: string | undefined;
|
|
1339
1340
|
director?: string | undefined;
|
|
1340
|
-
blacklistReason?: string | null | undefined;
|
|
1341
1341
|
}, {
|
|
1342
1342
|
name?: string | undefined;
|
|
1343
|
-
status?: "
|
|
1343
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1344
|
+
blacklistReason?: string | null | undefined;
|
|
1344
1345
|
govLink?: string | undefined;
|
|
1345
1346
|
director?: string | undefined;
|
|
1346
|
-
blacklistReason?: string | null | undefined;
|
|
1347
1347
|
}>, {
|
|
1348
1348
|
name?: string | undefined;
|
|
1349
|
-
status?: "
|
|
1349
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1350
|
+
blacklistReason?: string | null | undefined;
|
|
1350
1351
|
govLink?: string | undefined;
|
|
1351
1352
|
director?: string | undefined;
|
|
1352
|
-
blacklistReason?: string | null | undefined;
|
|
1353
1353
|
}, {
|
|
1354
1354
|
name?: string | undefined;
|
|
1355
|
-
status?: "
|
|
1355
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1356
|
+
blacklistReason?: string | null | undefined;
|
|
1356
1357
|
govLink?: string | undefined;
|
|
1357
1358
|
director?: string | undefined;
|
|
1358
|
-
blacklistReason?: string | null | undefined;
|
|
1359
1359
|
}>;
|
|
1360
1360
|
path: "/v2/clients/:id";
|
|
1361
1361
|
responses: {
|
|
@@ -1495,10 +1495,10 @@ export declare const clientsContractRouter: {
|
|
|
1495
1495
|
}>>>;
|
|
1496
1496
|
}, "strip", z.ZodTypeAny, {
|
|
1497
1497
|
name: string;
|
|
1498
|
+
id: string;
|
|
1499
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1498
1500
|
createdAt: string;
|
|
1499
1501
|
updatedAt: string;
|
|
1500
|
-
id: string;
|
|
1501
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1502
1502
|
crn: string | null;
|
|
1503
1503
|
govLink: string;
|
|
1504
1504
|
soleTrader: boolean;
|
|
@@ -1515,10 +1515,10 @@ export declare const clientsContractRouter: {
|
|
|
1515
1515
|
} | null | undefined;
|
|
1516
1516
|
}, {
|
|
1517
1517
|
name: string;
|
|
1518
|
+
id: string;
|
|
1519
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1518
1520
|
createdAt: string | Date;
|
|
1519
1521
|
updatedAt: string | Date;
|
|
1520
|
-
id: string;
|
|
1521
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1522
1522
|
crn: string | null;
|
|
1523
1523
|
govLink: string;
|
|
1524
1524
|
soleTrader: boolean;
|