@dakkitor/api-contracts 1.8.0 → 1.9.2
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 +28 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +32 -1
- package/dist/abilities/abilities.contract.spec.js +63 -3
- package/dist/abilities/admin-dashboard.abilities.test.js +1 -0
- package/dist/abilities/automatic-caller.abilities.json +1 -0
- package/dist/abilities/first-agent.abilities.json +14 -0
- package/dist/abilities/interconnection.abilities.json +17 -1
- package/dist/abilities/office-manager.abilities.json +4 -0
- package/dist/abilities/second-agent.abilities.json +48 -1
- package/dist/abilities/worker-curator.abilities.json +17 -1
- package/dist/actives/actives.contract.d.ts +6959 -6547
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1275 -1173
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +102 -102
- package/dist/bookings/backdate-guard.spec.js +24 -32
- package/dist/bookings/bookings.contract.d.ts +9963 -9305
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +2 -16
- package/dist/call-history/call-history.contract.d.ts +1040 -828
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +138 -98
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +18372 -0
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.js +494 -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 +357 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts +10 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.js +33 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +622 -622
- package/dist/clients/clients.contract.d.ts +289 -289
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3108 -3004
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +2604 -2507
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/common/callback-slots.d.ts +4 -0
- package/dist/common/callback-slots.d.ts.map +1 -0
- package/dist/common/callback-slots.js +20 -0
- package/dist/common/common-schemas.d.ts +10 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +6 -0
- package/dist/companies/companies.contract.d.ts +120 -120
- package/dist/crews/crews.contract.d.ts +278 -278
- package/dist/cron-executions/cron-executions.contract.d.ts +245 -245
- 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 +3830 -2354
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +73 -7
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +94 -94
- package/dist/curated-worker-leads/contact-history.spec.js +141 -0
- package/dist/curated-worker-leads/job-candidate-cards.spec.js +19 -0
- package/dist/curated-worker-leads/job-candidates.spec.js +179 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +8185 -2106
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +126 -1
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +110 -110
- package/dist/curated-workers/curated-workers.contract.d.ts +2033 -1951
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.js +160 -0
- package/dist/dashboards/dashboard-widgets.contract.d.ts +1027 -284
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +46 -1
- package/dist/dashboards/dashboard.contract.d.ts +8 -8
- package/dist/document-intake/document-intake.contract.d.ts +1145 -1145
- package/dist/export-jobs/export-jobs.contract.d.ts +755 -755
- package/dist/exports-events/exports-events.schemas.d.ts +6 -6
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/jobs/jobs.contract.d.ts +8507 -6044
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +95 -2
- package/dist/jobs/jobs.contract.spec.js +231 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +102 -102
- package/dist/lead-assignments/lead-assignments.contract.d.ts +2985 -1139
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.js +102 -2
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts +2 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts.map +1 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.js +51 -0
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +341 -317
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +282 -282
- package/dist/locations/location-enrichment.contract.spec.d.ts +2 -0
- package/dist/locations/location-enrichment.contract.spec.d.ts.map +1 -0
- package/dist/locations/location-enrichment.contract.spec.js +50 -0
- package/dist/locations/locations.contract.d.ts +132 -98
- package/dist/locations/locations.contract.d.ts.map +1 -1
- package/dist/locations/locations.contract.js +10 -0
- package/dist/notifications/notifications.contract.d.ts +579 -107
- package/dist/notifications/notifications.contract.d.ts.map +1 -1
- package/dist/notifications/notifications.contract.js +36 -2
- package/dist/notifications/notifications.contract.spec.d.ts +2 -0
- package/dist/notifications/notifications.contract.spec.d.ts.map +1 -0
- package/dist/notifications/notifications.contract.spec.js +39 -0
- 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 +971 -820
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +6 -1
- package/dist/proofs/proofs.contract.d.ts +356 -356
- package/dist/proofs/proofs.dtos.d.ts +148 -148
- package/dist/realtime/job-call-priority-updated.d.ts +18 -0
- package/dist/realtime/job-call-priority-updated.d.ts.map +1 -0
- package/dist/realtime/job-call-priority-updated.js +17 -0
- package/dist/shared/summary-schemas.d.ts +36 -27
- package/dist/shared/summary-schemas.d.ts.map +1 -1
- package/dist/shared/summary-schemas.js +7 -0
- package/dist/sheets-sync/sheets-sync.contract.d.ts +683 -683
- package/dist/user-access-grants/user-access-grants.contract.d.ts +216 -216
- package/dist/users/users.contract.d.ts +365 -336
- 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 +150 -150
- package/dist/workers/workers.contract.d.ts +4505 -4261
- 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: "OPEN" | "EXPIRED" | "INVALIDATED" | "RESOLVED";
|
|
11
11
|
reviewUrl: string;
|
|
12
12
|
}, {
|
|
13
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
14
13
|
id: string;
|
|
14
|
+
status: "OPEN" | "EXPIRED" | "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: "OPEN" | "EXPIRED" | "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: "OPEN" | "EXPIRED" | "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[];
|
|
@@ -205,18 +205,18 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
205
205
|
contextId: z.ZodOptional<z.ZodString>;
|
|
206
206
|
search: z.ZodOptional<z.ZodString>;
|
|
207
207
|
}, "strict", z.ZodTypeAny, {
|
|
208
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
209
208
|
page: number;
|
|
210
209
|
limit: number;
|
|
210
|
+
status: "OPEN" | "EXPIRED" | "INVALIDATED" | "RESOLVED";
|
|
211
211
|
search?: string | undefined;
|
|
212
|
-
context?: "
|
|
212
|
+
context?: "IMPORT" | "SINGLE" | "BATCH" | undefined;
|
|
213
213
|
contextId?: string | undefined;
|
|
214
214
|
}, {
|
|
215
|
-
status?: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED" | undefined;
|
|
216
215
|
page?: number | undefined;
|
|
217
216
|
limit?: number | undefined;
|
|
217
|
+
status?: "OPEN" | "EXPIRED" | "INVALIDATED" | "RESOLVED" | undefined;
|
|
218
218
|
search?: string | undefined;
|
|
219
|
-
context?: "
|
|
219
|
+
context?: "IMPORT" | "SINGLE" | "BATCH" | undefined;
|
|
220
220
|
contextId?: string | undefined;
|
|
221
221
|
}>;
|
|
222
222
|
metadata: {
|
|
@@ -229,7 +229,7 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
229
229
|
method: "GET";
|
|
230
230
|
path: "/v2/workers/source-identity-conflicts";
|
|
231
231
|
responses: {
|
|
232
|
-
|
|
232
|
+
401: z.ZodObject<{
|
|
233
233
|
statusCode: z.ZodNumber;
|
|
234
234
|
message: z.ZodString;
|
|
235
235
|
code: z.ZodString;
|
|
@@ -238,23 +238,23 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
238
238
|
path: z.ZodString;
|
|
239
239
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
|
-
message: string;
|
|
242
241
|
code: string;
|
|
243
242
|
path: string;
|
|
243
|
+
message: string;
|
|
244
244
|
statusCode: number;
|
|
245
245
|
timestamp: string;
|
|
246
246
|
details?: unknown;
|
|
247
247
|
correlationId?: string | undefined;
|
|
248
248
|
}, {
|
|
249
|
-
message: string;
|
|
250
249
|
code: string;
|
|
251
250
|
path: string;
|
|
251
|
+
message: string;
|
|
252
252
|
statusCode: number;
|
|
253
253
|
timestamp: string;
|
|
254
254
|
details?: unknown;
|
|
255
255
|
correlationId?: string | undefined;
|
|
256
256
|
}>;
|
|
257
|
-
|
|
257
|
+
400: z.ZodObject<{
|
|
258
258
|
statusCode: z.ZodNumber;
|
|
259
259
|
message: z.ZodString;
|
|
260
260
|
code: z.ZodString;
|
|
@@ -263,17 +263,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
263
263
|
path: z.ZodString;
|
|
264
264
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
|
266
|
-
message: string;
|
|
267
266
|
code: string;
|
|
268
267
|
path: string;
|
|
268
|
+
message: string;
|
|
269
269
|
statusCode: number;
|
|
270
270
|
timestamp: string;
|
|
271
271
|
details?: unknown;
|
|
272
272
|
correlationId?: string | undefined;
|
|
273
273
|
}, {
|
|
274
|
-
message: string;
|
|
275
274
|
code: string;
|
|
276
275
|
path: string;
|
|
276
|
+
message: string;
|
|
277
277
|
statusCode: number;
|
|
278
278
|
timestamp: string;
|
|
279
279
|
details?: unknown;
|
|
@@ -288,17 +288,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
288
288
|
path: z.ZodString;
|
|
289
289
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
290
290
|
}, "strip", z.ZodTypeAny, {
|
|
291
|
-
message: string;
|
|
292
291
|
code: string;
|
|
293
292
|
path: string;
|
|
293
|
+
message: string;
|
|
294
294
|
statusCode: number;
|
|
295
295
|
timestamp: string;
|
|
296
296
|
details?: unknown;
|
|
297
297
|
correlationId?: string | undefined;
|
|
298
298
|
}, {
|
|
299
|
-
message: string;
|
|
300
299
|
code: string;
|
|
301
300
|
path: string;
|
|
301
|
+
message: string;
|
|
302
302
|
statusCode: number;
|
|
303
303
|
timestamp: string;
|
|
304
304
|
details?: unknown;
|
|
@@ -313,17 +313,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
313
313
|
path: z.ZodString;
|
|
314
314
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
-
message: string;
|
|
317
316
|
code: string;
|
|
318
317
|
path: string;
|
|
318
|
+
message: string;
|
|
319
319
|
statusCode: number;
|
|
320
320
|
timestamp: string;
|
|
321
321
|
details?: unknown;
|
|
322
322
|
correlationId?: string | undefined;
|
|
323
323
|
}, {
|
|
324
|
-
message: string;
|
|
325
324
|
code: string;
|
|
326
325
|
path: string;
|
|
326
|
+
message: string;
|
|
327
327
|
statusCode: number;
|
|
328
328
|
timestamp: string;
|
|
329
329
|
details?: unknown;
|
|
@@ -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: "OPEN" | "EXPIRED" | "INVALIDATED" | "RESOLVED";
|
|
353
|
+
expiresAt: string;
|
|
354
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
355
|
+
reviewedAt: string | null;
|
|
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: "OPEN" | "EXPIRED" | "INVALIDATED" | "RESOLVED";
|
|
368
|
+
expiresAt: string;
|
|
369
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
370
|
+
reviewedAt: string | null;
|
|
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: "OPEN" | "EXPIRED" | "INVALIDATED" | "RESOLVED";
|
|
393
|
+
expiresAt: string;
|
|
394
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
395
|
+
reviewedAt: string | null;
|
|
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: "OPEN" | "EXPIRED" | "INVALIDATED" | "RESOLVED";
|
|
414
|
+
expiresAt: string;
|
|
415
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
416
|
+
reviewedAt: string | null;
|
|
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
|
}>;
|
|
@@ -444,7 +444,7 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
444
444
|
method: "GET";
|
|
445
445
|
path: "/v2/workers/source-identity-conflicts/:id";
|
|
446
446
|
responses: {
|
|
447
|
-
|
|
447
|
+
401: z.ZodObject<{
|
|
448
448
|
statusCode: z.ZodNumber;
|
|
449
449
|
message: z.ZodString;
|
|
450
450
|
code: z.ZodString;
|
|
@@ -453,23 +453,23 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
453
453
|
path: z.ZodString;
|
|
454
454
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
455
455
|
}, "strip", z.ZodTypeAny, {
|
|
456
|
-
message: string;
|
|
457
456
|
code: string;
|
|
458
457
|
path: string;
|
|
458
|
+
message: string;
|
|
459
459
|
statusCode: number;
|
|
460
460
|
timestamp: string;
|
|
461
461
|
details?: unknown;
|
|
462
462
|
correlationId?: string | undefined;
|
|
463
463
|
}, {
|
|
464
|
-
message: string;
|
|
465
464
|
code: string;
|
|
466
465
|
path: string;
|
|
466
|
+
message: string;
|
|
467
467
|
statusCode: number;
|
|
468
468
|
timestamp: string;
|
|
469
469
|
details?: unknown;
|
|
470
470
|
correlationId?: string | undefined;
|
|
471
471
|
}>;
|
|
472
|
-
|
|
472
|
+
400: z.ZodObject<{
|
|
473
473
|
statusCode: z.ZodNumber;
|
|
474
474
|
message: z.ZodString;
|
|
475
475
|
code: z.ZodString;
|
|
@@ -478,17 +478,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
478
478
|
path: z.ZodString;
|
|
479
479
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
|
-
message: string;
|
|
482
481
|
code: string;
|
|
483
482
|
path: string;
|
|
483
|
+
message: string;
|
|
484
484
|
statusCode: number;
|
|
485
485
|
timestamp: string;
|
|
486
486
|
details?: unknown;
|
|
487
487
|
correlationId?: string | undefined;
|
|
488
488
|
}, {
|
|
489
|
-
message: string;
|
|
490
489
|
code: string;
|
|
491
490
|
path: string;
|
|
491
|
+
message: string;
|
|
492
492
|
statusCode: number;
|
|
493
493
|
timestamp: string;
|
|
494
494
|
details?: unknown;
|
|
@@ -503,17 +503,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
503
503
|
path: z.ZodString;
|
|
504
504
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
505
505
|
}, "strip", z.ZodTypeAny, {
|
|
506
|
-
message: string;
|
|
507
506
|
code: string;
|
|
508
507
|
path: string;
|
|
508
|
+
message: string;
|
|
509
509
|
statusCode: number;
|
|
510
510
|
timestamp: string;
|
|
511
511
|
details?: unknown;
|
|
512
512
|
correlationId?: string | undefined;
|
|
513
513
|
}, {
|
|
514
|
-
message: string;
|
|
515
514
|
code: string;
|
|
516
515
|
path: string;
|
|
516
|
+
message: string;
|
|
517
517
|
statusCode: number;
|
|
518
518
|
timestamp: string;
|
|
519
519
|
details?: unknown;
|
|
@@ -528,17 +528,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
528
528
|
path: z.ZodString;
|
|
529
529
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
530
530
|
}, "strip", z.ZodTypeAny, {
|
|
531
|
-
message: string;
|
|
532
531
|
code: string;
|
|
533
532
|
path: string;
|
|
533
|
+
message: string;
|
|
534
534
|
statusCode: number;
|
|
535
535
|
timestamp: string;
|
|
536
536
|
details?: unknown;
|
|
537
537
|
correlationId?: string | undefined;
|
|
538
538
|
}, {
|
|
539
|
-
message: string;
|
|
540
539
|
code: string;
|
|
541
540
|
path: string;
|
|
541
|
+
message: string;
|
|
542
542
|
statusCode: number;
|
|
543
543
|
timestamp: string;
|
|
544
544
|
details?: unknown;
|
|
@@ -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: "OPEN" | "EXPIRED" | "INVALIDATED" | "RESOLVED";
|
|
621
|
+
expiresAt: string;
|
|
622
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
623
|
+
reviewedAt: string | null;
|
|
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: "OPEN" | "EXPIRED" | "INVALIDATED" | "RESOLVED";
|
|
653
|
+
expiresAt: string;
|
|
654
|
+
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
655
|
+
reviewedAt: string | null;
|
|
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[];
|
|
@@ -688,17 +688,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
688
688
|
path: z.ZodString;
|
|
689
689
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
690
690
|
}, "strip", z.ZodTypeAny, {
|
|
691
|
-
message: string;
|
|
692
691
|
code: string;
|
|
693
692
|
path: string;
|
|
693
|
+
message: string;
|
|
694
694
|
statusCode: number;
|
|
695
695
|
timestamp: string;
|
|
696
696
|
details?: unknown;
|
|
697
697
|
correlationId?: string | undefined;
|
|
698
698
|
}, {
|
|
699
|
-
message: string;
|
|
700
699
|
code: string;
|
|
701
700
|
path: string;
|
|
701
|
+
message: string;
|
|
702
702
|
statusCode: number;
|
|
703
703
|
timestamp: string;
|
|
704
704
|
details?: unknown;
|
|
@@ -731,7 +731,7 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
731
731
|
}>;
|
|
732
732
|
path: "/v2/workers/source-identity-conflicts/:id/resolve";
|
|
733
733
|
responses: {
|
|
734
|
-
|
|
734
|
+
401: z.ZodObject<{
|
|
735
735
|
statusCode: z.ZodNumber;
|
|
736
736
|
message: z.ZodString;
|
|
737
737
|
code: z.ZodString;
|
|
@@ -740,23 +740,23 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
740
740
|
path: z.ZodString;
|
|
741
741
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
742
742
|
}, "strip", z.ZodTypeAny, {
|
|
743
|
-
message: string;
|
|
744
743
|
code: string;
|
|
745
744
|
path: string;
|
|
745
|
+
message: string;
|
|
746
746
|
statusCode: number;
|
|
747
747
|
timestamp: string;
|
|
748
748
|
details?: unknown;
|
|
749
749
|
correlationId?: string | undefined;
|
|
750
750
|
}, {
|
|
751
|
-
message: string;
|
|
752
751
|
code: string;
|
|
753
752
|
path: string;
|
|
753
|
+
message: string;
|
|
754
754
|
statusCode: number;
|
|
755
755
|
timestamp: string;
|
|
756
756
|
details?: unknown;
|
|
757
757
|
correlationId?: string | undefined;
|
|
758
758
|
}>;
|
|
759
|
-
|
|
759
|
+
400: z.ZodObject<{
|
|
760
760
|
statusCode: z.ZodNumber;
|
|
761
761
|
message: z.ZodString;
|
|
762
762
|
code: z.ZodString;
|
|
@@ -765,17 +765,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
765
765
|
path: z.ZodString;
|
|
766
766
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
767
767
|
}, "strip", z.ZodTypeAny, {
|
|
768
|
-
message: string;
|
|
769
768
|
code: string;
|
|
770
769
|
path: string;
|
|
770
|
+
message: string;
|
|
771
771
|
statusCode: number;
|
|
772
772
|
timestamp: string;
|
|
773
773
|
details?: unknown;
|
|
774
774
|
correlationId?: string | undefined;
|
|
775
775
|
}, {
|
|
776
|
-
message: string;
|
|
777
776
|
code: string;
|
|
778
777
|
path: string;
|
|
778
|
+
message: string;
|
|
779
779
|
statusCode: number;
|
|
780
780
|
timestamp: string;
|
|
781
781
|
details?: unknown;
|
|
@@ -790,17 +790,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
790
790
|
path: z.ZodString;
|
|
791
791
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
792
792
|
}, "strip", z.ZodTypeAny, {
|
|
793
|
-
message: string;
|
|
794
793
|
code: string;
|
|
795
794
|
path: string;
|
|
795
|
+
message: string;
|
|
796
796
|
statusCode: number;
|
|
797
797
|
timestamp: string;
|
|
798
798
|
details?: unknown;
|
|
799
799
|
correlationId?: string | undefined;
|
|
800
800
|
}, {
|
|
801
|
-
message: string;
|
|
802
801
|
code: string;
|
|
803
802
|
path: string;
|
|
803
|
+
message: string;
|
|
804
804
|
statusCode: number;
|
|
805
805
|
timestamp: string;
|
|
806
806
|
details?: unknown;
|
|
@@ -815,17 +815,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
815
815
|
path: z.ZodString;
|
|
816
816
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
817
817
|
}, "strip", z.ZodTypeAny, {
|
|
818
|
-
message: string;
|
|
819
818
|
code: string;
|
|
820
819
|
path: string;
|
|
820
|
+
message: string;
|
|
821
821
|
statusCode: number;
|
|
822
822
|
timestamp: string;
|
|
823
823
|
details?: unknown;
|
|
824
824
|
correlationId?: string | undefined;
|
|
825
825
|
}, {
|
|
826
|
-
message: string;
|
|
827
826
|
code: string;
|
|
828
827
|
path: string;
|
|
828
|
+
message: string;
|
|
829
829
|
statusCode: number;
|
|
830
830
|
timestamp: string;
|
|
831
831
|
details?: unknown;
|
|
@@ -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: "OPEN" | "EXPIRED" | "INVALIDATED" | "RESOLVED";
|
|
842
842
|
reviewUrl: string;
|
|
843
843
|
}, {
|
|
844
|
-
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
845
844
|
id: string;
|
|
845
|
+
status: "OPEN" | "EXPIRED" | "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: "OPEN" | "EXPIRED" | "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: "OPEN" | "EXPIRED" | "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[];
|
|
@@ -1034,17 +1034,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
1034
1034
|
path: z.ZodString;
|
|
1035
1035
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1036
1036
|
}, "strip", z.ZodTypeAny, {
|
|
1037
|
-
message: string;
|
|
1038
1037
|
code: string;
|
|
1039
1038
|
path: string;
|
|
1039
|
+
message: string;
|
|
1040
1040
|
statusCode: number;
|
|
1041
1041
|
timestamp: string;
|
|
1042
1042
|
details?: unknown;
|
|
1043
1043
|
correlationId?: string | undefined;
|
|
1044
1044
|
}, {
|
|
1045
|
-
message: string;
|
|
1046
1045
|
code: string;
|
|
1047
1046
|
path: string;
|
|
1047
|
+
message: string;
|
|
1048
1048
|
statusCode: number;
|
|
1049
1049
|
timestamp: string;
|
|
1050
1050
|
details?: unknown;
|
|
@@ -1059,17 +1059,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
1059
1059
|
path: z.ZodString;
|
|
1060
1060
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1061
1061
|
}, "strip", z.ZodTypeAny, {
|
|
1062
|
-
message: string;
|
|
1063
1062
|
code: string;
|
|
1064
1063
|
path: string;
|
|
1064
|
+
message: string;
|
|
1065
1065
|
statusCode: number;
|
|
1066
1066
|
timestamp: string;
|
|
1067
1067
|
details?: unknown;
|
|
1068
1068
|
correlationId?: string | undefined;
|
|
1069
1069
|
}, {
|
|
1070
|
-
message: string;
|
|
1071
1070
|
code: string;
|
|
1072
1071
|
path: string;
|
|
1072
|
+
message: string;
|
|
1073
1073
|
statusCode: number;
|
|
1074
1074
|
timestamp: string;
|
|
1075
1075
|
details?: unknown;
|
|
@@ -1084,17 +1084,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
1084
1084
|
path: z.ZodString;
|
|
1085
1085
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1086
1086
|
}, "strip", z.ZodTypeAny, {
|
|
1087
|
-
message: string;
|
|
1088
1087
|
code: string;
|
|
1089
1088
|
path: string;
|
|
1089
|
+
message: string;
|
|
1090
1090
|
statusCode: number;
|
|
1091
1091
|
timestamp: string;
|
|
1092
1092
|
details?: unknown;
|
|
1093
1093
|
correlationId?: string | undefined;
|
|
1094
1094
|
}, {
|
|
1095
|
-
message: string;
|
|
1096
1095
|
code: string;
|
|
1097
1096
|
path: string;
|
|
1097
|
+
message: string;
|
|
1098
1098
|
statusCode: number;
|
|
1099
1099
|
timestamp: string;
|
|
1100
1100
|
details?: unknown;
|