@dakkitor/api-contracts 1.1.146 → 1.1.148
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 +39 -0
- package/dist/abilities/second-agent.abilities.json +36 -0
- package/dist/abilities/team-leads.json +30 -0
- package/dist/actives/actives.contract.d.ts +8207 -7871
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +973 -973
- package/dist/auth/auth.contract.d.ts +12 -12
- package/dist/bookings/bookings.contract.d.ts +12034 -11506
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +620 -620
- package/dist/client-contacts/client-contacts.contract.d.ts +277 -277
- package/dist/clients/clients.contract.d.ts +173 -173
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1868 -1868
- package/dist/collaborations/collaborations.contract.d.ts +1548 -1548
- 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 +10 -8
- package/dist/companies/companies.contract.d.ts +26 -26
- package/dist/crews/crews.contract.d.ts +2549 -0
- package/dist/crews/crews.contract.d.ts.map +1 -0
- package/dist/crews/crews.contract.js +203 -0
- package/dist/cron-executions/cron-executions.contract.d.ts +26 -26
- package/dist/curated-workers/curated-workers.contract.d.ts +517 -517
- package/dist/dashboards/dashboard-widgets.contract.d.ts +122 -122
- package/dist/dashboards/dashboard.contract.d.ts +26 -26
- 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 +4309 -4309
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +26 -26
- package/dist/lead-assignments/lead-assignments.contract.d.ts +498 -498
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +131 -131
- package/dist/leads/leads.contract.d.ts +184 -184
- package/dist/locations/locations.contract.d.ts +28 -28
- package/dist/own-research/own-research.contract.d.ts +728 -728
- package/dist/users/users.contract.d.ts +154 -154
- package/dist/workers/workers.contract.d.ts +6476 -4566
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +217 -65
- package/package.json +1 -1
|
@@ -17,9 +17,9 @@ export declare const LocationSchema: z.ZodObject<{
|
|
|
17
17
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
id: string;
|
|
20
|
-
updatedAt: string;
|
|
21
|
-
createdAt: string;
|
|
22
20
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
21
|
+
createdAt: string;
|
|
22
|
+
updatedAt: string;
|
|
23
23
|
address?: string | null | undefined;
|
|
24
24
|
postcode?: string | undefined;
|
|
25
25
|
county?: string | null | undefined;
|
|
@@ -31,9 +31,9 @@ export declare const LocationSchema: z.ZodObject<{
|
|
|
31
31
|
region?: string | null | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
id: string;
|
|
34
|
-
updatedAt: string | Date;
|
|
35
|
-
createdAt: string | Date;
|
|
36
34
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
35
|
+
createdAt: string | Date;
|
|
36
|
+
updatedAt: string | Date;
|
|
37
37
|
address?: string | null | undefined;
|
|
38
38
|
postcode?: string | undefined;
|
|
39
39
|
county?: string | null | undefined;
|
|
@@ -58,11 +58,11 @@ export declare const FilterLocationSchema: z.ZodObject<{
|
|
|
58
58
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
59
59
|
page: z.ZodDefault<z.ZodNumber>;
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
page: number;
|
|
62
61
|
limit: number;
|
|
62
|
+
page: number;
|
|
63
63
|
}, {
|
|
64
|
-
page?: number | undefined;
|
|
65
64
|
limit?: number | undefined;
|
|
65
|
+
page?: number | undefined;
|
|
66
66
|
}>;
|
|
67
67
|
export type Location = z.infer<typeof LocationSchema>;
|
|
68
68
|
export type UpdateLocation = z.infer<typeof UpdateLocationSchema>;
|
|
@@ -205,9 +205,9 @@ export declare const locationsContract: {
|
|
|
205
205
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
206
206
|
}, "strip", z.ZodTypeAny, {
|
|
207
207
|
id: string;
|
|
208
|
-
updatedAt: string;
|
|
209
|
-
createdAt: string;
|
|
210
208
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
209
|
+
createdAt: string;
|
|
210
|
+
updatedAt: string;
|
|
211
211
|
address?: string | null | undefined;
|
|
212
212
|
postcode?: string | undefined;
|
|
213
213
|
county?: string | null | undefined;
|
|
@@ -219,9 +219,9 @@ export declare const locationsContract: {
|
|
|
219
219
|
region?: string | null | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
id: string;
|
|
222
|
-
updatedAt: string | Date;
|
|
223
|
-
createdAt: string | Date;
|
|
224
222
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
223
|
+
createdAt: string | Date;
|
|
224
|
+
updatedAt: string | Date;
|
|
225
225
|
address?: string | null | undefined;
|
|
226
226
|
postcode?: string | undefined;
|
|
227
227
|
county?: string | null | undefined;
|
|
@@ -239,11 +239,11 @@ export declare const locationsContract: {
|
|
|
239
239
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
240
240
|
page: z.ZodDefault<z.ZodNumber>;
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
-
page: number;
|
|
243
242
|
limit: number;
|
|
243
|
+
page: number;
|
|
244
244
|
}, {
|
|
245
|
-
page?: number | undefined;
|
|
246
245
|
limit?: number | undefined;
|
|
246
|
+
page?: number | undefined;
|
|
247
247
|
}>;
|
|
248
248
|
metadata: {
|
|
249
249
|
tags: string[];
|
|
@@ -369,9 +369,9 @@ export declare const locationsContract: {
|
|
|
369
369
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
370
370
|
}, "strip", z.ZodTypeAny, {
|
|
371
371
|
id: string;
|
|
372
|
-
updatedAt: string;
|
|
373
|
-
createdAt: string;
|
|
374
372
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
373
|
+
createdAt: string;
|
|
374
|
+
updatedAt: string;
|
|
375
375
|
address?: string | null | undefined;
|
|
376
376
|
postcode?: string | undefined;
|
|
377
377
|
county?: string | null | undefined;
|
|
@@ -383,9 +383,9 @@ export declare const locationsContract: {
|
|
|
383
383
|
region?: string | null | undefined;
|
|
384
384
|
}, {
|
|
385
385
|
id: string;
|
|
386
|
-
updatedAt: string | Date;
|
|
387
|
-
createdAt: string | Date;
|
|
388
386
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
387
|
+
createdAt: string | Date;
|
|
388
|
+
updatedAt: string | Date;
|
|
389
389
|
address?: string | null | undefined;
|
|
390
390
|
postcode?: string | undefined;
|
|
391
391
|
county?: string | null | undefined;
|
|
@@ -405,9 +405,9 @@ export declare const locationsContract: {
|
|
|
405
405
|
limit: number;
|
|
406
406
|
items: {
|
|
407
407
|
id: string;
|
|
408
|
-
updatedAt: string;
|
|
409
|
-
createdAt: string;
|
|
410
408
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
409
|
+
createdAt: string;
|
|
410
|
+
updatedAt: string;
|
|
411
411
|
address?: string | null | undefined;
|
|
412
412
|
postcode?: string | undefined;
|
|
413
413
|
county?: string | null | undefined;
|
|
@@ -426,9 +426,9 @@ export declare const locationsContract: {
|
|
|
426
426
|
limit: number;
|
|
427
427
|
items: {
|
|
428
428
|
id: string;
|
|
429
|
-
updatedAt: string | Date;
|
|
430
|
-
createdAt: string | Date;
|
|
431
429
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
430
|
+
createdAt: string | Date;
|
|
431
|
+
updatedAt: string | Date;
|
|
432
432
|
address?: string | null | undefined;
|
|
433
433
|
postcode?: string | undefined;
|
|
434
434
|
county?: string | null | undefined;
|
|
@@ -577,9 +577,9 @@ export declare const locationsContract: {
|
|
|
577
577
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
578
578
|
}, "strip", z.ZodTypeAny, {
|
|
579
579
|
id: string;
|
|
580
|
-
updatedAt: string;
|
|
581
|
-
createdAt: string;
|
|
582
580
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
581
|
+
createdAt: string;
|
|
582
|
+
updatedAt: string;
|
|
583
583
|
address?: string | null | undefined;
|
|
584
584
|
postcode?: string | undefined;
|
|
585
585
|
county?: string | null | undefined;
|
|
@@ -591,9 +591,9 @@ export declare const locationsContract: {
|
|
|
591
591
|
region?: string | null | undefined;
|
|
592
592
|
}, {
|
|
593
593
|
id: string;
|
|
594
|
-
updatedAt: string | Date;
|
|
595
|
-
createdAt: string | Date;
|
|
596
594
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
595
|
+
createdAt: string | Date;
|
|
596
|
+
updatedAt: string | Date;
|
|
597
597
|
address?: string | null | undefined;
|
|
598
598
|
postcode?: string | undefined;
|
|
599
599
|
county?: string | null | undefined;
|
|
@@ -772,9 +772,9 @@ export declare const locationsContract: {
|
|
|
772
772
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
773
773
|
}, "strip", z.ZodTypeAny, {
|
|
774
774
|
id: string;
|
|
775
|
-
updatedAt: string;
|
|
776
|
-
createdAt: string;
|
|
777
775
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
776
|
+
createdAt: string;
|
|
777
|
+
updatedAt: string;
|
|
778
778
|
address?: string | null | undefined;
|
|
779
779
|
postcode?: string | undefined;
|
|
780
780
|
county?: string | null | undefined;
|
|
@@ -786,9 +786,9 @@ export declare const locationsContract: {
|
|
|
786
786
|
region?: string | null | undefined;
|
|
787
787
|
}, {
|
|
788
788
|
id: string;
|
|
789
|
-
updatedAt: string | Date;
|
|
790
|
-
createdAt: string | Date;
|
|
791
789
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
790
|
+
createdAt: string | Date;
|
|
791
|
+
updatedAt: string | Date;
|
|
792
792
|
address?: string | null | undefined;
|
|
793
793
|
postcode?: string | undefined;
|
|
794
794
|
county?: string | null | undefined;
|