@dakkitor/api-contracts 1.1.101 → 1.1.102
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/actives/actives.contract.d.ts +4231 -4231
- package/dist/auth/auth.contract.d.ts +8 -8
- package/dist/bookings/bookings.contract.d.ts +15265 -15265
- package/dist/call-history/call-history.contract.d.ts +422 -422
- package/dist/curated-workers/curated-workers.contract.d.ts +256 -256
- package/dist/jobs/jobs.contract.d.ts +224 -40
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +47 -3
- package/dist/lead-assignments/lead-assignments.contract.d.ts +378 -378
- package/dist/leads/leads.contract.d.ts +115 -115
- package/dist/workers/workers.contract.d.ts +339 -339
- package/package.json +1 -1
|
@@ -3,11 +3,11 @@ export declare const LoginSchema: z.ZodObject<{
|
|
|
3
3
|
email: z.ZodString;
|
|
4
4
|
password: z.ZodString;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
password: string;
|
|
7
6
|
email: string;
|
|
8
|
-
}, {
|
|
9
7
|
password: string;
|
|
8
|
+
}, {
|
|
10
9
|
email: string;
|
|
10
|
+
password: string;
|
|
11
11
|
}>;
|
|
12
12
|
export type Login = z.infer<typeof LoginSchema>;
|
|
13
13
|
export declare const authContract: {
|
|
@@ -22,11 +22,11 @@ export declare const authContract: {
|
|
|
22
22
|
email: z.ZodString;
|
|
23
23
|
password: z.ZodString;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
password: string;
|
|
26
25
|
email: string;
|
|
27
|
-
}, {
|
|
28
26
|
password: string;
|
|
27
|
+
}, {
|
|
29
28
|
email: string;
|
|
29
|
+
password: string;
|
|
30
30
|
}>;
|
|
31
31
|
path: "/v2/auth/login";
|
|
32
32
|
responses: {
|
|
@@ -90,17 +90,17 @@ export declare const authContract: {
|
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
91
|
id: string;
|
|
92
92
|
email: string;
|
|
93
|
-
phone?: string | undefined;
|
|
94
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
95
93
|
firstName?: string | undefined;
|
|
96
94
|
lastName?: string | undefined;
|
|
95
|
+
phone?: string | undefined;
|
|
96
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
97
97
|
}, {
|
|
98
98
|
id: string;
|
|
99
99
|
email: string;
|
|
100
|
-
phone?: string | undefined;
|
|
101
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
102
100
|
firstName?: string | undefined;
|
|
103
101
|
lastName?: string | undefined;
|
|
102
|
+
phone?: string | undefined;
|
|
103
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
104
104
|
}>;
|
|
105
105
|
401: z.ZodObject<{
|
|
106
106
|
statusCode: z.ZodNumber;
|