@dakkitor/api-contracts 1.5.0 → 1.6.0
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 +6 -2
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +45 -1
- package/dist/abilities/abilities.contract.spec.js +98 -0
- package/dist/abilities/first-agent.abilities.json +8 -14
- package/dist/abilities/outreach.abilities.json +25 -0
- package/dist/abilities/second-agent.abilities.json +4 -13
- package/dist/actives/actives.contract.d.ts +3618 -3479
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +2 -0
- package/dist/actives/actives.contract.spec.d.ts +2 -0
- package/dist/actives/actives.contract.spec.d.ts.map +1 -0
- package/dist/actives/actives.contract.spec.js +35 -0
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1087 -1087
- package/dist/auth/auth.contract.d.ts +108 -108
- package/dist/bookings/bookings.contract.d.ts +6644 -6452
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +718 -718
- package/dist/calls-feed/calls-feed.contract.d.ts +86 -86
- package/dist/client-contacts/client-contacts.contract.d.ts +469 -469
- package/dist/clients/clients.contract.d.ts +203 -203
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2713 -2713
- package/dist/collaborations/collaborations.contract.d.ts +2270 -2270
- package/dist/common/common-schemas.d.ts +12 -12
- package/dist/companies/companies.contract.d.ts +74 -74
- package/dist/crews/crews.contract.d.ts +253 -253
- package/dist/cron-executions/cron-executions.contract.d.ts +182 -182
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2723 -2723
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +378 -378
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +1137 -1107
- package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +16 -16
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +2 -2
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +5818 -5372
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +34 -1
- package/dist/curated-worker-leads/lead-agent-area.contract.d.ts +4 -4
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts +2 -0
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.js +39 -0
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +148 -148
- package/dist/curated-workers/curated-workers.contract.d.ts +789 -789
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +2 -2
- package/dist/dashboards/dashboard-widgets.contract.d.ts +180 -180
- package/dist/dashboards/dashboard.contract.d.ts +12 -12
- package/dist/document-intake/document-intake.contract.d.ts +601 -601
- package/dist/export-jobs/export-jobs.contract.d.ts +694 -694
- package/dist/exports-events/exports-events.schemas.d.ts +4 -4
- package/dist/files/files.contract.d.ts +74 -74
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/interactions/interactions.contract.d.ts +6 -6
- package/dist/job-clusters/job-clusters.contract.d.ts +112 -112
- package/dist/jobs/job-moderation-fields.spec.d.ts +2 -0
- package/dist/jobs/job-moderation-fields.spec.d.ts.map +1 -0
- package/dist/jobs/job-moderation-fields.spec.js +72 -0
- package/dist/jobs/jobs.contract.d.ts +4773 -4525
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +48 -0
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +141 -141
- package/dist/lead-assignments/lead-assignments.contract.d.ts +911 -911
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +209 -209
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +77 -77
- package/dist/leads/leads.contract.d.ts +283 -283
- package/dist/locations/locations.contract.d.ts +49 -49
- package/dist/notifications/notifications.contract.d.ts +67 -67
- package/dist/offices/offices.contract.d.ts +34 -34
- package/dist/outreach/__tests__/outreach-contract-additions.spec.js +11 -0
- package/dist/outreach/__tests__/outreach-requests.contract.spec.js +13 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +14 -3
- package/dist/outreach/outreach-requests.contract.d.ts +862 -217
- package/dist/outreach/outreach-requests.contract.d.ts.map +1 -1
- package/dist/outreach/outreach-requests.contract.js +23 -3
- package/dist/outreach/outreach-requests.schemas.d.ts +56 -10
- package/dist/outreach/outreach-requests.schemas.d.ts.map +1 -1
- package/dist/outreach/outreach-requests.schemas.js +3 -0
- package/dist/outreach/outreach.contract.d.ts +300 -38
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +18 -0
- package/dist/outreach/outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/outreach.contract.spec.js +54 -0
- package/dist/outreach/outreach.schemas.d.ts +2 -2
- package/dist/own-research/own-research.contract.d.ts +775 -775
- package/dist/postcodes/postcodes.contract.d.ts +24 -24
- package/dist/proofs/proof-type.enum.d.ts +4 -4
- package/dist/proofs/proofs.contract.d.ts +363 -363
- package/dist/proofs/proofs.dtos.d.ts +124 -124
- package/dist/qualifications/qualifications.contract.d.ts +38 -38
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts +680 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-sessions.contract.js +67 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.js +129 -0
- package/dist/relay-pods/relay-pods.contract.d.ts +1569 -0
- package/dist/relay-pods/relay-pods.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.contract.js +188 -0
- package/dist/relay-pods/relay-pods.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-pods.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.contract.spec.js +141 -0
- package/dist/relay-pods/relay-pods.schemas.d.ts +415 -0
- package/dist/relay-pods/relay-pods.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.schemas.js +112 -0
- package/dist/shared/live-booking.schema.d.ts +4 -4
- package/dist/shared/summary-schemas.d.ts +6 -6
- package/dist/sheets-sync/sheets-sync.contract.d.ts +939 -939
- package/dist/telegram/telegram.contract.d.ts +22 -22
- package/dist/trades/trades.contract.d.ts +90 -90
- package/dist/user-access-grants/user-access-grants.contract.d.ts +165 -165
- package/dist/users/__tests__/assignable-roles.spec.d.ts +2 -0
- package/dist/users/__tests__/assignable-roles.spec.d.ts.map +1 -0
- package/dist/users/__tests__/assignable-roles.spec.js +41 -0
- package/dist/users/users.contract.d.ts +399 -393
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +11 -0
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +585 -527
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +278 -236
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts.map +1 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.js +1 -0
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +153 -153
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +59 -59
- package/dist/workers/workers.contract.d.ts +2919 -2919
- package/package.json +1 -1
- package/dist/bookings/bookings.contract.spec.d.ts +0 -2
- package/dist/bookings/bookings.contract.spec.d.ts.map +0 -1
- package/dist/bookings/bookings.contract.spec.js +0 -11
|
@@ -14,22 +14,22 @@ export declare const LeadDistributionConfigSchema: z.ZodObject<{
|
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
id: string;
|
|
16
16
|
name: string;
|
|
17
|
+
isActive: boolean;
|
|
17
18
|
lowShare: number;
|
|
18
19
|
mediumShare: number;
|
|
19
20
|
highShare: number;
|
|
20
21
|
mediumMinWeight: number;
|
|
21
22
|
highMinWeight: number;
|
|
22
|
-
isActive: boolean;
|
|
23
23
|
description?: string | null | undefined;
|
|
24
24
|
}, {
|
|
25
25
|
id: string;
|
|
26
26
|
name: string;
|
|
27
|
+
isActive: boolean;
|
|
27
28
|
lowShare: number;
|
|
28
29
|
mediumShare: number;
|
|
29
30
|
highShare: number;
|
|
30
31
|
mediumMinWeight: number;
|
|
31
32
|
highMinWeight: number;
|
|
32
|
-
isActive: boolean;
|
|
33
33
|
description?: string | null | undefined;
|
|
34
34
|
}>;
|
|
35
35
|
export declare const CreateLeadDistributionConfigSchema: z.ZodObject<{
|
|
@@ -56,9 +56,9 @@ export declare const CreateLeadDistributionConfigSchema: z.ZodObject<{
|
|
|
56
56
|
mediumShare: number;
|
|
57
57
|
highShare: number;
|
|
58
58
|
description?: string | undefined;
|
|
59
|
+
isActive?: boolean | undefined;
|
|
59
60
|
mediumMinWeight?: number | undefined;
|
|
60
61
|
highMinWeight?: number | undefined;
|
|
61
|
-
isActive?: boolean | undefined;
|
|
62
62
|
}>;
|
|
63
63
|
export declare const UpdateLeadDistributionConfigSchema: z.ZodObject<{
|
|
64
64
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -70,23 +70,23 @@ export declare const UpdateLeadDistributionConfigSchema: z.ZodObject<{
|
|
|
70
70
|
highMinWeight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
71
71
|
isActive: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
name?: string | undefined;
|
|
74
73
|
description?: string | undefined;
|
|
74
|
+
name?: string | undefined;
|
|
75
|
+
isActive?: boolean | undefined;
|
|
75
76
|
lowShare?: number | undefined;
|
|
76
77
|
mediumShare?: number | undefined;
|
|
77
78
|
highShare?: number | undefined;
|
|
78
79
|
mediumMinWeight?: number | undefined;
|
|
79
80
|
highMinWeight?: number | undefined;
|
|
80
|
-
isActive?: boolean | undefined;
|
|
81
81
|
}, {
|
|
82
|
-
name?: string | undefined;
|
|
83
82
|
description?: string | undefined;
|
|
83
|
+
name?: string | undefined;
|
|
84
|
+
isActive?: boolean | undefined;
|
|
84
85
|
lowShare?: number | undefined;
|
|
85
86
|
mediumShare?: number | undefined;
|
|
86
87
|
highShare?: number | undefined;
|
|
87
88
|
mediumMinWeight?: number | undefined;
|
|
88
89
|
highMinWeight?: number | undefined;
|
|
89
|
-
isActive?: boolean | undefined;
|
|
90
90
|
}>;
|
|
91
91
|
export declare const FilterLeadDistributionConfigSchema: z.ZodObject<{
|
|
92
92
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -104,9 +104,9 @@ export declare const FilterLeadDistributionConfigSchema: z.ZodObject<{
|
|
|
104
104
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
105
105
|
isActive?: boolean | undefined;
|
|
106
106
|
}, {
|
|
107
|
+
name?: string | undefined;
|
|
107
108
|
limit?: number | undefined;
|
|
108
109
|
page?: number | undefined;
|
|
109
|
-
name?: string | undefined;
|
|
110
110
|
sortBy?: "name" | "createdAt" | "isActive" | undefined;
|
|
111
111
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
112
112
|
isActive?: boolean | undefined;
|
|
@@ -125,22 +125,22 @@ export declare const PaginatedLeadDistributionConfigResponseSchema: z.ZodObject<
|
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
126
|
id: string;
|
|
127
127
|
name: string;
|
|
128
|
+
isActive: boolean;
|
|
128
129
|
lowShare: number;
|
|
129
130
|
mediumShare: number;
|
|
130
131
|
highShare: number;
|
|
131
132
|
mediumMinWeight: number;
|
|
132
133
|
highMinWeight: number;
|
|
133
|
-
isActive: boolean;
|
|
134
134
|
description?: string | null | undefined;
|
|
135
135
|
}, {
|
|
136
136
|
id: string;
|
|
137
137
|
name: string;
|
|
138
|
+
isActive: boolean;
|
|
138
139
|
lowShare: number;
|
|
139
140
|
mediumShare: number;
|
|
140
141
|
highShare: number;
|
|
141
142
|
mediumMinWeight: number;
|
|
142
143
|
highMinWeight: number;
|
|
143
|
-
isActive: boolean;
|
|
144
144
|
description?: string | null | undefined;
|
|
145
145
|
}>, "many">;
|
|
146
146
|
totalCount: z.ZodNumber;
|
|
@@ -153,12 +153,12 @@ export declare const PaginatedLeadDistributionConfigResponseSchema: z.ZodObject<
|
|
|
153
153
|
items: {
|
|
154
154
|
id: string;
|
|
155
155
|
name: string;
|
|
156
|
+
isActive: boolean;
|
|
156
157
|
lowShare: number;
|
|
157
158
|
mediumShare: number;
|
|
158
159
|
highShare: number;
|
|
159
160
|
mediumMinWeight: number;
|
|
160
161
|
highMinWeight: number;
|
|
161
|
-
isActive: boolean;
|
|
162
162
|
description?: string | null | undefined;
|
|
163
163
|
}[];
|
|
164
164
|
totalCount: number;
|
|
@@ -170,12 +170,12 @@ export declare const PaginatedLeadDistributionConfigResponseSchema: z.ZodObject<
|
|
|
170
170
|
items: {
|
|
171
171
|
id: string;
|
|
172
172
|
name: string;
|
|
173
|
+
isActive: boolean;
|
|
173
174
|
lowShare: number;
|
|
174
175
|
mediumShare: number;
|
|
175
176
|
highShare: number;
|
|
176
177
|
mediumMinWeight: number;
|
|
177
178
|
highMinWeight: number;
|
|
178
|
-
isActive: boolean;
|
|
179
179
|
description?: string | null | undefined;
|
|
180
180
|
}[];
|
|
181
181
|
totalCount: number;
|
|
@@ -190,9 +190,6 @@ export type FilterLeadDistributionConfig = z.infer<typeof FilterLeadDistribution
|
|
|
190
190
|
export type PaginatedLeadDistributionConfigResponse = z.infer<typeof PaginatedLeadDistributionConfigResponseSchema>;
|
|
191
191
|
export declare const leadDistributionConfigContract: {
|
|
192
192
|
findAll: {
|
|
193
|
-
metadata: {
|
|
194
|
-
tags: string[];
|
|
195
|
-
};
|
|
196
193
|
query: z.ZodObject<{
|
|
197
194
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
198
195
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -209,13 +206,16 @@ export declare const leadDistributionConfigContract: {
|
|
|
209
206
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
210
207
|
isActive?: boolean | undefined;
|
|
211
208
|
}, {
|
|
209
|
+
name?: string | undefined;
|
|
212
210
|
limit?: number | undefined;
|
|
213
211
|
page?: number | undefined;
|
|
214
|
-
name?: string | undefined;
|
|
215
212
|
sortBy?: "name" | "createdAt" | "isActive" | undefined;
|
|
216
213
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
217
214
|
isActive?: boolean | undefined;
|
|
218
215
|
}>;
|
|
216
|
+
metadata: {
|
|
217
|
+
tags: string[];
|
|
218
|
+
};
|
|
219
219
|
summary: "List all lead distribution configs";
|
|
220
220
|
method: "GET";
|
|
221
221
|
path: "/v2/lead-distribution-configs";
|
|
@@ -229,17 +229,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
229
229
|
path: z.ZodString;
|
|
230
230
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
|
+
message: string;
|
|
232
233
|
code: string;
|
|
233
234
|
path: string;
|
|
234
|
-
message: string;
|
|
235
235
|
statusCode: number;
|
|
236
236
|
timestamp: string;
|
|
237
237
|
details?: unknown;
|
|
238
238
|
correlationId?: string | undefined;
|
|
239
239
|
}, {
|
|
240
|
+
message: string;
|
|
240
241
|
code: string;
|
|
241
242
|
path: string;
|
|
242
|
-
message: string;
|
|
243
243
|
statusCode: number;
|
|
244
244
|
timestamp: string;
|
|
245
245
|
details?: unknown;
|
|
@@ -254,17 +254,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
254
254
|
path: z.ZodString;
|
|
255
255
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
+
message: string;
|
|
257
258
|
code: string;
|
|
258
259
|
path: string;
|
|
259
|
-
message: string;
|
|
260
260
|
statusCode: number;
|
|
261
261
|
timestamp: string;
|
|
262
262
|
details?: unknown;
|
|
263
263
|
correlationId?: string | undefined;
|
|
264
264
|
}, {
|
|
265
|
+
message: string;
|
|
265
266
|
code: string;
|
|
266
267
|
path: string;
|
|
267
|
-
message: string;
|
|
268
268
|
statusCode: number;
|
|
269
269
|
timestamp: string;
|
|
270
270
|
details?: unknown;
|
|
@@ -279,17 +279,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
279
279
|
path: z.ZodString;
|
|
280
280
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
281
281
|
}, "strip", z.ZodTypeAny, {
|
|
282
|
+
message: string;
|
|
282
283
|
code: string;
|
|
283
284
|
path: string;
|
|
284
|
-
message: string;
|
|
285
285
|
statusCode: number;
|
|
286
286
|
timestamp: string;
|
|
287
287
|
details?: unknown;
|
|
288
288
|
correlationId?: string | undefined;
|
|
289
289
|
}, {
|
|
290
|
+
message: string;
|
|
290
291
|
code: string;
|
|
291
292
|
path: string;
|
|
292
|
-
message: string;
|
|
293
293
|
statusCode: number;
|
|
294
294
|
timestamp: string;
|
|
295
295
|
details?: unknown;
|
|
@@ -309,22 +309,22 @@ export declare const leadDistributionConfigContract: {
|
|
|
309
309
|
}, "strip", z.ZodTypeAny, {
|
|
310
310
|
id: string;
|
|
311
311
|
name: string;
|
|
312
|
+
isActive: boolean;
|
|
312
313
|
lowShare: number;
|
|
313
314
|
mediumShare: number;
|
|
314
315
|
highShare: number;
|
|
315
316
|
mediumMinWeight: number;
|
|
316
317
|
highMinWeight: number;
|
|
317
|
-
isActive: boolean;
|
|
318
318
|
description?: string | null | undefined;
|
|
319
319
|
}, {
|
|
320
320
|
id: string;
|
|
321
321
|
name: string;
|
|
322
|
+
isActive: boolean;
|
|
322
323
|
lowShare: number;
|
|
323
324
|
mediumShare: number;
|
|
324
325
|
highShare: number;
|
|
325
326
|
mediumMinWeight: number;
|
|
326
327
|
highMinWeight: number;
|
|
327
|
-
isActive: boolean;
|
|
328
328
|
description?: string | null | undefined;
|
|
329
329
|
}>, "many">;
|
|
330
330
|
totalCount: z.ZodNumber;
|
|
@@ -337,12 +337,12 @@ export declare const leadDistributionConfigContract: {
|
|
|
337
337
|
items: {
|
|
338
338
|
id: string;
|
|
339
339
|
name: string;
|
|
340
|
+
isActive: boolean;
|
|
340
341
|
lowShare: number;
|
|
341
342
|
mediumShare: number;
|
|
342
343
|
highShare: number;
|
|
343
344
|
mediumMinWeight: number;
|
|
344
345
|
highMinWeight: number;
|
|
345
|
-
isActive: boolean;
|
|
346
346
|
description?: string | null | undefined;
|
|
347
347
|
}[];
|
|
348
348
|
totalCount: number;
|
|
@@ -354,12 +354,12 @@ export declare const leadDistributionConfigContract: {
|
|
|
354
354
|
items: {
|
|
355
355
|
id: string;
|
|
356
356
|
name: string;
|
|
357
|
+
isActive: boolean;
|
|
357
358
|
lowShare: number;
|
|
358
359
|
mediumShare: number;
|
|
359
360
|
highShare: number;
|
|
360
361
|
mediumMinWeight: number;
|
|
361
362
|
highMinWeight: number;
|
|
362
|
-
isActive: boolean;
|
|
363
363
|
description?: string | null | undefined;
|
|
364
364
|
}[];
|
|
365
365
|
totalCount: number;
|
|
@@ -376,17 +376,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
376
376
|
path: z.ZodString;
|
|
377
377
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
378
378
|
}, "strip", z.ZodTypeAny, {
|
|
379
|
+
message: string;
|
|
379
380
|
code: string;
|
|
380
381
|
path: string;
|
|
381
|
-
message: string;
|
|
382
382
|
statusCode: number;
|
|
383
383
|
timestamp: string;
|
|
384
384
|
details?: unknown;
|
|
385
385
|
correlationId?: string | undefined;
|
|
386
386
|
}, {
|
|
387
|
+
message: string;
|
|
387
388
|
code: string;
|
|
388
389
|
path: string;
|
|
389
|
-
message: string;
|
|
390
390
|
statusCode: number;
|
|
391
391
|
timestamp: string;
|
|
392
392
|
details?: unknown;
|
|
@@ -418,17 +418,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
418
418
|
path: z.ZodString;
|
|
419
419
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
420
420
|
}, "strip", z.ZodTypeAny, {
|
|
421
|
+
message: string;
|
|
421
422
|
code: string;
|
|
422
423
|
path: string;
|
|
423
|
-
message: string;
|
|
424
424
|
statusCode: number;
|
|
425
425
|
timestamp: string;
|
|
426
426
|
details?: unknown;
|
|
427
427
|
correlationId?: string | undefined;
|
|
428
428
|
}, {
|
|
429
|
+
message: string;
|
|
429
430
|
code: string;
|
|
430
431
|
path: string;
|
|
431
|
-
message: string;
|
|
432
432
|
statusCode: number;
|
|
433
433
|
timestamp: string;
|
|
434
434
|
details?: unknown;
|
|
@@ -443,17 +443,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
443
443
|
path: z.ZodString;
|
|
444
444
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
445
445
|
}, "strip", z.ZodTypeAny, {
|
|
446
|
+
message: string;
|
|
446
447
|
code: string;
|
|
447
448
|
path: string;
|
|
448
|
-
message: string;
|
|
449
449
|
statusCode: number;
|
|
450
450
|
timestamp: string;
|
|
451
451
|
details?: unknown;
|
|
452
452
|
correlationId?: string | undefined;
|
|
453
453
|
}, {
|
|
454
|
+
message: string;
|
|
454
455
|
code: string;
|
|
455
456
|
path: string;
|
|
456
|
-
message: string;
|
|
457
457
|
statusCode: number;
|
|
458
458
|
timestamp: string;
|
|
459
459
|
details?: unknown;
|
|
@@ -468,17 +468,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
468
468
|
path: z.ZodString;
|
|
469
469
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
|
+
message: string;
|
|
471
472
|
code: string;
|
|
472
473
|
path: string;
|
|
473
|
-
message: string;
|
|
474
474
|
statusCode: number;
|
|
475
475
|
timestamp: string;
|
|
476
476
|
details?: unknown;
|
|
477
477
|
correlationId?: string | undefined;
|
|
478
478
|
}, {
|
|
479
|
+
message: string;
|
|
479
480
|
code: string;
|
|
480
481
|
path: string;
|
|
481
|
-
message: string;
|
|
482
482
|
statusCode: number;
|
|
483
483
|
timestamp: string;
|
|
484
484
|
details?: unknown;
|
|
@@ -497,22 +497,22 @@ export declare const leadDistributionConfigContract: {
|
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
498
|
id: string;
|
|
499
499
|
name: string;
|
|
500
|
+
isActive: boolean;
|
|
500
501
|
lowShare: number;
|
|
501
502
|
mediumShare: number;
|
|
502
503
|
highShare: number;
|
|
503
504
|
mediumMinWeight: number;
|
|
504
505
|
highMinWeight: number;
|
|
505
|
-
isActive: boolean;
|
|
506
506
|
description?: string | null | undefined;
|
|
507
507
|
}, {
|
|
508
508
|
id: string;
|
|
509
509
|
name: string;
|
|
510
|
+
isActive: boolean;
|
|
510
511
|
lowShare: number;
|
|
511
512
|
mediumShare: number;
|
|
512
513
|
highShare: number;
|
|
513
514
|
mediumMinWeight: number;
|
|
514
515
|
highMinWeight: number;
|
|
515
|
-
isActive: boolean;
|
|
516
516
|
description?: string | null | undefined;
|
|
517
517
|
}>;
|
|
518
518
|
404: z.ZodObject<{
|
|
@@ -524,17 +524,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
524
524
|
path: z.ZodString;
|
|
525
525
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
526
526
|
}, "strip", z.ZodTypeAny, {
|
|
527
|
+
message: string;
|
|
527
528
|
code: string;
|
|
528
529
|
path: string;
|
|
529
|
-
message: string;
|
|
530
530
|
statusCode: number;
|
|
531
531
|
timestamp: string;
|
|
532
532
|
details?: unknown;
|
|
533
533
|
correlationId?: string | undefined;
|
|
534
534
|
}, {
|
|
535
|
+
message: string;
|
|
535
536
|
code: string;
|
|
536
537
|
path: string;
|
|
537
|
-
message: string;
|
|
538
538
|
statusCode: number;
|
|
539
539
|
timestamp: string;
|
|
540
540
|
details?: unknown;
|
|
@@ -549,17 +549,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
549
549
|
path: z.ZodString;
|
|
550
550
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
551
551
|
}, "strip", z.ZodTypeAny, {
|
|
552
|
+
message: string;
|
|
552
553
|
code: string;
|
|
553
554
|
path: string;
|
|
554
|
-
message: string;
|
|
555
555
|
statusCode: number;
|
|
556
556
|
timestamp: string;
|
|
557
557
|
details?: unknown;
|
|
558
558
|
correlationId?: string | undefined;
|
|
559
559
|
}, {
|
|
560
|
+
message: string;
|
|
560
561
|
code: string;
|
|
561
562
|
path: string;
|
|
562
|
-
message: string;
|
|
563
563
|
statusCode: number;
|
|
564
564
|
timestamp: string;
|
|
565
565
|
details?: unknown;
|
|
@@ -597,9 +597,9 @@ export declare const leadDistributionConfigContract: {
|
|
|
597
597
|
mediumShare: number;
|
|
598
598
|
highShare: number;
|
|
599
599
|
description?: string | undefined;
|
|
600
|
+
isActive?: boolean | undefined;
|
|
600
601
|
mediumMinWeight?: number | undefined;
|
|
601
602
|
highMinWeight?: number | undefined;
|
|
602
|
-
isActive?: boolean | undefined;
|
|
603
603
|
}>;
|
|
604
604
|
path: "/v2/lead-distribution-configs";
|
|
605
605
|
responses: {
|
|
@@ -612,17 +612,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
612
612
|
path: z.ZodString;
|
|
613
613
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
614
614
|
}, "strip", z.ZodTypeAny, {
|
|
615
|
+
message: string;
|
|
615
616
|
code: string;
|
|
616
617
|
path: string;
|
|
617
|
-
message: string;
|
|
618
618
|
statusCode: number;
|
|
619
619
|
timestamp: string;
|
|
620
620
|
details?: unknown;
|
|
621
621
|
correlationId?: string | undefined;
|
|
622
622
|
}, {
|
|
623
|
+
message: string;
|
|
623
624
|
code: string;
|
|
624
625
|
path: string;
|
|
625
|
-
message: string;
|
|
626
626
|
statusCode: number;
|
|
627
627
|
timestamp: string;
|
|
628
628
|
details?: unknown;
|
|
@@ -637,17 +637,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
637
637
|
path: z.ZodString;
|
|
638
638
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
639
639
|
}, "strip", z.ZodTypeAny, {
|
|
640
|
+
message: string;
|
|
640
641
|
code: string;
|
|
641
642
|
path: string;
|
|
642
|
-
message: string;
|
|
643
643
|
statusCode: number;
|
|
644
644
|
timestamp: string;
|
|
645
645
|
details?: unknown;
|
|
646
646
|
correlationId?: string | undefined;
|
|
647
647
|
}, {
|
|
648
|
+
message: string;
|
|
648
649
|
code: string;
|
|
649
650
|
path: string;
|
|
650
|
-
message: string;
|
|
651
651
|
statusCode: number;
|
|
652
652
|
timestamp: string;
|
|
653
653
|
details?: unknown;
|
|
@@ -662,17 +662,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
662
662
|
path: z.ZodString;
|
|
663
663
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
664
664
|
}, "strip", z.ZodTypeAny, {
|
|
665
|
+
message: string;
|
|
665
666
|
code: string;
|
|
666
667
|
path: string;
|
|
667
|
-
message: string;
|
|
668
668
|
statusCode: number;
|
|
669
669
|
timestamp: string;
|
|
670
670
|
details?: unknown;
|
|
671
671
|
correlationId?: string | undefined;
|
|
672
672
|
}, {
|
|
673
|
+
message: string;
|
|
673
674
|
code: string;
|
|
674
675
|
path: string;
|
|
675
|
-
message: string;
|
|
676
676
|
statusCode: number;
|
|
677
677
|
timestamp: string;
|
|
678
678
|
details?: unknown;
|
|
@@ -691,22 +691,22 @@ export declare const leadDistributionConfigContract: {
|
|
|
691
691
|
}, "strip", z.ZodTypeAny, {
|
|
692
692
|
id: string;
|
|
693
693
|
name: string;
|
|
694
|
+
isActive: boolean;
|
|
694
695
|
lowShare: number;
|
|
695
696
|
mediumShare: number;
|
|
696
697
|
highShare: number;
|
|
697
698
|
mediumMinWeight: number;
|
|
698
699
|
highMinWeight: number;
|
|
699
|
-
isActive: boolean;
|
|
700
700
|
description?: string | null | undefined;
|
|
701
701
|
}, {
|
|
702
702
|
id: string;
|
|
703
703
|
name: string;
|
|
704
|
+
isActive: boolean;
|
|
704
705
|
lowShare: number;
|
|
705
706
|
mediumShare: number;
|
|
706
707
|
highShare: number;
|
|
707
708
|
mediumMinWeight: number;
|
|
708
709
|
highMinWeight: number;
|
|
709
|
-
isActive: boolean;
|
|
710
710
|
description?: string | null | undefined;
|
|
711
711
|
}>;
|
|
712
712
|
403: z.ZodObject<{
|
|
@@ -718,17 +718,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
718
718
|
path: z.ZodString;
|
|
719
719
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
720
720
|
}, "strip", z.ZodTypeAny, {
|
|
721
|
+
message: string;
|
|
721
722
|
code: string;
|
|
722
723
|
path: string;
|
|
723
|
-
message: string;
|
|
724
724
|
statusCode: number;
|
|
725
725
|
timestamp: string;
|
|
726
726
|
details?: unknown;
|
|
727
727
|
correlationId?: string | undefined;
|
|
728
728
|
}, {
|
|
729
|
+
message: string;
|
|
729
730
|
code: string;
|
|
730
731
|
path: string;
|
|
731
|
-
message: string;
|
|
732
732
|
statusCode: number;
|
|
733
733
|
timestamp: string;
|
|
734
734
|
details?: unknown;
|
|
@@ -759,23 +759,23 @@ export declare const leadDistributionConfigContract: {
|
|
|
759
759
|
highMinWeight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
760
760
|
isActive: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
761
761
|
}, "strip", z.ZodTypeAny, {
|
|
762
|
-
name?: string | undefined;
|
|
763
762
|
description?: string | undefined;
|
|
763
|
+
name?: string | undefined;
|
|
764
|
+
isActive?: boolean | undefined;
|
|
764
765
|
lowShare?: number | undefined;
|
|
765
766
|
mediumShare?: number | undefined;
|
|
766
767
|
highShare?: number | undefined;
|
|
767
768
|
mediumMinWeight?: number | undefined;
|
|
768
769
|
highMinWeight?: number | undefined;
|
|
769
|
-
isActive?: boolean | undefined;
|
|
770
770
|
}, {
|
|
771
|
-
name?: string | undefined;
|
|
772
771
|
description?: string | undefined;
|
|
772
|
+
name?: string | undefined;
|
|
773
|
+
isActive?: boolean | undefined;
|
|
773
774
|
lowShare?: number | undefined;
|
|
774
775
|
mediumShare?: number | undefined;
|
|
775
776
|
highShare?: number | undefined;
|
|
776
777
|
mediumMinWeight?: number | undefined;
|
|
777
778
|
highMinWeight?: number | undefined;
|
|
778
|
-
isActive?: boolean | undefined;
|
|
779
779
|
}>;
|
|
780
780
|
path: "/v2/lead-distribution-configs/:id";
|
|
781
781
|
responses: {
|
|
@@ -788,17 +788,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
788
788
|
path: z.ZodString;
|
|
789
789
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
790
790
|
}, "strip", z.ZodTypeAny, {
|
|
791
|
+
message: string;
|
|
791
792
|
code: string;
|
|
792
793
|
path: string;
|
|
793
|
-
message: string;
|
|
794
794
|
statusCode: number;
|
|
795
795
|
timestamp: string;
|
|
796
796
|
details?: unknown;
|
|
797
797
|
correlationId?: string | undefined;
|
|
798
798
|
}, {
|
|
799
|
+
message: string;
|
|
799
800
|
code: string;
|
|
800
801
|
path: string;
|
|
801
|
-
message: string;
|
|
802
802
|
statusCode: number;
|
|
803
803
|
timestamp: string;
|
|
804
804
|
details?: unknown;
|
|
@@ -813,17 +813,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
813
813
|
path: z.ZodString;
|
|
814
814
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
815
815
|
}, "strip", z.ZodTypeAny, {
|
|
816
|
+
message: string;
|
|
816
817
|
code: string;
|
|
817
818
|
path: string;
|
|
818
|
-
message: string;
|
|
819
819
|
statusCode: number;
|
|
820
820
|
timestamp: string;
|
|
821
821
|
details?: unknown;
|
|
822
822
|
correlationId?: string | undefined;
|
|
823
823
|
}, {
|
|
824
|
+
message: string;
|
|
824
825
|
code: string;
|
|
825
826
|
path: string;
|
|
826
|
-
message: string;
|
|
827
827
|
statusCode: number;
|
|
828
828
|
timestamp: string;
|
|
829
829
|
details?: unknown;
|
|
@@ -838,17 +838,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
838
838
|
path: z.ZodString;
|
|
839
839
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
840
840
|
}, "strip", z.ZodTypeAny, {
|
|
841
|
+
message: string;
|
|
841
842
|
code: string;
|
|
842
843
|
path: string;
|
|
843
|
-
message: string;
|
|
844
844
|
statusCode: number;
|
|
845
845
|
timestamp: string;
|
|
846
846
|
details?: unknown;
|
|
847
847
|
correlationId?: string | undefined;
|
|
848
848
|
}, {
|
|
849
|
+
message: string;
|
|
849
850
|
code: string;
|
|
850
851
|
path: string;
|
|
851
|
-
message: string;
|
|
852
852
|
statusCode: number;
|
|
853
853
|
timestamp: string;
|
|
854
854
|
details?: unknown;
|
|
@@ -867,22 +867,22 @@ export declare const leadDistributionConfigContract: {
|
|
|
867
867
|
}, "strip", z.ZodTypeAny, {
|
|
868
868
|
id: string;
|
|
869
869
|
name: string;
|
|
870
|
+
isActive: boolean;
|
|
870
871
|
lowShare: number;
|
|
871
872
|
mediumShare: number;
|
|
872
873
|
highShare: number;
|
|
873
874
|
mediumMinWeight: number;
|
|
874
875
|
highMinWeight: number;
|
|
875
|
-
isActive: boolean;
|
|
876
876
|
description?: string | null | undefined;
|
|
877
877
|
}, {
|
|
878
878
|
id: string;
|
|
879
879
|
name: string;
|
|
880
|
+
isActive: boolean;
|
|
880
881
|
lowShare: number;
|
|
881
882
|
mediumShare: number;
|
|
882
883
|
highShare: number;
|
|
883
884
|
mediumMinWeight: number;
|
|
884
885
|
highMinWeight: number;
|
|
885
|
-
isActive: boolean;
|
|
886
886
|
description?: string | null | undefined;
|
|
887
887
|
}>;
|
|
888
888
|
404: z.ZodObject<{
|
|
@@ -894,17 +894,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
894
894
|
path: z.ZodString;
|
|
895
895
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
896
896
|
}, "strip", z.ZodTypeAny, {
|
|
897
|
+
message: string;
|
|
897
898
|
code: string;
|
|
898
899
|
path: string;
|
|
899
|
-
message: string;
|
|
900
900
|
statusCode: number;
|
|
901
901
|
timestamp: string;
|
|
902
902
|
details?: unknown;
|
|
903
903
|
correlationId?: string | undefined;
|
|
904
904
|
}, {
|
|
905
|
+
message: string;
|
|
905
906
|
code: string;
|
|
906
907
|
path: string;
|
|
907
|
-
message: string;
|
|
908
908
|
statusCode: number;
|
|
909
909
|
timestamp: string;
|
|
910
910
|
details?: unknown;
|
|
@@ -919,17 +919,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
919
919
|
path: z.ZodString;
|
|
920
920
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
921
921
|
}, "strip", z.ZodTypeAny, {
|
|
922
|
+
message: string;
|
|
922
923
|
code: string;
|
|
923
924
|
path: string;
|
|
924
|
-
message: string;
|
|
925
925
|
statusCode: number;
|
|
926
926
|
timestamp: string;
|
|
927
927
|
details?: unknown;
|
|
928
928
|
correlationId?: string | undefined;
|
|
929
929
|
}, {
|
|
930
|
+
message: string;
|
|
930
931
|
code: string;
|
|
931
932
|
path: string;
|
|
932
|
-
message: string;
|
|
933
933
|
statusCode: number;
|
|
934
934
|
timestamp: string;
|
|
935
935
|
details?: unknown;
|
|
@@ -962,17 +962,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
962
962
|
path: z.ZodString;
|
|
963
963
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
964
964
|
}, "strip", z.ZodTypeAny, {
|
|
965
|
+
message: string;
|
|
965
966
|
code: string;
|
|
966
967
|
path: string;
|
|
967
|
-
message: string;
|
|
968
968
|
statusCode: number;
|
|
969
969
|
timestamp: string;
|
|
970
970
|
details?: unknown;
|
|
971
971
|
correlationId?: string | undefined;
|
|
972
972
|
}, {
|
|
973
|
+
message: string;
|
|
973
974
|
code: string;
|
|
974
975
|
path: string;
|
|
975
|
-
message: string;
|
|
976
976
|
statusCode: number;
|
|
977
977
|
timestamp: string;
|
|
978
978
|
details?: unknown;
|
|
@@ -987,17 +987,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
987
987
|
path: z.ZodString;
|
|
988
988
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
989
989
|
}, "strip", z.ZodTypeAny, {
|
|
990
|
+
message: string;
|
|
990
991
|
code: string;
|
|
991
992
|
path: string;
|
|
992
|
-
message: string;
|
|
993
993
|
statusCode: number;
|
|
994
994
|
timestamp: string;
|
|
995
995
|
details?: unknown;
|
|
996
996
|
correlationId?: string | undefined;
|
|
997
997
|
}, {
|
|
998
|
+
message: string;
|
|
998
999
|
code: string;
|
|
999
1000
|
path: string;
|
|
1000
|
-
message: string;
|
|
1001
1001
|
statusCode: number;
|
|
1002
1002
|
timestamp: string;
|
|
1003
1003
|
details?: unknown;
|
|
@@ -1012,17 +1012,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
1012
1012
|
path: z.ZodString;
|
|
1013
1013
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1014
1014
|
}, "strip", z.ZodTypeAny, {
|
|
1015
|
+
message: string;
|
|
1015
1016
|
code: string;
|
|
1016
1017
|
path: string;
|
|
1017
|
-
message: string;
|
|
1018
1018
|
statusCode: number;
|
|
1019
1019
|
timestamp: string;
|
|
1020
1020
|
details?: unknown;
|
|
1021
1021
|
correlationId?: string | undefined;
|
|
1022
1022
|
}, {
|
|
1023
|
+
message: string;
|
|
1023
1024
|
code: string;
|
|
1024
1025
|
path: string;
|
|
1025
|
-
message: string;
|
|
1026
1026
|
statusCode: number;
|
|
1027
1027
|
timestamp: string;
|
|
1028
1028
|
details?: unknown;
|
|
@@ -1038,17 +1038,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
1038
1038
|
path: z.ZodString;
|
|
1039
1039
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1040
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1041
|
+
message: string;
|
|
1041
1042
|
code: string;
|
|
1042
1043
|
path: string;
|
|
1043
|
-
message: string;
|
|
1044
1044
|
statusCode: number;
|
|
1045
1045
|
timestamp: string;
|
|
1046
1046
|
details?: unknown;
|
|
1047
1047
|
correlationId?: string | undefined;
|
|
1048
1048
|
}, {
|
|
1049
|
+
message: string;
|
|
1049
1050
|
code: string;
|
|
1050
1051
|
path: string;
|
|
1051
|
-
message: string;
|
|
1052
1052
|
statusCode: number;
|
|
1053
1053
|
timestamp: string;
|
|
1054
1054
|
details?: unknown;
|
|
@@ -1063,17 +1063,17 @@ export declare const leadDistributionConfigContract: {
|
|
|
1063
1063
|
path: z.ZodString;
|
|
1064
1064
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1065
1065
|
}, "strip", z.ZodTypeAny, {
|
|
1066
|
+
message: string;
|
|
1066
1067
|
code: string;
|
|
1067
1068
|
path: string;
|
|
1068
|
-
message: string;
|
|
1069
1069
|
statusCode: number;
|
|
1070
1070
|
timestamp: string;
|
|
1071
1071
|
details?: unknown;
|
|
1072
1072
|
correlationId?: string | undefined;
|
|
1073
1073
|
}, {
|
|
1074
|
+
message: string;
|
|
1074
1075
|
code: string;
|
|
1075
1076
|
path: string;
|
|
1076
|
-
message: string;
|
|
1077
1077
|
statusCode: number;
|
|
1078
1078
|
timestamp: string;
|
|
1079
1079
|
details?: unknown;
|