@dakkitor/api-contracts 1.8.0 → 1.9.1
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 +1 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +1 -0
- package/dist/abilities/abilities.contract.spec.js +11 -0
- package/dist/abilities/second-agent.abilities.json +16 -0
- package/dist/actives/actives.contract.d.ts +6327 -6196
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1148 -1046
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +23 -23
- package/dist/bookings/bookings.contract.d.ts +9238 -9006
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +768 -731
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +99 -92
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +13397 -0
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.js +206 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts +2 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.js +193 -0
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2738 -2634
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +2281 -2184
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.d.ts +7 -7
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +1 -0
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2663 -2045
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +37 -4
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +228 -228
- package/dist/curated-worker-leads/contact-history.spec.js +55 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +1928 -1928
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +36 -36
- package/dist/curated-workers/curated-workers.contract.d.ts +1195 -1195
- package/dist/dashboards/dashboard-widgets.contract.d.ts +396 -396
- package/dist/dashboards/dashboard.contract.d.ts +16 -16
- package/dist/export-jobs/export-jobs.contract.d.ts +675 -675
- package/dist/exports-events/exports-events.schemas.d.ts +4 -4
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/jobs/jobs.contract.d.ts +7903 -7645
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +72 -72
- package/dist/lead-assignments/lead-assignments.contract.d.ts +999 -928
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +244 -220
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +259 -259
- package/dist/notifications/notifications.contract.d.ts +67 -67
- package/dist/outreach/__tests__/outreach-claim.test.js +33 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +8 -0
- package/dist/outreach/outreach.contract.d.ts +583 -162
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +50 -1
- package/dist/outreach/relay-hub-outreach.contract.d.ts +299 -121
- package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -1
- package/dist/outreach/relay-hub-outreach.contract.js +10 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.js +26 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts +94 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.schemas.js +15 -0
- package/dist/own-research/check-phone-response.spec.d.ts +2 -0
- package/dist/own-research/check-phone-response.spec.d.ts.map +1 -0
- package/dist/own-research/check-phone-response.spec.js +54 -0
- package/dist/own-research/own-research.contract.d.ts +801 -716
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +6 -1
- package/dist/user-access-grants/user-access-grants.contract.d.ts +179 -179
- package/dist/users/users.contract.d.ts +227 -198
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +9 -1
- package/dist/users/users.contract.spec.js +39 -0
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +124 -124
- package/dist/workers/workers.contract.d.ts +2761 -2717
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +12 -0
- package/package.json +1 -1
package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts
CHANGED
|
@@ -6,12 +6,12 @@ export declare const ResolveWorkerSourceIdentityConflictResponseSchema: z.ZodObj
|
|
|
6
6
|
status: z.ZodEnum<["OPEN", "RESOLVED", "INVALIDATED", "EXPIRED"]>;
|
|
7
7
|
reviewUrl: z.ZodString;
|
|
8
8
|
}, "strict", z.ZodTypeAny, {
|
|
9
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
10
9
|
id: string;
|
|
10
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
11
11
|
reviewUrl: string;
|
|
12
12
|
}, {
|
|
13
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
14
13
|
id: string;
|
|
14
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
15
15
|
reviewUrl: string;
|
|
16
16
|
}>;
|
|
17
17
|
challenge: z.ZodObject<{
|
|
@@ -39,26 +39,26 @@ export declare const ResolveWorkerSourceIdentityConflictResponseSchema: z.ZodObj
|
|
|
39
39
|
outcome: z.ZodString;
|
|
40
40
|
qualifyingContactCount: z.ZodNumber;
|
|
41
41
|
}, "strict", z.ZodTypeAny, {
|
|
42
|
-
channel: "
|
|
42
|
+
channel: "WHATSAPP" | "PHONE";
|
|
43
43
|
contactedAt: string;
|
|
44
44
|
outcome: string;
|
|
45
|
-
phoneMasked: string;
|
|
46
45
|
curatedWorker: {
|
|
47
46
|
id: string;
|
|
48
47
|
lastName: string | null;
|
|
49
48
|
firstName: string;
|
|
50
49
|
};
|
|
50
|
+
phoneMasked: string;
|
|
51
51
|
qualifyingContactCount: number;
|
|
52
52
|
}, {
|
|
53
|
-
channel: "
|
|
53
|
+
channel: "WHATSAPP" | "PHONE";
|
|
54
54
|
contactedAt: string;
|
|
55
55
|
outcome: string;
|
|
56
|
-
phoneMasked: string;
|
|
57
56
|
curatedWorker: {
|
|
58
57
|
id: string;
|
|
59
58
|
lastName: string | null;
|
|
60
59
|
firstName: string;
|
|
61
60
|
};
|
|
61
|
+
phoneMasked: string;
|
|
62
62
|
qualifyingContactCount: number;
|
|
63
63
|
}>;
|
|
64
64
|
expiresAt: z.ZodString;
|
|
@@ -77,48 +77,48 @@ export declare const ResolveWorkerSourceIdentityConflictResponseSchema: z.ZodObj
|
|
|
77
77
|
excludedPhoneMasks: string[];
|
|
78
78
|
}>>>;
|
|
79
79
|
}, "strict", z.ZodTypeAny, {
|
|
80
|
-
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
81
|
-
id: string;
|
|
82
80
|
createdAt: string;
|
|
81
|
+
id: string;
|
|
82
|
+
status: "PENDING" | "RESOLVED_YES" | "RESOLVED_NO" | "INVALIDATED";
|
|
83
83
|
match: {
|
|
84
|
-
channel: "
|
|
84
|
+
channel: "WHATSAPP" | "PHONE";
|
|
85
85
|
contactedAt: string;
|
|
86
86
|
outcome: string;
|
|
87
|
-
phoneMasked: string;
|
|
88
87
|
curatedWorker: {
|
|
89
88
|
id: string;
|
|
90
89
|
lastName: string | null;
|
|
91
90
|
firstName: string;
|
|
92
91
|
};
|
|
92
|
+
phoneMasked: string;
|
|
93
93
|
qualifyingContactCount: number;
|
|
94
94
|
};
|
|
95
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
96
|
-
submittedWorkerName: string;
|
|
97
95
|
expiresAt: string;
|
|
96
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
97
|
+
submittedWorkerName: string;
|
|
98
98
|
identityReviewAdjustment?: {
|
|
99
99
|
caseId: string;
|
|
100
100
|
retainedPhoneMasks: string[];
|
|
101
101
|
excludedPhoneMasks: string[];
|
|
102
102
|
} | null | undefined;
|
|
103
103
|
}, {
|
|
104
|
-
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
105
|
-
id: string;
|
|
106
104
|
createdAt: string;
|
|
105
|
+
id: string;
|
|
106
|
+
status: "PENDING" | "RESOLVED_YES" | "RESOLVED_NO" | "INVALIDATED";
|
|
107
107
|
match: {
|
|
108
|
-
channel: "
|
|
108
|
+
channel: "WHATSAPP" | "PHONE";
|
|
109
109
|
contactedAt: string;
|
|
110
110
|
outcome: string;
|
|
111
|
-
phoneMasked: string;
|
|
112
111
|
curatedWorker: {
|
|
113
112
|
id: string;
|
|
114
113
|
lastName: string | null;
|
|
115
114
|
firstName: string;
|
|
116
115
|
};
|
|
116
|
+
phoneMasked: string;
|
|
117
117
|
qualifyingContactCount: number;
|
|
118
118
|
};
|
|
119
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
120
|
-
submittedWorkerName: string;
|
|
121
119
|
expiresAt: string;
|
|
120
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
121
|
+
submittedWorkerName: string;
|
|
122
122
|
identityReviewAdjustment?: {
|
|
123
123
|
caseId: string;
|
|
124
124
|
retainedPhoneMasks: string[];
|
|
@@ -131,29 +131,29 @@ export declare const ResolveWorkerSourceIdentityConflictResponseSchema: z.ZodObj
|
|
|
131
131
|
retainedPhoneMasks: string[];
|
|
132
132
|
excludedPhoneMasks: string[];
|
|
133
133
|
identityConflict: {
|
|
134
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
135
134
|
id: string;
|
|
135
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
136
136
|
reviewUrl: string;
|
|
137
137
|
};
|
|
138
138
|
challenge: {
|
|
139
|
-
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
140
|
-
id: string;
|
|
141
139
|
createdAt: string;
|
|
140
|
+
id: string;
|
|
141
|
+
status: "PENDING" | "RESOLVED_YES" | "RESOLVED_NO" | "INVALIDATED";
|
|
142
142
|
match: {
|
|
143
|
-
channel: "
|
|
143
|
+
channel: "WHATSAPP" | "PHONE";
|
|
144
144
|
contactedAt: string;
|
|
145
145
|
outcome: string;
|
|
146
|
-
phoneMasked: string;
|
|
147
146
|
curatedWorker: {
|
|
148
147
|
id: string;
|
|
149
148
|
lastName: string | null;
|
|
150
149
|
firstName: string;
|
|
151
150
|
};
|
|
151
|
+
phoneMasked: string;
|
|
152
152
|
qualifyingContactCount: number;
|
|
153
153
|
};
|
|
154
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
155
|
-
submittedWorkerName: string;
|
|
156
154
|
expiresAt: string;
|
|
155
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
156
|
+
submittedWorkerName: string;
|
|
157
157
|
identityReviewAdjustment?: {
|
|
158
158
|
caseId: string;
|
|
159
159
|
retainedPhoneMasks: string[];
|
|
@@ -164,29 +164,29 @@ export declare const ResolveWorkerSourceIdentityConflictResponseSchema: z.ZodObj
|
|
|
164
164
|
retainedPhoneMasks: string[];
|
|
165
165
|
excludedPhoneMasks: string[];
|
|
166
166
|
identityConflict: {
|
|
167
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
168
167
|
id: string;
|
|
168
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
169
169
|
reviewUrl: string;
|
|
170
170
|
};
|
|
171
171
|
challenge: {
|
|
172
|
-
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
173
|
-
id: string;
|
|
174
172
|
createdAt: string;
|
|
173
|
+
id: string;
|
|
174
|
+
status: "PENDING" | "RESOLVED_YES" | "RESOLVED_NO" | "INVALIDATED";
|
|
175
175
|
match: {
|
|
176
|
-
channel: "
|
|
176
|
+
channel: "WHATSAPP" | "PHONE";
|
|
177
177
|
contactedAt: string;
|
|
178
178
|
outcome: string;
|
|
179
|
-
phoneMasked: string;
|
|
180
179
|
curatedWorker: {
|
|
181
180
|
id: string;
|
|
182
181
|
lastName: string | null;
|
|
183
182
|
firstName: string;
|
|
184
183
|
};
|
|
184
|
+
phoneMasked: string;
|
|
185
185
|
qualifyingContactCount: number;
|
|
186
186
|
};
|
|
187
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
188
|
-
submittedWorkerName: string;
|
|
189
187
|
expiresAt: string;
|
|
188
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
189
|
+
submittedWorkerName: string;
|
|
190
190
|
identityReviewAdjustment?: {
|
|
191
191
|
caseId: string;
|
|
192
192
|
retainedPhoneMasks: string[];
|
|
@@ -197,6 +197,12 @@ export declare const ResolveWorkerSourceIdentityConflictResponseSchema: z.ZodObj
|
|
|
197
197
|
export type ResolveWorkerSourceIdentityConflictResponse = z.infer<typeof ResolveWorkerSourceIdentityConflictResponseSchema>;
|
|
198
198
|
export declare const workerSourceIdentityConflictsContract: {
|
|
199
199
|
list: {
|
|
200
|
+
metadata: {
|
|
201
|
+
tags: string[];
|
|
202
|
+
openApi: {
|
|
203
|
+
operationId: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
200
206
|
query: z.ZodObject<{
|
|
201
207
|
page: z.ZodDefault<z.ZodNumber>;
|
|
202
208
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -205,26 +211,20 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
205
211
|
contextId: z.ZodOptional<z.ZodString>;
|
|
206
212
|
search: z.ZodOptional<z.ZodString>;
|
|
207
213
|
}, "strict", z.ZodTypeAny, {
|
|
208
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
209
214
|
page: number;
|
|
210
215
|
limit: number;
|
|
216
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
211
217
|
search?: string | undefined;
|
|
212
|
-
context?: "
|
|
218
|
+
context?: "IMPORT" | "SINGLE" | "BATCH" | undefined;
|
|
213
219
|
contextId?: string | undefined;
|
|
214
220
|
}, {
|
|
215
|
-
status?: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED" | undefined;
|
|
216
221
|
page?: number | undefined;
|
|
217
222
|
limit?: number | undefined;
|
|
223
|
+
status?: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED" | undefined;
|
|
218
224
|
search?: string | undefined;
|
|
219
|
-
context?: "
|
|
225
|
+
context?: "IMPORT" | "SINGLE" | "BATCH" | undefined;
|
|
220
226
|
contextId?: string | undefined;
|
|
221
227
|
}>;
|
|
222
|
-
metadata: {
|
|
223
|
-
tags: string[];
|
|
224
|
-
openApi: {
|
|
225
|
-
operationId: string;
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
228
|
summary: "List worker source identity conflicts for review";
|
|
229
229
|
method: "GET";
|
|
230
230
|
path: "/v2/workers/source-identity-conflicts";
|
|
@@ -254,7 +254,7 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
254
254
|
details?: unknown;
|
|
255
255
|
correlationId?: string | undefined;
|
|
256
256
|
}>;
|
|
257
|
-
|
|
257
|
+
403: z.ZodObject<{
|
|
258
258
|
statusCode: z.ZodNumber;
|
|
259
259
|
message: z.ZodString;
|
|
260
260
|
code: z.ZodString;
|
|
@@ -279,7 +279,7 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
279
279
|
details?: unknown;
|
|
280
280
|
correlationId?: string | undefined;
|
|
281
281
|
}>;
|
|
282
|
-
|
|
282
|
+
401: z.ZodObject<{
|
|
283
283
|
statusCode: z.ZodNumber;
|
|
284
284
|
message: z.ZodString;
|
|
285
285
|
code: z.ZodString;
|
|
@@ -347,34 +347,34 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
347
347
|
reviewedAt: z.ZodNullable<z.ZodString>;
|
|
348
348
|
terminalAt: z.ZodNullable<z.ZodString>;
|
|
349
349
|
}, "strict", z.ZodTypeAny, {
|
|
350
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
351
|
-
id: string;
|
|
352
350
|
createdAt: string;
|
|
351
|
+
id: string;
|
|
352
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
353
|
+
expiresAt: string;
|
|
354
|
+
reviewedAt: string | null;
|
|
355
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
356
|
+
submittedWorkerName: string;
|
|
353
357
|
reviewUrl: string;
|
|
354
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
355
358
|
contextId: string | null;
|
|
356
359
|
rowNumber: number | null;
|
|
357
|
-
submittedWorkerName: string;
|
|
358
360
|
submittedPhoneMasks: string[];
|
|
359
361
|
candidateCuratedWorkerIds: string[];
|
|
360
362
|
selectedCuratedWorkerId: string | null;
|
|
361
|
-
expiresAt: string;
|
|
362
|
-
reviewedAt: string | null;
|
|
363
363
|
terminalAt: string | null;
|
|
364
364
|
}, {
|
|
365
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
366
|
-
id: string;
|
|
367
365
|
createdAt: string;
|
|
366
|
+
id: string;
|
|
367
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
368
|
+
expiresAt: string;
|
|
369
|
+
reviewedAt: string | null;
|
|
370
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
371
|
+
submittedWorkerName: string;
|
|
368
372
|
reviewUrl: string;
|
|
369
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
370
373
|
contextId: string | null;
|
|
371
374
|
rowNumber: number | null;
|
|
372
|
-
submittedWorkerName: string;
|
|
373
375
|
submittedPhoneMasks: string[];
|
|
374
376
|
candidateCuratedWorkerIds: string[];
|
|
375
377
|
selectedCuratedWorkerId: string | null;
|
|
376
|
-
expiresAt: string;
|
|
377
|
-
reviewedAt: string | null;
|
|
378
378
|
terminalAt: string | null;
|
|
379
379
|
}>, "many">;
|
|
380
380
|
totalCount: z.ZodNumber;
|
|
@@ -387,19 +387,19 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
387
387
|
totalCount: number;
|
|
388
388
|
totalPages: number;
|
|
389
389
|
cases: {
|
|
390
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
391
|
-
id: string;
|
|
392
390
|
createdAt: string;
|
|
391
|
+
id: string;
|
|
392
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
393
|
+
expiresAt: string;
|
|
394
|
+
reviewedAt: string | null;
|
|
395
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
396
|
+
submittedWorkerName: string;
|
|
393
397
|
reviewUrl: string;
|
|
394
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
395
398
|
contextId: string | null;
|
|
396
399
|
rowNumber: number | null;
|
|
397
|
-
submittedWorkerName: string;
|
|
398
400
|
submittedPhoneMasks: string[];
|
|
399
401
|
candidateCuratedWorkerIds: string[];
|
|
400
402
|
selectedCuratedWorkerId: string | null;
|
|
401
|
-
expiresAt: string;
|
|
402
|
-
reviewedAt: string | null;
|
|
403
403
|
terminalAt: string | null;
|
|
404
404
|
}[];
|
|
405
405
|
}, {
|
|
@@ -408,19 +408,19 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
408
408
|
totalCount: number;
|
|
409
409
|
totalPages: number;
|
|
410
410
|
cases: {
|
|
411
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
412
|
-
id: string;
|
|
413
411
|
createdAt: string;
|
|
412
|
+
id: string;
|
|
413
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
414
|
+
expiresAt: string;
|
|
415
|
+
reviewedAt: string | null;
|
|
416
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
417
|
+
submittedWorkerName: string;
|
|
414
418
|
reviewUrl: string;
|
|
415
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
416
419
|
contextId: string | null;
|
|
417
420
|
rowNumber: number | null;
|
|
418
|
-
submittedWorkerName: string;
|
|
419
421
|
submittedPhoneMasks: string[];
|
|
420
422
|
candidateCuratedWorkerIds: string[];
|
|
421
423
|
selectedCuratedWorkerId: string | null;
|
|
422
|
-
expiresAt: string;
|
|
423
|
-
reviewedAt: string | null;
|
|
424
424
|
terminalAt: string | null;
|
|
425
425
|
}[];
|
|
426
426
|
}>;
|
|
@@ -469,7 +469,7 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
469
469
|
details?: unknown;
|
|
470
470
|
correlationId?: string | undefined;
|
|
471
471
|
}>;
|
|
472
|
-
|
|
472
|
+
403: z.ZodObject<{
|
|
473
473
|
statusCode: z.ZodNumber;
|
|
474
474
|
message: z.ZodString;
|
|
475
475
|
code: z.ZodString;
|
|
@@ -494,7 +494,7 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
494
494
|
details?: unknown;
|
|
495
495
|
correlationId?: string | undefined;
|
|
496
496
|
}>;
|
|
497
|
-
|
|
497
|
+
401: z.ZodObject<{
|
|
498
498
|
statusCode: z.ZodNumber;
|
|
499
499
|
message: z.ZodString;
|
|
500
500
|
code: z.ZodString;
|
|
@@ -584,29 +584,29 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
584
584
|
contactEventIds: z.ZodArray<z.ZodString, "many">;
|
|
585
585
|
callIds: z.ZodArray<z.ZodString, "many">;
|
|
586
586
|
}, "strict", z.ZodTypeAny, {
|
|
587
|
-
channel: "
|
|
587
|
+
channel: "WHATSAPP" | "PHONE";
|
|
588
588
|
contactedAt: string;
|
|
589
589
|
outcome: string;
|
|
590
|
-
phoneMasked: string;
|
|
591
590
|
curatedWorker: {
|
|
592
591
|
id: string;
|
|
593
592
|
lastName: string | null;
|
|
594
593
|
firstName: string;
|
|
595
594
|
};
|
|
595
|
+
phoneMasked: string;
|
|
596
596
|
qualifyingContactCount: number;
|
|
597
597
|
revealIds: string[];
|
|
598
598
|
contactEventIds: string[];
|
|
599
599
|
callIds: string[];
|
|
600
600
|
}, {
|
|
601
|
-
channel: "
|
|
601
|
+
channel: "WHATSAPP" | "PHONE";
|
|
602
602
|
contactedAt: string;
|
|
603
603
|
outcome: string;
|
|
604
|
-
phoneMasked: string;
|
|
605
604
|
curatedWorker: {
|
|
606
605
|
id: string;
|
|
607
606
|
lastName: string | null;
|
|
608
607
|
firstName: string;
|
|
609
608
|
};
|
|
609
|
+
phoneMasked: string;
|
|
610
610
|
qualifyingContactCount: number;
|
|
611
611
|
revealIds: string[];
|
|
612
612
|
contactEventIds: string[];
|
|
@@ -615,64 +615,64 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
615
615
|
retainedPhoneMasks: z.ZodArray<z.ZodString, "many">;
|
|
616
616
|
excludedPhoneMasks: z.ZodArray<z.ZodString, "many">;
|
|
617
617
|
}, "strict", z.ZodTypeAny, {
|
|
618
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
619
|
-
id: string;
|
|
620
618
|
createdAt: string;
|
|
619
|
+
id: string;
|
|
620
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
621
|
+
expiresAt: string;
|
|
622
|
+
reviewedAt: string | null;
|
|
623
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
624
|
+
submittedWorkerName: string;
|
|
621
625
|
retainedPhoneMasks: string[];
|
|
622
626
|
excludedPhoneMasks: string[];
|
|
623
627
|
reviewUrl: string;
|
|
624
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
625
628
|
contextId: string | null;
|
|
626
629
|
rowNumber: number | null;
|
|
627
|
-
submittedWorkerName: string;
|
|
628
630
|
submittedPhoneMasks: string[];
|
|
629
631
|
candidateCuratedWorkerIds: string[];
|
|
630
632
|
selectedCuratedWorkerId: string | null;
|
|
631
|
-
expiresAt: string;
|
|
632
|
-
reviewedAt: string | null;
|
|
633
633
|
terminalAt: string | null;
|
|
634
634
|
candidateEvidence: {
|
|
635
|
-
channel: "
|
|
635
|
+
channel: "WHATSAPP" | "PHONE";
|
|
636
636
|
contactedAt: string;
|
|
637
637
|
outcome: string;
|
|
638
|
-
phoneMasked: string;
|
|
639
638
|
curatedWorker: {
|
|
640
639
|
id: string;
|
|
641
640
|
lastName: string | null;
|
|
642
641
|
firstName: string;
|
|
643
642
|
};
|
|
643
|
+
phoneMasked: string;
|
|
644
644
|
qualifyingContactCount: number;
|
|
645
645
|
revealIds: string[];
|
|
646
646
|
contactEventIds: string[];
|
|
647
647
|
callIds: string[];
|
|
648
648
|
}[];
|
|
649
649
|
}, {
|
|
650
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
651
|
-
id: string;
|
|
652
650
|
createdAt: string;
|
|
651
|
+
id: string;
|
|
652
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
653
|
+
expiresAt: string;
|
|
654
|
+
reviewedAt: string | null;
|
|
655
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
656
|
+
submittedWorkerName: string;
|
|
653
657
|
retainedPhoneMasks: string[];
|
|
654
658
|
excludedPhoneMasks: string[];
|
|
655
659
|
reviewUrl: string;
|
|
656
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
657
660
|
contextId: string | null;
|
|
658
661
|
rowNumber: number | null;
|
|
659
|
-
submittedWorkerName: string;
|
|
660
662
|
submittedPhoneMasks: string[];
|
|
661
663
|
candidateCuratedWorkerIds: string[];
|
|
662
664
|
selectedCuratedWorkerId: string | null;
|
|
663
|
-
expiresAt: string;
|
|
664
|
-
reviewedAt: string | null;
|
|
665
665
|
terminalAt: string | null;
|
|
666
666
|
candidateEvidence: {
|
|
667
|
-
channel: "
|
|
667
|
+
channel: "WHATSAPP" | "PHONE";
|
|
668
668
|
contactedAt: string;
|
|
669
669
|
outcome: string;
|
|
670
|
-
phoneMasked: string;
|
|
671
670
|
curatedWorker: {
|
|
672
671
|
id: string;
|
|
673
672
|
lastName: string | null;
|
|
674
673
|
firstName: string;
|
|
675
674
|
};
|
|
675
|
+
phoneMasked: string;
|
|
676
676
|
qualifyingContactCount: number;
|
|
677
677
|
revealIds: string[];
|
|
678
678
|
contactEventIds: string[];
|
|
@@ -756,7 +756,7 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
756
756
|
details?: unknown;
|
|
757
757
|
correlationId?: string | undefined;
|
|
758
758
|
}>;
|
|
759
|
-
|
|
759
|
+
403: z.ZodObject<{
|
|
760
760
|
statusCode: z.ZodNumber;
|
|
761
761
|
message: z.ZodString;
|
|
762
762
|
code: z.ZodString;
|
|
@@ -781,7 +781,7 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
781
781
|
details?: unknown;
|
|
782
782
|
correlationId?: string | undefined;
|
|
783
783
|
}>;
|
|
784
|
-
|
|
784
|
+
401: z.ZodObject<{
|
|
785
785
|
statusCode: z.ZodNumber;
|
|
786
786
|
message: z.ZodString;
|
|
787
787
|
code: z.ZodString;
|
|
@@ -837,12 +837,12 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
837
837
|
status: z.ZodEnum<["OPEN", "RESOLVED", "INVALIDATED", "EXPIRED"]>;
|
|
838
838
|
reviewUrl: z.ZodString;
|
|
839
839
|
}, "strict", z.ZodTypeAny, {
|
|
840
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
841
840
|
id: string;
|
|
841
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
842
842
|
reviewUrl: string;
|
|
843
843
|
}, {
|
|
844
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
845
844
|
id: string;
|
|
845
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
846
846
|
reviewUrl: string;
|
|
847
847
|
}>;
|
|
848
848
|
challenge: z.ZodObject<{
|
|
@@ -870,26 +870,26 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
870
870
|
outcome: z.ZodString;
|
|
871
871
|
qualifyingContactCount: z.ZodNumber;
|
|
872
872
|
}, "strict", z.ZodTypeAny, {
|
|
873
|
-
channel: "
|
|
873
|
+
channel: "WHATSAPP" | "PHONE";
|
|
874
874
|
contactedAt: string;
|
|
875
875
|
outcome: string;
|
|
876
|
-
phoneMasked: string;
|
|
877
876
|
curatedWorker: {
|
|
878
877
|
id: string;
|
|
879
878
|
lastName: string | null;
|
|
880
879
|
firstName: string;
|
|
881
880
|
};
|
|
881
|
+
phoneMasked: string;
|
|
882
882
|
qualifyingContactCount: number;
|
|
883
883
|
}, {
|
|
884
|
-
channel: "
|
|
884
|
+
channel: "WHATSAPP" | "PHONE";
|
|
885
885
|
contactedAt: string;
|
|
886
886
|
outcome: string;
|
|
887
|
-
phoneMasked: string;
|
|
888
887
|
curatedWorker: {
|
|
889
888
|
id: string;
|
|
890
889
|
lastName: string | null;
|
|
891
890
|
firstName: string;
|
|
892
891
|
};
|
|
892
|
+
phoneMasked: string;
|
|
893
893
|
qualifyingContactCount: number;
|
|
894
894
|
}>;
|
|
895
895
|
expiresAt: z.ZodString;
|
|
@@ -908,48 +908,48 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
908
908
|
excludedPhoneMasks: string[];
|
|
909
909
|
}>>>;
|
|
910
910
|
}, "strict", z.ZodTypeAny, {
|
|
911
|
-
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
912
|
-
id: string;
|
|
913
911
|
createdAt: string;
|
|
912
|
+
id: string;
|
|
913
|
+
status: "PENDING" | "RESOLVED_YES" | "RESOLVED_NO" | "INVALIDATED";
|
|
914
914
|
match: {
|
|
915
|
-
channel: "
|
|
915
|
+
channel: "WHATSAPP" | "PHONE";
|
|
916
916
|
contactedAt: string;
|
|
917
917
|
outcome: string;
|
|
918
|
-
phoneMasked: string;
|
|
919
918
|
curatedWorker: {
|
|
920
919
|
id: string;
|
|
921
920
|
lastName: string | null;
|
|
922
921
|
firstName: string;
|
|
923
922
|
};
|
|
923
|
+
phoneMasked: string;
|
|
924
924
|
qualifyingContactCount: number;
|
|
925
925
|
};
|
|
926
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
927
|
-
submittedWorkerName: string;
|
|
928
926
|
expiresAt: string;
|
|
927
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
928
|
+
submittedWorkerName: string;
|
|
929
929
|
identityReviewAdjustment?: {
|
|
930
930
|
caseId: string;
|
|
931
931
|
retainedPhoneMasks: string[];
|
|
932
932
|
excludedPhoneMasks: string[];
|
|
933
933
|
} | null | undefined;
|
|
934
934
|
}, {
|
|
935
|
-
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
936
|
-
id: string;
|
|
937
935
|
createdAt: string;
|
|
936
|
+
id: string;
|
|
937
|
+
status: "PENDING" | "RESOLVED_YES" | "RESOLVED_NO" | "INVALIDATED";
|
|
938
938
|
match: {
|
|
939
|
-
channel: "
|
|
939
|
+
channel: "WHATSAPP" | "PHONE";
|
|
940
940
|
contactedAt: string;
|
|
941
941
|
outcome: string;
|
|
942
|
-
phoneMasked: string;
|
|
943
942
|
curatedWorker: {
|
|
944
943
|
id: string;
|
|
945
944
|
lastName: string | null;
|
|
946
945
|
firstName: string;
|
|
947
946
|
};
|
|
947
|
+
phoneMasked: string;
|
|
948
948
|
qualifyingContactCount: number;
|
|
949
949
|
};
|
|
950
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
951
|
-
submittedWorkerName: string;
|
|
952
950
|
expiresAt: string;
|
|
951
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
952
|
+
submittedWorkerName: string;
|
|
953
953
|
identityReviewAdjustment?: {
|
|
954
954
|
caseId: string;
|
|
955
955
|
retainedPhoneMasks: string[];
|
|
@@ -962,29 +962,29 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
962
962
|
retainedPhoneMasks: string[];
|
|
963
963
|
excludedPhoneMasks: string[];
|
|
964
964
|
identityConflict: {
|
|
965
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
966
965
|
id: string;
|
|
966
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
967
967
|
reviewUrl: string;
|
|
968
968
|
};
|
|
969
969
|
challenge: {
|
|
970
|
-
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
971
|
-
id: string;
|
|
972
970
|
createdAt: string;
|
|
971
|
+
id: string;
|
|
972
|
+
status: "PENDING" | "RESOLVED_YES" | "RESOLVED_NO" | "INVALIDATED";
|
|
973
973
|
match: {
|
|
974
|
-
channel: "
|
|
974
|
+
channel: "WHATSAPP" | "PHONE";
|
|
975
975
|
contactedAt: string;
|
|
976
976
|
outcome: string;
|
|
977
|
-
phoneMasked: string;
|
|
978
977
|
curatedWorker: {
|
|
979
978
|
id: string;
|
|
980
979
|
lastName: string | null;
|
|
981
980
|
firstName: string;
|
|
982
981
|
};
|
|
982
|
+
phoneMasked: string;
|
|
983
983
|
qualifyingContactCount: number;
|
|
984
984
|
};
|
|
985
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
986
|
-
submittedWorkerName: string;
|
|
987
985
|
expiresAt: string;
|
|
986
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
987
|
+
submittedWorkerName: string;
|
|
988
988
|
identityReviewAdjustment?: {
|
|
989
989
|
caseId: string;
|
|
990
990
|
retainedPhoneMasks: string[];
|
|
@@ -995,29 +995,29 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
995
995
|
retainedPhoneMasks: string[];
|
|
996
996
|
excludedPhoneMasks: string[];
|
|
997
997
|
identityConflict: {
|
|
998
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
999
998
|
id: string;
|
|
999
|
+
status: "EXPIRED" | "OPEN" | "INVALIDATED" | "RESOLVED";
|
|
1000
1000
|
reviewUrl: string;
|
|
1001
1001
|
};
|
|
1002
1002
|
challenge: {
|
|
1003
|
-
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
1004
|
-
id: string;
|
|
1005
1003
|
createdAt: string;
|
|
1004
|
+
id: string;
|
|
1005
|
+
status: "PENDING" | "RESOLVED_YES" | "RESOLVED_NO" | "INVALIDATED";
|
|
1006
1006
|
match: {
|
|
1007
|
-
channel: "
|
|
1007
|
+
channel: "WHATSAPP" | "PHONE";
|
|
1008
1008
|
contactedAt: string;
|
|
1009
1009
|
outcome: string;
|
|
1010
|
-
phoneMasked: string;
|
|
1011
1010
|
curatedWorker: {
|
|
1012
1011
|
id: string;
|
|
1013
1012
|
lastName: string | null;
|
|
1014
1013
|
firstName: string;
|
|
1015
1014
|
};
|
|
1015
|
+
phoneMasked: string;
|
|
1016
1016
|
qualifyingContactCount: number;
|
|
1017
1017
|
};
|
|
1018
|
-
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
1019
|
-
submittedWorkerName: string;
|
|
1020
1018
|
expiresAt: string;
|
|
1019
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
1020
|
+
submittedWorkerName: string;
|
|
1021
1021
|
identityReviewAdjustment?: {
|
|
1022
1022
|
caseId: string;
|
|
1023
1023
|
retainedPhoneMasks: string[];
|