@dakkitor/api-contracts 1.1.136 → 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/abilities.contract.d.ts +13 -19
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +18 -33
- package/dist/abilities/admin.abilities.json +10 -0
- package/dist/abilities/bot.abilities.json +4 -0
- package/dist/abilities/first-agent.abilities.json +21 -2
- package/dist/abilities/kpi.abilities.json +4 -0
- package/dist/abilities/second-agent.abilities.json +13 -1
- package/dist/abilities/team-leads.json +4 -0
- package/dist/actives/actives.contract.d.ts +7776 -5918
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +2521 -658
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.js +56 -2
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +30403 -22293
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +161 -37
- 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 +306 -306
- package/dist/clients/clients.contract.d.ts +189 -123
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +50 -6
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2136 -1752
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +2039 -1658
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +2 -2
- 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/agent-daily-metrics.contract.d.ts +173 -803
- package/dist/dashboards/agent-daily-metrics.contract.d.ts.map +1 -1
- package/dist/dashboards/agent-daily-metrics.contract.js +45 -108
- package/dist/dashboards/dashboard-widgets.contract.d.ts +398 -292
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +77 -32
- package/dist/dashboards/dashboard.contract.d.ts +215 -305
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/jobs/jobs.contract.d.ts +3932 -3272
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +1340 -0
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts.map +1 -0
- package/dist/kpi-impersonation/kpi-impersonation.contract.js +146 -0
- 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 +900 -408
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.js +57 -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
|
@@ -20,8 +20,8 @@ export declare const LocationSchema: z.ZodObject<{
|
|
|
20
20
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
21
21
|
createdAt: string;
|
|
22
22
|
updatedAt: string;
|
|
23
|
-
postcode?: string | undefined;
|
|
24
23
|
address?: string | null | undefined;
|
|
24
|
+
postcode?: string | undefined;
|
|
25
25
|
county?: string | null | undefined;
|
|
26
26
|
adminDistrict?: string | null | undefined;
|
|
27
27
|
builtUpArea?: string | null | undefined;
|
|
@@ -34,8 +34,8 @@ export declare const LocationSchema: z.ZodObject<{
|
|
|
34
34
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
35
35
|
createdAt: string | Date;
|
|
36
36
|
updatedAt: string | Date;
|
|
37
|
-
postcode?: string | undefined;
|
|
38
37
|
address?: string | null | undefined;
|
|
38
|
+
postcode?: string | undefined;
|
|
39
39
|
county?: string | null | undefined;
|
|
40
40
|
adminDistrict?: string | null | undefined;
|
|
41
41
|
builtUpArea?: string | null | undefined;
|
|
@@ -48,21 +48,21 @@ export declare const UpdateLocationSchema: z.ZodObject<{
|
|
|
48
48
|
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
49
49
|
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
postcode?: string | null | undefined;
|
|
52
51
|
address?: string | null | undefined;
|
|
53
|
-
}, {
|
|
54
52
|
postcode?: string | null | undefined;
|
|
53
|
+
}, {
|
|
55
54
|
address?: string | null | undefined;
|
|
55
|
+
postcode?: string | null | undefined;
|
|
56
56
|
}>;
|
|
57
57
|
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>;
|
|
@@ -81,11 +81,11 @@ export declare const locationsContract: {
|
|
|
81
81
|
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
82
82
|
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
postcode?: string | null | undefined;
|
|
85
84
|
address?: string | null | undefined;
|
|
86
|
-
}, {
|
|
87
85
|
postcode?: string | null | undefined;
|
|
86
|
+
}, {
|
|
88
87
|
address?: string | null | undefined;
|
|
88
|
+
postcode?: string | null | undefined;
|
|
89
89
|
}>;
|
|
90
90
|
path: "/v2/locations";
|
|
91
91
|
responses: {
|
|
@@ -208,8 +208,8 @@ export declare const locationsContract: {
|
|
|
208
208
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
209
209
|
createdAt: string;
|
|
210
210
|
updatedAt: string;
|
|
211
|
-
postcode?: string | undefined;
|
|
212
211
|
address?: string | null | undefined;
|
|
212
|
+
postcode?: string | undefined;
|
|
213
213
|
county?: string | null | undefined;
|
|
214
214
|
adminDistrict?: string | null | undefined;
|
|
215
215
|
builtUpArea?: string | null | undefined;
|
|
@@ -222,8 +222,8 @@ export declare const locationsContract: {
|
|
|
222
222
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
223
223
|
createdAt: string | Date;
|
|
224
224
|
updatedAt: string | Date;
|
|
225
|
-
postcode?: string | undefined;
|
|
226
225
|
address?: string | null | undefined;
|
|
226
|
+
postcode?: string | undefined;
|
|
227
227
|
county?: string | null | undefined;
|
|
228
228
|
adminDistrict?: string | null | undefined;
|
|
229
229
|
builtUpArea?: 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[];
|
|
@@ -372,8 +372,8 @@ export declare const locationsContract: {
|
|
|
372
372
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
373
373
|
createdAt: string;
|
|
374
374
|
updatedAt: string;
|
|
375
|
-
postcode?: string | undefined;
|
|
376
375
|
address?: string | null | undefined;
|
|
376
|
+
postcode?: string | undefined;
|
|
377
377
|
county?: string | null | undefined;
|
|
378
378
|
adminDistrict?: string | null | undefined;
|
|
379
379
|
builtUpArea?: string | null | undefined;
|
|
@@ -386,8 +386,8 @@ export declare const locationsContract: {
|
|
|
386
386
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
387
387
|
createdAt: string | Date;
|
|
388
388
|
updatedAt: string | Date;
|
|
389
|
-
postcode?: string | undefined;
|
|
390
389
|
address?: string | null | undefined;
|
|
390
|
+
postcode?: string | undefined;
|
|
391
391
|
county?: string | null | undefined;
|
|
392
392
|
adminDistrict?: string | null | undefined;
|
|
393
393
|
builtUpArea?: string | null | undefined;
|
|
@@ -408,8 +408,8 @@ export declare const locationsContract: {
|
|
|
408
408
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
409
409
|
createdAt: string;
|
|
410
410
|
updatedAt: string;
|
|
411
|
-
postcode?: string | undefined;
|
|
412
411
|
address?: string | null | undefined;
|
|
412
|
+
postcode?: string | undefined;
|
|
413
413
|
county?: string | null | undefined;
|
|
414
414
|
adminDistrict?: string | null | undefined;
|
|
415
415
|
builtUpArea?: string | null | undefined;
|
|
@@ -429,8 +429,8 @@ export declare const locationsContract: {
|
|
|
429
429
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
430
430
|
createdAt: string | Date;
|
|
431
431
|
updatedAt: string | Date;
|
|
432
|
-
postcode?: string | undefined;
|
|
433
432
|
address?: string | null | undefined;
|
|
433
|
+
postcode?: string | undefined;
|
|
434
434
|
county?: string | null | undefined;
|
|
435
435
|
adminDistrict?: string | null | undefined;
|
|
436
436
|
builtUpArea?: string | null | undefined;
|
|
@@ -580,8 +580,8 @@ export declare const locationsContract: {
|
|
|
580
580
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
581
581
|
createdAt: string;
|
|
582
582
|
updatedAt: string;
|
|
583
|
-
postcode?: string | undefined;
|
|
584
583
|
address?: string | null | undefined;
|
|
584
|
+
postcode?: string | undefined;
|
|
585
585
|
county?: string | null | undefined;
|
|
586
586
|
adminDistrict?: string | null | undefined;
|
|
587
587
|
builtUpArea?: string | null | undefined;
|
|
@@ -594,8 +594,8 @@ export declare const locationsContract: {
|
|
|
594
594
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
595
595
|
createdAt: string | Date;
|
|
596
596
|
updatedAt: string | Date;
|
|
597
|
-
postcode?: string | undefined;
|
|
598
597
|
address?: string | null | undefined;
|
|
598
|
+
postcode?: string | undefined;
|
|
599
599
|
county?: string | null | undefined;
|
|
600
600
|
adminDistrict?: string | null | undefined;
|
|
601
601
|
builtUpArea?: string | null | undefined;
|
|
@@ -648,11 +648,11 @@ export declare const locationsContract: {
|
|
|
648
648
|
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
649
649
|
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
650
650
|
}, "strip", z.ZodTypeAny, {
|
|
651
|
-
postcode?: string | null | undefined;
|
|
652
651
|
address?: string | null | undefined;
|
|
653
|
-
}, {
|
|
654
652
|
postcode?: string | null | undefined;
|
|
653
|
+
}, {
|
|
655
654
|
address?: string | null | undefined;
|
|
655
|
+
postcode?: string | null | undefined;
|
|
656
656
|
}>;
|
|
657
657
|
path: "/v2/locations/:id";
|
|
658
658
|
responses: {
|
|
@@ -775,8 +775,8 @@ export declare const locationsContract: {
|
|
|
775
775
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
776
776
|
createdAt: string;
|
|
777
777
|
updatedAt: string;
|
|
778
|
-
postcode?: string | undefined;
|
|
779
778
|
address?: string | null | undefined;
|
|
779
|
+
postcode?: string | undefined;
|
|
780
780
|
county?: string | null | undefined;
|
|
781
781
|
adminDistrict?: string | null | undefined;
|
|
782
782
|
builtUpArea?: string | null | undefined;
|
|
@@ -789,8 +789,8 @@ export declare const locationsContract: {
|
|
|
789
789
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
790
790
|
createdAt: string | Date;
|
|
791
791
|
updatedAt: string | Date;
|
|
792
|
-
postcode?: string | undefined;
|
|
793
792
|
address?: string | null | undefined;
|
|
793
|
+
postcode?: string | undefined;
|
|
794
794
|
county?: string | null | undefined;
|
|
795
795
|
adminDistrict?: string | null | undefined;
|
|
796
796
|
builtUpArea?: string | null | undefined;
|