@dakkitor/api-contracts 1.1.137 → 1.1.138
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/bot.abilities.json +4 -0
- package/dist/abilities/first-agent.abilities.json +4 -0
- package/dist/abilities/kpi.abilities.json +4 -0
- package/dist/abilities/second-agent.abilities.json +4 -0
- package/dist/abilities/team-leads.json +4 -0
- package/dist/actives/actives.contract.d.ts +5449 -4281
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1431 -1017
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +20568 -16024
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +814 -640
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +177 -177
- package/dist/clients/clients.contract.d.ts +92 -92
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2114 -1730
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1889 -1508
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/common/common-schemas.d.ts +23 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +31 -1
- package/dist/companies/companies.contract.d.ts +28 -28
- package/dist/cron-executions/cron-executions.contract.d.ts +26 -26
- package/dist/curated-workers/curated-workers.contract.d.ts +762 -500
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +10 -0
- package/dist/dashboards/dashboard-widgets.contract.d.ts +63 -63
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/jobs/jobs.contract.d.ts +3743 -3083
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +64 -64
- package/dist/lead-assignments/lead-assignments.contract.d.ts +754 -562
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +370 -274
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +228 -228
- package/dist/locations/locations.contract.d.ts +22 -22
- package/dist/offices/offices.contract.d.ts +794 -0
- package/dist/offices/offices.contract.d.ts.map +1 -0
- package/dist/offices/offices.contract.js +93 -0
- package/dist/own-research/own-research.contract.d.ts +854 -563
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/users/users.contract.d.ts +345 -245
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +7 -25
- package/dist/workers/workers.contract.d.ts +1102 -702
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +13 -0
- package/package.json +1 -1
|
@@ -55,14 +55,14 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
55
55
|
}>>>;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
id: string;
|
|
58
|
-
status: "
|
|
58
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
59
59
|
name: string;
|
|
60
|
+
createdAt: string;
|
|
61
|
+
updatedAt: string;
|
|
60
62
|
crn: string | null;
|
|
61
63
|
govLink: string | null;
|
|
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;
|
|
@@ -75,14 +75,14 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
75
75
|
} | null | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
id: string;
|
|
78
|
-
status: "
|
|
78
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
79
79
|
name: string;
|
|
80
|
+
createdAt: string | Date;
|
|
81
|
+
updatedAt: string | Date;
|
|
80
82
|
crn: string | null;
|
|
81
83
|
govLink: string | null;
|
|
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;
|
|
@@ -176,17 +176,17 @@ export declare const UpdateClientBaseSchema: z.ZodObject<{
|
|
|
176
176
|
status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
|
|
177
177
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
|
-
status?: "
|
|
179
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
180
180
|
name?: string | undefined;
|
|
181
|
+
blacklistReason?: string | null | undefined;
|
|
181
182
|
govLink?: string | null | undefined;
|
|
182
183
|
director?: string | undefined;
|
|
183
|
-
blacklistReason?: string | null | undefined;
|
|
184
184
|
}, {
|
|
185
|
-
status?: "
|
|
185
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
186
186
|
name?: string | undefined;
|
|
187
|
+
blacklistReason?: string | null | undefined;
|
|
187
188
|
govLink?: string | null | undefined;
|
|
188
189
|
director?: string | undefined;
|
|
189
|
-
blacklistReason?: string | null | undefined;
|
|
190
190
|
}>;
|
|
191
191
|
/**
|
|
192
192
|
* Conditional validation rules for UpdateClient.
|
|
@@ -220,29 +220,29 @@ export declare const UpdateClientSchema: z.ZodEffects<z.ZodObject<{
|
|
|
220
220
|
status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
|
|
221
221
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
222
|
}, "strip", z.ZodTypeAny, {
|
|
223
|
-
status?: "
|
|
223
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
224
224
|
name?: string | undefined;
|
|
225
|
+
blacklistReason?: string | null | undefined;
|
|
225
226
|
govLink?: string | null | undefined;
|
|
226
227
|
director?: string | undefined;
|
|
227
|
-
blacklistReason?: string | null | undefined;
|
|
228
228
|
}, {
|
|
229
|
-
status?: "
|
|
229
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
230
230
|
name?: string | undefined;
|
|
231
|
+
blacklistReason?: string | null | undefined;
|
|
231
232
|
govLink?: string | null | undefined;
|
|
232
233
|
director?: string | undefined;
|
|
233
|
-
blacklistReason?: string | null | undefined;
|
|
234
234
|
}>, {
|
|
235
|
-
status?: "
|
|
235
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
236
236
|
name?: string | undefined;
|
|
237
|
+
blacklistReason?: string | null | undefined;
|
|
237
238
|
govLink?: string | null | undefined;
|
|
238
239
|
director?: string | undefined;
|
|
239
|
-
blacklistReason?: string | null | undefined;
|
|
240
240
|
}, {
|
|
241
|
-
status?: "
|
|
241
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
242
242
|
name?: string | undefined;
|
|
243
|
+
blacklistReason?: string | null | undefined;
|
|
243
244
|
govLink?: string | null | undefined;
|
|
244
245
|
director?: string | undefined;
|
|
245
|
-
blacklistReason?: string | null | undefined;
|
|
246
246
|
}>;
|
|
247
247
|
export declare const FilterClientSchema: z.ZodObject<{
|
|
248
248
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -276,9 +276,8 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
277
277
|
limit: number;
|
|
278
278
|
page: number;
|
|
279
|
-
status?: "
|
|
279
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
280
280
|
name?: string | null | undefined;
|
|
281
|
-
director?: string | null | undefined;
|
|
282
281
|
createdAt?: {
|
|
283
282
|
from?: string | null | undefined;
|
|
284
283
|
to?: string | null | undefined;
|
|
@@ -287,12 +286,12 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
287
286
|
from?: string | null | undefined;
|
|
288
287
|
to?: string | null | undefined;
|
|
289
288
|
} | null | undefined;
|
|
290
|
-
sortBy?: "name" | "
|
|
289
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "director" | null | undefined;
|
|
291
290
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
291
|
+
director?: string | null | undefined;
|
|
292
292
|
}, {
|
|
293
|
-
status?: "
|
|
293
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
294
294
|
name?: string | null | undefined;
|
|
295
|
-
director?: string | null | undefined;
|
|
296
295
|
createdAt?: {
|
|
297
296
|
from?: string | null | undefined;
|
|
298
297
|
to?: string | null | undefined;
|
|
@@ -303,8 +302,9 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
303
302
|
} | null | undefined;
|
|
304
303
|
limit?: number | undefined;
|
|
305
304
|
page?: number | undefined;
|
|
306
|
-
sortBy?: "name" | "
|
|
305
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "director" | null | undefined;
|
|
307
306
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
307
|
+
director?: string | null | undefined;
|
|
308
308
|
}>;
|
|
309
309
|
export declare const ClientAutocompleteResponseSchema: z.ZodObject<{
|
|
310
310
|
id: z.ZodString;
|
|
@@ -363,14 +363,14 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
363
363
|
}>>>;
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
365
|
id: string;
|
|
366
|
-
status: "
|
|
366
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
367
367
|
name: string;
|
|
368
|
+
createdAt: string;
|
|
369
|
+
updatedAt: string;
|
|
368
370
|
crn: string | null;
|
|
369
371
|
govLink: string | null;
|
|
370
372
|
soleTrader: boolean;
|
|
371
373
|
director: string;
|
|
372
|
-
createdAt: string;
|
|
373
|
-
updatedAt: string;
|
|
374
374
|
blacklistReason?: string | null | undefined;
|
|
375
375
|
lastUpdatedBy?: {
|
|
376
376
|
id: string;
|
|
@@ -383,14 +383,14 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
383
383
|
} | null | undefined;
|
|
384
384
|
}, {
|
|
385
385
|
id: string;
|
|
386
|
-
status: "
|
|
386
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
387
387
|
name: string;
|
|
388
|
+
createdAt: string | Date;
|
|
389
|
+
updatedAt: string | Date;
|
|
388
390
|
crn: string | null;
|
|
389
391
|
govLink: string | null;
|
|
390
392
|
soleTrader: boolean;
|
|
391
393
|
director: string;
|
|
392
|
-
createdAt: string | Date;
|
|
393
|
-
updatedAt: string | Date;
|
|
394
394
|
blacklistReason?: string | null | undefined;
|
|
395
395
|
lastUpdatedBy?: {
|
|
396
396
|
id: string;
|
|
@@ -411,14 +411,14 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
411
411
|
limit: number;
|
|
412
412
|
items: {
|
|
413
413
|
id: string;
|
|
414
|
-
status: "
|
|
414
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
415
415
|
name: string;
|
|
416
|
+
createdAt: string;
|
|
417
|
+
updatedAt: string;
|
|
416
418
|
crn: string | null;
|
|
417
419
|
govLink: string | null;
|
|
418
420
|
soleTrader: boolean;
|
|
419
421
|
director: string;
|
|
420
|
-
createdAt: string;
|
|
421
|
-
updatedAt: string;
|
|
422
422
|
blacklistReason?: string | null | undefined;
|
|
423
423
|
lastUpdatedBy?: {
|
|
424
424
|
id: string;
|
|
@@ -438,14 +438,14 @@ export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
|
438
438
|
limit: number;
|
|
439
439
|
items: {
|
|
440
440
|
id: string;
|
|
441
|
-
status: "
|
|
441
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
442
442
|
name: string;
|
|
443
|
+
createdAt: string | Date;
|
|
444
|
+
updatedAt: string | Date;
|
|
443
445
|
crn: string | null;
|
|
444
446
|
govLink: string | null;
|
|
445
447
|
soleTrader: boolean;
|
|
446
448
|
director: string;
|
|
447
|
-
createdAt: string | Date;
|
|
448
|
-
updatedAt: string | Date;
|
|
449
449
|
blacklistReason?: string | null | undefined;
|
|
450
450
|
lastUpdatedBy?: {
|
|
451
451
|
id: string;
|
|
@@ -646,14 +646,14 @@ export declare const clientsContractRouter: {
|
|
|
646
646
|
}>>>;
|
|
647
647
|
}, "strip", z.ZodTypeAny, {
|
|
648
648
|
id: string;
|
|
649
|
-
status: "
|
|
649
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
650
650
|
name: string;
|
|
651
|
+
createdAt: string;
|
|
652
|
+
updatedAt: string;
|
|
651
653
|
crn: string | null;
|
|
652
654
|
govLink: string | null;
|
|
653
655
|
soleTrader: boolean;
|
|
654
656
|
director: string;
|
|
655
|
-
createdAt: string;
|
|
656
|
-
updatedAt: string;
|
|
657
657
|
blacklistReason?: string | null | undefined;
|
|
658
658
|
lastUpdatedBy?: {
|
|
659
659
|
id: string;
|
|
@@ -666,14 +666,14 @@ export declare const clientsContractRouter: {
|
|
|
666
666
|
} | null | undefined;
|
|
667
667
|
}, {
|
|
668
668
|
id: string;
|
|
669
|
-
status: "
|
|
669
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
670
670
|
name: string;
|
|
671
|
+
createdAt: string | Date;
|
|
672
|
+
updatedAt: string | Date;
|
|
671
673
|
crn: string | null;
|
|
672
674
|
govLink: string | null;
|
|
673
675
|
soleTrader: boolean;
|
|
674
676
|
director: string;
|
|
675
|
-
createdAt: string | Date;
|
|
676
|
-
updatedAt: string | Date;
|
|
677
677
|
blacklistReason?: string | null | undefined;
|
|
678
678
|
lastUpdatedBy?: {
|
|
679
679
|
id: string;
|
|
@@ -713,12 +713,6 @@ export declare const clientsContractRouter: {
|
|
|
713
713
|
};
|
|
714
714
|
};
|
|
715
715
|
findAll: {
|
|
716
|
-
metadata: {
|
|
717
|
-
tags: string[];
|
|
718
|
-
openApi: {
|
|
719
|
-
operationId: string;
|
|
720
|
-
};
|
|
721
|
-
};
|
|
722
716
|
query: z.ZodObject<{
|
|
723
717
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
724
718
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -751,9 +745,8 @@ export declare const clientsContractRouter: {
|
|
|
751
745
|
}, "strip", z.ZodTypeAny, {
|
|
752
746
|
limit: number;
|
|
753
747
|
page: number;
|
|
754
|
-
status?: "
|
|
748
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
755
749
|
name?: string | null | undefined;
|
|
756
|
-
director?: string | null | undefined;
|
|
757
750
|
createdAt?: {
|
|
758
751
|
from?: string | null | undefined;
|
|
759
752
|
to?: string | null | undefined;
|
|
@@ -762,12 +755,12 @@ export declare const clientsContractRouter: {
|
|
|
762
755
|
from?: string | null | undefined;
|
|
763
756
|
to?: string | null | undefined;
|
|
764
757
|
} | null | undefined;
|
|
765
|
-
sortBy?: "name" | "
|
|
758
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "director" | null | undefined;
|
|
766
759
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
760
|
+
director?: string | null | undefined;
|
|
767
761
|
}, {
|
|
768
|
-
status?: "
|
|
762
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | null | undefined;
|
|
769
763
|
name?: string | null | undefined;
|
|
770
|
-
director?: string | null | undefined;
|
|
771
764
|
createdAt?: {
|
|
772
765
|
from?: string | null | undefined;
|
|
773
766
|
to?: string | null | undefined;
|
|
@@ -778,9 +771,16 @@ export declare const clientsContractRouter: {
|
|
|
778
771
|
} | null | undefined;
|
|
779
772
|
limit?: number | undefined;
|
|
780
773
|
page?: number | undefined;
|
|
781
|
-
sortBy?: "name" | "
|
|
774
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "director" | null | undefined;
|
|
782
775
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
776
|
+
director?: string | null | undefined;
|
|
783
777
|
}>;
|
|
778
|
+
metadata: {
|
|
779
|
+
tags: string[];
|
|
780
|
+
openApi: {
|
|
781
|
+
operationId: string;
|
|
782
|
+
};
|
|
783
|
+
};
|
|
784
784
|
summary: "Get all clients";
|
|
785
785
|
method: "GET";
|
|
786
786
|
path: "/v2/clients";
|
|
@@ -922,14 +922,14 @@ export declare const clientsContractRouter: {
|
|
|
922
922
|
}>>>;
|
|
923
923
|
}, "strip", z.ZodTypeAny, {
|
|
924
924
|
id: string;
|
|
925
|
-
status: "
|
|
925
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
926
926
|
name: string;
|
|
927
|
+
createdAt: string;
|
|
928
|
+
updatedAt: string;
|
|
927
929
|
crn: string | null;
|
|
928
930
|
govLink: string | null;
|
|
929
931
|
soleTrader: boolean;
|
|
930
932
|
director: string;
|
|
931
|
-
createdAt: string;
|
|
932
|
-
updatedAt: string;
|
|
933
933
|
blacklistReason?: string | null | undefined;
|
|
934
934
|
lastUpdatedBy?: {
|
|
935
935
|
id: string;
|
|
@@ -942,14 +942,14 @@ export declare const clientsContractRouter: {
|
|
|
942
942
|
} | null | undefined;
|
|
943
943
|
}, {
|
|
944
944
|
id: string;
|
|
945
|
-
status: "
|
|
945
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
946
946
|
name: string;
|
|
947
|
+
createdAt: string | Date;
|
|
948
|
+
updatedAt: string | Date;
|
|
947
949
|
crn: string | null;
|
|
948
950
|
govLink: string | null;
|
|
949
951
|
soleTrader: boolean;
|
|
950
952
|
director: string;
|
|
951
|
-
createdAt: string | Date;
|
|
952
|
-
updatedAt: string | Date;
|
|
953
953
|
blacklistReason?: string | null | undefined;
|
|
954
954
|
lastUpdatedBy?: {
|
|
955
955
|
id: string;
|
|
@@ -970,14 +970,14 @@ export declare const clientsContractRouter: {
|
|
|
970
970
|
limit: number;
|
|
971
971
|
items: {
|
|
972
972
|
id: string;
|
|
973
|
-
status: "
|
|
973
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
974
974
|
name: string;
|
|
975
|
+
createdAt: string;
|
|
976
|
+
updatedAt: string;
|
|
975
977
|
crn: string | null;
|
|
976
978
|
govLink: string | null;
|
|
977
979
|
soleTrader: boolean;
|
|
978
980
|
director: string;
|
|
979
|
-
createdAt: string;
|
|
980
|
-
updatedAt: string;
|
|
981
981
|
blacklistReason?: string | null | undefined;
|
|
982
982
|
lastUpdatedBy?: {
|
|
983
983
|
id: string;
|
|
@@ -997,14 +997,14 @@ export declare const clientsContractRouter: {
|
|
|
997
997
|
limit: number;
|
|
998
998
|
items: {
|
|
999
999
|
id: string;
|
|
1000
|
-
status: "
|
|
1000
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1001
1001
|
name: string;
|
|
1002
|
+
createdAt: string | Date;
|
|
1003
|
+
updatedAt: string | Date;
|
|
1002
1004
|
crn: string | null;
|
|
1003
1005
|
govLink: string | null;
|
|
1004
1006
|
soleTrader: boolean;
|
|
1005
1007
|
director: string;
|
|
1006
|
-
createdAt: string | Date;
|
|
1007
|
-
updatedAt: string | Date;
|
|
1008
1008
|
blacklistReason?: string | null | undefined;
|
|
1009
1009
|
lastUpdatedBy?: {
|
|
1010
1010
|
id: string;
|
|
@@ -1024,12 +1024,6 @@ export declare const clientsContractRouter: {
|
|
|
1024
1024
|
};
|
|
1025
1025
|
};
|
|
1026
1026
|
autocomplete: {
|
|
1027
|
-
metadata: {
|
|
1028
|
-
tags: string[];
|
|
1029
|
-
openApi: {
|
|
1030
|
-
operationId: string;
|
|
1031
|
-
};
|
|
1032
|
-
};
|
|
1033
1027
|
query: z.ZodObject<{
|
|
1034
1028
|
query: z.ZodOptional<z.ZodString>;
|
|
1035
1029
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1040,6 +1034,12 @@ export declare const clientsContractRouter: {
|
|
|
1040
1034
|
id?: string | undefined;
|
|
1041
1035
|
query?: string | undefined;
|
|
1042
1036
|
}>;
|
|
1037
|
+
metadata: {
|
|
1038
|
+
tags: string[];
|
|
1039
|
+
openApi: {
|
|
1040
|
+
operationId: string;
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
1043
|
summary: "Get clients for autocomplete";
|
|
1044
1044
|
method: "GET";
|
|
1045
1045
|
path: "/v2/clients/autocomplete";
|
|
@@ -1310,14 +1310,14 @@ export declare const clientsContractRouter: {
|
|
|
1310
1310
|
}>>>;
|
|
1311
1311
|
}, "strip", z.ZodTypeAny, {
|
|
1312
1312
|
id: string;
|
|
1313
|
-
status: "
|
|
1313
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1314
1314
|
name: string;
|
|
1315
|
+
createdAt: string;
|
|
1316
|
+
updatedAt: string;
|
|
1315
1317
|
crn: string | null;
|
|
1316
1318
|
govLink: string | null;
|
|
1317
1319
|
soleTrader: boolean;
|
|
1318
1320
|
director: string;
|
|
1319
|
-
createdAt: string;
|
|
1320
|
-
updatedAt: string;
|
|
1321
1321
|
blacklistReason?: string | null | undefined;
|
|
1322
1322
|
lastUpdatedBy?: {
|
|
1323
1323
|
id: string;
|
|
@@ -1330,14 +1330,14 @@ export declare const clientsContractRouter: {
|
|
|
1330
1330
|
} | null | undefined;
|
|
1331
1331
|
}, {
|
|
1332
1332
|
id: string;
|
|
1333
|
-
status: "
|
|
1333
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1334
1334
|
name: string;
|
|
1335
|
+
createdAt: string | Date;
|
|
1336
|
+
updatedAt: string | Date;
|
|
1335
1337
|
crn: string | null;
|
|
1336
1338
|
govLink: string | null;
|
|
1337
1339
|
soleTrader: boolean;
|
|
1338
1340
|
director: string;
|
|
1339
|
-
createdAt: string | Date;
|
|
1340
|
-
updatedAt: string | Date;
|
|
1341
1341
|
blacklistReason?: string | null | undefined;
|
|
1342
1342
|
lastUpdatedBy?: {
|
|
1343
1343
|
id: string;
|
|
@@ -1399,29 +1399,29 @@ export declare const clientsContractRouter: {
|
|
|
1399
1399
|
status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
|
|
1400
1400
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1401
1401
|
}, "strip", z.ZodTypeAny, {
|
|
1402
|
-
status?: "
|
|
1402
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1403
1403
|
name?: string | undefined;
|
|
1404
|
+
blacklistReason?: string | null | undefined;
|
|
1404
1405
|
govLink?: string | null | undefined;
|
|
1405
1406
|
director?: string | undefined;
|
|
1406
|
-
blacklistReason?: string | null | undefined;
|
|
1407
1407
|
}, {
|
|
1408
|
-
status?: "
|
|
1408
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1409
1409
|
name?: string | undefined;
|
|
1410
|
+
blacklistReason?: string | null | undefined;
|
|
1410
1411
|
govLink?: string | null | undefined;
|
|
1411
1412
|
director?: string | undefined;
|
|
1412
|
-
blacklistReason?: string | null | undefined;
|
|
1413
1413
|
}>, {
|
|
1414
|
-
status?: "
|
|
1414
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1415
1415
|
name?: string | undefined;
|
|
1416
|
+
blacklistReason?: string | null | undefined;
|
|
1416
1417
|
govLink?: string | null | undefined;
|
|
1417
1418
|
director?: string | undefined;
|
|
1418
|
-
blacklistReason?: string | null | undefined;
|
|
1419
1419
|
}, {
|
|
1420
|
-
status?: "
|
|
1420
|
+
status?: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION" | undefined;
|
|
1421
1421
|
name?: string | undefined;
|
|
1422
|
+
blacklistReason?: string | null | undefined;
|
|
1422
1423
|
govLink?: string | null | undefined;
|
|
1423
1424
|
director?: string | undefined;
|
|
1424
|
-
blacklistReason?: string | null | undefined;
|
|
1425
1425
|
}>;
|
|
1426
1426
|
path: "/v2/clients/:id";
|
|
1427
1427
|
responses: {
|
|
@@ -1561,14 +1561,14 @@ export declare const clientsContractRouter: {
|
|
|
1561
1561
|
}>>>;
|
|
1562
1562
|
}, "strip", z.ZodTypeAny, {
|
|
1563
1563
|
id: string;
|
|
1564
|
-
status: "
|
|
1564
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1565
1565
|
name: string;
|
|
1566
|
+
createdAt: string;
|
|
1567
|
+
updatedAt: string;
|
|
1566
1568
|
crn: string | null;
|
|
1567
1569
|
govLink: string | null;
|
|
1568
1570
|
soleTrader: boolean;
|
|
1569
1571
|
director: string;
|
|
1570
|
-
createdAt: string;
|
|
1571
|
-
updatedAt: string;
|
|
1572
1572
|
blacklistReason?: string | null | undefined;
|
|
1573
1573
|
lastUpdatedBy?: {
|
|
1574
1574
|
id: string;
|
|
@@ -1581,14 +1581,14 @@ export declare const clientsContractRouter: {
|
|
|
1581
1581
|
} | null | undefined;
|
|
1582
1582
|
}, {
|
|
1583
1583
|
id: string;
|
|
1584
|
-
status: "
|
|
1584
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1585
1585
|
name: string;
|
|
1586
|
+
createdAt: string | Date;
|
|
1587
|
+
updatedAt: string | Date;
|
|
1586
1588
|
crn: string | null;
|
|
1587
1589
|
govLink: string | null;
|
|
1588
1590
|
soleTrader: boolean;
|
|
1589
1591
|
director: string;
|
|
1590
|
-
createdAt: string | Date;
|
|
1591
|
-
updatedAt: string | Date;
|
|
1592
1592
|
blacklistReason?: string | null | undefined;
|
|
1593
1593
|
lastUpdatedBy?: {
|
|
1594
1594
|
id: string;
|