@dakkitor/api-contracts 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/abilities.contract.d.ts +6 -2
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +45 -1
- package/dist/abilities/abilities.contract.spec.js +98 -0
- package/dist/abilities/first-agent.abilities.json +8 -14
- package/dist/abilities/outreach.abilities.json +25 -0
- package/dist/abilities/second-agent.abilities.json +4 -13
- package/dist/actives/actives.contract.d.ts +3618 -3479
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +2 -0
- package/dist/actives/actives.contract.spec.d.ts +2 -0
- package/dist/actives/actives.contract.spec.d.ts.map +1 -0
- package/dist/actives/actives.contract.spec.js +35 -0
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1087 -1087
- package/dist/auth/auth.contract.d.ts +108 -108
- package/dist/bookings/bookings.contract.d.ts +6644 -6452
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +718 -718
- package/dist/calls-feed/calls-feed.contract.d.ts +86 -86
- package/dist/client-contacts/client-contacts.contract.d.ts +469 -469
- package/dist/clients/clients.contract.d.ts +203 -203
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2713 -2713
- package/dist/collaborations/collaborations.contract.d.ts +2270 -2270
- package/dist/common/common-schemas.d.ts +12 -12
- package/dist/companies/companies.contract.d.ts +74 -74
- package/dist/crews/crews.contract.d.ts +253 -253
- package/dist/cron-executions/cron-executions.contract.d.ts +182 -182
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2723 -2723
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +378 -378
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +1137 -1107
- package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +16 -16
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +2 -2
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +5818 -5372
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +34 -1
- package/dist/curated-worker-leads/lead-agent-area.contract.d.ts +4 -4
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts +2 -0
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.js +39 -0
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +148 -148
- package/dist/curated-workers/curated-workers.contract.d.ts +789 -789
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +2 -2
- package/dist/dashboards/dashboard-widgets.contract.d.ts +180 -180
- package/dist/dashboards/dashboard.contract.d.ts +12 -12
- package/dist/document-intake/document-intake.contract.d.ts +601 -601
- package/dist/export-jobs/export-jobs.contract.d.ts +694 -694
- package/dist/exports-events/exports-events.schemas.d.ts +4 -4
- package/dist/files/files.contract.d.ts +74 -74
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/interactions/interactions.contract.d.ts +6 -6
- package/dist/job-clusters/job-clusters.contract.d.ts +112 -112
- package/dist/jobs/job-moderation-fields.spec.d.ts +2 -0
- package/dist/jobs/job-moderation-fields.spec.d.ts.map +1 -0
- package/dist/jobs/job-moderation-fields.spec.js +72 -0
- package/dist/jobs/jobs.contract.d.ts +4773 -4525
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +48 -0
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +141 -141
- package/dist/lead-assignments/lead-assignments.contract.d.ts +911 -911
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +209 -209
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +77 -77
- package/dist/leads/leads.contract.d.ts +283 -283
- package/dist/locations/locations.contract.d.ts +49 -49
- package/dist/notifications/notifications.contract.d.ts +67 -67
- package/dist/offices/offices.contract.d.ts +34 -34
- package/dist/outreach/__tests__/outreach-contract-additions.spec.js +11 -0
- package/dist/outreach/__tests__/outreach-requests.contract.spec.js +13 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +14 -3
- package/dist/outreach/outreach-requests.contract.d.ts +862 -217
- package/dist/outreach/outreach-requests.contract.d.ts.map +1 -1
- package/dist/outreach/outreach-requests.contract.js +23 -3
- package/dist/outreach/outreach-requests.schemas.d.ts +56 -10
- package/dist/outreach/outreach-requests.schemas.d.ts.map +1 -1
- package/dist/outreach/outreach-requests.schemas.js +3 -0
- package/dist/outreach/outreach.contract.d.ts +300 -38
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +18 -0
- package/dist/outreach/outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/outreach.contract.spec.js +54 -0
- package/dist/outreach/outreach.schemas.d.ts +2 -2
- package/dist/own-research/own-research.contract.d.ts +775 -775
- package/dist/postcodes/postcodes.contract.d.ts +24 -24
- package/dist/proofs/proof-type.enum.d.ts +4 -4
- package/dist/proofs/proofs.contract.d.ts +363 -363
- package/dist/proofs/proofs.dtos.d.ts +124 -124
- package/dist/qualifications/qualifications.contract.d.ts +38 -38
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts +680 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-sessions.contract.js +67 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.js +129 -0
- package/dist/relay-pods/relay-pods.contract.d.ts +1569 -0
- package/dist/relay-pods/relay-pods.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.contract.js +188 -0
- package/dist/relay-pods/relay-pods.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-pods.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.contract.spec.js +141 -0
- package/dist/relay-pods/relay-pods.schemas.d.ts +415 -0
- package/dist/relay-pods/relay-pods.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.schemas.js +112 -0
- package/dist/shared/live-booking.schema.d.ts +4 -4
- package/dist/shared/summary-schemas.d.ts +6 -6
- package/dist/sheets-sync/sheets-sync.contract.d.ts +939 -939
- package/dist/telegram/telegram.contract.d.ts +22 -22
- package/dist/trades/trades.contract.d.ts +90 -90
- package/dist/user-access-grants/user-access-grants.contract.d.ts +165 -165
- package/dist/users/__tests__/assignable-roles.spec.d.ts +2 -0
- package/dist/users/__tests__/assignable-roles.spec.d.ts.map +1 -0
- package/dist/users/__tests__/assignable-roles.spec.js +41 -0
- package/dist/users/users.contract.d.ts +399 -393
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +11 -0
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +585 -527
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +278 -236
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts.map +1 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.js +1 -0
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +153 -153
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +59 -59
- package/dist/workers/workers.contract.d.ts +2919 -2919
- package/package.json +1 -1
- package/dist/bookings/bookings.contract.spec.d.ts +0 -2
- package/dist/bookings/bookings.contract.spec.d.ts.map +0 -1
- package/dist/bookings/bookings.contract.spec.js +0 -11
|
@@ -118,34 +118,34 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
118
118
|
createdAt: string;
|
|
119
119
|
updatedAt: string;
|
|
120
120
|
fileId: string;
|
|
121
|
+
position: number;
|
|
121
122
|
comment: string | null;
|
|
122
123
|
verified: boolean;
|
|
123
|
-
position: number;
|
|
124
124
|
sectionId: string;
|
|
125
125
|
verifiedAt: string | null;
|
|
126
126
|
verifiedById: string | null;
|
|
127
|
-
fileUrl?: string | undefined;
|
|
128
127
|
fileName?: string | undefined;
|
|
128
|
+
fileUrl?: string | undefined;
|
|
129
129
|
}, {
|
|
130
130
|
id: string;
|
|
131
131
|
createdAt: string;
|
|
132
132
|
updatedAt: string;
|
|
133
133
|
fileId: string;
|
|
134
|
+
position: number;
|
|
134
135
|
comment: string | null;
|
|
135
136
|
verified: boolean;
|
|
136
|
-
position: number;
|
|
137
137
|
sectionId: string;
|
|
138
138
|
verifiedAt: string | null;
|
|
139
139
|
verifiedById: string | null;
|
|
140
|
-
fileUrl?: string | undefined;
|
|
141
140
|
fileName?: string | undefined;
|
|
141
|
+
fileUrl?: string | undefined;
|
|
142
142
|
}>, "many">;
|
|
143
143
|
photoCount: z.ZodNumber;
|
|
144
144
|
verifiedCount: z.ZodNumber;
|
|
145
145
|
createdAt: z.ZodString;
|
|
146
146
|
updatedAt: z.ZodString;
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
|
-
type: "
|
|
148
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
149
149
|
id: string;
|
|
150
150
|
createdAt: string;
|
|
151
151
|
updatedAt: string;
|
|
@@ -154,19 +154,19 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
154
154
|
createdAt: string;
|
|
155
155
|
updatedAt: string;
|
|
156
156
|
fileId: string;
|
|
157
|
+
position: number;
|
|
157
158
|
comment: string | null;
|
|
158
159
|
verified: boolean;
|
|
159
|
-
position: number;
|
|
160
160
|
sectionId: string;
|
|
161
161
|
verifiedAt: string | null;
|
|
162
162
|
verifiedById: string | null;
|
|
163
|
-
fileUrl?: string | undefined;
|
|
164
163
|
fileName?: string | undefined;
|
|
164
|
+
fileUrl?: string | undefined;
|
|
165
165
|
}[];
|
|
166
166
|
photoCount: number;
|
|
167
167
|
verifiedCount: number;
|
|
168
168
|
}, {
|
|
169
|
-
type: "
|
|
169
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
170
170
|
id: string;
|
|
171
171
|
createdAt: string;
|
|
172
172
|
updatedAt: string;
|
|
@@ -175,14 +175,14 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
175
175
|
createdAt: string;
|
|
176
176
|
updatedAt: string;
|
|
177
177
|
fileId: string;
|
|
178
|
+
position: number;
|
|
178
179
|
comment: string | null;
|
|
179
180
|
verified: boolean;
|
|
180
|
-
position: number;
|
|
181
181
|
sectionId: string;
|
|
182
182
|
verifiedAt: string | null;
|
|
183
183
|
verifiedById: string | null;
|
|
184
|
-
fileUrl?: string | undefined;
|
|
185
184
|
fileName?: string | undefined;
|
|
185
|
+
fileUrl?: string | undefined;
|
|
186
186
|
}[];
|
|
187
187
|
photoCount: number;
|
|
188
188
|
verifiedCount: number;
|
|
@@ -210,11 +210,24 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
210
210
|
description: string | null;
|
|
211
211
|
createdAt: string;
|
|
212
212
|
updatedAt: string;
|
|
213
|
-
|
|
213
|
+
createdById: string;
|
|
214
214
|
forUserId: string;
|
|
215
|
+
createdBy: {
|
|
216
|
+
id: string;
|
|
217
|
+
firstName: string;
|
|
218
|
+
lastName: string;
|
|
219
|
+
phoneNumbers: {
|
|
220
|
+
id: string;
|
|
221
|
+
phoneNumber: string;
|
|
222
|
+
isPrimary: boolean;
|
|
223
|
+
description?: string | null | undefined;
|
|
224
|
+
}[];
|
|
225
|
+
deletedAt?: string | null | undefined;
|
|
226
|
+
};
|
|
227
|
+
category: "POST" | "BOOKING";
|
|
215
228
|
proofDate: string;
|
|
216
229
|
sections: {
|
|
217
|
-
type: "
|
|
230
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
218
231
|
id: string;
|
|
219
232
|
createdAt: string;
|
|
220
233
|
updatedAt: string;
|
|
@@ -223,14 +236,14 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
223
236
|
createdAt: string;
|
|
224
237
|
updatedAt: string;
|
|
225
238
|
fileId: string;
|
|
239
|
+
position: number;
|
|
226
240
|
comment: string | null;
|
|
227
241
|
verified: boolean;
|
|
228
|
-
position: number;
|
|
229
242
|
sectionId: string;
|
|
230
243
|
verifiedAt: string | null;
|
|
231
244
|
verifiedById: string | null;
|
|
232
|
-
fileUrl?: string | undefined;
|
|
233
245
|
fileName?: string | undefined;
|
|
246
|
+
fileUrl?: string | undefined;
|
|
234
247
|
}[];
|
|
235
248
|
photoCount: number;
|
|
236
249
|
verifiedCount: number;
|
|
@@ -248,19 +261,6 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
248
261
|
}[];
|
|
249
262
|
deletedAt?: string | null | undefined;
|
|
250
263
|
};
|
|
251
|
-
createdById: string;
|
|
252
|
-
createdBy: {
|
|
253
|
-
id: string;
|
|
254
|
-
firstName: string;
|
|
255
|
-
lastName: string;
|
|
256
|
-
phoneNumbers: {
|
|
257
|
-
id: string;
|
|
258
|
-
phoneNumber: string;
|
|
259
|
-
isPrimary: boolean;
|
|
260
|
-
description?: string | null | undefined;
|
|
261
|
-
}[];
|
|
262
|
-
deletedAt?: string | null | undefined;
|
|
263
|
-
};
|
|
264
264
|
entityLinks: {
|
|
265
265
|
id: string;
|
|
266
266
|
entityType: "BOOKING" | "JOB";
|
|
@@ -273,11 +273,24 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
273
273
|
description: string | null;
|
|
274
274
|
createdAt: string;
|
|
275
275
|
updatedAt: string;
|
|
276
|
-
|
|
276
|
+
createdById: string;
|
|
277
277
|
forUserId: string;
|
|
278
|
+
createdBy: {
|
|
279
|
+
id: string;
|
|
280
|
+
firstName: string;
|
|
281
|
+
lastName: string;
|
|
282
|
+
phoneNumbers?: {
|
|
283
|
+
id: string;
|
|
284
|
+
phoneNumber: string;
|
|
285
|
+
description?: string | null | undefined;
|
|
286
|
+
isPrimary?: boolean | undefined;
|
|
287
|
+
}[] | undefined;
|
|
288
|
+
deletedAt?: string | Date | null | undefined;
|
|
289
|
+
};
|
|
290
|
+
category: "POST" | "BOOKING";
|
|
278
291
|
proofDate: string;
|
|
279
292
|
sections: {
|
|
280
|
-
type: "
|
|
293
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
281
294
|
id: string;
|
|
282
295
|
createdAt: string;
|
|
283
296
|
updatedAt: string;
|
|
@@ -286,14 +299,14 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
286
299
|
createdAt: string;
|
|
287
300
|
updatedAt: string;
|
|
288
301
|
fileId: string;
|
|
302
|
+
position: number;
|
|
289
303
|
comment: string | null;
|
|
290
304
|
verified: boolean;
|
|
291
|
-
position: number;
|
|
292
305
|
sectionId: string;
|
|
293
306
|
verifiedAt: string | null;
|
|
294
307
|
verifiedById: string | null;
|
|
295
|
-
fileUrl?: string | undefined;
|
|
296
308
|
fileName?: string | undefined;
|
|
309
|
+
fileUrl?: string | undefined;
|
|
297
310
|
}[];
|
|
298
311
|
photoCount: number;
|
|
299
312
|
verifiedCount: number;
|
|
@@ -311,19 +324,6 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
311
324
|
}[] | undefined;
|
|
312
325
|
deletedAt?: string | Date | null | undefined;
|
|
313
326
|
};
|
|
314
|
-
createdById: string;
|
|
315
|
-
createdBy: {
|
|
316
|
-
id: string;
|
|
317
|
-
firstName: string;
|
|
318
|
-
lastName: string;
|
|
319
|
-
phoneNumbers?: {
|
|
320
|
-
id: string;
|
|
321
|
-
phoneNumber: string;
|
|
322
|
-
description?: string | null | undefined;
|
|
323
|
-
isPrimary?: boolean | undefined;
|
|
324
|
-
}[] | undefined;
|
|
325
|
-
deletedAt?: string | Date | null | undefined;
|
|
326
|
-
};
|
|
327
327
|
entityLinks: {
|
|
328
328
|
id: string;
|
|
329
329
|
entityType: "BOOKING" | "JOB";
|
|
@@ -344,11 +344,24 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
344
344
|
description: string | null;
|
|
345
345
|
createdAt: string;
|
|
346
346
|
updatedAt: string;
|
|
347
|
-
|
|
347
|
+
createdById: string;
|
|
348
348
|
forUserId: string;
|
|
349
|
+
createdBy: {
|
|
350
|
+
id: string;
|
|
351
|
+
firstName: string;
|
|
352
|
+
lastName: string;
|
|
353
|
+
phoneNumbers: {
|
|
354
|
+
id: string;
|
|
355
|
+
phoneNumber: string;
|
|
356
|
+
isPrimary: boolean;
|
|
357
|
+
description?: string | null | undefined;
|
|
358
|
+
}[];
|
|
359
|
+
deletedAt?: string | null | undefined;
|
|
360
|
+
};
|
|
361
|
+
category: "POST" | "BOOKING";
|
|
349
362
|
proofDate: string;
|
|
350
363
|
sections: {
|
|
351
|
-
type: "
|
|
364
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
352
365
|
id: string;
|
|
353
366
|
createdAt: string;
|
|
354
367
|
updatedAt: string;
|
|
@@ -357,14 +370,14 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
357
370
|
createdAt: string;
|
|
358
371
|
updatedAt: string;
|
|
359
372
|
fileId: string;
|
|
373
|
+
position: number;
|
|
360
374
|
comment: string | null;
|
|
361
375
|
verified: boolean;
|
|
362
|
-
position: number;
|
|
363
376
|
sectionId: string;
|
|
364
377
|
verifiedAt: string | null;
|
|
365
378
|
verifiedById: string | null;
|
|
366
|
-
fileUrl?: string | undefined;
|
|
367
379
|
fileName?: string | undefined;
|
|
380
|
+
fileUrl?: string | undefined;
|
|
368
381
|
}[];
|
|
369
382
|
photoCount: number;
|
|
370
383
|
verifiedCount: number;
|
|
@@ -382,19 +395,6 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
382
395
|
}[];
|
|
383
396
|
deletedAt?: string | null | undefined;
|
|
384
397
|
};
|
|
385
|
-
createdById: string;
|
|
386
|
-
createdBy: {
|
|
387
|
-
id: string;
|
|
388
|
-
firstName: string;
|
|
389
|
-
lastName: string;
|
|
390
|
-
phoneNumbers: {
|
|
391
|
-
id: string;
|
|
392
|
-
phoneNumber: string;
|
|
393
|
-
isPrimary: boolean;
|
|
394
|
-
description?: string | null | undefined;
|
|
395
|
-
}[];
|
|
396
|
-
deletedAt?: string | null | undefined;
|
|
397
|
-
};
|
|
398
398
|
entityLinks: {
|
|
399
399
|
id: string;
|
|
400
400
|
entityType: "BOOKING" | "JOB";
|
|
@@ -414,11 +414,24 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
414
414
|
description: string | null;
|
|
415
415
|
createdAt: string;
|
|
416
416
|
updatedAt: string;
|
|
417
|
-
|
|
417
|
+
createdById: string;
|
|
418
418
|
forUserId: string;
|
|
419
|
+
createdBy: {
|
|
420
|
+
id: string;
|
|
421
|
+
firstName: string;
|
|
422
|
+
lastName: string;
|
|
423
|
+
phoneNumbers?: {
|
|
424
|
+
id: string;
|
|
425
|
+
phoneNumber: string;
|
|
426
|
+
description?: string | null | undefined;
|
|
427
|
+
isPrimary?: boolean | undefined;
|
|
428
|
+
}[] | undefined;
|
|
429
|
+
deletedAt?: string | Date | null | undefined;
|
|
430
|
+
};
|
|
431
|
+
category: "POST" | "BOOKING";
|
|
419
432
|
proofDate: string;
|
|
420
433
|
sections: {
|
|
421
|
-
type: "
|
|
434
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
422
435
|
id: string;
|
|
423
436
|
createdAt: string;
|
|
424
437
|
updatedAt: string;
|
|
@@ -427,14 +440,14 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
427
440
|
createdAt: string;
|
|
428
441
|
updatedAt: string;
|
|
429
442
|
fileId: string;
|
|
443
|
+
position: number;
|
|
430
444
|
comment: string | null;
|
|
431
445
|
verified: boolean;
|
|
432
|
-
position: number;
|
|
433
446
|
sectionId: string;
|
|
434
447
|
verifiedAt: string | null;
|
|
435
448
|
verifiedById: string | null;
|
|
436
|
-
fileUrl?: string | undefined;
|
|
437
449
|
fileName?: string | undefined;
|
|
450
|
+
fileUrl?: string | undefined;
|
|
438
451
|
}[];
|
|
439
452
|
photoCount: number;
|
|
440
453
|
verifiedCount: number;
|
|
@@ -452,19 +465,6 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
452
465
|
}[] | undefined;
|
|
453
466
|
deletedAt?: string | Date | null | undefined;
|
|
454
467
|
};
|
|
455
|
-
createdById: string;
|
|
456
|
-
createdBy: {
|
|
457
|
-
id: string;
|
|
458
|
-
firstName: string;
|
|
459
|
-
lastName: string;
|
|
460
|
-
phoneNumbers?: {
|
|
461
|
-
id: string;
|
|
462
|
-
phoneNumber: string;
|
|
463
|
-
description?: string | null | undefined;
|
|
464
|
-
isPrimary?: boolean | undefined;
|
|
465
|
-
}[] | undefined;
|
|
466
|
-
deletedAt?: string | Date | null | undefined;
|
|
467
|
-
};
|
|
468
468
|
entityLinks: {
|
|
469
469
|
id: string;
|
|
470
470
|
entityType: "BOOKING" | "JOB";
|
|
@@ -480,9 +480,6 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
480
480
|
}>;
|
|
481
481
|
export declare const proofsContract: {
|
|
482
482
|
list: {
|
|
483
|
-
metadata: {
|
|
484
|
-
tags: string[];
|
|
485
|
-
};
|
|
486
483
|
query: z.ZodObject<{
|
|
487
484
|
page: z.ZodDefault<z.ZodNumber>;
|
|
488
485
|
} & {
|
|
@@ -516,38 +513,41 @@ export declare const proofsContract: {
|
|
|
516
513
|
}, "strip", z.ZodTypeAny, {
|
|
517
514
|
limit: number;
|
|
518
515
|
page: number;
|
|
519
|
-
type?: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS" | undefined;
|
|
520
516
|
sort?: {
|
|
521
517
|
field: "createdAt";
|
|
522
518
|
order: "ASC" | "DESC";
|
|
523
519
|
}[] | null | undefined;
|
|
520
|
+
type?: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS" | undefined;
|
|
524
521
|
createdAt?: {
|
|
525
522
|
from?: string | null | undefined;
|
|
526
523
|
to?: string | null | undefined;
|
|
527
524
|
} | undefined;
|
|
528
|
-
category?: "POST" | "BOOKING" | undefined;
|
|
529
|
-
forUserId?: string | undefined;
|
|
530
|
-
verified?: "all" | "partial" | "none" | undefined;
|
|
531
525
|
createdById?: string | undefined;
|
|
526
|
+
forUserId?: string | undefined;
|
|
527
|
+
category?: "POST" | "BOOKING" | undefined;
|
|
528
|
+
verified?: "all" | "none" | "partial" | undefined;
|
|
532
529
|
linkedBookingId?: string | undefined;
|
|
533
530
|
}, {
|
|
534
|
-
limit?: number | undefined;
|
|
535
|
-
page?: number | undefined;
|
|
536
|
-
type?: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS" | undefined;
|
|
537
531
|
sort?: {
|
|
538
532
|
field: "createdAt";
|
|
539
533
|
order: "ASC" | "DESC";
|
|
540
534
|
}[] | null | undefined;
|
|
535
|
+
type?: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS" | undefined;
|
|
536
|
+
limit?: number | undefined;
|
|
537
|
+
page?: number | undefined;
|
|
541
538
|
createdAt?: {
|
|
542
539
|
from?: string | null | undefined;
|
|
543
540
|
to?: string | null | undefined;
|
|
544
541
|
} | undefined;
|
|
545
|
-
category?: "POST" | "BOOKING" | undefined;
|
|
546
|
-
forUserId?: string | undefined;
|
|
547
|
-
verified?: "all" | "partial" | "none" | undefined;
|
|
548
542
|
createdById?: string | undefined;
|
|
543
|
+
forUserId?: string | undefined;
|
|
544
|
+
category?: "POST" | "BOOKING" | undefined;
|
|
545
|
+
verified?: "all" | "none" | "partial" | undefined;
|
|
549
546
|
linkedBookingId?: string | undefined;
|
|
550
547
|
}>;
|
|
548
|
+
metadata: {
|
|
549
|
+
tags: string[];
|
|
550
|
+
};
|
|
551
551
|
summary: "List proofs";
|
|
552
552
|
method: "GET";
|
|
553
553
|
path: "/proofs";
|
|
@@ -561,17 +561,17 @@ export declare const proofsContract: {
|
|
|
561
561
|
path: z.ZodString;
|
|
562
562
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
563
563
|
}, "strip", z.ZodTypeAny, {
|
|
564
|
+
message: string;
|
|
564
565
|
code: string;
|
|
565
566
|
path: string;
|
|
566
|
-
message: string;
|
|
567
567
|
statusCode: number;
|
|
568
568
|
timestamp: string;
|
|
569
569
|
details?: unknown;
|
|
570
570
|
correlationId?: string | undefined;
|
|
571
571
|
}, {
|
|
572
|
+
message: string;
|
|
572
573
|
code: string;
|
|
573
574
|
path: string;
|
|
574
|
-
message: string;
|
|
575
575
|
statusCode: number;
|
|
576
576
|
timestamp: string;
|
|
577
577
|
details?: unknown;
|
|
@@ -586,17 +586,17 @@ export declare const proofsContract: {
|
|
|
586
586
|
path: z.ZodString;
|
|
587
587
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
588
588
|
}, "strip", z.ZodTypeAny, {
|
|
589
|
+
message: string;
|
|
589
590
|
code: string;
|
|
590
591
|
path: string;
|
|
591
|
-
message: string;
|
|
592
592
|
statusCode: number;
|
|
593
593
|
timestamp: string;
|
|
594
594
|
details?: unknown;
|
|
595
595
|
correlationId?: string | undefined;
|
|
596
596
|
}, {
|
|
597
|
+
message: string;
|
|
597
598
|
code: string;
|
|
598
599
|
path: string;
|
|
599
|
-
message: string;
|
|
600
600
|
statusCode: number;
|
|
601
601
|
timestamp: string;
|
|
602
602
|
details?: unknown;
|
|
@@ -611,17 +611,17 @@ export declare const proofsContract: {
|
|
|
611
611
|
path: z.ZodString;
|
|
612
612
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
613
613
|
}, "strip", z.ZodTypeAny, {
|
|
614
|
+
message: string;
|
|
614
615
|
code: string;
|
|
615
616
|
path: string;
|
|
616
|
-
message: string;
|
|
617
617
|
statusCode: number;
|
|
618
618
|
timestamp: string;
|
|
619
619
|
details?: unknown;
|
|
620
620
|
correlationId?: string | undefined;
|
|
621
621
|
}, {
|
|
622
|
+
message: string;
|
|
622
623
|
code: string;
|
|
623
624
|
path: string;
|
|
624
|
-
message: string;
|
|
625
625
|
statusCode: number;
|
|
626
626
|
timestamp: string;
|
|
627
627
|
details?: unknown;
|
|
@@ -746,34 +746,34 @@ export declare const proofsContract: {
|
|
|
746
746
|
createdAt: string;
|
|
747
747
|
updatedAt: string;
|
|
748
748
|
fileId: string;
|
|
749
|
+
position: number;
|
|
749
750
|
comment: string | null;
|
|
750
751
|
verified: boolean;
|
|
751
|
-
position: number;
|
|
752
752
|
sectionId: string;
|
|
753
753
|
verifiedAt: string | null;
|
|
754
754
|
verifiedById: string | null;
|
|
755
|
-
fileUrl?: string | undefined;
|
|
756
755
|
fileName?: string | undefined;
|
|
756
|
+
fileUrl?: string | undefined;
|
|
757
757
|
}, {
|
|
758
758
|
id: string;
|
|
759
759
|
createdAt: string;
|
|
760
760
|
updatedAt: string;
|
|
761
761
|
fileId: string;
|
|
762
|
+
position: number;
|
|
762
763
|
comment: string | null;
|
|
763
764
|
verified: boolean;
|
|
764
|
-
position: number;
|
|
765
765
|
sectionId: string;
|
|
766
766
|
verifiedAt: string | null;
|
|
767
767
|
verifiedById: string | null;
|
|
768
|
-
fileUrl?: string | undefined;
|
|
769
768
|
fileName?: string | undefined;
|
|
769
|
+
fileUrl?: string | undefined;
|
|
770
770
|
}>, "many">;
|
|
771
771
|
photoCount: z.ZodNumber;
|
|
772
772
|
verifiedCount: z.ZodNumber;
|
|
773
773
|
createdAt: z.ZodString;
|
|
774
774
|
updatedAt: z.ZodString;
|
|
775
775
|
}, "strip", z.ZodTypeAny, {
|
|
776
|
-
type: "
|
|
776
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
777
777
|
id: string;
|
|
778
778
|
createdAt: string;
|
|
779
779
|
updatedAt: string;
|
|
@@ -782,19 +782,19 @@ export declare const proofsContract: {
|
|
|
782
782
|
createdAt: string;
|
|
783
783
|
updatedAt: string;
|
|
784
784
|
fileId: string;
|
|
785
|
+
position: number;
|
|
785
786
|
comment: string | null;
|
|
786
787
|
verified: boolean;
|
|
787
|
-
position: number;
|
|
788
788
|
sectionId: string;
|
|
789
789
|
verifiedAt: string | null;
|
|
790
790
|
verifiedById: string | null;
|
|
791
|
-
fileUrl?: string | undefined;
|
|
792
791
|
fileName?: string | undefined;
|
|
792
|
+
fileUrl?: string | undefined;
|
|
793
793
|
}[];
|
|
794
794
|
photoCount: number;
|
|
795
795
|
verifiedCount: number;
|
|
796
796
|
}, {
|
|
797
|
-
type: "
|
|
797
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
798
798
|
id: string;
|
|
799
799
|
createdAt: string;
|
|
800
800
|
updatedAt: string;
|
|
@@ -803,14 +803,14 @@ export declare const proofsContract: {
|
|
|
803
803
|
createdAt: string;
|
|
804
804
|
updatedAt: string;
|
|
805
805
|
fileId: string;
|
|
806
|
+
position: number;
|
|
806
807
|
comment: string | null;
|
|
807
808
|
verified: boolean;
|
|
808
|
-
position: number;
|
|
809
809
|
sectionId: string;
|
|
810
810
|
verifiedAt: string | null;
|
|
811
811
|
verifiedById: string | null;
|
|
812
|
-
fileUrl?: string | undefined;
|
|
813
812
|
fileName?: string | undefined;
|
|
813
|
+
fileUrl?: string | undefined;
|
|
814
814
|
}[];
|
|
815
815
|
photoCount: number;
|
|
816
816
|
verifiedCount: number;
|
|
@@ -838,11 +838,24 @@ export declare const proofsContract: {
|
|
|
838
838
|
description: string | null;
|
|
839
839
|
createdAt: string;
|
|
840
840
|
updatedAt: string;
|
|
841
|
-
|
|
841
|
+
createdById: string;
|
|
842
842
|
forUserId: string;
|
|
843
|
+
createdBy: {
|
|
844
|
+
id: string;
|
|
845
|
+
firstName: string;
|
|
846
|
+
lastName: string;
|
|
847
|
+
phoneNumbers: {
|
|
848
|
+
id: string;
|
|
849
|
+
phoneNumber: string;
|
|
850
|
+
isPrimary: boolean;
|
|
851
|
+
description?: string | null | undefined;
|
|
852
|
+
}[];
|
|
853
|
+
deletedAt?: string | null | undefined;
|
|
854
|
+
};
|
|
855
|
+
category: "POST" | "BOOKING";
|
|
843
856
|
proofDate: string;
|
|
844
857
|
sections: {
|
|
845
|
-
type: "
|
|
858
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
846
859
|
id: string;
|
|
847
860
|
createdAt: string;
|
|
848
861
|
updatedAt: string;
|
|
@@ -851,14 +864,14 @@ export declare const proofsContract: {
|
|
|
851
864
|
createdAt: string;
|
|
852
865
|
updatedAt: string;
|
|
853
866
|
fileId: string;
|
|
867
|
+
position: number;
|
|
854
868
|
comment: string | null;
|
|
855
869
|
verified: boolean;
|
|
856
|
-
position: number;
|
|
857
870
|
sectionId: string;
|
|
858
871
|
verifiedAt: string | null;
|
|
859
872
|
verifiedById: string | null;
|
|
860
|
-
fileUrl?: string | undefined;
|
|
861
873
|
fileName?: string | undefined;
|
|
874
|
+
fileUrl?: string | undefined;
|
|
862
875
|
}[];
|
|
863
876
|
photoCount: number;
|
|
864
877
|
verifiedCount: number;
|
|
@@ -876,19 +889,6 @@ export declare const proofsContract: {
|
|
|
876
889
|
}[];
|
|
877
890
|
deletedAt?: string | null | undefined;
|
|
878
891
|
};
|
|
879
|
-
createdById: string;
|
|
880
|
-
createdBy: {
|
|
881
|
-
id: string;
|
|
882
|
-
firstName: string;
|
|
883
|
-
lastName: string;
|
|
884
|
-
phoneNumbers: {
|
|
885
|
-
id: string;
|
|
886
|
-
phoneNumber: string;
|
|
887
|
-
isPrimary: boolean;
|
|
888
|
-
description?: string | null | undefined;
|
|
889
|
-
}[];
|
|
890
|
-
deletedAt?: string | null | undefined;
|
|
891
|
-
};
|
|
892
892
|
entityLinks: {
|
|
893
893
|
id: string;
|
|
894
894
|
entityType: "BOOKING" | "JOB";
|
|
@@ -901,11 +901,24 @@ export declare const proofsContract: {
|
|
|
901
901
|
description: string | null;
|
|
902
902
|
createdAt: string;
|
|
903
903
|
updatedAt: string;
|
|
904
|
-
|
|
904
|
+
createdById: string;
|
|
905
905
|
forUserId: string;
|
|
906
|
+
createdBy: {
|
|
907
|
+
id: string;
|
|
908
|
+
firstName: string;
|
|
909
|
+
lastName: string;
|
|
910
|
+
phoneNumbers?: {
|
|
911
|
+
id: string;
|
|
912
|
+
phoneNumber: string;
|
|
913
|
+
description?: string | null | undefined;
|
|
914
|
+
isPrimary?: boolean | undefined;
|
|
915
|
+
}[] | undefined;
|
|
916
|
+
deletedAt?: string | Date | null | undefined;
|
|
917
|
+
};
|
|
918
|
+
category: "POST" | "BOOKING";
|
|
906
919
|
proofDate: string;
|
|
907
920
|
sections: {
|
|
908
|
-
type: "
|
|
921
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
909
922
|
id: string;
|
|
910
923
|
createdAt: string;
|
|
911
924
|
updatedAt: string;
|
|
@@ -914,14 +927,14 @@ export declare const proofsContract: {
|
|
|
914
927
|
createdAt: string;
|
|
915
928
|
updatedAt: string;
|
|
916
929
|
fileId: string;
|
|
930
|
+
position: number;
|
|
917
931
|
comment: string | null;
|
|
918
932
|
verified: boolean;
|
|
919
|
-
position: number;
|
|
920
933
|
sectionId: string;
|
|
921
934
|
verifiedAt: string | null;
|
|
922
935
|
verifiedById: string | null;
|
|
923
|
-
fileUrl?: string | undefined;
|
|
924
936
|
fileName?: string | undefined;
|
|
937
|
+
fileUrl?: string | undefined;
|
|
925
938
|
}[];
|
|
926
939
|
photoCount: number;
|
|
927
940
|
verifiedCount: number;
|
|
@@ -939,19 +952,6 @@ export declare const proofsContract: {
|
|
|
939
952
|
}[] | undefined;
|
|
940
953
|
deletedAt?: string | Date | null | undefined;
|
|
941
954
|
};
|
|
942
|
-
createdById: string;
|
|
943
|
-
createdBy: {
|
|
944
|
-
id: string;
|
|
945
|
-
firstName: string;
|
|
946
|
-
lastName: string;
|
|
947
|
-
phoneNumbers?: {
|
|
948
|
-
id: string;
|
|
949
|
-
phoneNumber: string;
|
|
950
|
-
description?: string | null | undefined;
|
|
951
|
-
isPrimary?: boolean | undefined;
|
|
952
|
-
}[] | undefined;
|
|
953
|
-
deletedAt?: string | Date | null | undefined;
|
|
954
|
-
};
|
|
955
955
|
entityLinks: {
|
|
956
956
|
id: string;
|
|
957
957
|
entityType: "BOOKING" | "JOB";
|
|
@@ -972,11 +972,24 @@ export declare const proofsContract: {
|
|
|
972
972
|
description: string | null;
|
|
973
973
|
createdAt: string;
|
|
974
974
|
updatedAt: string;
|
|
975
|
-
|
|
975
|
+
createdById: string;
|
|
976
976
|
forUserId: string;
|
|
977
|
+
createdBy: {
|
|
978
|
+
id: string;
|
|
979
|
+
firstName: string;
|
|
980
|
+
lastName: string;
|
|
981
|
+
phoneNumbers: {
|
|
982
|
+
id: string;
|
|
983
|
+
phoneNumber: string;
|
|
984
|
+
isPrimary: boolean;
|
|
985
|
+
description?: string | null | undefined;
|
|
986
|
+
}[];
|
|
987
|
+
deletedAt?: string | null | undefined;
|
|
988
|
+
};
|
|
989
|
+
category: "POST" | "BOOKING";
|
|
977
990
|
proofDate: string;
|
|
978
991
|
sections: {
|
|
979
|
-
type: "
|
|
992
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
980
993
|
id: string;
|
|
981
994
|
createdAt: string;
|
|
982
995
|
updatedAt: string;
|
|
@@ -985,14 +998,14 @@ export declare const proofsContract: {
|
|
|
985
998
|
createdAt: string;
|
|
986
999
|
updatedAt: string;
|
|
987
1000
|
fileId: string;
|
|
1001
|
+
position: number;
|
|
988
1002
|
comment: string | null;
|
|
989
1003
|
verified: boolean;
|
|
990
|
-
position: number;
|
|
991
1004
|
sectionId: string;
|
|
992
1005
|
verifiedAt: string | null;
|
|
993
1006
|
verifiedById: string | null;
|
|
994
|
-
fileUrl?: string | undefined;
|
|
995
1007
|
fileName?: string | undefined;
|
|
1008
|
+
fileUrl?: string | undefined;
|
|
996
1009
|
}[];
|
|
997
1010
|
photoCount: number;
|
|
998
1011
|
verifiedCount: number;
|
|
@@ -1010,19 +1023,6 @@ export declare const proofsContract: {
|
|
|
1010
1023
|
}[];
|
|
1011
1024
|
deletedAt?: string | null | undefined;
|
|
1012
1025
|
};
|
|
1013
|
-
createdById: string;
|
|
1014
|
-
createdBy: {
|
|
1015
|
-
id: string;
|
|
1016
|
-
firstName: string;
|
|
1017
|
-
lastName: string;
|
|
1018
|
-
phoneNumbers: {
|
|
1019
|
-
id: string;
|
|
1020
|
-
phoneNumber: string;
|
|
1021
|
-
isPrimary: boolean;
|
|
1022
|
-
description?: string | null | undefined;
|
|
1023
|
-
}[];
|
|
1024
|
-
deletedAt?: string | null | undefined;
|
|
1025
|
-
};
|
|
1026
1026
|
entityLinks: {
|
|
1027
1027
|
id: string;
|
|
1028
1028
|
entityType: "BOOKING" | "JOB";
|
|
@@ -1042,11 +1042,24 @@ export declare const proofsContract: {
|
|
|
1042
1042
|
description: string | null;
|
|
1043
1043
|
createdAt: string;
|
|
1044
1044
|
updatedAt: string;
|
|
1045
|
-
|
|
1045
|
+
createdById: string;
|
|
1046
1046
|
forUserId: string;
|
|
1047
|
+
createdBy: {
|
|
1048
|
+
id: string;
|
|
1049
|
+
firstName: string;
|
|
1050
|
+
lastName: string;
|
|
1051
|
+
phoneNumbers?: {
|
|
1052
|
+
id: string;
|
|
1053
|
+
phoneNumber: string;
|
|
1054
|
+
description?: string | null | undefined;
|
|
1055
|
+
isPrimary?: boolean | undefined;
|
|
1056
|
+
}[] | undefined;
|
|
1057
|
+
deletedAt?: string | Date | null | undefined;
|
|
1058
|
+
};
|
|
1059
|
+
category: "POST" | "BOOKING";
|
|
1047
1060
|
proofDate: string;
|
|
1048
1061
|
sections: {
|
|
1049
|
-
type: "
|
|
1062
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
1050
1063
|
id: string;
|
|
1051
1064
|
createdAt: string;
|
|
1052
1065
|
updatedAt: string;
|
|
@@ -1055,14 +1068,14 @@ export declare const proofsContract: {
|
|
|
1055
1068
|
createdAt: string;
|
|
1056
1069
|
updatedAt: string;
|
|
1057
1070
|
fileId: string;
|
|
1071
|
+
position: number;
|
|
1058
1072
|
comment: string | null;
|
|
1059
1073
|
verified: boolean;
|
|
1060
|
-
position: number;
|
|
1061
1074
|
sectionId: string;
|
|
1062
1075
|
verifiedAt: string | null;
|
|
1063
1076
|
verifiedById: string | null;
|
|
1064
|
-
fileUrl?: string | undefined;
|
|
1065
1077
|
fileName?: string | undefined;
|
|
1078
|
+
fileUrl?: string | undefined;
|
|
1066
1079
|
}[];
|
|
1067
1080
|
photoCount: number;
|
|
1068
1081
|
verifiedCount: number;
|
|
@@ -1080,19 +1093,6 @@ export declare const proofsContract: {
|
|
|
1080
1093
|
}[] | undefined;
|
|
1081
1094
|
deletedAt?: string | Date | null | undefined;
|
|
1082
1095
|
};
|
|
1083
|
-
createdById: string;
|
|
1084
|
-
createdBy: {
|
|
1085
|
-
id: string;
|
|
1086
|
-
firstName: string;
|
|
1087
|
-
lastName: string;
|
|
1088
|
-
phoneNumbers?: {
|
|
1089
|
-
id: string;
|
|
1090
|
-
phoneNumber: string;
|
|
1091
|
-
description?: string | null | undefined;
|
|
1092
|
-
isPrimary?: boolean | undefined;
|
|
1093
|
-
}[] | undefined;
|
|
1094
|
-
deletedAt?: string | Date | null | undefined;
|
|
1095
|
-
};
|
|
1096
1096
|
entityLinks: {
|
|
1097
1097
|
id: string;
|
|
1098
1098
|
entityType: "BOOKING" | "JOB";
|
|
@@ -1115,17 +1115,17 @@ export declare const proofsContract: {
|
|
|
1115
1115
|
path: z.ZodString;
|
|
1116
1116
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1117
1117
|
}, "strip", z.ZodTypeAny, {
|
|
1118
|
+
message: string;
|
|
1118
1119
|
code: string;
|
|
1119
1120
|
path: string;
|
|
1120
|
-
message: string;
|
|
1121
1121
|
statusCode: number;
|
|
1122
1122
|
timestamp: string;
|
|
1123
1123
|
details?: unknown;
|
|
1124
1124
|
correlationId?: string | undefined;
|
|
1125
1125
|
}, {
|
|
1126
|
+
message: string;
|
|
1126
1127
|
code: string;
|
|
1127
1128
|
path: string;
|
|
1128
|
-
message: string;
|
|
1129
1129
|
statusCode: number;
|
|
1130
1130
|
timestamp: string;
|
|
1131
1131
|
details?: unknown;
|
|
@@ -1157,17 +1157,17 @@ export declare const proofsContract: {
|
|
|
1157
1157
|
path: z.ZodString;
|
|
1158
1158
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1159
1159
|
}, "strip", z.ZodTypeAny, {
|
|
1160
|
+
message: string;
|
|
1160
1161
|
code: string;
|
|
1161
1162
|
path: string;
|
|
1162
|
-
message: string;
|
|
1163
1163
|
statusCode: number;
|
|
1164
1164
|
timestamp: string;
|
|
1165
1165
|
details?: unknown;
|
|
1166
1166
|
correlationId?: string | undefined;
|
|
1167
1167
|
}, {
|
|
1168
|
+
message: string;
|
|
1168
1169
|
code: string;
|
|
1169
1170
|
path: string;
|
|
1170
|
-
message: string;
|
|
1171
1171
|
statusCode: number;
|
|
1172
1172
|
timestamp: string;
|
|
1173
1173
|
details?: unknown;
|
|
@@ -1182,17 +1182,17 @@ export declare const proofsContract: {
|
|
|
1182
1182
|
path: z.ZodString;
|
|
1183
1183
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1184
1184
|
}, "strip", z.ZodTypeAny, {
|
|
1185
|
+
message: string;
|
|
1185
1186
|
code: string;
|
|
1186
1187
|
path: string;
|
|
1187
|
-
message: string;
|
|
1188
1188
|
statusCode: number;
|
|
1189
1189
|
timestamp: string;
|
|
1190
1190
|
details?: unknown;
|
|
1191
1191
|
correlationId?: string | undefined;
|
|
1192
1192
|
}, {
|
|
1193
|
+
message: string;
|
|
1193
1194
|
code: string;
|
|
1194
1195
|
path: string;
|
|
1195
|
-
message: string;
|
|
1196
1196
|
statusCode: number;
|
|
1197
1197
|
timestamp: string;
|
|
1198
1198
|
details?: unknown;
|
|
@@ -1207,17 +1207,17 @@ export declare const proofsContract: {
|
|
|
1207
1207
|
path: z.ZodString;
|
|
1208
1208
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1209
1209
|
}, "strip", z.ZodTypeAny, {
|
|
1210
|
+
message: string;
|
|
1210
1211
|
code: string;
|
|
1211
1212
|
path: string;
|
|
1212
|
-
message: string;
|
|
1213
1213
|
statusCode: number;
|
|
1214
1214
|
timestamp: string;
|
|
1215
1215
|
details?: unknown;
|
|
1216
1216
|
correlationId?: string | undefined;
|
|
1217
1217
|
}, {
|
|
1218
|
+
message: string;
|
|
1218
1219
|
code: string;
|
|
1219
1220
|
path: string;
|
|
1220
|
-
message: string;
|
|
1221
1221
|
statusCode: number;
|
|
1222
1222
|
timestamp: string;
|
|
1223
1223
|
details?: unknown;
|
|
@@ -1341,34 +1341,34 @@ export declare const proofsContract: {
|
|
|
1341
1341
|
createdAt: string;
|
|
1342
1342
|
updatedAt: string;
|
|
1343
1343
|
fileId: string;
|
|
1344
|
+
position: number;
|
|
1344
1345
|
comment: string | null;
|
|
1345
1346
|
verified: boolean;
|
|
1346
|
-
position: number;
|
|
1347
1347
|
sectionId: string;
|
|
1348
1348
|
verifiedAt: string | null;
|
|
1349
1349
|
verifiedById: string | null;
|
|
1350
|
-
fileUrl?: string | undefined;
|
|
1351
1350
|
fileName?: string | undefined;
|
|
1351
|
+
fileUrl?: string | undefined;
|
|
1352
1352
|
}, {
|
|
1353
1353
|
id: string;
|
|
1354
1354
|
createdAt: string;
|
|
1355
1355
|
updatedAt: string;
|
|
1356
1356
|
fileId: string;
|
|
1357
|
+
position: number;
|
|
1357
1358
|
comment: string | null;
|
|
1358
1359
|
verified: boolean;
|
|
1359
|
-
position: number;
|
|
1360
1360
|
sectionId: string;
|
|
1361
1361
|
verifiedAt: string | null;
|
|
1362
1362
|
verifiedById: string | null;
|
|
1363
|
-
fileUrl?: string | undefined;
|
|
1364
1363
|
fileName?: string | undefined;
|
|
1364
|
+
fileUrl?: string | undefined;
|
|
1365
1365
|
}>, "many">;
|
|
1366
1366
|
photoCount: z.ZodNumber;
|
|
1367
1367
|
verifiedCount: z.ZodNumber;
|
|
1368
1368
|
createdAt: z.ZodString;
|
|
1369
1369
|
updatedAt: z.ZodString;
|
|
1370
1370
|
}, "strip", z.ZodTypeAny, {
|
|
1371
|
-
type: "
|
|
1371
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
1372
1372
|
id: string;
|
|
1373
1373
|
createdAt: string;
|
|
1374
1374
|
updatedAt: string;
|
|
@@ -1377,19 +1377,19 @@ export declare const proofsContract: {
|
|
|
1377
1377
|
createdAt: string;
|
|
1378
1378
|
updatedAt: string;
|
|
1379
1379
|
fileId: string;
|
|
1380
|
+
position: number;
|
|
1380
1381
|
comment: string | null;
|
|
1381
1382
|
verified: boolean;
|
|
1382
|
-
position: number;
|
|
1383
1383
|
sectionId: string;
|
|
1384
1384
|
verifiedAt: string | null;
|
|
1385
1385
|
verifiedById: string | null;
|
|
1386
|
-
fileUrl?: string | undefined;
|
|
1387
1386
|
fileName?: string | undefined;
|
|
1387
|
+
fileUrl?: string | undefined;
|
|
1388
1388
|
}[];
|
|
1389
1389
|
photoCount: number;
|
|
1390
1390
|
verifiedCount: number;
|
|
1391
1391
|
}, {
|
|
1392
|
-
type: "
|
|
1392
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
1393
1393
|
id: string;
|
|
1394
1394
|
createdAt: string;
|
|
1395
1395
|
updatedAt: string;
|
|
@@ -1398,14 +1398,14 @@ export declare const proofsContract: {
|
|
|
1398
1398
|
createdAt: string;
|
|
1399
1399
|
updatedAt: string;
|
|
1400
1400
|
fileId: string;
|
|
1401
|
+
position: number;
|
|
1401
1402
|
comment: string | null;
|
|
1402
1403
|
verified: boolean;
|
|
1403
|
-
position: number;
|
|
1404
1404
|
sectionId: string;
|
|
1405
1405
|
verifiedAt: string | null;
|
|
1406
1406
|
verifiedById: string | null;
|
|
1407
|
-
fileUrl?: string | undefined;
|
|
1408
1407
|
fileName?: string | undefined;
|
|
1408
|
+
fileUrl?: string | undefined;
|
|
1409
1409
|
}[];
|
|
1410
1410
|
photoCount: number;
|
|
1411
1411
|
verifiedCount: number;
|
|
@@ -1433,11 +1433,24 @@ export declare const proofsContract: {
|
|
|
1433
1433
|
description: string | null;
|
|
1434
1434
|
createdAt: string;
|
|
1435
1435
|
updatedAt: string;
|
|
1436
|
-
|
|
1436
|
+
createdById: string;
|
|
1437
1437
|
forUserId: string;
|
|
1438
|
+
createdBy: {
|
|
1439
|
+
id: string;
|
|
1440
|
+
firstName: string;
|
|
1441
|
+
lastName: string;
|
|
1442
|
+
phoneNumbers: {
|
|
1443
|
+
id: string;
|
|
1444
|
+
phoneNumber: string;
|
|
1445
|
+
isPrimary: boolean;
|
|
1446
|
+
description?: string | null | undefined;
|
|
1447
|
+
}[];
|
|
1448
|
+
deletedAt?: string | null | undefined;
|
|
1449
|
+
};
|
|
1450
|
+
category: "POST" | "BOOKING";
|
|
1438
1451
|
proofDate: string;
|
|
1439
1452
|
sections: {
|
|
1440
|
-
type: "
|
|
1453
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
1441
1454
|
id: string;
|
|
1442
1455
|
createdAt: string;
|
|
1443
1456
|
updatedAt: string;
|
|
@@ -1446,33 +1459,20 @@ export declare const proofsContract: {
|
|
|
1446
1459
|
createdAt: string;
|
|
1447
1460
|
updatedAt: string;
|
|
1448
1461
|
fileId: string;
|
|
1462
|
+
position: number;
|
|
1449
1463
|
comment: string | null;
|
|
1450
1464
|
verified: boolean;
|
|
1451
|
-
position: number;
|
|
1452
1465
|
sectionId: string;
|
|
1453
1466
|
verifiedAt: string | null;
|
|
1454
1467
|
verifiedById: string | null;
|
|
1455
|
-
fileUrl?: string | undefined;
|
|
1456
1468
|
fileName?: string | undefined;
|
|
1469
|
+
fileUrl?: string | undefined;
|
|
1457
1470
|
}[];
|
|
1458
1471
|
photoCount: number;
|
|
1459
|
-
verifiedCount: number;
|
|
1460
|
-
}[];
|
|
1461
|
-
verifiedCount: number;
|
|
1462
|
-
forUser: {
|
|
1463
|
-
id: string;
|
|
1464
|
-
firstName: string;
|
|
1465
|
-
lastName: string;
|
|
1466
|
-
phoneNumbers: {
|
|
1467
|
-
id: string;
|
|
1468
|
-
phoneNumber: string;
|
|
1469
|
-
isPrimary: boolean;
|
|
1470
|
-
description?: string | null | undefined;
|
|
1471
|
-
}[];
|
|
1472
|
-
deletedAt?: string | null | undefined;
|
|
1473
|
-
};
|
|
1474
|
-
createdById: string;
|
|
1475
|
-
createdBy: {
|
|
1472
|
+
verifiedCount: number;
|
|
1473
|
+
}[];
|
|
1474
|
+
verifiedCount: number;
|
|
1475
|
+
forUser: {
|
|
1476
1476
|
id: string;
|
|
1477
1477
|
firstName: string;
|
|
1478
1478
|
lastName: string;
|
|
@@ -1496,11 +1496,24 @@ export declare const proofsContract: {
|
|
|
1496
1496
|
description: string | null;
|
|
1497
1497
|
createdAt: string;
|
|
1498
1498
|
updatedAt: string;
|
|
1499
|
-
|
|
1499
|
+
createdById: string;
|
|
1500
1500
|
forUserId: string;
|
|
1501
|
+
createdBy: {
|
|
1502
|
+
id: string;
|
|
1503
|
+
firstName: string;
|
|
1504
|
+
lastName: string;
|
|
1505
|
+
phoneNumbers?: {
|
|
1506
|
+
id: string;
|
|
1507
|
+
phoneNumber: string;
|
|
1508
|
+
description?: string | null | undefined;
|
|
1509
|
+
isPrimary?: boolean | undefined;
|
|
1510
|
+
}[] | undefined;
|
|
1511
|
+
deletedAt?: string | Date | null | undefined;
|
|
1512
|
+
};
|
|
1513
|
+
category: "POST" | "BOOKING";
|
|
1501
1514
|
proofDate: string;
|
|
1502
1515
|
sections: {
|
|
1503
|
-
type: "
|
|
1516
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
1504
1517
|
id: string;
|
|
1505
1518
|
createdAt: string;
|
|
1506
1519
|
updatedAt: string;
|
|
@@ -1509,14 +1522,14 @@ export declare const proofsContract: {
|
|
|
1509
1522
|
createdAt: string;
|
|
1510
1523
|
updatedAt: string;
|
|
1511
1524
|
fileId: string;
|
|
1525
|
+
position: number;
|
|
1512
1526
|
comment: string | null;
|
|
1513
1527
|
verified: boolean;
|
|
1514
|
-
position: number;
|
|
1515
1528
|
sectionId: string;
|
|
1516
1529
|
verifiedAt: string | null;
|
|
1517
1530
|
verifiedById: string | null;
|
|
1518
|
-
fileUrl?: string | undefined;
|
|
1519
1531
|
fileName?: string | undefined;
|
|
1532
|
+
fileUrl?: string | undefined;
|
|
1520
1533
|
}[];
|
|
1521
1534
|
photoCount: number;
|
|
1522
1535
|
verifiedCount: number;
|
|
@@ -1534,19 +1547,6 @@ export declare const proofsContract: {
|
|
|
1534
1547
|
}[] | undefined;
|
|
1535
1548
|
deletedAt?: string | Date | null | undefined;
|
|
1536
1549
|
};
|
|
1537
|
-
createdById: string;
|
|
1538
|
-
createdBy: {
|
|
1539
|
-
id: string;
|
|
1540
|
-
firstName: string;
|
|
1541
|
-
lastName: string;
|
|
1542
|
-
phoneNumbers?: {
|
|
1543
|
-
id: string;
|
|
1544
|
-
phoneNumber: string;
|
|
1545
|
-
description?: string | null | undefined;
|
|
1546
|
-
isPrimary?: boolean | undefined;
|
|
1547
|
-
}[] | undefined;
|
|
1548
|
-
deletedAt?: string | Date | null | undefined;
|
|
1549
|
-
};
|
|
1550
1550
|
entityLinks: {
|
|
1551
1551
|
id: string;
|
|
1552
1552
|
entityType: "BOOKING" | "JOB";
|
|
@@ -1564,17 +1564,17 @@ export declare const proofsContract: {
|
|
|
1564
1564
|
path: z.ZodString;
|
|
1565
1565
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1566
1566
|
}, "strip", z.ZodTypeAny, {
|
|
1567
|
+
message: string;
|
|
1567
1568
|
code: string;
|
|
1568
1569
|
path: string;
|
|
1569
|
-
message: string;
|
|
1570
1570
|
statusCode: number;
|
|
1571
1571
|
timestamp: string;
|
|
1572
1572
|
details?: unknown;
|
|
1573
1573
|
correlationId?: string | undefined;
|
|
1574
1574
|
}, {
|
|
1575
|
+
message: string;
|
|
1575
1576
|
code: string;
|
|
1576
1577
|
path: string;
|
|
1577
|
-
message: string;
|
|
1578
1578
|
statusCode: number;
|
|
1579
1579
|
timestamp: string;
|
|
1580
1580
|
details?: unknown;
|
|
@@ -1589,17 +1589,17 @@ export declare const proofsContract: {
|
|
|
1589
1589
|
path: z.ZodString;
|
|
1590
1590
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1591
1591
|
}, "strip", z.ZodTypeAny, {
|
|
1592
|
+
message: string;
|
|
1592
1593
|
code: string;
|
|
1593
1594
|
path: string;
|
|
1594
|
-
message: string;
|
|
1595
1595
|
statusCode: number;
|
|
1596
1596
|
timestamp: string;
|
|
1597
1597
|
details?: unknown;
|
|
1598
1598
|
correlationId?: string | undefined;
|
|
1599
1599
|
}, {
|
|
1600
|
+
message: string;
|
|
1600
1601
|
code: string;
|
|
1601
1602
|
path: string;
|
|
1602
|
-
message: string;
|
|
1603
1603
|
statusCode: number;
|
|
1604
1604
|
timestamp: string;
|
|
1605
1605
|
details?: unknown;
|
|
@@ -1631,17 +1631,17 @@ export declare const proofsContract: {
|
|
|
1631
1631
|
path: z.ZodString;
|
|
1632
1632
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1633
1633
|
}, "strip", z.ZodTypeAny, {
|
|
1634
|
+
message: string;
|
|
1634
1635
|
code: string;
|
|
1635
1636
|
path: string;
|
|
1636
|
-
message: string;
|
|
1637
1637
|
statusCode: number;
|
|
1638
1638
|
timestamp: string;
|
|
1639
1639
|
details?: unknown;
|
|
1640
1640
|
correlationId?: string | undefined;
|
|
1641
1641
|
}, {
|
|
1642
|
+
message: string;
|
|
1642
1643
|
code: string;
|
|
1643
1644
|
path: string;
|
|
1644
|
-
message: string;
|
|
1645
1645
|
statusCode: number;
|
|
1646
1646
|
timestamp: string;
|
|
1647
1647
|
details?: unknown;
|
|
@@ -1656,17 +1656,17 @@ export declare const proofsContract: {
|
|
|
1656
1656
|
path: z.ZodString;
|
|
1657
1657
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1658
1658
|
}, "strip", z.ZodTypeAny, {
|
|
1659
|
+
message: string;
|
|
1659
1660
|
code: string;
|
|
1660
1661
|
path: string;
|
|
1661
|
-
message: string;
|
|
1662
1662
|
statusCode: number;
|
|
1663
1663
|
timestamp: string;
|
|
1664
1664
|
details?: unknown;
|
|
1665
1665
|
correlationId?: string | undefined;
|
|
1666
1666
|
}, {
|
|
1667
|
+
message: string;
|
|
1667
1668
|
code: string;
|
|
1668
1669
|
path: string;
|
|
1669
|
-
message: string;
|
|
1670
1670
|
statusCode: number;
|
|
1671
1671
|
timestamp: string;
|
|
1672
1672
|
details?: unknown;
|
|
@@ -1681,17 +1681,17 @@ export declare const proofsContract: {
|
|
|
1681
1681
|
path: z.ZodString;
|
|
1682
1682
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1683
1683
|
}, "strip", z.ZodTypeAny, {
|
|
1684
|
+
message: string;
|
|
1684
1685
|
code: string;
|
|
1685
1686
|
path: string;
|
|
1686
|
-
message: string;
|
|
1687
1687
|
statusCode: number;
|
|
1688
1688
|
timestamp: string;
|
|
1689
1689
|
details?: unknown;
|
|
1690
1690
|
correlationId?: string | undefined;
|
|
1691
1691
|
}, {
|
|
1692
|
+
message: string;
|
|
1692
1693
|
code: string;
|
|
1693
1694
|
path: string;
|
|
1694
|
-
message: string;
|
|
1695
1695
|
statusCode: number;
|
|
1696
1696
|
timestamp: string;
|
|
1697
1697
|
details?: unknown;
|
|
@@ -1719,8 +1719,8 @@ export declare const proofsContract: {
|
|
|
1719
1719
|
}, "strip", z.ZodTypeAny, {
|
|
1720
1720
|
type: "BOOKING";
|
|
1721
1721
|
id: string;
|
|
1722
|
-
startDate: string | null;
|
|
1723
1722
|
createdAt: string;
|
|
1723
|
+
startDate: string | null;
|
|
1724
1724
|
worker: {
|
|
1725
1725
|
id: string;
|
|
1726
1726
|
firstName: string;
|
|
@@ -1729,8 +1729,8 @@ export declare const proofsContract: {
|
|
|
1729
1729
|
}, {
|
|
1730
1730
|
type: "BOOKING";
|
|
1731
1731
|
id: string;
|
|
1732
|
-
startDate: string | null;
|
|
1733
1732
|
createdAt: string;
|
|
1733
|
+
startDate: string | null;
|
|
1734
1734
|
worker: {
|
|
1735
1735
|
id: string;
|
|
1736
1736
|
firstName: string;
|
|
@@ -1789,8 +1789,9 @@ export declare const proofsContract: {
|
|
|
1789
1789
|
}, "strip", z.ZodTypeAny, {
|
|
1790
1790
|
type: "JOB";
|
|
1791
1791
|
id: string;
|
|
1792
|
-
createdAt: string;
|
|
1793
1792
|
postcode: string | null;
|
|
1793
|
+
createdAt: string;
|
|
1794
|
+
tradeId: string;
|
|
1794
1795
|
createdBy: {
|
|
1795
1796
|
id: string;
|
|
1796
1797
|
firstName: string;
|
|
@@ -1803,12 +1804,12 @@ export declare const proofsContract: {
|
|
|
1803
1804
|
}[];
|
|
1804
1805
|
deletedAt?: string | null | undefined;
|
|
1805
1806
|
};
|
|
1806
|
-
tradeId: string;
|
|
1807
1807
|
}, {
|
|
1808
1808
|
type: "JOB";
|
|
1809
1809
|
id: string;
|
|
1810
|
-
createdAt: string;
|
|
1811
1810
|
postcode: string | null;
|
|
1811
|
+
createdAt: string;
|
|
1812
|
+
tradeId: string;
|
|
1812
1813
|
createdBy: {
|
|
1813
1814
|
id: string;
|
|
1814
1815
|
firstName: string;
|
|
@@ -1821,14 +1822,13 @@ export declare const proofsContract: {
|
|
|
1821
1822
|
}[] | undefined;
|
|
1822
1823
|
deletedAt?: string | Date | null | undefined;
|
|
1823
1824
|
};
|
|
1824
|
-
tradeId: string;
|
|
1825
1825
|
}>]>, "many">;
|
|
1826
1826
|
}, "strip", z.ZodTypeAny, {
|
|
1827
1827
|
items: ({
|
|
1828
1828
|
type: "BOOKING";
|
|
1829
1829
|
id: string;
|
|
1830
|
-
startDate: string | null;
|
|
1831
1830
|
createdAt: string;
|
|
1831
|
+
startDate: string | null;
|
|
1832
1832
|
worker: {
|
|
1833
1833
|
id: string;
|
|
1834
1834
|
firstName: string;
|
|
@@ -1837,8 +1837,9 @@ export declare const proofsContract: {
|
|
|
1837
1837
|
} | {
|
|
1838
1838
|
type: "JOB";
|
|
1839
1839
|
id: string;
|
|
1840
|
-
createdAt: string;
|
|
1841
1840
|
postcode: string | null;
|
|
1841
|
+
createdAt: string;
|
|
1842
|
+
tradeId: string;
|
|
1842
1843
|
createdBy: {
|
|
1843
1844
|
id: string;
|
|
1844
1845
|
firstName: string;
|
|
@@ -1851,14 +1852,13 @@ export declare const proofsContract: {
|
|
|
1851
1852
|
}[];
|
|
1852
1853
|
deletedAt?: string | null | undefined;
|
|
1853
1854
|
};
|
|
1854
|
-
tradeId: string;
|
|
1855
1855
|
})[];
|
|
1856
1856
|
}, {
|
|
1857
1857
|
items: ({
|
|
1858
1858
|
type: "BOOKING";
|
|
1859
1859
|
id: string;
|
|
1860
|
-
startDate: string | null;
|
|
1861
1860
|
createdAt: string;
|
|
1861
|
+
startDate: string | null;
|
|
1862
1862
|
worker: {
|
|
1863
1863
|
id: string;
|
|
1864
1864
|
firstName: string;
|
|
@@ -1867,8 +1867,9 @@ export declare const proofsContract: {
|
|
|
1867
1867
|
} | {
|
|
1868
1868
|
type: "JOB";
|
|
1869
1869
|
id: string;
|
|
1870
|
-
createdAt: string;
|
|
1871
1870
|
postcode: string | null;
|
|
1871
|
+
createdAt: string;
|
|
1872
|
+
tradeId: string;
|
|
1872
1873
|
createdBy: {
|
|
1873
1874
|
id: string;
|
|
1874
1875
|
firstName: string;
|
|
@@ -1881,7 +1882,6 @@ export declare const proofsContract: {
|
|
|
1881
1882
|
}[] | undefined;
|
|
1882
1883
|
deletedAt?: string | Date | null | undefined;
|
|
1883
1884
|
};
|
|
1884
|
-
tradeId: string;
|
|
1885
1885
|
})[];
|
|
1886
1886
|
}>;
|
|
1887
1887
|
404: z.ZodObject<{
|
|
@@ -1893,17 +1893,17 @@ export declare const proofsContract: {
|
|
|
1893
1893
|
path: z.ZodString;
|
|
1894
1894
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1895
1895
|
}, "strip", z.ZodTypeAny, {
|
|
1896
|
+
message: string;
|
|
1896
1897
|
code: string;
|
|
1897
1898
|
path: string;
|
|
1898
|
-
message: string;
|
|
1899
1899
|
statusCode: number;
|
|
1900
1900
|
timestamp: string;
|
|
1901
1901
|
details?: unknown;
|
|
1902
1902
|
correlationId?: string | undefined;
|
|
1903
1903
|
}, {
|
|
1904
|
+
message: string;
|
|
1904
1905
|
code: string;
|
|
1905
1906
|
path: string;
|
|
1906
|
-
message: string;
|
|
1907
1907
|
statusCode: number;
|
|
1908
1908
|
timestamp: string;
|
|
1909
1909
|
details?: unknown;
|
|
@@ -1918,17 +1918,17 @@ export declare const proofsContract: {
|
|
|
1918
1918
|
path: z.ZodString;
|
|
1919
1919
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1920
1920
|
}, "strip", z.ZodTypeAny, {
|
|
1921
|
+
message: string;
|
|
1921
1922
|
code: string;
|
|
1922
1923
|
path: string;
|
|
1923
|
-
message: string;
|
|
1924
1924
|
statusCode: number;
|
|
1925
1925
|
timestamp: string;
|
|
1926
1926
|
details?: unknown;
|
|
1927
1927
|
correlationId?: string | undefined;
|
|
1928
1928
|
}, {
|
|
1929
|
+
message: string;
|
|
1929
1930
|
code: string;
|
|
1930
1931
|
path: string;
|
|
1931
|
-
message: string;
|
|
1932
1932
|
statusCode: number;
|
|
1933
1933
|
timestamp: string;
|
|
1934
1934
|
details?: unknown;
|
|
@@ -1972,28 +1972,28 @@ export declare const proofsContract: {
|
|
|
1972
1972
|
verified?: boolean | undefined;
|
|
1973
1973
|
}>, "many">;
|
|
1974
1974
|
}, "strip", z.ZodTypeAny, {
|
|
1975
|
-
type: "
|
|
1975
|
+
type: "WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER";
|
|
1976
1976
|
photos: {
|
|
1977
1977
|
fileId: string;
|
|
1978
1978
|
verified: boolean;
|
|
1979
1979
|
comment?: string | undefined;
|
|
1980
1980
|
}[];
|
|
1981
1981
|
}, {
|
|
1982
|
-
type: "
|
|
1982
|
+
type: "WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER";
|
|
1983
1983
|
photos: {
|
|
1984
1984
|
fileId: string;
|
|
1985
1985
|
comment?: string | undefined;
|
|
1986
1986
|
verified?: boolean | undefined;
|
|
1987
1987
|
}[];
|
|
1988
1988
|
}>, "many">, {
|
|
1989
|
-
type: "
|
|
1989
|
+
type: "WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER";
|
|
1990
1990
|
photos: {
|
|
1991
1991
|
fileId: string;
|
|
1992
1992
|
verified: boolean;
|
|
1993
1993
|
comment?: string | undefined;
|
|
1994
1994
|
}[];
|
|
1995
1995
|
}[], {
|
|
1996
|
-
type: "
|
|
1996
|
+
type: "WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER";
|
|
1997
1997
|
photos: {
|
|
1998
1998
|
fileId: string;
|
|
1999
1999
|
comment?: string | undefined;
|
|
@@ -2001,14 +2001,14 @@ export declare const proofsContract: {
|
|
|
2001
2001
|
}[];
|
|
2002
2002
|
}[]>;
|
|
2003
2003
|
}, "strip", z.ZodTypeAny, {
|
|
2004
|
-
category: "POST";
|
|
2005
2004
|
forUserId: string;
|
|
2005
|
+
category: "POST";
|
|
2006
2006
|
linkedEntities: {
|
|
2007
2007
|
entityType: "BOOKING" | "JOB";
|
|
2008
2008
|
entityId: string;
|
|
2009
2009
|
}[];
|
|
2010
2010
|
sections: {
|
|
2011
|
-
type: "
|
|
2011
|
+
type: "WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER";
|
|
2012
2012
|
photos: {
|
|
2013
2013
|
fileId: string;
|
|
2014
2014
|
verified: boolean;
|
|
@@ -2017,10 +2017,10 @@ export declare const proofsContract: {
|
|
|
2017
2017
|
}[];
|
|
2018
2018
|
proofDate?: string | undefined;
|
|
2019
2019
|
}, {
|
|
2020
|
-
category: "POST";
|
|
2021
2020
|
forUserId: string;
|
|
2021
|
+
category: "POST";
|
|
2022
2022
|
sections: {
|
|
2023
|
-
type: "
|
|
2023
|
+
type: "WHATSAPP" | "OTHER" | "FACEBOOK" | "TELEGRAM" | "VIBER";
|
|
2024
2024
|
photos: {
|
|
2025
2025
|
fileId: string;
|
|
2026
2026
|
comment?: string | undefined;
|
|
@@ -2062,28 +2062,28 @@ export declare const proofsContract: {
|
|
|
2062
2062
|
verified?: boolean | undefined;
|
|
2063
2063
|
}>, "many">;
|
|
2064
2064
|
}, "strip", z.ZodTypeAny, {
|
|
2065
|
-
type: "
|
|
2065
|
+
type: "DISTANCE" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2066
2066
|
photos: {
|
|
2067
2067
|
fileId: string;
|
|
2068
2068
|
verified: boolean;
|
|
2069
2069
|
comment?: string | undefined;
|
|
2070
2070
|
}[];
|
|
2071
2071
|
}, {
|
|
2072
|
-
type: "
|
|
2072
|
+
type: "DISTANCE" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2073
2073
|
photos: {
|
|
2074
2074
|
fileId: string;
|
|
2075
2075
|
comment?: string | undefined;
|
|
2076
2076
|
verified?: boolean | undefined;
|
|
2077
2077
|
}[];
|
|
2078
2078
|
}>, "many">, {
|
|
2079
|
-
type: "
|
|
2079
|
+
type: "DISTANCE" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2080
2080
|
photos: {
|
|
2081
2081
|
fileId: string;
|
|
2082
2082
|
verified: boolean;
|
|
2083
2083
|
comment?: string | undefined;
|
|
2084
2084
|
}[];
|
|
2085
2085
|
}[], {
|
|
2086
|
-
type: "
|
|
2086
|
+
type: "DISTANCE" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2087
2087
|
photos: {
|
|
2088
2088
|
fileId: string;
|
|
2089
2089
|
comment?: string | undefined;
|
|
@@ -2091,14 +2091,14 @@ export declare const proofsContract: {
|
|
|
2091
2091
|
}[];
|
|
2092
2092
|
}[]>;
|
|
2093
2093
|
}, "strip", z.ZodTypeAny, {
|
|
2094
|
-
category: "BOOKING";
|
|
2095
2094
|
forUserId: string;
|
|
2095
|
+
category: "BOOKING";
|
|
2096
2096
|
linkedEntities: {
|
|
2097
2097
|
entityType: "BOOKING" | "JOB";
|
|
2098
2098
|
entityId: string;
|
|
2099
2099
|
}[];
|
|
2100
2100
|
sections: {
|
|
2101
|
-
type: "
|
|
2101
|
+
type: "DISTANCE" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2102
2102
|
photos: {
|
|
2103
2103
|
fileId: string;
|
|
2104
2104
|
verified: boolean;
|
|
@@ -2107,14 +2107,14 @@ export declare const proofsContract: {
|
|
|
2107
2107
|
}[];
|
|
2108
2108
|
proofDate?: string | undefined;
|
|
2109
2109
|
}, {
|
|
2110
|
-
category: "BOOKING";
|
|
2111
2110
|
forUserId: string;
|
|
2111
|
+
category: "BOOKING";
|
|
2112
2112
|
linkedEntities: {
|
|
2113
2113
|
entityType: "BOOKING" | "JOB";
|
|
2114
2114
|
entityId: string;
|
|
2115
2115
|
}[];
|
|
2116
2116
|
sections: {
|
|
2117
|
-
type: "
|
|
2117
|
+
type: "DISTANCE" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2118
2118
|
photos: {
|
|
2119
2119
|
fileId: string;
|
|
2120
2120
|
comment?: string | undefined;
|
|
@@ -2134,17 +2134,17 @@ export declare const proofsContract: {
|
|
|
2134
2134
|
path: z.ZodString;
|
|
2135
2135
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2136
2136
|
}, "strip", z.ZodTypeAny, {
|
|
2137
|
+
message: string;
|
|
2137
2138
|
code: string;
|
|
2138
2139
|
path: string;
|
|
2139
|
-
message: string;
|
|
2140
2140
|
statusCode: number;
|
|
2141
2141
|
timestamp: string;
|
|
2142
2142
|
details?: unknown;
|
|
2143
2143
|
correlationId?: string | undefined;
|
|
2144
2144
|
}, {
|
|
2145
|
+
message: string;
|
|
2145
2146
|
code: string;
|
|
2146
2147
|
path: string;
|
|
2147
|
-
message: string;
|
|
2148
2148
|
statusCode: number;
|
|
2149
2149
|
timestamp: string;
|
|
2150
2150
|
details?: unknown;
|
|
@@ -2159,17 +2159,17 @@ export declare const proofsContract: {
|
|
|
2159
2159
|
path: z.ZodString;
|
|
2160
2160
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2161
2161
|
}, "strip", z.ZodTypeAny, {
|
|
2162
|
+
message: string;
|
|
2162
2163
|
code: string;
|
|
2163
2164
|
path: string;
|
|
2164
|
-
message: string;
|
|
2165
2165
|
statusCode: number;
|
|
2166
2166
|
timestamp: string;
|
|
2167
2167
|
details?: unknown;
|
|
2168
2168
|
correlationId?: string | undefined;
|
|
2169
2169
|
}, {
|
|
2170
|
+
message: string;
|
|
2170
2171
|
code: string;
|
|
2171
2172
|
path: string;
|
|
2172
|
-
message: string;
|
|
2173
2173
|
statusCode: number;
|
|
2174
2174
|
timestamp: string;
|
|
2175
2175
|
details?: unknown;
|
|
@@ -2191,17 +2191,17 @@ export declare const proofsContract: {
|
|
|
2191
2191
|
path: z.ZodString;
|
|
2192
2192
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2193
2193
|
}, "strip", z.ZodTypeAny, {
|
|
2194
|
+
message: string;
|
|
2194
2195
|
code: string;
|
|
2195
2196
|
path: string;
|
|
2196
|
-
message: string;
|
|
2197
2197
|
statusCode: number;
|
|
2198
2198
|
timestamp: string;
|
|
2199
2199
|
details?: unknown;
|
|
2200
2200
|
correlationId?: string | undefined;
|
|
2201
2201
|
}, {
|
|
2202
|
+
message: string;
|
|
2202
2203
|
code: string;
|
|
2203
2204
|
path: string;
|
|
2204
|
-
message: string;
|
|
2205
2205
|
statusCode: number;
|
|
2206
2206
|
timestamp: string;
|
|
2207
2207
|
details?: unknown;
|
|
@@ -2216,17 +2216,17 @@ export declare const proofsContract: {
|
|
|
2216
2216
|
path: z.ZodString;
|
|
2217
2217
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2218
2218
|
}, "strip", z.ZodTypeAny, {
|
|
2219
|
+
message: string;
|
|
2219
2220
|
code: string;
|
|
2220
2221
|
path: string;
|
|
2221
|
-
message: string;
|
|
2222
2222
|
statusCode: number;
|
|
2223
2223
|
timestamp: string;
|
|
2224
2224
|
details?: unknown;
|
|
2225
2225
|
correlationId?: string | undefined;
|
|
2226
2226
|
}, {
|
|
2227
|
+
message: string;
|
|
2227
2228
|
code: string;
|
|
2228
2229
|
path: string;
|
|
2229
|
-
message: string;
|
|
2230
2230
|
statusCode: number;
|
|
2231
2231
|
timestamp: string;
|
|
2232
2232
|
details?: unknown;
|
|
@@ -2271,66 +2271,66 @@ export declare const proofsContract: {
|
|
|
2271
2271
|
comment: z.ZodNullable<z.ZodString>;
|
|
2272
2272
|
position: z.ZodNumber;
|
|
2273
2273
|
}, "strip", z.ZodTypeAny, {
|
|
2274
|
+
position: number;
|
|
2274
2275
|
comment: string | null;
|
|
2275
2276
|
verified: boolean;
|
|
2276
|
-
position: number;
|
|
2277
2277
|
id?: string | undefined;
|
|
2278
2278
|
fileId?: string | undefined;
|
|
2279
2279
|
}, {
|
|
2280
|
+
position: number;
|
|
2280
2281
|
comment: string | null;
|
|
2281
2282
|
verified: boolean;
|
|
2282
|
-
position: number;
|
|
2283
2283
|
id?: string | undefined;
|
|
2284
2284
|
fileId?: string | undefined;
|
|
2285
2285
|
}>, {
|
|
2286
|
+
position: number;
|
|
2286
2287
|
comment: string | null;
|
|
2287
2288
|
verified: boolean;
|
|
2288
|
-
position: number;
|
|
2289
2289
|
id?: string | undefined;
|
|
2290
2290
|
fileId?: string | undefined;
|
|
2291
2291
|
}, {
|
|
2292
|
+
position: number;
|
|
2292
2293
|
comment: string | null;
|
|
2293
2294
|
verified: boolean;
|
|
2294
|
-
position: number;
|
|
2295
2295
|
id?: string | undefined;
|
|
2296
2296
|
fileId?: string | undefined;
|
|
2297
2297
|
}>, "many">;
|
|
2298
2298
|
}, "strip", z.ZodTypeAny, {
|
|
2299
|
-
type: "
|
|
2299
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2300
2300
|
photos: {
|
|
2301
|
+
position: number;
|
|
2301
2302
|
comment: string | null;
|
|
2302
2303
|
verified: boolean;
|
|
2303
|
-
position: number;
|
|
2304
2304
|
id?: string | undefined;
|
|
2305
2305
|
fileId?: string | undefined;
|
|
2306
2306
|
}[];
|
|
2307
2307
|
id?: string | undefined;
|
|
2308
2308
|
}, {
|
|
2309
|
-
type: "
|
|
2309
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2310
2310
|
photos: {
|
|
2311
|
+
position: number;
|
|
2311
2312
|
comment: string | null;
|
|
2312
2313
|
verified: boolean;
|
|
2313
|
-
position: number;
|
|
2314
2314
|
id?: string | undefined;
|
|
2315
2315
|
fileId?: string | undefined;
|
|
2316
2316
|
}[];
|
|
2317
2317
|
id?: string | undefined;
|
|
2318
2318
|
}>, "many">, {
|
|
2319
|
-
type: "
|
|
2319
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2320
2320
|
photos: {
|
|
2321
|
+
position: number;
|
|
2321
2322
|
comment: string | null;
|
|
2322
2323
|
verified: boolean;
|
|
2323
|
-
position: number;
|
|
2324
2324
|
id?: string | undefined;
|
|
2325
2325
|
fileId?: string | undefined;
|
|
2326
2326
|
}[];
|
|
2327
2327
|
id?: string | undefined;
|
|
2328
2328
|
}[], {
|
|
2329
|
-
type: "
|
|
2329
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2330
2330
|
photos: {
|
|
2331
|
+
position: number;
|
|
2331
2332
|
comment: string | null;
|
|
2332
2333
|
verified: boolean;
|
|
2333
|
-
position: number;
|
|
2334
2334
|
id?: string | undefined;
|
|
2335
2335
|
fileId?: string | undefined;
|
|
2336
2336
|
}[];
|
|
@@ -2345,11 +2345,11 @@ export declare const proofsContract: {
|
|
|
2345
2345
|
entityId: string;
|
|
2346
2346
|
}[] | undefined;
|
|
2347
2347
|
sections?: {
|
|
2348
|
-
type: "
|
|
2348
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2349
2349
|
photos: {
|
|
2350
|
+
position: number;
|
|
2350
2351
|
comment: string | null;
|
|
2351
2352
|
verified: boolean;
|
|
2352
|
-
position: number;
|
|
2353
2353
|
id?: string | undefined;
|
|
2354
2354
|
fileId?: string | undefined;
|
|
2355
2355
|
}[];
|
|
@@ -2364,11 +2364,11 @@ export declare const proofsContract: {
|
|
|
2364
2364
|
entityId: string;
|
|
2365
2365
|
}[] | undefined;
|
|
2366
2366
|
sections?: {
|
|
2367
|
-
type: "
|
|
2367
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2368
2368
|
photos: {
|
|
2369
|
+
position: number;
|
|
2369
2370
|
comment: string | null;
|
|
2370
2371
|
verified: boolean;
|
|
2371
|
-
position: number;
|
|
2372
2372
|
id?: string | undefined;
|
|
2373
2373
|
fileId?: string | undefined;
|
|
2374
2374
|
}[];
|
|
@@ -2386,17 +2386,17 @@ export declare const proofsContract: {
|
|
|
2386
2386
|
path: z.ZodString;
|
|
2387
2387
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2388
2388
|
}, "strip", z.ZodTypeAny, {
|
|
2389
|
+
message: string;
|
|
2389
2390
|
code: string;
|
|
2390
2391
|
path: string;
|
|
2391
|
-
message: string;
|
|
2392
2392
|
statusCode: number;
|
|
2393
2393
|
timestamp: string;
|
|
2394
2394
|
details?: unknown;
|
|
2395
2395
|
correlationId?: string | undefined;
|
|
2396
2396
|
}, {
|
|
2397
|
+
message: string;
|
|
2397
2398
|
code: string;
|
|
2398
2399
|
path: string;
|
|
2399
|
-
message: string;
|
|
2400
2400
|
statusCode: number;
|
|
2401
2401
|
timestamp: string;
|
|
2402
2402
|
details?: unknown;
|
|
@@ -2411,17 +2411,17 @@ export declare const proofsContract: {
|
|
|
2411
2411
|
path: z.ZodString;
|
|
2412
2412
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2413
2413
|
}, "strip", z.ZodTypeAny, {
|
|
2414
|
+
message: string;
|
|
2414
2415
|
code: string;
|
|
2415
2416
|
path: string;
|
|
2416
|
-
message: string;
|
|
2417
2417
|
statusCode: number;
|
|
2418
2418
|
timestamp: string;
|
|
2419
2419
|
details?: unknown;
|
|
2420
2420
|
correlationId?: string | undefined;
|
|
2421
2421
|
}, {
|
|
2422
|
+
message: string;
|
|
2422
2423
|
code: string;
|
|
2423
2424
|
path: string;
|
|
2424
|
-
message: string;
|
|
2425
2425
|
statusCode: number;
|
|
2426
2426
|
timestamp: string;
|
|
2427
2427
|
details?: unknown;
|
|
@@ -2436,17 +2436,17 @@ export declare const proofsContract: {
|
|
|
2436
2436
|
path: z.ZodString;
|
|
2437
2437
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2438
2438
|
}, "strip", z.ZodTypeAny, {
|
|
2439
|
+
message: string;
|
|
2439
2440
|
code: string;
|
|
2440
2441
|
path: string;
|
|
2441
|
-
message: string;
|
|
2442
2442
|
statusCode: number;
|
|
2443
2443
|
timestamp: string;
|
|
2444
2444
|
details?: unknown;
|
|
2445
2445
|
correlationId?: string | undefined;
|
|
2446
2446
|
}, {
|
|
2447
|
+
message: string;
|
|
2447
2448
|
code: string;
|
|
2448
2449
|
path: string;
|
|
2449
|
-
message: string;
|
|
2450
2450
|
statusCode: number;
|
|
2451
2451
|
timestamp: string;
|
|
2452
2452
|
details?: unknown;
|
|
@@ -2570,34 +2570,34 @@ export declare const proofsContract: {
|
|
|
2570
2570
|
createdAt: string;
|
|
2571
2571
|
updatedAt: string;
|
|
2572
2572
|
fileId: string;
|
|
2573
|
+
position: number;
|
|
2573
2574
|
comment: string | null;
|
|
2574
2575
|
verified: boolean;
|
|
2575
|
-
position: number;
|
|
2576
2576
|
sectionId: string;
|
|
2577
2577
|
verifiedAt: string | null;
|
|
2578
2578
|
verifiedById: string | null;
|
|
2579
|
-
fileUrl?: string | undefined;
|
|
2580
2579
|
fileName?: string | undefined;
|
|
2580
|
+
fileUrl?: string | undefined;
|
|
2581
2581
|
}, {
|
|
2582
2582
|
id: string;
|
|
2583
2583
|
createdAt: string;
|
|
2584
2584
|
updatedAt: string;
|
|
2585
2585
|
fileId: string;
|
|
2586
|
+
position: number;
|
|
2586
2587
|
comment: string | null;
|
|
2587
2588
|
verified: boolean;
|
|
2588
|
-
position: number;
|
|
2589
2589
|
sectionId: string;
|
|
2590
2590
|
verifiedAt: string | null;
|
|
2591
2591
|
verifiedById: string | null;
|
|
2592
|
-
fileUrl?: string | undefined;
|
|
2593
2592
|
fileName?: string | undefined;
|
|
2593
|
+
fileUrl?: string | undefined;
|
|
2594
2594
|
}>, "many">;
|
|
2595
2595
|
photoCount: z.ZodNumber;
|
|
2596
2596
|
verifiedCount: z.ZodNumber;
|
|
2597
2597
|
createdAt: z.ZodString;
|
|
2598
2598
|
updatedAt: z.ZodString;
|
|
2599
2599
|
}, "strip", z.ZodTypeAny, {
|
|
2600
|
-
type: "
|
|
2600
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2601
2601
|
id: string;
|
|
2602
2602
|
createdAt: string;
|
|
2603
2603
|
updatedAt: string;
|
|
@@ -2606,19 +2606,19 @@ export declare const proofsContract: {
|
|
|
2606
2606
|
createdAt: string;
|
|
2607
2607
|
updatedAt: string;
|
|
2608
2608
|
fileId: string;
|
|
2609
|
+
position: number;
|
|
2609
2610
|
comment: string | null;
|
|
2610
2611
|
verified: boolean;
|
|
2611
|
-
position: number;
|
|
2612
2612
|
sectionId: string;
|
|
2613
2613
|
verifiedAt: string | null;
|
|
2614
2614
|
verifiedById: string | null;
|
|
2615
|
-
fileUrl?: string | undefined;
|
|
2616
2615
|
fileName?: string | undefined;
|
|
2616
|
+
fileUrl?: string | undefined;
|
|
2617
2617
|
}[];
|
|
2618
2618
|
photoCount: number;
|
|
2619
2619
|
verifiedCount: number;
|
|
2620
2620
|
}, {
|
|
2621
|
-
type: "
|
|
2621
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2622
2622
|
id: string;
|
|
2623
2623
|
createdAt: string;
|
|
2624
2624
|
updatedAt: string;
|
|
@@ -2627,14 +2627,14 @@ export declare const proofsContract: {
|
|
|
2627
2627
|
createdAt: string;
|
|
2628
2628
|
updatedAt: string;
|
|
2629
2629
|
fileId: string;
|
|
2630
|
+
position: number;
|
|
2630
2631
|
comment: string | null;
|
|
2631
2632
|
verified: boolean;
|
|
2632
|
-
position: number;
|
|
2633
2633
|
sectionId: string;
|
|
2634
2634
|
verifiedAt: string | null;
|
|
2635
2635
|
verifiedById: string | null;
|
|
2636
|
-
fileUrl?: string | undefined;
|
|
2637
2636
|
fileName?: string | undefined;
|
|
2637
|
+
fileUrl?: string | undefined;
|
|
2638
2638
|
}[];
|
|
2639
2639
|
photoCount: number;
|
|
2640
2640
|
verifiedCount: number;
|
|
@@ -2662,11 +2662,24 @@ export declare const proofsContract: {
|
|
|
2662
2662
|
description: string | null;
|
|
2663
2663
|
createdAt: string;
|
|
2664
2664
|
updatedAt: string;
|
|
2665
|
-
|
|
2665
|
+
createdById: string;
|
|
2666
2666
|
forUserId: string;
|
|
2667
|
+
createdBy: {
|
|
2668
|
+
id: string;
|
|
2669
|
+
firstName: string;
|
|
2670
|
+
lastName: string;
|
|
2671
|
+
phoneNumbers: {
|
|
2672
|
+
id: string;
|
|
2673
|
+
phoneNumber: string;
|
|
2674
|
+
isPrimary: boolean;
|
|
2675
|
+
description?: string | null | undefined;
|
|
2676
|
+
}[];
|
|
2677
|
+
deletedAt?: string | null | undefined;
|
|
2678
|
+
};
|
|
2679
|
+
category: "POST" | "BOOKING";
|
|
2667
2680
|
proofDate: string;
|
|
2668
2681
|
sections: {
|
|
2669
|
-
type: "
|
|
2682
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2670
2683
|
id: string;
|
|
2671
2684
|
createdAt: string;
|
|
2672
2685
|
updatedAt: string;
|
|
@@ -2675,14 +2688,14 @@ export declare const proofsContract: {
|
|
|
2675
2688
|
createdAt: string;
|
|
2676
2689
|
updatedAt: string;
|
|
2677
2690
|
fileId: string;
|
|
2691
|
+
position: number;
|
|
2678
2692
|
comment: string | null;
|
|
2679
2693
|
verified: boolean;
|
|
2680
|
-
position: number;
|
|
2681
2694
|
sectionId: string;
|
|
2682
2695
|
verifiedAt: string | null;
|
|
2683
2696
|
verifiedById: string | null;
|
|
2684
|
-
fileUrl?: string | undefined;
|
|
2685
2697
|
fileName?: string | undefined;
|
|
2698
|
+
fileUrl?: string | undefined;
|
|
2686
2699
|
}[];
|
|
2687
2700
|
photoCount: number;
|
|
2688
2701
|
verifiedCount: number;
|
|
@@ -2700,19 +2713,6 @@ export declare const proofsContract: {
|
|
|
2700
2713
|
}[];
|
|
2701
2714
|
deletedAt?: string | null | undefined;
|
|
2702
2715
|
};
|
|
2703
|
-
createdById: string;
|
|
2704
|
-
createdBy: {
|
|
2705
|
-
id: string;
|
|
2706
|
-
firstName: string;
|
|
2707
|
-
lastName: string;
|
|
2708
|
-
phoneNumbers: {
|
|
2709
|
-
id: string;
|
|
2710
|
-
phoneNumber: string;
|
|
2711
|
-
isPrimary: boolean;
|
|
2712
|
-
description?: string | null | undefined;
|
|
2713
|
-
}[];
|
|
2714
|
-
deletedAt?: string | null | undefined;
|
|
2715
|
-
};
|
|
2716
2716
|
entityLinks: {
|
|
2717
2717
|
id: string;
|
|
2718
2718
|
entityType: "BOOKING" | "JOB";
|
|
@@ -2725,11 +2725,24 @@ export declare const proofsContract: {
|
|
|
2725
2725
|
description: string | null;
|
|
2726
2726
|
createdAt: string;
|
|
2727
2727
|
updatedAt: string;
|
|
2728
|
-
|
|
2728
|
+
createdById: string;
|
|
2729
2729
|
forUserId: string;
|
|
2730
|
+
createdBy: {
|
|
2731
|
+
id: string;
|
|
2732
|
+
firstName: string;
|
|
2733
|
+
lastName: string;
|
|
2734
|
+
phoneNumbers?: {
|
|
2735
|
+
id: string;
|
|
2736
|
+
phoneNumber: string;
|
|
2737
|
+
description?: string | null | undefined;
|
|
2738
|
+
isPrimary?: boolean | undefined;
|
|
2739
|
+
}[] | undefined;
|
|
2740
|
+
deletedAt?: string | Date | null | undefined;
|
|
2741
|
+
};
|
|
2742
|
+
category: "POST" | "BOOKING";
|
|
2730
2743
|
proofDate: string;
|
|
2731
2744
|
sections: {
|
|
2732
|
-
type: "
|
|
2745
|
+
type: "WHATSAPP" | "OTHER" | "DISTANCE" | "FACEBOOK" | "TELEGRAM" | "VIBER" | "CONFIRMATION" | "MORNING_STATUS";
|
|
2733
2746
|
id: string;
|
|
2734
2747
|
createdAt: string;
|
|
2735
2748
|
updatedAt: string;
|
|
@@ -2738,14 +2751,14 @@ export declare const proofsContract: {
|
|
|
2738
2751
|
createdAt: string;
|
|
2739
2752
|
updatedAt: string;
|
|
2740
2753
|
fileId: string;
|
|
2754
|
+
position: number;
|
|
2741
2755
|
comment: string | null;
|
|
2742
2756
|
verified: boolean;
|
|
2743
|
-
position: number;
|
|
2744
2757
|
sectionId: string;
|
|
2745
2758
|
verifiedAt: string | null;
|
|
2746
2759
|
verifiedById: string | null;
|
|
2747
|
-
fileUrl?: string | undefined;
|
|
2748
2760
|
fileName?: string | undefined;
|
|
2761
|
+
fileUrl?: string | undefined;
|
|
2749
2762
|
}[];
|
|
2750
2763
|
photoCount: number;
|
|
2751
2764
|
verifiedCount: number;
|
|
@@ -2763,19 +2776,6 @@ export declare const proofsContract: {
|
|
|
2763
2776
|
}[] | undefined;
|
|
2764
2777
|
deletedAt?: string | Date | null | undefined;
|
|
2765
2778
|
};
|
|
2766
|
-
createdById: string;
|
|
2767
|
-
createdBy: {
|
|
2768
|
-
id: string;
|
|
2769
|
-
firstName: string;
|
|
2770
|
-
lastName: string;
|
|
2771
|
-
phoneNumbers?: {
|
|
2772
|
-
id: string;
|
|
2773
|
-
phoneNumber: string;
|
|
2774
|
-
description?: string | null | undefined;
|
|
2775
|
-
isPrimary?: boolean | undefined;
|
|
2776
|
-
}[] | undefined;
|
|
2777
|
-
deletedAt?: string | Date | null | undefined;
|
|
2778
|
-
};
|
|
2779
2779
|
entityLinks: {
|
|
2780
2780
|
id: string;
|
|
2781
2781
|
entityType: "BOOKING" | "JOB";
|
|
@@ -2793,17 +2793,17 @@ export declare const proofsContract: {
|
|
|
2793
2793
|
path: z.ZodString;
|
|
2794
2794
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2795
2795
|
}, "strip", z.ZodTypeAny, {
|
|
2796
|
+
message: string;
|
|
2796
2797
|
code: string;
|
|
2797
2798
|
path: string;
|
|
2798
|
-
message: string;
|
|
2799
2799
|
statusCode: number;
|
|
2800
2800
|
timestamp: string;
|
|
2801
2801
|
details?: unknown;
|
|
2802
2802
|
correlationId?: string | undefined;
|
|
2803
2803
|
}, {
|
|
2804
|
+
message: string;
|
|
2804
2805
|
code: string;
|
|
2805
2806
|
path: string;
|
|
2806
|
-
message: string;
|
|
2807
2807
|
statusCode: number;
|
|
2808
2808
|
timestamp: string;
|
|
2809
2809
|
details?: unknown;
|
|
@@ -2818,17 +2818,17 @@ export declare const proofsContract: {
|
|
|
2818
2818
|
path: z.ZodString;
|
|
2819
2819
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2820
2820
|
}, "strip", z.ZodTypeAny, {
|
|
2821
|
+
message: string;
|
|
2821
2822
|
code: string;
|
|
2822
2823
|
path: string;
|
|
2823
|
-
message: string;
|
|
2824
2824
|
statusCode: number;
|
|
2825
2825
|
timestamp: string;
|
|
2826
2826
|
details?: unknown;
|
|
2827
2827
|
correlationId?: string | undefined;
|
|
2828
2828
|
}, {
|
|
2829
|
+
message: string;
|
|
2829
2830
|
code: string;
|
|
2830
2831
|
path: string;
|
|
2831
|
-
message: string;
|
|
2832
2832
|
statusCode: number;
|
|
2833
2833
|
timestamp: string;
|
|
2834
2834
|
details?: unknown;
|
|
@@ -2843,17 +2843,17 @@ export declare const proofsContract: {
|
|
|
2843
2843
|
path: z.ZodString;
|
|
2844
2844
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2845
2845
|
}, "strip", z.ZodTypeAny, {
|
|
2846
|
+
message: string;
|
|
2846
2847
|
code: string;
|
|
2847
2848
|
path: string;
|
|
2848
|
-
message: string;
|
|
2849
2849
|
statusCode: number;
|
|
2850
2850
|
timestamp: string;
|
|
2851
2851
|
details?: unknown;
|
|
2852
2852
|
correlationId?: string | undefined;
|
|
2853
2853
|
}, {
|
|
2854
|
+
message: string;
|
|
2854
2855
|
code: string;
|
|
2855
2856
|
path: string;
|
|
2856
|
-
message: string;
|
|
2857
2857
|
statusCode: number;
|
|
2858
2858
|
timestamp: string;
|
|
2859
2859
|
details?: unknown;
|
|
@@ -2886,17 +2886,17 @@ export declare const proofsContract: {
|
|
|
2886
2886
|
path: z.ZodString;
|
|
2887
2887
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2888
2888
|
}, "strip", z.ZodTypeAny, {
|
|
2889
|
+
message: string;
|
|
2889
2890
|
code: string;
|
|
2890
2891
|
path: string;
|
|
2891
|
-
message: string;
|
|
2892
2892
|
statusCode: number;
|
|
2893
2893
|
timestamp: string;
|
|
2894
2894
|
details?: unknown;
|
|
2895
2895
|
correlationId?: string | undefined;
|
|
2896
2896
|
}, {
|
|
2897
|
+
message: string;
|
|
2897
2898
|
code: string;
|
|
2898
2899
|
path: string;
|
|
2899
|
-
message: string;
|
|
2900
2900
|
statusCode: number;
|
|
2901
2901
|
timestamp: string;
|
|
2902
2902
|
details?: unknown;
|
|
@@ -2911,17 +2911,17 @@ export declare const proofsContract: {
|
|
|
2911
2911
|
path: z.ZodString;
|
|
2912
2912
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2913
2913
|
}, "strip", z.ZodTypeAny, {
|
|
2914
|
+
message: string;
|
|
2914
2915
|
code: string;
|
|
2915
2916
|
path: string;
|
|
2916
|
-
message: string;
|
|
2917
2917
|
statusCode: number;
|
|
2918
2918
|
timestamp: string;
|
|
2919
2919
|
details?: unknown;
|
|
2920
2920
|
correlationId?: string | undefined;
|
|
2921
2921
|
}, {
|
|
2922
|
+
message: string;
|
|
2922
2923
|
code: string;
|
|
2923
2924
|
path: string;
|
|
2924
|
-
message: string;
|
|
2925
2925
|
statusCode: number;
|
|
2926
2926
|
timestamp: string;
|
|
2927
2927
|
details?: unknown;
|
|
@@ -2936,17 +2936,17 @@ export declare const proofsContract: {
|
|
|
2936
2936
|
path: z.ZodString;
|
|
2937
2937
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2938
2938
|
}, "strip", z.ZodTypeAny, {
|
|
2939
|
+
message: string;
|
|
2939
2940
|
code: string;
|
|
2940
2941
|
path: string;
|
|
2941
|
-
message: string;
|
|
2942
2942
|
statusCode: number;
|
|
2943
2943
|
timestamp: string;
|
|
2944
2944
|
details?: unknown;
|
|
2945
2945
|
correlationId?: string | undefined;
|
|
2946
2946
|
}, {
|
|
2947
|
+
message: string;
|
|
2947
2948
|
code: string;
|
|
2948
2949
|
path: string;
|
|
2949
|
-
message: string;
|
|
2950
2950
|
statusCode: number;
|
|
2951
2951
|
timestamp: string;
|
|
2952
2952
|
details?: unknown;
|
|
@@ -2962,17 +2962,17 @@ export declare const proofsContract: {
|
|
|
2962
2962
|
path: z.ZodString;
|
|
2963
2963
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2964
2964
|
}, "strip", z.ZodTypeAny, {
|
|
2965
|
+
message: string;
|
|
2965
2966
|
code: string;
|
|
2966
2967
|
path: string;
|
|
2967
|
-
message: string;
|
|
2968
2968
|
statusCode: number;
|
|
2969
2969
|
timestamp: string;
|
|
2970
2970
|
details?: unknown;
|
|
2971
2971
|
correlationId?: string | undefined;
|
|
2972
2972
|
}, {
|
|
2973
|
+
message: string;
|
|
2973
2974
|
code: string;
|
|
2974
2975
|
path: string;
|
|
2975
|
-
message: string;
|
|
2976
2976
|
statusCode: number;
|
|
2977
2977
|
timestamp: string;
|
|
2978
2978
|
details?: unknown;
|
|
@@ -2987,17 +2987,17 @@ export declare const proofsContract: {
|
|
|
2987
2987
|
path: z.ZodString;
|
|
2988
2988
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2989
2989
|
}, "strip", z.ZodTypeAny, {
|
|
2990
|
+
message: string;
|
|
2990
2991
|
code: string;
|
|
2991
2992
|
path: string;
|
|
2992
|
-
message: string;
|
|
2993
2993
|
statusCode: number;
|
|
2994
2994
|
timestamp: string;
|
|
2995
2995
|
details?: unknown;
|
|
2996
2996
|
correlationId?: string | undefined;
|
|
2997
2997
|
}, {
|
|
2998
|
+
message: string;
|
|
2998
2999
|
code: string;
|
|
2999
3000
|
path: string;
|
|
3000
|
-
message: string;
|
|
3001
3001
|
statusCode: number;
|
|
3002
3002
|
timestamp: string;
|
|
3003
3003
|
details?: unknown;
|