@dakkitor/api-contracts 1.5.0 → 1.7.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 +1117 -1087
- 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 +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -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 +50 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +14 -3
- package/dist/outreach/lab-outreach.contract.d.ts +1110 -0
- package/dist/outreach/lab-outreach.contract.d.ts.map +1 -0
- package/dist/outreach/lab-outreach.contract.js +174 -0
- package/dist/outreach/lab-outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/lab-outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/lab-outreach.contract.spec.js +90 -0
- package/dist/outreach/outreach-requests.contract.d.ts +946 -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 +65 -10
- package/dist/outreach/outreach-requests.schemas.d.ts.map +1 -1
- package/dist/outreach/outreach-requests.schemas.js +6 -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 +57 -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-lab-fleet.contract.d.ts +829 -0
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-lab-fleet.contract.js +79 -0
- package/dist/relay-pods/relay-lab-fleet.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-lab-fleet.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-lab-fleet.contract.spec.js +146 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +443 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.js +138 -0
- 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
package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ 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: "
|
|
9
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
10
10
|
id: string;
|
|
11
11
|
reviewUrl: string;
|
|
12
12
|
}, {
|
|
13
|
-
status: "
|
|
13
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
14
14
|
id: string;
|
|
15
15
|
reviewUrl: string;
|
|
16
16
|
}>;
|
|
@@ -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: "
|
|
43
|
-
outcome: string;
|
|
42
|
+
channel: "PHONE" | "WHATSAPP";
|
|
44
43
|
contactedAt: string;
|
|
44
|
+
outcome: string;
|
|
45
|
+
phoneMasked: string;
|
|
45
46
|
curatedWorker: {
|
|
46
47
|
id: string;
|
|
47
48
|
firstName: string;
|
|
48
49
|
lastName: string | null;
|
|
49
50
|
};
|
|
50
|
-
phoneMasked: string;
|
|
51
51
|
qualifyingContactCount: number;
|
|
52
52
|
}, {
|
|
53
|
-
channel: "
|
|
54
|
-
outcome: string;
|
|
53
|
+
channel: "PHONE" | "WHATSAPP";
|
|
55
54
|
contactedAt: string;
|
|
55
|
+
outcome: string;
|
|
56
|
+
phoneMasked: string;
|
|
56
57
|
curatedWorker: {
|
|
57
58
|
id: string;
|
|
58
59
|
firstName: string;
|
|
59
60
|
lastName: string | null;
|
|
60
61
|
};
|
|
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" | "
|
|
80
|
+
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
81
81
|
id: string;
|
|
82
82
|
match: {
|
|
83
|
-
channel: "
|
|
84
|
-
outcome: string;
|
|
83
|
+
channel: "PHONE" | "WHATSAPP";
|
|
85
84
|
contactedAt: string;
|
|
85
|
+
outcome: string;
|
|
86
|
+
phoneMasked: string;
|
|
86
87
|
curatedWorker: {
|
|
87
88
|
id: string;
|
|
88
89
|
firstName: string;
|
|
89
90
|
lastName: string | null;
|
|
90
91
|
};
|
|
91
|
-
phoneMasked: string;
|
|
92
92
|
qualifyingContactCount: number;
|
|
93
93
|
};
|
|
94
94
|
createdAt: string;
|
|
95
|
-
|
|
96
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
95
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
97
96
|
submittedWorkerName: string;
|
|
97
|
+
expiresAt: 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" | "
|
|
104
|
+
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
105
105
|
id: string;
|
|
106
106
|
match: {
|
|
107
|
-
channel: "
|
|
108
|
-
outcome: string;
|
|
107
|
+
channel: "PHONE" | "WHATSAPP";
|
|
109
108
|
contactedAt: string;
|
|
109
|
+
outcome: string;
|
|
110
|
+
phoneMasked: string;
|
|
110
111
|
curatedWorker: {
|
|
111
112
|
id: string;
|
|
112
113
|
firstName: string;
|
|
113
114
|
lastName: string | null;
|
|
114
115
|
};
|
|
115
|
-
phoneMasked: string;
|
|
116
116
|
qualifyingContactCount: number;
|
|
117
117
|
};
|
|
118
118
|
createdAt: string;
|
|
119
|
-
|
|
120
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
119
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
121
120
|
submittedWorkerName: string;
|
|
121
|
+
expiresAt: 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: "
|
|
134
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
135
135
|
id: string;
|
|
136
136
|
reviewUrl: string;
|
|
137
137
|
};
|
|
138
138
|
challenge: {
|
|
139
|
-
status: "PENDING" | "
|
|
139
|
+
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
140
140
|
id: string;
|
|
141
141
|
match: {
|
|
142
|
-
channel: "
|
|
143
|
-
outcome: string;
|
|
142
|
+
channel: "PHONE" | "WHATSAPP";
|
|
144
143
|
contactedAt: string;
|
|
144
|
+
outcome: string;
|
|
145
|
+
phoneMasked: string;
|
|
145
146
|
curatedWorker: {
|
|
146
147
|
id: string;
|
|
147
148
|
firstName: string;
|
|
148
149
|
lastName: string | null;
|
|
149
150
|
};
|
|
150
|
-
phoneMasked: string;
|
|
151
151
|
qualifyingContactCount: number;
|
|
152
152
|
};
|
|
153
153
|
createdAt: string;
|
|
154
|
-
|
|
155
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
154
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
156
155
|
submittedWorkerName: string;
|
|
156
|
+
expiresAt: 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: "
|
|
167
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
168
168
|
id: string;
|
|
169
169
|
reviewUrl: string;
|
|
170
170
|
};
|
|
171
171
|
challenge: {
|
|
172
|
-
status: "PENDING" | "
|
|
172
|
+
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
173
173
|
id: string;
|
|
174
174
|
match: {
|
|
175
|
-
channel: "
|
|
176
|
-
outcome: string;
|
|
175
|
+
channel: "PHONE" | "WHATSAPP";
|
|
177
176
|
contactedAt: string;
|
|
177
|
+
outcome: string;
|
|
178
|
+
phoneMasked: string;
|
|
178
179
|
curatedWorker: {
|
|
179
180
|
id: string;
|
|
180
181
|
firstName: string;
|
|
181
182
|
lastName: string | null;
|
|
182
183
|
};
|
|
183
|
-
phoneMasked: string;
|
|
184
184
|
qualifyingContactCount: number;
|
|
185
185
|
};
|
|
186
186
|
createdAt: string;
|
|
187
|
-
|
|
188
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
187
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
189
188
|
submittedWorkerName: string;
|
|
189
|
+
expiresAt: string;
|
|
190
190
|
identityReviewAdjustment?: {
|
|
191
191
|
caseId: string;
|
|
192
192
|
retainedPhoneMasks: string[];
|
|
@@ -197,12 +197,6 @@ 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
|
-
};
|
|
206
200
|
query: z.ZodObject<{
|
|
207
201
|
page: z.ZodDefault<z.ZodNumber>;
|
|
208
202
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -211,20 +205,26 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
211
205
|
contextId: z.ZodOptional<z.ZodString>;
|
|
212
206
|
search: z.ZodOptional<z.ZodString>;
|
|
213
207
|
}, "strict", z.ZodTypeAny, {
|
|
208
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
214
209
|
limit: number;
|
|
215
210
|
page: number;
|
|
216
|
-
status: "OPEN" | "EXPIRED" | "INVALIDATED" | "RESOLVED";
|
|
217
211
|
search?: string | undefined;
|
|
218
|
-
context?: "
|
|
212
|
+
context?: "SINGLE" | "BATCH" | "IMPORT" | undefined;
|
|
219
213
|
contextId?: string | undefined;
|
|
220
214
|
}, {
|
|
215
|
+
status?: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED" | undefined;
|
|
216
|
+
search?: string | undefined;
|
|
221
217
|
limit?: number | undefined;
|
|
222
218
|
page?: number | undefined;
|
|
223
|
-
|
|
224
|
-
search?: string | undefined;
|
|
225
|
-
context?: "IMPORT" | "SINGLE" | "BATCH" | undefined;
|
|
219
|
+
context?: "SINGLE" | "BATCH" | "IMPORT" | undefined;
|
|
226
220
|
contextId?: string | undefined;
|
|
227
221
|
}>;
|
|
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";
|
|
@@ -238,17 +238,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
238
238
|
path: z.ZodString;
|
|
239
239
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
|
+
message: string;
|
|
241
242
|
code: string;
|
|
242
243
|
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;
|
|
249
250
|
code: string;
|
|
250
251
|
path: string;
|
|
251
|
-
message: string;
|
|
252
252
|
statusCode: number;
|
|
253
253
|
timestamp: string;
|
|
254
254
|
details?: unknown;
|
|
@@ -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;
|
|
266
267
|
code: string;
|
|
267
268
|
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;
|
|
274
275
|
code: string;
|
|
275
276
|
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;
|
|
291
292
|
code: string;
|
|
292
293
|
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;
|
|
299
300
|
code: string;
|
|
300
301
|
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;
|
|
316
317
|
code: string;
|
|
317
318
|
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;
|
|
324
325
|
code: string;
|
|
325
326
|
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: "
|
|
350
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
351
351
|
id: string;
|
|
352
352
|
createdAt: string;
|
|
353
|
-
expiresAt: string;
|
|
354
|
-
reviewedAt: string | null;
|
|
355
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
356
|
-
submittedWorkerName: string;
|
|
357
353
|
reviewUrl: string;
|
|
354
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
358
355
|
contextId: string | null;
|
|
359
356
|
rowNumber: number | null;
|
|
357
|
+
submittedWorkerName: string;
|
|
360
358
|
submittedPhoneMasks: string[];
|
|
361
359
|
candidateCuratedWorkerIds: string[];
|
|
362
360
|
selectedCuratedWorkerId: string | null;
|
|
361
|
+
expiresAt: string;
|
|
362
|
+
reviewedAt: string | null;
|
|
363
363
|
terminalAt: string | null;
|
|
364
364
|
}, {
|
|
365
|
-
status: "
|
|
365
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
366
366
|
id: string;
|
|
367
367
|
createdAt: string;
|
|
368
|
-
expiresAt: string;
|
|
369
|
-
reviewedAt: string | null;
|
|
370
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
371
|
-
submittedWorkerName: string;
|
|
372
368
|
reviewUrl: string;
|
|
369
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
373
370
|
contextId: string | null;
|
|
374
371
|
rowNumber: number | null;
|
|
372
|
+
submittedWorkerName: string;
|
|
375
373
|
submittedPhoneMasks: string[];
|
|
376
374
|
candidateCuratedWorkerIds: string[];
|
|
377
375
|
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: "
|
|
390
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
391
391
|
id: string;
|
|
392
392
|
createdAt: string;
|
|
393
|
-
expiresAt: string;
|
|
394
|
-
reviewedAt: string | null;
|
|
395
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
396
|
-
submittedWorkerName: string;
|
|
397
393
|
reviewUrl: string;
|
|
394
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
398
395
|
contextId: string | null;
|
|
399
396
|
rowNumber: number | null;
|
|
397
|
+
submittedWorkerName: string;
|
|
400
398
|
submittedPhoneMasks: string[];
|
|
401
399
|
candidateCuratedWorkerIds: string[];
|
|
402
400
|
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: "
|
|
411
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
412
412
|
id: string;
|
|
413
413
|
createdAt: string;
|
|
414
|
-
expiresAt: string;
|
|
415
|
-
reviewedAt: string | null;
|
|
416
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
417
|
-
submittedWorkerName: string;
|
|
418
414
|
reviewUrl: string;
|
|
415
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
419
416
|
contextId: string | null;
|
|
420
417
|
rowNumber: number | null;
|
|
418
|
+
submittedWorkerName: string;
|
|
421
419
|
submittedPhoneMasks: string[];
|
|
422
420
|
candidateCuratedWorkerIds: string[];
|
|
423
421
|
selectedCuratedWorkerId: string | null;
|
|
422
|
+
expiresAt: string;
|
|
423
|
+
reviewedAt: string | null;
|
|
424
424
|
terminalAt: string | null;
|
|
425
425
|
}[];
|
|
426
426
|
}>;
|
|
@@ -453,17 +453,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
453
453
|
path: z.ZodString;
|
|
454
454
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
455
455
|
}, "strip", z.ZodTypeAny, {
|
|
456
|
+
message: string;
|
|
456
457
|
code: string;
|
|
457
458
|
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;
|
|
464
465
|
code: string;
|
|
465
466
|
path: string;
|
|
466
|
-
message: string;
|
|
467
467
|
statusCode: number;
|
|
468
468
|
timestamp: string;
|
|
469
469
|
details?: unknown;
|
|
@@ -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;
|
|
481
482
|
code: string;
|
|
482
483
|
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;
|
|
489
490
|
code: string;
|
|
490
491
|
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;
|
|
506
507
|
code: string;
|
|
507
508
|
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;
|
|
514
515
|
code: string;
|
|
515
516
|
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;
|
|
531
532
|
code: string;
|
|
532
533
|
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;
|
|
539
540
|
code: string;
|
|
540
541
|
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: "
|
|
588
|
-
outcome: string;
|
|
587
|
+
channel: "PHONE" | "WHATSAPP";
|
|
589
588
|
contactedAt: string;
|
|
589
|
+
outcome: string;
|
|
590
|
+
phoneMasked: string;
|
|
590
591
|
curatedWorker: {
|
|
591
592
|
id: string;
|
|
592
593
|
firstName: string;
|
|
593
594
|
lastName: string | null;
|
|
594
595
|
};
|
|
595
|
-
phoneMasked: string;
|
|
596
596
|
qualifyingContactCount: number;
|
|
597
597
|
revealIds: string[];
|
|
598
598
|
contactEventIds: string[];
|
|
599
599
|
callIds: string[];
|
|
600
600
|
}, {
|
|
601
|
-
channel: "
|
|
602
|
-
outcome: string;
|
|
601
|
+
channel: "PHONE" | "WHATSAPP";
|
|
603
602
|
contactedAt: string;
|
|
603
|
+
outcome: string;
|
|
604
|
+
phoneMasked: string;
|
|
604
605
|
curatedWorker: {
|
|
605
606
|
id: string;
|
|
606
607
|
firstName: string;
|
|
607
608
|
lastName: string | null;
|
|
608
609
|
};
|
|
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: "
|
|
618
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
619
619
|
id: string;
|
|
620
620
|
createdAt: string;
|
|
621
|
-
expiresAt: string;
|
|
622
|
-
reviewedAt: string | null;
|
|
623
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
624
|
-
submittedWorkerName: string;
|
|
625
621
|
retainedPhoneMasks: string[];
|
|
626
622
|
excludedPhoneMasks: string[];
|
|
627
623
|
reviewUrl: string;
|
|
624
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
628
625
|
contextId: string | null;
|
|
629
626
|
rowNumber: number | null;
|
|
627
|
+
submittedWorkerName: string;
|
|
630
628
|
submittedPhoneMasks: string[];
|
|
631
629
|
candidateCuratedWorkerIds: string[];
|
|
632
630
|
selectedCuratedWorkerId: string | null;
|
|
631
|
+
expiresAt: string;
|
|
632
|
+
reviewedAt: string | null;
|
|
633
633
|
terminalAt: string | null;
|
|
634
634
|
candidateEvidence: {
|
|
635
|
-
channel: "
|
|
636
|
-
outcome: string;
|
|
635
|
+
channel: "PHONE" | "WHATSAPP";
|
|
637
636
|
contactedAt: string;
|
|
637
|
+
outcome: string;
|
|
638
|
+
phoneMasked: string;
|
|
638
639
|
curatedWorker: {
|
|
639
640
|
id: string;
|
|
640
641
|
firstName: string;
|
|
641
642
|
lastName: string | null;
|
|
642
643
|
};
|
|
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: "
|
|
650
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
651
651
|
id: string;
|
|
652
652
|
createdAt: string;
|
|
653
|
-
expiresAt: string;
|
|
654
|
-
reviewedAt: string | null;
|
|
655
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
656
|
-
submittedWorkerName: string;
|
|
657
653
|
retainedPhoneMasks: string[];
|
|
658
654
|
excludedPhoneMasks: string[];
|
|
659
655
|
reviewUrl: string;
|
|
656
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
660
657
|
contextId: string | null;
|
|
661
658
|
rowNumber: number | null;
|
|
659
|
+
submittedWorkerName: string;
|
|
662
660
|
submittedPhoneMasks: string[];
|
|
663
661
|
candidateCuratedWorkerIds: string[];
|
|
664
662
|
selectedCuratedWorkerId: string | null;
|
|
663
|
+
expiresAt: string;
|
|
664
|
+
reviewedAt: string | null;
|
|
665
665
|
terminalAt: string | null;
|
|
666
666
|
candidateEvidence: {
|
|
667
|
-
channel: "
|
|
668
|
-
outcome: string;
|
|
667
|
+
channel: "PHONE" | "WHATSAPP";
|
|
669
668
|
contactedAt: string;
|
|
669
|
+
outcome: string;
|
|
670
|
+
phoneMasked: string;
|
|
670
671
|
curatedWorker: {
|
|
671
672
|
id: string;
|
|
672
673
|
firstName: string;
|
|
673
674
|
lastName: string | null;
|
|
674
675
|
};
|
|
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;
|
|
691
692
|
code: string;
|
|
692
693
|
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;
|
|
699
700
|
code: string;
|
|
700
701
|
path: string;
|
|
701
|
-
message: string;
|
|
702
702
|
statusCode: number;
|
|
703
703
|
timestamp: string;
|
|
704
704
|
details?: unknown;
|
|
@@ -740,17 +740,17 @@ export declare const workerSourceIdentityConflictsContract: {
|
|
|
740
740
|
path: z.ZodString;
|
|
741
741
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
742
742
|
}, "strip", z.ZodTypeAny, {
|
|
743
|
+
message: string;
|
|
743
744
|
code: string;
|
|
744
745
|
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;
|
|
751
752
|
code: string;
|
|
752
753
|
path: string;
|
|
753
|
-
message: string;
|
|
754
754
|
statusCode: number;
|
|
755
755
|
timestamp: string;
|
|
756
756
|
details?: unknown;
|
|
@@ -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;
|
|
768
769
|
code: string;
|
|
769
770
|
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;
|
|
776
777
|
code: string;
|
|
777
778
|
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;
|
|
793
794
|
code: string;
|
|
794
795
|
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;
|
|
801
802
|
code: string;
|
|
802
803
|
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;
|
|
818
819
|
code: string;
|
|
819
820
|
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;
|
|
826
827
|
code: string;
|
|
827
828
|
path: string;
|
|
828
|
-
message: string;
|
|
829
829
|
statusCode: number;
|
|
830
830
|
timestamp: string;
|
|
831
831
|
details?: unknown;
|
|
@@ -837,11 +837,11 @@ 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: "
|
|
840
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
841
841
|
id: string;
|
|
842
842
|
reviewUrl: string;
|
|
843
843
|
}, {
|
|
844
|
-
status: "
|
|
844
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
845
845
|
id: string;
|
|
846
846
|
reviewUrl: string;
|
|
847
847
|
}>;
|
|
@@ -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: "
|
|
874
|
-
outcome: string;
|
|
873
|
+
channel: "PHONE" | "WHATSAPP";
|
|
875
874
|
contactedAt: string;
|
|
875
|
+
outcome: string;
|
|
876
|
+
phoneMasked: string;
|
|
876
877
|
curatedWorker: {
|
|
877
878
|
id: string;
|
|
878
879
|
firstName: string;
|
|
879
880
|
lastName: string | null;
|
|
880
881
|
};
|
|
881
|
-
phoneMasked: string;
|
|
882
882
|
qualifyingContactCount: number;
|
|
883
883
|
}, {
|
|
884
|
-
channel: "
|
|
885
|
-
outcome: string;
|
|
884
|
+
channel: "PHONE" | "WHATSAPP";
|
|
886
885
|
contactedAt: string;
|
|
886
|
+
outcome: string;
|
|
887
|
+
phoneMasked: string;
|
|
887
888
|
curatedWorker: {
|
|
888
889
|
id: string;
|
|
889
890
|
firstName: string;
|
|
890
891
|
lastName: string | null;
|
|
891
892
|
};
|
|
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" | "
|
|
911
|
+
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
912
912
|
id: string;
|
|
913
913
|
match: {
|
|
914
|
-
channel: "
|
|
915
|
-
outcome: string;
|
|
914
|
+
channel: "PHONE" | "WHATSAPP";
|
|
916
915
|
contactedAt: string;
|
|
916
|
+
outcome: string;
|
|
917
|
+
phoneMasked: string;
|
|
917
918
|
curatedWorker: {
|
|
918
919
|
id: string;
|
|
919
920
|
firstName: string;
|
|
920
921
|
lastName: string | null;
|
|
921
922
|
};
|
|
922
|
-
phoneMasked: string;
|
|
923
923
|
qualifyingContactCount: number;
|
|
924
924
|
};
|
|
925
925
|
createdAt: string;
|
|
926
|
-
|
|
927
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
926
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
928
927
|
submittedWorkerName: string;
|
|
928
|
+
expiresAt: 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" | "
|
|
935
|
+
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
936
936
|
id: string;
|
|
937
937
|
match: {
|
|
938
|
-
channel: "
|
|
939
|
-
outcome: string;
|
|
938
|
+
channel: "PHONE" | "WHATSAPP";
|
|
940
939
|
contactedAt: string;
|
|
940
|
+
outcome: string;
|
|
941
|
+
phoneMasked: string;
|
|
941
942
|
curatedWorker: {
|
|
942
943
|
id: string;
|
|
943
944
|
firstName: string;
|
|
944
945
|
lastName: string | null;
|
|
945
946
|
};
|
|
946
|
-
phoneMasked: string;
|
|
947
947
|
qualifyingContactCount: number;
|
|
948
948
|
};
|
|
949
949
|
createdAt: string;
|
|
950
|
-
|
|
951
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
950
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
952
951
|
submittedWorkerName: string;
|
|
952
|
+
expiresAt: 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: "
|
|
965
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
966
966
|
id: string;
|
|
967
967
|
reviewUrl: string;
|
|
968
968
|
};
|
|
969
969
|
challenge: {
|
|
970
|
-
status: "PENDING" | "
|
|
970
|
+
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
971
971
|
id: string;
|
|
972
972
|
match: {
|
|
973
|
-
channel: "
|
|
974
|
-
outcome: string;
|
|
973
|
+
channel: "PHONE" | "WHATSAPP";
|
|
975
974
|
contactedAt: string;
|
|
975
|
+
outcome: string;
|
|
976
|
+
phoneMasked: string;
|
|
976
977
|
curatedWorker: {
|
|
977
978
|
id: string;
|
|
978
979
|
firstName: string;
|
|
979
980
|
lastName: string | null;
|
|
980
981
|
};
|
|
981
|
-
phoneMasked: string;
|
|
982
982
|
qualifyingContactCount: number;
|
|
983
983
|
};
|
|
984
984
|
createdAt: string;
|
|
985
|
-
|
|
986
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
985
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
987
986
|
submittedWorkerName: string;
|
|
987
|
+
expiresAt: 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: "
|
|
998
|
+
status: "EXPIRED" | "OPEN" | "RESOLVED" | "INVALIDATED";
|
|
999
999
|
id: string;
|
|
1000
1000
|
reviewUrl: string;
|
|
1001
1001
|
};
|
|
1002
1002
|
challenge: {
|
|
1003
|
-
status: "PENDING" | "
|
|
1003
|
+
status: "PENDING" | "INVALIDATED" | "RESOLVED_YES" | "RESOLVED_NO";
|
|
1004
1004
|
id: string;
|
|
1005
1005
|
match: {
|
|
1006
|
-
channel: "
|
|
1007
|
-
outcome: string;
|
|
1006
|
+
channel: "PHONE" | "WHATSAPP";
|
|
1008
1007
|
contactedAt: string;
|
|
1008
|
+
outcome: string;
|
|
1009
|
+
phoneMasked: string;
|
|
1009
1010
|
curatedWorker: {
|
|
1010
1011
|
id: string;
|
|
1011
1012
|
firstName: string;
|
|
1012
1013
|
lastName: string | null;
|
|
1013
1014
|
};
|
|
1014
|
-
phoneMasked: string;
|
|
1015
1015
|
qualifyingContactCount: number;
|
|
1016
1016
|
};
|
|
1017
1017
|
createdAt: string;
|
|
1018
|
-
|
|
1019
|
-
context: "IMPORT" | "SINGLE" | "BATCH";
|
|
1018
|
+
context: "SINGLE" | "BATCH" | "IMPORT";
|
|
1020
1019
|
submittedWorkerName: string;
|
|
1020
|
+
expiresAt: 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;
|
|
1037
1038
|
code: string;
|
|
1038
1039
|
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;
|
|
1045
1046
|
code: string;
|
|
1046
1047
|
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;
|
|
1062
1063
|
code: string;
|
|
1063
1064
|
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;
|
|
1070
1071
|
code: string;
|
|
1071
1072
|
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;
|
|
1087
1088
|
code: string;
|
|
1088
1089
|
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;
|
|
1095
1096
|
code: string;
|
|
1096
1097
|
path: string;
|
|
1097
|
-
message: string;
|
|
1098
1098
|
statusCode: number;
|
|
1099
1099
|
timestamp: string;
|
|
1100
1100
|
details?: unknown;
|