@dakkitor/api-contracts 1.9.1 → 1.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/abilities.contract.d.ts +28 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +31 -1
- package/dist/abilities/abilities.contract.spec.js +52 -3
- package/dist/abilities/admin-dashboard.abilities.test.js +1 -0
- package/dist/abilities/automatic-caller.abilities.json +1 -0
- package/dist/abilities/first-agent.abilities.json +14 -0
- package/dist/abilities/interconnection.abilities.json +17 -1
- package/dist/abilities/office-manager.abilities.json +4 -0
- package/dist/abilities/second-agent.abilities.json +32 -1
- package/dist/abilities/worker-curator.abilities.json +17 -1
- package/dist/actives/actives.contract.d.ts +7200 -6919
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +137 -137
- package/dist/auth/auth.contract.d.ts +85 -85
- package/dist/bookings/backdate-guard.spec.js +24 -32
- package/dist/bookings/bookings.contract.d.ts +10542 -10116
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +2 -16
- package/dist/call-history/call-history.contract.d.ts +315 -140
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +39 -6
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +9230 -4114
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.js +362 -16
- package/dist/candidate-calling/candidate-calling.contract.spec.js +164 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts +10 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.js +33 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +622 -622
- package/dist/clients/clients.contract.d.ts +289 -289
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +601 -601
- package/dist/collaborations/collaborations.contract.d.ts +538 -538
- package/dist/common/callback-slots.d.ts +4 -0
- package/dist/common/callback-slots.d.ts.map +1 -0
- package/dist/common/callback-slots.js +20 -0
- package/dist/common/common-schemas.d.ts +10 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +6 -0
- package/dist/companies/companies.contract.d.ts +120 -120
- package/dist/crews/crews.contract.d.ts +278 -278
- package/dist/cron-executions/cron-executions.contract.d.ts +238 -238
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2154 -1296
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +36 -3
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +300 -300
- package/dist/curated-worker-leads/contact-history.spec.js +86 -0
- package/dist/curated-worker-leads/job-candidate-cards.spec.js +19 -0
- package/dist/curated-worker-leads/job-candidates.spec.js +179 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +8598 -2519
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +126 -1
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +110 -110
- package/dist/curated-workers/curated-workers.contract.d.ts +1213 -1131
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.js +160 -0
- package/dist/dashboards/dashboard-widgets.contract.d.ts +1278 -535
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +46 -1
- package/dist/dashboards/dashboard.contract.d.ts +8 -8
- package/dist/document-intake/document-intake.contract.d.ts +1145 -1145
- package/dist/export-jobs/export-jobs.contract.d.ts +663 -663
- package/dist/exports-events/exports-events.schemas.d.ts +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/jobs/jobs.contract.d.ts +5586 -3381
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +95 -2
- package/dist/jobs/jobs.contract.spec.js +231 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +123 -123
- package/dist/lead-assignments/lead-assignments.contract.d.ts +1897 -122
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.js +102 -2
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts +2 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts.map +1 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.js +51 -0
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +103 -103
- package/dist/leads/leads.contract.d.ts +210 -210
- package/dist/locations/location-enrichment.contract.spec.d.ts +2 -0
- package/dist/locations/location-enrichment.contract.spec.d.ts.map +1 -0
- package/dist/locations/location-enrichment.contract.spec.js +50 -0
- package/dist/locations/locations.contract.d.ts +132 -98
- package/dist/locations/locations.contract.d.ts.map +1 -1
- package/dist/locations/locations.contract.js +10 -0
- package/dist/notifications/notifications.contract.d.ts +512 -40
- package/dist/notifications/notifications.contract.d.ts.map +1 -1
- package/dist/notifications/notifications.contract.js +36 -2
- package/dist/notifications/notifications.contract.spec.d.ts +2 -0
- package/dist/notifications/notifications.contract.spec.d.ts.map +1 -0
- package/dist/notifications/notifications.contract.spec.js +39 -0
- package/dist/own-research/own-research.contract.d.ts +196 -130
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/proofs/proofs.contract.d.ts +356 -356
- package/dist/proofs/proofs.dtos.d.ts +148 -148
- package/dist/realtime/job-call-priority-updated.d.ts +18 -0
- package/dist/realtime/job-call-priority-updated.d.ts.map +1 -0
- package/dist/realtime/job-call-priority-updated.js +17 -0
- package/dist/shared/summary-schemas.d.ts +36 -27
- package/dist/shared/summary-schemas.d.ts.map +1 -1
- package/dist/shared/summary-schemas.js +7 -0
- package/dist/sheets-sync/sheets-sync.contract.d.ts +683 -683
- package/dist/user-access-grants/user-access-grants.contract.d.ts +55 -55
- package/dist/users/users.contract.d.ts +236 -236
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +69 -69
- package/dist/workers/workers.contract.d.ts +2620 -2420
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -114,75 +114,75 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
114
114
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
115
115
|
fileName: z.ZodOptional<z.ZodString>;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
id: string;
|
|
118
|
-
updatedAt: string;
|
|
119
117
|
createdAt: string;
|
|
120
|
-
|
|
118
|
+
updatedAt: string;
|
|
119
|
+
id: string;
|
|
121
120
|
comment: string | null;
|
|
122
121
|
verified: boolean;
|
|
123
122
|
fileId: string;
|
|
123
|
+
position: number;
|
|
124
124
|
sectionId: string;
|
|
125
125
|
verifiedAt: string | null;
|
|
126
126
|
verifiedById: string | null;
|
|
127
|
-
fileName?: string | undefined;
|
|
128
127
|
fileUrl?: string | undefined;
|
|
128
|
+
fileName?: string | undefined;
|
|
129
129
|
}, {
|
|
130
|
-
id: string;
|
|
131
|
-
updatedAt: string;
|
|
132
130
|
createdAt: string;
|
|
133
|
-
|
|
131
|
+
updatedAt: string;
|
|
132
|
+
id: string;
|
|
134
133
|
comment: string | null;
|
|
135
134
|
verified: boolean;
|
|
136
135
|
fileId: string;
|
|
136
|
+
position: number;
|
|
137
137
|
sectionId: string;
|
|
138
138
|
verifiedAt: string | null;
|
|
139
139
|
verifiedById: string | null;
|
|
140
|
-
fileName?: string | undefined;
|
|
141
140
|
fileUrl?: string | undefined;
|
|
141
|
+
fileName?: 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
|
-
id: string;
|
|
149
|
-
updatedAt: string;
|
|
150
148
|
createdAt: string;
|
|
151
|
-
|
|
149
|
+
updatedAt: string;
|
|
150
|
+
id: string;
|
|
151
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
152
152
|
photos: {
|
|
153
|
-
id: string;
|
|
154
|
-
updatedAt: string;
|
|
155
153
|
createdAt: string;
|
|
156
|
-
|
|
154
|
+
updatedAt: string;
|
|
155
|
+
id: string;
|
|
157
156
|
comment: string | null;
|
|
158
157
|
verified: boolean;
|
|
159
158
|
fileId: string;
|
|
159
|
+
position: number;
|
|
160
160
|
sectionId: string;
|
|
161
161
|
verifiedAt: string | null;
|
|
162
162
|
verifiedById: string | null;
|
|
163
|
-
fileName?: string | undefined;
|
|
164
163
|
fileUrl?: string | undefined;
|
|
164
|
+
fileName?: string | undefined;
|
|
165
165
|
}[];
|
|
166
166
|
photoCount: number;
|
|
167
167
|
verifiedCount: number;
|
|
168
168
|
}, {
|
|
169
|
-
id: string;
|
|
170
|
-
updatedAt: string;
|
|
171
169
|
createdAt: string;
|
|
172
|
-
|
|
170
|
+
updatedAt: string;
|
|
171
|
+
id: string;
|
|
172
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
173
173
|
photos: {
|
|
174
|
-
id: string;
|
|
175
|
-
updatedAt: string;
|
|
176
174
|
createdAt: string;
|
|
177
|
-
|
|
175
|
+
updatedAt: string;
|
|
176
|
+
id: string;
|
|
178
177
|
comment: string | null;
|
|
179
178
|
verified: boolean;
|
|
180
179
|
fileId: string;
|
|
180
|
+
position: number;
|
|
181
181
|
sectionId: string;
|
|
182
182
|
verifiedAt: string | null;
|
|
183
183
|
verifiedById: string | null;
|
|
184
|
-
fileName?: string | undefined;
|
|
185
184
|
fileUrl?: string | undefined;
|
|
185
|
+
fileName?: string | undefined;
|
|
186
186
|
}[];
|
|
187
187
|
photoCount: number;
|
|
188
188
|
verifiedCount: number;
|
|
@@ -206,12 +206,8 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
206
206
|
verifiedCount: z.ZodNumber;
|
|
207
207
|
totalPhotos: z.ZodNumber;
|
|
208
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
|
-
id: string;
|
|
210
|
-
updatedAt: string;
|
|
211
209
|
createdAt: string;
|
|
212
|
-
|
|
213
|
-
createdById: string;
|
|
214
|
-
forUserId: string;
|
|
210
|
+
updatedAt: string;
|
|
215
211
|
createdBy: {
|
|
216
212
|
id: string;
|
|
217
213
|
lastName: string;
|
|
@@ -224,26 +220,30 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
224
220
|
}[];
|
|
225
221
|
deletedAt?: string | null | undefined;
|
|
226
222
|
};
|
|
223
|
+
id: string;
|
|
224
|
+
description: string | null;
|
|
225
|
+
createdById: string;
|
|
227
226
|
category: "POST" | "BOOKING";
|
|
227
|
+
forUserId: string;
|
|
228
228
|
proofDate: string;
|
|
229
229
|
sections: {
|
|
230
|
-
id: string;
|
|
231
|
-
updatedAt: string;
|
|
232
230
|
createdAt: string;
|
|
233
|
-
|
|
231
|
+
updatedAt: string;
|
|
232
|
+
id: string;
|
|
233
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
234
234
|
photos: {
|
|
235
|
-
id: string;
|
|
236
|
-
updatedAt: string;
|
|
237
235
|
createdAt: string;
|
|
238
|
-
|
|
236
|
+
updatedAt: string;
|
|
237
|
+
id: string;
|
|
239
238
|
comment: string | null;
|
|
240
239
|
verified: boolean;
|
|
241
240
|
fileId: string;
|
|
241
|
+
position: number;
|
|
242
242
|
sectionId: string;
|
|
243
243
|
verifiedAt: string | null;
|
|
244
244
|
verifiedById: string | null;
|
|
245
|
-
fileName?: string | undefined;
|
|
246
245
|
fileUrl?: string | undefined;
|
|
246
|
+
fileName?: string | undefined;
|
|
247
247
|
}[];
|
|
248
248
|
photoCount: number;
|
|
249
249
|
verifiedCount: number;
|
|
@@ -269,12 +269,8 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
269
269
|
}[];
|
|
270
270
|
totalPhotos: number;
|
|
271
271
|
}, {
|
|
272
|
-
id: string;
|
|
273
|
-
updatedAt: string;
|
|
274
272
|
createdAt: string;
|
|
275
|
-
|
|
276
|
-
createdById: string;
|
|
277
|
-
forUserId: string;
|
|
273
|
+
updatedAt: string;
|
|
278
274
|
createdBy: {
|
|
279
275
|
id: string;
|
|
280
276
|
lastName: string;
|
|
@@ -287,26 +283,30 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
287
283
|
}[] | undefined;
|
|
288
284
|
deletedAt?: string | Date | null | undefined;
|
|
289
285
|
};
|
|
286
|
+
id: string;
|
|
287
|
+
description: string | null;
|
|
288
|
+
createdById: string;
|
|
290
289
|
category: "POST" | "BOOKING";
|
|
290
|
+
forUserId: string;
|
|
291
291
|
proofDate: string;
|
|
292
292
|
sections: {
|
|
293
|
-
id: string;
|
|
294
|
-
updatedAt: string;
|
|
295
293
|
createdAt: string;
|
|
296
|
-
|
|
294
|
+
updatedAt: string;
|
|
295
|
+
id: string;
|
|
296
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
297
297
|
photos: {
|
|
298
|
-
id: string;
|
|
299
|
-
updatedAt: string;
|
|
300
298
|
createdAt: string;
|
|
301
|
-
|
|
299
|
+
updatedAt: string;
|
|
300
|
+
id: string;
|
|
302
301
|
comment: string | null;
|
|
303
302
|
verified: boolean;
|
|
304
303
|
fileId: string;
|
|
304
|
+
position: number;
|
|
305
305
|
sectionId: string;
|
|
306
306
|
verifiedAt: string | null;
|
|
307
307
|
verifiedById: string | null;
|
|
308
|
-
fileName?: string | undefined;
|
|
309
308
|
fileUrl?: string | undefined;
|
|
309
|
+
fileName?: string | undefined;
|
|
310
310
|
}[];
|
|
311
311
|
photoCount: number;
|
|
312
312
|
verifiedCount: number;
|
|
@@ -340,12 +340,8 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
340
340
|
}, "strip", z.ZodTypeAny, {
|
|
341
341
|
limit: number;
|
|
342
342
|
items: {
|
|
343
|
-
id: string;
|
|
344
|
-
updatedAt: string;
|
|
345
343
|
createdAt: string;
|
|
346
|
-
|
|
347
|
-
createdById: string;
|
|
348
|
-
forUserId: string;
|
|
344
|
+
updatedAt: string;
|
|
349
345
|
createdBy: {
|
|
350
346
|
id: string;
|
|
351
347
|
lastName: string;
|
|
@@ -358,26 +354,30 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
358
354
|
}[];
|
|
359
355
|
deletedAt?: string | null | undefined;
|
|
360
356
|
};
|
|
357
|
+
id: string;
|
|
358
|
+
description: string | null;
|
|
359
|
+
createdById: string;
|
|
361
360
|
category: "POST" | "BOOKING";
|
|
361
|
+
forUserId: string;
|
|
362
362
|
proofDate: string;
|
|
363
363
|
sections: {
|
|
364
|
-
id: string;
|
|
365
|
-
updatedAt: string;
|
|
366
364
|
createdAt: string;
|
|
367
|
-
|
|
365
|
+
updatedAt: string;
|
|
366
|
+
id: string;
|
|
367
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
368
368
|
photos: {
|
|
369
|
-
id: string;
|
|
370
|
-
updatedAt: string;
|
|
371
369
|
createdAt: string;
|
|
372
|
-
|
|
370
|
+
updatedAt: string;
|
|
371
|
+
id: string;
|
|
373
372
|
comment: string | null;
|
|
374
373
|
verified: boolean;
|
|
375
374
|
fileId: string;
|
|
375
|
+
position: number;
|
|
376
376
|
sectionId: string;
|
|
377
377
|
verifiedAt: string | null;
|
|
378
378
|
verifiedById: string | null;
|
|
379
|
-
fileName?: string | undefined;
|
|
380
379
|
fileUrl?: string | undefined;
|
|
380
|
+
fileName?: string | undefined;
|
|
381
381
|
}[];
|
|
382
382
|
photoCount: number;
|
|
383
383
|
verifiedCount: number;
|
|
@@ -410,12 +410,8 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
410
410
|
}, {
|
|
411
411
|
limit: number;
|
|
412
412
|
items: {
|
|
413
|
-
id: string;
|
|
414
|
-
updatedAt: string;
|
|
415
413
|
createdAt: string;
|
|
416
|
-
|
|
417
|
-
createdById: string;
|
|
418
|
-
forUserId: string;
|
|
414
|
+
updatedAt: string;
|
|
419
415
|
createdBy: {
|
|
420
416
|
id: string;
|
|
421
417
|
lastName: string;
|
|
@@ -428,26 +424,30 @@ export declare const ListProofsResponseSchema: z.ZodObject<{
|
|
|
428
424
|
}[] | undefined;
|
|
429
425
|
deletedAt?: string | Date | null | undefined;
|
|
430
426
|
};
|
|
427
|
+
id: string;
|
|
428
|
+
description: string | null;
|
|
429
|
+
createdById: string;
|
|
431
430
|
category: "POST" | "BOOKING";
|
|
431
|
+
forUserId: string;
|
|
432
432
|
proofDate: string;
|
|
433
433
|
sections: {
|
|
434
|
-
id: string;
|
|
435
|
-
updatedAt: string;
|
|
436
434
|
createdAt: string;
|
|
437
|
-
|
|
435
|
+
updatedAt: string;
|
|
436
|
+
id: string;
|
|
437
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
438
438
|
photos: {
|
|
439
|
-
id: string;
|
|
440
|
-
updatedAt: string;
|
|
441
439
|
createdAt: string;
|
|
442
|
-
|
|
440
|
+
updatedAt: string;
|
|
441
|
+
id: string;
|
|
443
442
|
comment: string | null;
|
|
444
443
|
verified: boolean;
|
|
445
444
|
fileId: string;
|
|
445
|
+
position: number;
|
|
446
446
|
sectionId: string;
|
|
447
447
|
verifiedAt: string | null;
|
|
448
448
|
verifiedById: string | null;
|
|
449
|
-
fileName?: string | undefined;
|
|
450
449
|
fileUrl?: string | undefined;
|
|
450
|
+
fileName?: string | undefined;
|
|
451
451
|
}[];
|
|
452
452
|
photoCount: number;
|
|
453
453
|
verifiedCount: number;
|
|
@@ -522,27 +522,27 @@ export declare const proofsContract: {
|
|
|
522
522
|
to?: string | null | undefined;
|
|
523
523
|
} | undefined;
|
|
524
524
|
createdById?: string | undefined;
|
|
525
|
-
forUserId?: string | undefined;
|
|
526
525
|
category?: "POST" | "BOOKING" | undefined;
|
|
527
|
-
type?: "
|
|
528
|
-
verified?: "all" | "
|
|
526
|
+
type?: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS" | undefined;
|
|
527
|
+
verified?: "all" | "partial" | "none" | undefined;
|
|
528
|
+
forUserId?: string | undefined;
|
|
529
529
|
linkedBookingId?: string | undefined;
|
|
530
530
|
}, {
|
|
531
531
|
sort?: {
|
|
532
532
|
field: "createdAt";
|
|
533
533
|
order: "ASC" | "DESC";
|
|
534
534
|
}[] | null | undefined;
|
|
535
|
-
page?: number | undefined;
|
|
536
|
-
limit?: number | undefined;
|
|
537
535
|
createdAt?: {
|
|
538
536
|
from?: string | null | undefined;
|
|
539
537
|
to?: string | null | undefined;
|
|
540
538
|
} | undefined;
|
|
539
|
+
page?: number | undefined;
|
|
540
|
+
limit?: number | undefined;
|
|
541
541
|
createdById?: string | undefined;
|
|
542
|
-
forUserId?: string | undefined;
|
|
543
542
|
category?: "POST" | "BOOKING" | undefined;
|
|
544
|
-
type?: "
|
|
545
|
-
verified?: "all" | "
|
|
543
|
+
type?: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS" | undefined;
|
|
544
|
+
verified?: "all" | "partial" | "none" | undefined;
|
|
545
|
+
forUserId?: string | undefined;
|
|
546
546
|
linkedBookingId?: string | undefined;
|
|
547
547
|
}>;
|
|
548
548
|
metadata: {
|
|
@@ -552,7 +552,7 @@ export declare const proofsContract: {
|
|
|
552
552
|
method: "GET";
|
|
553
553
|
path: "/proofs";
|
|
554
554
|
responses: {
|
|
555
|
-
|
|
555
|
+
401: z.ZodObject<{
|
|
556
556
|
statusCode: z.ZodNumber;
|
|
557
557
|
message: z.ZodString;
|
|
558
558
|
code: z.ZodString;
|
|
@@ -561,23 +561,23 @@ export declare const proofsContract: {
|
|
|
561
561
|
path: z.ZodString;
|
|
562
562
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
563
563
|
}, "strip", z.ZodTypeAny, {
|
|
564
|
-
message: string;
|
|
565
564
|
code: string;
|
|
566
565
|
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;
|
|
573
572
|
code: string;
|
|
574
573
|
path: string;
|
|
574
|
+
message: string;
|
|
575
575
|
statusCode: number;
|
|
576
576
|
timestamp: string;
|
|
577
577
|
details?: unknown;
|
|
578
578
|
correlationId?: string | undefined;
|
|
579
579
|
}>;
|
|
580
|
-
|
|
580
|
+
400: z.ZodObject<{
|
|
581
581
|
statusCode: z.ZodNumber;
|
|
582
582
|
message: z.ZodString;
|
|
583
583
|
code: z.ZodString;
|
|
@@ -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;
|
|
590
589
|
code: string;
|
|
591
590
|
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;
|
|
598
597
|
code: string;
|
|
599
598
|
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;
|
|
615
614
|
code: string;
|
|
616
615
|
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;
|
|
623
622
|
code: string;
|
|
624
623
|
path: string;
|
|
624
|
+
message: string;
|
|
625
625
|
statusCode: number;
|
|
626
626
|
timestamp: string;
|
|
627
627
|
details?: unknown;
|
|
@@ -742,75 +742,75 @@ export declare const proofsContract: {
|
|
|
742
742
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
743
743
|
fileName: z.ZodOptional<z.ZodString>;
|
|
744
744
|
}, "strip", z.ZodTypeAny, {
|
|
745
|
-
id: string;
|
|
746
|
-
updatedAt: string;
|
|
747
745
|
createdAt: string;
|
|
748
|
-
|
|
746
|
+
updatedAt: string;
|
|
747
|
+
id: string;
|
|
749
748
|
comment: string | null;
|
|
750
749
|
verified: boolean;
|
|
751
750
|
fileId: string;
|
|
751
|
+
position: number;
|
|
752
752
|
sectionId: string;
|
|
753
753
|
verifiedAt: string | null;
|
|
754
754
|
verifiedById: string | null;
|
|
755
|
-
fileName?: string | undefined;
|
|
756
755
|
fileUrl?: string | undefined;
|
|
756
|
+
fileName?: string | undefined;
|
|
757
757
|
}, {
|
|
758
|
-
id: string;
|
|
759
|
-
updatedAt: string;
|
|
760
758
|
createdAt: string;
|
|
761
|
-
|
|
759
|
+
updatedAt: string;
|
|
760
|
+
id: string;
|
|
762
761
|
comment: string | null;
|
|
763
762
|
verified: boolean;
|
|
764
763
|
fileId: string;
|
|
764
|
+
position: number;
|
|
765
765
|
sectionId: string;
|
|
766
766
|
verifiedAt: string | null;
|
|
767
767
|
verifiedById: string | null;
|
|
768
|
-
fileName?: string | undefined;
|
|
769
768
|
fileUrl?: string | undefined;
|
|
769
|
+
fileName?: 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
|
-
id: string;
|
|
777
|
-
updatedAt: string;
|
|
778
776
|
createdAt: string;
|
|
779
|
-
|
|
777
|
+
updatedAt: string;
|
|
778
|
+
id: string;
|
|
779
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
780
780
|
photos: {
|
|
781
|
-
id: string;
|
|
782
|
-
updatedAt: string;
|
|
783
781
|
createdAt: string;
|
|
784
|
-
|
|
782
|
+
updatedAt: string;
|
|
783
|
+
id: string;
|
|
785
784
|
comment: string | null;
|
|
786
785
|
verified: boolean;
|
|
787
786
|
fileId: string;
|
|
787
|
+
position: number;
|
|
788
788
|
sectionId: string;
|
|
789
789
|
verifiedAt: string | null;
|
|
790
790
|
verifiedById: string | null;
|
|
791
|
-
fileName?: string | undefined;
|
|
792
791
|
fileUrl?: string | undefined;
|
|
792
|
+
fileName?: string | undefined;
|
|
793
793
|
}[];
|
|
794
794
|
photoCount: number;
|
|
795
795
|
verifiedCount: number;
|
|
796
796
|
}, {
|
|
797
|
-
id: string;
|
|
798
|
-
updatedAt: string;
|
|
799
797
|
createdAt: string;
|
|
800
|
-
|
|
798
|
+
updatedAt: string;
|
|
799
|
+
id: string;
|
|
800
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
801
801
|
photos: {
|
|
802
|
-
id: string;
|
|
803
|
-
updatedAt: string;
|
|
804
802
|
createdAt: string;
|
|
805
|
-
|
|
803
|
+
updatedAt: string;
|
|
804
|
+
id: string;
|
|
806
805
|
comment: string | null;
|
|
807
806
|
verified: boolean;
|
|
808
807
|
fileId: string;
|
|
808
|
+
position: number;
|
|
809
809
|
sectionId: string;
|
|
810
810
|
verifiedAt: string | null;
|
|
811
811
|
verifiedById: string | null;
|
|
812
|
-
fileName?: string | undefined;
|
|
813
812
|
fileUrl?: string | undefined;
|
|
813
|
+
fileName?: string | undefined;
|
|
814
814
|
}[];
|
|
815
815
|
photoCount: number;
|
|
816
816
|
verifiedCount: number;
|
|
@@ -834,12 +834,8 @@ export declare const proofsContract: {
|
|
|
834
834
|
verifiedCount: z.ZodNumber;
|
|
835
835
|
totalPhotos: z.ZodNumber;
|
|
836
836
|
}, "strip", z.ZodTypeAny, {
|
|
837
|
-
id: string;
|
|
838
|
-
updatedAt: string;
|
|
839
837
|
createdAt: string;
|
|
840
|
-
|
|
841
|
-
createdById: string;
|
|
842
|
-
forUserId: string;
|
|
838
|
+
updatedAt: string;
|
|
843
839
|
createdBy: {
|
|
844
840
|
id: string;
|
|
845
841
|
lastName: string;
|
|
@@ -852,26 +848,30 @@ export declare const proofsContract: {
|
|
|
852
848
|
}[];
|
|
853
849
|
deletedAt?: string | null | undefined;
|
|
854
850
|
};
|
|
851
|
+
id: string;
|
|
852
|
+
description: string | null;
|
|
853
|
+
createdById: string;
|
|
855
854
|
category: "POST" | "BOOKING";
|
|
855
|
+
forUserId: string;
|
|
856
856
|
proofDate: string;
|
|
857
857
|
sections: {
|
|
858
|
-
id: string;
|
|
859
|
-
updatedAt: string;
|
|
860
858
|
createdAt: string;
|
|
861
|
-
|
|
859
|
+
updatedAt: string;
|
|
860
|
+
id: string;
|
|
861
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
862
862
|
photos: {
|
|
863
|
-
id: string;
|
|
864
|
-
updatedAt: string;
|
|
865
863
|
createdAt: string;
|
|
866
|
-
|
|
864
|
+
updatedAt: string;
|
|
865
|
+
id: string;
|
|
867
866
|
comment: string | null;
|
|
868
867
|
verified: boolean;
|
|
869
868
|
fileId: string;
|
|
869
|
+
position: number;
|
|
870
870
|
sectionId: string;
|
|
871
871
|
verifiedAt: string | null;
|
|
872
872
|
verifiedById: string | null;
|
|
873
|
-
fileName?: string | undefined;
|
|
874
873
|
fileUrl?: string | undefined;
|
|
874
|
+
fileName?: string | undefined;
|
|
875
875
|
}[];
|
|
876
876
|
photoCount: number;
|
|
877
877
|
verifiedCount: number;
|
|
@@ -897,12 +897,8 @@ export declare const proofsContract: {
|
|
|
897
897
|
}[];
|
|
898
898
|
totalPhotos: number;
|
|
899
899
|
}, {
|
|
900
|
-
id: string;
|
|
901
|
-
updatedAt: string;
|
|
902
900
|
createdAt: string;
|
|
903
|
-
|
|
904
|
-
createdById: string;
|
|
905
|
-
forUserId: string;
|
|
901
|
+
updatedAt: string;
|
|
906
902
|
createdBy: {
|
|
907
903
|
id: string;
|
|
908
904
|
lastName: string;
|
|
@@ -915,26 +911,30 @@ export declare const proofsContract: {
|
|
|
915
911
|
}[] | undefined;
|
|
916
912
|
deletedAt?: string | Date | null | undefined;
|
|
917
913
|
};
|
|
914
|
+
id: string;
|
|
915
|
+
description: string | null;
|
|
916
|
+
createdById: string;
|
|
918
917
|
category: "POST" | "BOOKING";
|
|
918
|
+
forUserId: string;
|
|
919
919
|
proofDate: string;
|
|
920
920
|
sections: {
|
|
921
|
-
id: string;
|
|
922
|
-
updatedAt: string;
|
|
923
921
|
createdAt: string;
|
|
924
|
-
|
|
922
|
+
updatedAt: string;
|
|
923
|
+
id: string;
|
|
924
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
925
925
|
photos: {
|
|
926
|
-
id: string;
|
|
927
|
-
updatedAt: string;
|
|
928
926
|
createdAt: string;
|
|
929
|
-
|
|
927
|
+
updatedAt: string;
|
|
928
|
+
id: string;
|
|
930
929
|
comment: string | null;
|
|
931
930
|
verified: boolean;
|
|
932
931
|
fileId: string;
|
|
932
|
+
position: number;
|
|
933
933
|
sectionId: string;
|
|
934
934
|
verifiedAt: string | null;
|
|
935
935
|
verifiedById: string | null;
|
|
936
|
-
fileName?: string | undefined;
|
|
937
936
|
fileUrl?: string | undefined;
|
|
937
|
+
fileName?: string | undefined;
|
|
938
938
|
}[];
|
|
939
939
|
photoCount: number;
|
|
940
940
|
verifiedCount: number;
|
|
@@ -968,12 +968,8 @@ export declare const proofsContract: {
|
|
|
968
968
|
}, "strip", z.ZodTypeAny, {
|
|
969
969
|
limit: number;
|
|
970
970
|
items: {
|
|
971
|
-
id: string;
|
|
972
|
-
updatedAt: string;
|
|
973
971
|
createdAt: string;
|
|
974
|
-
|
|
975
|
-
createdById: string;
|
|
976
|
-
forUserId: string;
|
|
972
|
+
updatedAt: string;
|
|
977
973
|
createdBy: {
|
|
978
974
|
id: string;
|
|
979
975
|
lastName: string;
|
|
@@ -986,26 +982,30 @@ export declare const proofsContract: {
|
|
|
986
982
|
}[];
|
|
987
983
|
deletedAt?: string | null | undefined;
|
|
988
984
|
};
|
|
985
|
+
id: string;
|
|
986
|
+
description: string | null;
|
|
987
|
+
createdById: string;
|
|
989
988
|
category: "POST" | "BOOKING";
|
|
989
|
+
forUserId: string;
|
|
990
990
|
proofDate: string;
|
|
991
991
|
sections: {
|
|
992
|
-
id: string;
|
|
993
|
-
updatedAt: string;
|
|
994
992
|
createdAt: string;
|
|
995
|
-
|
|
993
|
+
updatedAt: string;
|
|
994
|
+
id: string;
|
|
995
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
996
996
|
photos: {
|
|
997
|
-
id: string;
|
|
998
|
-
updatedAt: string;
|
|
999
997
|
createdAt: string;
|
|
1000
|
-
|
|
998
|
+
updatedAt: string;
|
|
999
|
+
id: string;
|
|
1001
1000
|
comment: string | null;
|
|
1002
1001
|
verified: boolean;
|
|
1003
1002
|
fileId: string;
|
|
1003
|
+
position: number;
|
|
1004
1004
|
sectionId: string;
|
|
1005
1005
|
verifiedAt: string | null;
|
|
1006
1006
|
verifiedById: string | null;
|
|
1007
|
-
fileName?: string | undefined;
|
|
1008
1007
|
fileUrl?: string | undefined;
|
|
1008
|
+
fileName?: string | undefined;
|
|
1009
1009
|
}[];
|
|
1010
1010
|
photoCount: number;
|
|
1011
1011
|
verifiedCount: number;
|
|
@@ -1038,12 +1038,8 @@ export declare const proofsContract: {
|
|
|
1038
1038
|
}, {
|
|
1039
1039
|
limit: number;
|
|
1040
1040
|
items: {
|
|
1041
|
-
id: string;
|
|
1042
|
-
updatedAt: string;
|
|
1043
1041
|
createdAt: string;
|
|
1044
|
-
|
|
1045
|
-
createdById: string;
|
|
1046
|
-
forUserId: string;
|
|
1042
|
+
updatedAt: string;
|
|
1047
1043
|
createdBy: {
|
|
1048
1044
|
id: string;
|
|
1049
1045
|
lastName: string;
|
|
@@ -1056,26 +1052,30 @@ export declare const proofsContract: {
|
|
|
1056
1052
|
}[] | undefined;
|
|
1057
1053
|
deletedAt?: string | Date | null | undefined;
|
|
1058
1054
|
};
|
|
1055
|
+
id: string;
|
|
1056
|
+
description: string | null;
|
|
1057
|
+
createdById: string;
|
|
1059
1058
|
category: "POST" | "BOOKING";
|
|
1059
|
+
forUserId: string;
|
|
1060
1060
|
proofDate: string;
|
|
1061
1061
|
sections: {
|
|
1062
|
-
id: string;
|
|
1063
|
-
updatedAt: string;
|
|
1064
1062
|
createdAt: string;
|
|
1065
|
-
|
|
1063
|
+
updatedAt: string;
|
|
1064
|
+
id: string;
|
|
1065
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
1066
1066
|
photos: {
|
|
1067
|
-
id: string;
|
|
1068
|
-
updatedAt: string;
|
|
1069
1067
|
createdAt: string;
|
|
1070
|
-
|
|
1068
|
+
updatedAt: string;
|
|
1069
|
+
id: string;
|
|
1071
1070
|
comment: string | null;
|
|
1072
1071
|
verified: boolean;
|
|
1073
1072
|
fileId: string;
|
|
1073
|
+
position: number;
|
|
1074
1074
|
sectionId: string;
|
|
1075
1075
|
verifiedAt: string | null;
|
|
1076
1076
|
verifiedById: string | null;
|
|
1077
|
-
fileName?: string | undefined;
|
|
1078
1077
|
fileUrl?: string | undefined;
|
|
1078
|
+
fileName?: string | undefined;
|
|
1079
1079
|
}[];
|
|
1080
1080
|
photoCount: number;
|
|
1081
1081
|
verifiedCount: number;
|
|
@@ -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;
|
|
1119
1118
|
code: string;
|
|
1120
1119
|
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;
|
|
1127
1126
|
code: string;
|
|
1128
1127
|
path: string;
|
|
1128
|
+
message: string;
|
|
1129
1129
|
statusCode: number;
|
|
1130
1130
|
timestamp: string;
|
|
1131
1131
|
details?: unknown;
|
|
@@ -1148,7 +1148,7 @@ export declare const proofsContract: {
|
|
|
1148
1148
|
method: "GET";
|
|
1149
1149
|
path: "/proofs/:id";
|
|
1150
1150
|
responses: {
|
|
1151
|
-
|
|
1151
|
+
401: z.ZodObject<{
|
|
1152
1152
|
statusCode: z.ZodNumber;
|
|
1153
1153
|
message: z.ZodString;
|
|
1154
1154
|
code: z.ZodString;
|
|
@@ -1157,23 +1157,23 @@ export declare const proofsContract: {
|
|
|
1157
1157
|
path: z.ZodString;
|
|
1158
1158
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1159
1159
|
}, "strip", z.ZodTypeAny, {
|
|
1160
|
-
message: string;
|
|
1161
1160
|
code: string;
|
|
1162
1161
|
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;
|
|
1169
1168
|
code: string;
|
|
1170
1169
|
path: string;
|
|
1170
|
+
message: string;
|
|
1171
1171
|
statusCode: number;
|
|
1172
1172
|
timestamp: string;
|
|
1173
1173
|
details?: unknown;
|
|
1174
1174
|
correlationId?: string | undefined;
|
|
1175
1175
|
}>;
|
|
1176
|
-
|
|
1176
|
+
400: z.ZodObject<{
|
|
1177
1177
|
statusCode: z.ZodNumber;
|
|
1178
1178
|
message: z.ZodString;
|
|
1179
1179
|
code: z.ZodString;
|
|
@@ -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;
|
|
1186
1185
|
code: string;
|
|
1187
1186
|
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;
|
|
1194
1193
|
code: string;
|
|
1195
1194
|
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;
|
|
1211
1210
|
code: string;
|
|
1212
1211
|
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;
|
|
1219
1218
|
code: string;
|
|
1220
1219
|
path: string;
|
|
1220
|
+
message: string;
|
|
1221
1221
|
statusCode: number;
|
|
1222
1222
|
timestamp: string;
|
|
1223
1223
|
details?: unknown;
|
|
@@ -1337,75 +1337,75 @@ export declare const proofsContract: {
|
|
|
1337
1337
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
1338
1338
|
fileName: z.ZodOptional<z.ZodString>;
|
|
1339
1339
|
}, "strip", z.ZodTypeAny, {
|
|
1340
|
-
id: string;
|
|
1341
|
-
updatedAt: string;
|
|
1342
1340
|
createdAt: string;
|
|
1343
|
-
|
|
1341
|
+
updatedAt: string;
|
|
1342
|
+
id: string;
|
|
1344
1343
|
comment: string | null;
|
|
1345
1344
|
verified: boolean;
|
|
1346
1345
|
fileId: string;
|
|
1346
|
+
position: number;
|
|
1347
1347
|
sectionId: string;
|
|
1348
1348
|
verifiedAt: string | null;
|
|
1349
1349
|
verifiedById: string | null;
|
|
1350
|
-
fileName?: string | undefined;
|
|
1351
1350
|
fileUrl?: string | undefined;
|
|
1351
|
+
fileName?: string | undefined;
|
|
1352
1352
|
}, {
|
|
1353
|
-
id: string;
|
|
1354
|
-
updatedAt: string;
|
|
1355
1353
|
createdAt: string;
|
|
1356
|
-
|
|
1354
|
+
updatedAt: string;
|
|
1355
|
+
id: string;
|
|
1357
1356
|
comment: string | null;
|
|
1358
1357
|
verified: boolean;
|
|
1359
1358
|
fileId: string;
|
|
1359
|
+
position: number;
|
|
1360
1360
|
sectionId: string;
|
|
1361
1361
|
verifiedAt: string | null;
|
|
1362
1362
|
verifiedById: string | null;
|
|
1363
|
-
fileName?: string | undefined;
|
|
1364
1363
|
fileUrl?: string | undefined;
|
|
1364
|
+
fileName?: 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
|
-
id: string;
|
|
1372
|
-
updatedAt: string;
|
|
1373
1371
|
createdAt: string;
|
|
1374
|
-
|
|
1372
|
+
updatedAt: string;
|
|
1373
|
+
id: string;
|
|
1374
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
1375
1375
|
photos: {
|
|
1376
|
-
id: string;
|
|
1377
|
-
updatedAt: string;
|
|
1378
1376
|
createdAt: string;
|
|
1379
|
-
|
|
1377
|
+
updatedAt: string;
|
|
1378
|
+
id: string;
|
|
1380
1379
|
comment: string | null;
|
|
1381
1380
|
verified: boolean;
|
|
1382
1381
|
fileId: string;
|
|
1382
|
+
position: number;
|
|
1383
1383
|
sectionId: string;
|
|
1384
1384
|
verifiedAt: string | null;
|
|
1385
1385
|
verifiedById: string | null;
|
|
1386
|
-
fileName?: string | undefined;
|
|
1387
1386
|
fileUrl?: string | undefined;
|
|
1387
|
+
fileName?: string | undefined;
|
|
1388
1388
|
}[];
|
|
1389
1389
|
photoCount: number;
|
|
1390
1390
|
verifiedCount: number;
|
|
1391
1391
|
}, {
|
|
1392
|
-
id: string;
|
|
1393
|
-
updatedAt: string;
|
|
1394
1392
|
createdAt: string;
|
|
1395
|
-
|
|
1393
|
+
updatedAt: string;
|
|
1394
|
+
id: string;
|
|
1395
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
1396
1396
|
photos: {
|
|
1397
|
-
id: string;
|
|
1398
|
-
updatedAt: string;
|
|
1399
1397
|
createdAt: string;
|
|
1400
|
-
|
|
1398
|
+
updatedAt: string;
|
|
1399
|
+
id: string;
|
|
1401
1400
|
comment: string | null;
|
|
1402
1401
|
verified: boolean;
|
|
1403
1402
|
fileId: string;
|
|
1403
|
+
position: number;
|
|
1404
1404
|
sectionId: string;
|
|
1405
1405
|
verifiedAt: string | null;
|
|
1406
1406
|
verifiedById: string | null;
|
|
1407
|
-
fileName?: string | undefined;
|
|
1408
1407
|
fileUrl?: string | undefined;
|
|
1408
|
+
fileName?: string | undefined;
|
|
1409
1409
|
}[];
|
|
1410
1410
|
photoCount: number;
|
|
1411
1411
|
verifiedCount: number;
|
|
@@ -1429,12 +1429,8 @@ export declare const proofsContract: {
|
|
|
1429
1429
|
verifiedCount: z.ZodNumber;
|
|
1430
1430
|
totalPhotos: z.ZodNumber;
|
|
1431
1431
|
}, "strip", z.ZodTypeAny, {
|
|
1432
|
-
id: string;
|
|
1433
|
-
updatedAt: string;
|
|
1434
1432
|
createdAt: string;
|
|
1435
|
-
|
|
1436
|
-
createdById: string;
|
|
1437
|
-
forUserId: string;
|
|
1433
|
+
updatedAt: string;
|
|
1438
1434
|
createdBy: {
|
|
1439
1435
|
id: string;
|
|
1440
1436
|
lastName: string;
|
|
@@ -1447,26 +1443,30 @@ export declare const proofsContract: {
|
|
|
1447
1443
|
}[];
|
|
1448
1444
|
deletedAt?: string | null | undefined;
|
|
1449
1445
|
};
|
|
1446
|
+
id: string;
|
|
1447
|
+
description: string | null;
|
|
1448
|
+
createdById: string;
|
|
1450
1449
|
category: "POST" | "BOOKING";
|
|
1450
|
+
forUserId: string;
|
|
1451
1451
|
proofDate: string;
|
|
1452
1452
|
sections: {
|
|
1453
|
-
id: string;
|
|
1454
|
-
updatedAt: string;
|
|
1455
1453
|
createdAt: string;
|
|
1456
|
-
|
|
1454
|
+
updatedAt: string;
|
|
1455
|
+
id: string;
|
|
1456
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
1457
1457
|
photos: {
|
|
1458
|
-
id: string;
|
|
1459
|
-
updatedAt: string;
|
|
1460
1458
|
createdAt: string;
|
|
1461
|
-
|
|
1459
|
+
updatedAt: string;
|
|
1460
|
+
id: string;
|
|
1462
1461
|
comment: string | null;
|
|
1463
1462
|
verified: boolean;
|
|
1464
1463
|
fileId: string;
|
|
1464
|
+
position: number;
|
|
1465
1465
|
sectionId: string;
|
|
1466
1466
|
verifiedAt: string | null;
|
|
1467
1467
|
verifiedById: string | null;
|
|
1468
|
-
fileName?: string | undefined;
|
|
1469
1468
|
fileUrl?: string | undefined;
|
|
1469
|
+
fileName?: string | undefined;
|
|
1470
1470
|
}[];
|
|
1471
1471
|
photoCount: number;
|
|
1472
1472
|
verifiedCount: number;
|
|
@@ -1492,12 +1492,8 @@ export declare const proofsContract: {
|
|
|
1492
1492
|
}[];
|
|
1493
1493
|
totalPhotos: number;
|
|
1494
1494
|
}, {
|
|
1495
|
-
id: string;
|
|
1496
|
-
updatedAt: string;
|
|
1497
1495
|
createdAt: string;
|
|
1498
|
-
|
|
1499
|
-
createdById: string;
|
|
1500
|
-
forUserId: string;
|
|
1496
|
+
updatedAt: string;
|
|
1501
1497
|
createdBy: {
|
|
1502
1498
|
id: string;
|
|
1503
1499
|
lastName: string;
|
|
@@ -1510,26 +1506,30 @@ export declare const proofsContract: {
|
|
|
1510
1506
|
}[] | undefined;
|
|
1511
1507
|
deletedAt?: string | Date | null | undefined;
|
|
1512
1508
|
};
|
|
1509
|
+
id: string;
|
|
1510
|
+
description: string | null;
|
|
1511
|
+
createdById: string;
|
|
1513
1512
|
category: "POST" | "BOOKING";
|
|
1513
|
+
forUserId: string;
|
|
1514
1514
|
proofDate: string;
|
|
1515
1515
|
sections: {
|
|
1516
|
-
id: string;
|
|
1517
|
-
updatedAt: string;
|
|
1518
1516
|
createdAt: string;
|
|
1519
|
-
|
|
1517
|
+
updatedAt: string;
|
|
1518
|
+
id: string;
|
|
1519
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
1520
1520
|
photos: {
|
|
1521
|
-
id: string;
|
|
1522
|
-
updatedAt: string;
|
|
1523
1521
|
createdAt: string;
|
|
1524
|
-
|
|
1522
|
+
updatedAt: string;
|
|
1523
|
+
id: string;
|
|
1525
1524
|
comment: string | null;
|
|
1526
1525
|
verified: boolean;
|
|
1527
1526
|
fileId: string;
|
|
1527
|
+
position: number;
|
|
1528
1528
|
sectionId: string;
|
|
1529
1529
|
verifiedAt: string | null;
|
|
1530
1530
|
verifiedById: string | null;
|
|
1531
|
-
fileName?: string | undefined;
|
|
1532
1531
|
fileUrl?: string | undefined;
|
|
1532
|
+
fileName?: string | undefined;
|
|
1533
1533
|
}[];
|
|
1534
1534
|
photoCount: number;
|
|
1535
1535
|
verifiedCount: number;
|
|
@@ -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;
|
|
1568
1567
|
code: string;
|
|
1569
1568
|
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;
|
|
1576
1575
|
code: string;
|
|
1577
1576
|
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;
|
|
1593
1592
|
code: string;
|
|
1594
1593
|
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;
|
|
1601
1600
|
code: string;
|
|
1602
1601
|
path: string;
|
|
1602
|
+
message: string;
|
|
1603
1603
|
statusCode: number;
|
|
1604
1604
|
timestamp: string;
|
|
1605
1605
|
details?: unknown;
|
|
@@ -1622,7 +1622,7 @@ export declare const proofsContract: {
|
|
|
1622
1622
|
method: "GET";
|
|
1623
1623
|
path: "/proofs/:id/linked-entities";
|
|
1624
1624
|
responses: {
|
|
1625
|
-
|
|
1625
|
+
401: z.ZodObject<{
|
|
1626
1626
|
statusCode: z.ZodNumber;
|
|
1627
1627
|
message: z.ZodString;
|
|
1628
1628
|
code: z.ZodString;
|
|
@@ -1631,23 +1631,23 @@ export declare const proofsContract: {
|
|
|
1631
1631
|
path: z.ZodString;
|
|
1632
1632
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1633
1633
|
}, "strip", z.ZodTypeAny, {
|
|
1634
|
-
message: string;
|
|
1635
1634
|
code: string;
|
|
1636
1635
|
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;
|
|
1643
1642
|
code: string;
|
|
1644
1643
|
path: string;
|
|
1644
|
+
message: string;
|
|
1645
1645
|
statusCode: number;
|
|
1646
1646
|
timestamp: string;
|
|
1647
1647
|
details?: unknown;
|
|
1648
1648
|
correlationId?: string | undefined;
|
|
1649
1649
|
}>;
|
|
1650
|
-
|
|
1650
|
+
400: z.ZodObject<{
|
|
1651
1651
|
statusCode: z.ZodNumber;
|
|
1652
1652
|
message: z.ZodString;
|
|
1653
1653
|
code: z.ZodString;
|
|
@@ -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;
|
|
1660
1659
|
code: string;
|
|
1661
1660
|
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;
|
|
1668
1667
|
code: string;
|
|
1669
1668
|
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;
|
|
1685
1684
|
code: string;
|
|
1686
1685
|
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;
|
|
1693
1692
|
code: string;
|
|
1694
1693
|
path: string;
|
|
1694
|
+
message: string;
|
|
1695
1695
|
statusCode: number;
|
|
1696
1696
|
timestamp: string;
|
|
1697
1697
|
details?: unknown;
|
|
@@ -1717,8 +1717,8 @@ export declare const proofsContract: {
|
|
|
1717
1717
|
startDate: z.ZodNullable<z.ZodString>;
|
|
1718
1718
|
createdAt: z.ZodString;
|
|
1719
1719
|
}, "strip", z.ZodTypeAny, {
|
|
1720
|
-
id: string;
|
|
1721
1720
|
createdAt: string;
|
|
1721
|
+
id: string;
|
|
1722
1722
|
startDate: string | null;
|
|
1723
1723
|
worker: {
|
|
1724
1724
|
id: string;
|
|
@@ -1727,8 +1727,8 @@ export declare const proofsContract: {
|
|
|
1727
1727
|
};
|
|
1728
1728
|
type: "BOOKING";
|
|
1729
1729
|
}, {
|
|
1730
|
-
id: string;
|
|
1731
1730
|
createdAt: string;
|
|
1731
|
+
id: string;
|
|
1732
1732
|
startDate: string | null;
|
|
1733
1733
|
worker: {
|
|
1734
1734
|
id: string;
|
|
@@ -1787,10 +1787,8 @@ export declare const proofsContract: {
|
|
|
1787
1787
|
}>;
|
|
1788
1788
|
createdAt: z.ZodString;
|
|
1789
1789
|
}, "strip", z.ZodTypeAny, {
|
|
1790
|
-
id: string;
|
|
1791
|
-
createdAt: string;
|
|
1792
1790
|
postcode: string | null;
|
|
1793
|
-
|
|
1791
|
+
createdAt: string;
|
|
1794
1792
|
createdBy: {
|
|
1795
1793
|
id: string;
|
|
1796
1794
|
lastName: string;
|
|
@@ -1803,12 +1801,12 @@ export declare const proofsContract: {
|
|
|
1803
1801
|
}[];
|
|
1804
1802
|
deletedAt?: string | null | undefined;
|
|
1805
1803
|
};
|
|
1804
|
+
id: string;
|
|
1805
|
+
tradeId: string;
|
|
1806
1806
|
type: "JOB";
|
|
1807
1807
|
}, {
|
|
1808
|
-
id: string;
|
|
1809
|
-
createdAt: string;
|
|
1810
1808
|
postcode: string | null;
|
|
1811
|
-
|
|
1809
|
+
createdAt: string;
|
|
1812
1810
|
createdBy: {
|
|
1813
1811
|
id: string;
|
|
1814
1812
|
lastName: string;
|
|
@@ -1821,12 +1819,14 @@ export declare const proofsContract: {
|
|
|
1821
1819
|
}[] | undefined;
|
|
1822
1820
|
deletedAt?: string | Date | null | undefined;
|
|
1823
1821
|
};
|
|
1822
|
+
id: string;
|
|
1823
|
+
tradeId: string;
|
|
1824
1824
|
type: "JOB";
|
|
1825
1825
|
}>]>, "many">;
|
|
1826
1826
|
}, "strip", z.ZodTypeAny, {
|
|
1827
1827
|
items: ({
|
|
1828
|
-
id: string;
|
|
1829
1828
|
createdAt: string;
|
|
1829
|
+
id: string;
|
|
1830
1830
|
startDate: string | null;
|
|
1831
1831
|
worker: {
|
|
1832
1832
|
id: string;
|
|
@@ -1835,10 +1835,8 @@ export declare const proofsContract: {
|
|
|
1835
1835
|
};
|
|
1836
1836
|
type: "BOOKING";
|
|
1837
1837
|
} | {
|
|
1838
|
-
id: string;
|
|
1839
|
-
createdAt: string;
|
|
1840
1838
|
postcode: string | null;
|
|
1841
|
-
|
|
1839
|
+
createdAt: string;
|
|
1842
1840
|
createdBy: {
|
|
1843
1841
|
id: string;
|
|
1844
1842
|
lastName: string;
|
|
@@ -1851,12 +1849,14 @@ export declare const proofsContract: {
|
|
|
1851
1849
|
}[];
|
|
1852
1850
|
deletedAt?: string | null | undefined;
|
|
1853
1851
|
};
|
|
1852
|
+
id: string;
|
|
1853
|
+
tradeId: string;
|
|
1854
1854
|
type: "JOB";
|
|
1855
1855
|
})[];
|
|
1856
1856
|
}, {
|
|
1857
1857
|
items: ({
|
|
1858
|
-
id: string;
|
|
1859
1858
|
createdAt: string;
|
|
1859
|
+
id: string;
|
|
1860
1860
|
startDate: string | null;
|
|
1861
1861
|
worker: {
|
|
1862
1862
|
id: string;
|
|
@@ -1865,10 +1865,8 @@ export declare const proofsContract: {
|
|
|
1865
1865
|
};
|
|
1866
1866
|
type: "BOOKING";
|
|
1867
1867
|
} | {
|
|
1868
|
-
id: string;
|
|
1869
|
-
createdAt: string;
|
|
1870
1868
|
postcode: string | null;
|
|
1871
|
-
|
|
1869
|
+
createdAt: string;
|
|
1872
1870
|
createdBy: {
|
|
1873
1871
|
id: string;
|
|
1874
1872
|
lastName: string;
|
|
@@ -1881,6 +1879,8 @@ export declare const proofsContract: {
|
|
|
1881
1879
|
}[] | undefined;
|
|
1882
1880
|
deletedAt?: string | Date | null | undefined;
|
|
1883
1881
|
};
|
|
1882
|
+
id: string;
|
|
1883
|
+
tradeId: string;
|
|
1884
1884
|
type: "JOB";
|
|
1885
1885
|
})[];
|
|
1886
1886
|
}>;
|
|
@@ -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;
|
|
1897
1896
|
code: string;
|
|
1898
1897
|
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;
|
|
1905
1904
|
code: string;
|
|
1906
1905
|
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;
|
|
1922
1921
|
code: string;
|
|
1923
1922
|
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;
|
|
1930
1929
|
code: string;
|
|
1931
1930
|
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: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER";
|
|
1976
1976
|
photos: {
|
|
1977
1977
|
verified: boolean;
|
|
1978
1978
|
fileId: string;
|
|
1979
1979
|
comment?: string | undefined;
|
|
1980
1980
|
}[];
|
|
1981
1981
|
}, {
|
|
1982
|
-
type: "
|
|
1982
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER";
|
|
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: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER";
|
|
1990
1990
|
photos: {
|
|
1991
1991
|
verified: boolean;
|
|
1992
1992
|
fileId: string;
|
|
1993
1993
|
comment?: string | undefined;
|
|
1994
1994
|
}[];
|
|
1995
1995
|
}[], {
|
|
1996
|
-
type: "
|
|
1996
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER";
|
|
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
|
-
forUserId: string;
|
|
2005
2004
|
category: "POST";
|
|
2005
|
+
forUserId: string;
|
|
2006
2006
|
linkedEntities: {
|
|
2007
2007
|
entityType: "BOOKING" | "JOB";
|
|
2008
2008
|
entityId: string;
|
|
2009
2009
|
}[];
|
|
2010
2010
|
sections: {
|
|
2011
|
-
type: "
|
|
2011
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER";
|
|
2012
2012
|
photos: {
|
|
2013
2013
|
verified: boolean;
|
|
2014
2014
|
fileId: string;
|
|
@@ -2017,10 +2017,10 @@ export declare const proofsContract: {
|
|
|
2017
2017
|
}[];
|
|
2018
2018
|
proofDate?: string | undefined;
|
|
2019
2019
|
}, {
|
|
2020
|
-
forUserId: string;
|
|
2021
2020
|
category: "POST";
|
|
2021
|
+
forUserId: string;
|
|
2022
2022
|
sections: {
|
|
2023
|
-
type: "
|
|
2023
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER";
|
|
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: "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
2066
2066
|
photos: {
|
|
2067
2067
|
verified: boolean;
|
|
2068
2068
|
fileId: string;
|
|
2069
2069
|
comment?: string | undefined;
|
|
2070
2070
|
}[];
|
|
2071
2071
|
}, {
|
|
2072
|
-
type: "
|
|
2072
|
+
type: "CONFIRMATION" | "DISTANCE" | "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: "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
2080
2080
|
photos: {
|
|
2081
2081
|
verified: boolean;
|
|
2082
2082
|
fileId: string;
|
|
2083
2083
|
comment?: string | undefined;
|
|
2084
2084
|
}[];
|
|
2085
2085
|
}[], {
|
|
2086
|
-
type: "
|
|
2086
|
+
type: "CONFIRMATION" | "DISTANCE" | "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
|
-
forUserId: string;
|
|
2095
2094
|
category: "BOOKING";
|
|
2095
|
+
forUserId: string;
|
|
2096
2096
|
linkedEntities: {
|
|
2097
2097
|
entityType: "BOOKING" | "JOB";
|
|
2098
2098
|
entityId: string;
|
|
2099
2099
|
}[];
|
|
2100
2100
|
sections: {
|
|
2101
|
-
type: "
|
|
2101
|
+
type: "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
2102
2102
|
photos: {
|
|
2103
2103
|
verified: boolean;
|
|
2104
2104
|
fileId: string;
|
|
@@ -2107,14 +2107,14 @@ export declare const proofsContract: {
|
|
|
2107
2107
|
}[];
|
|
2108
2108
|
proofDate?: string | undefined;
|
|
2109
2109
|
}, {
|
|
2110
|
-
forUserId: string;
|
|
2111
2110
|
category: "BOOKING";
|
|
2111
|
+
forUserId: string;
|
|
2112
2112
|
linkedEntities: {
|
|
2113
2113
|
entityType: "BOOKING" | "JOB";
|
|
2114
2114
|
entityId: string;
|
|
2115
2115
|
}[];
|
|
2116
2116
|
sections: {
|
|
2117
|
-
type: "
|
|
2117
|
+
type: "CONFIRMATION" | "DISTANCE" | "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;
|
|
2138
2137
|
code: string;
|
|
2139
2138
|
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;
|
|
2146
2145
|
code: string;
|
|
2147
2146
|
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;
|
|
2163
2162
|
code: string;
|
|
2164
2163
|
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;
|
|
2171
2170
|
code: string;
|
|
2172
2171
|
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;
|
|
2195
2194
|
code: string;
|
|
2196
2195
|
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;
|
|
2203
2202
|
code: string;
|
|
2204
2203
|
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;
|
|
2220
2219
|
code: string;
|
|
2221
2220
|
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;
|
|
2228
2227
|
code: string;
|
|
2229
2228
|
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;
|
|
2275
2274
|
comment: string | null;
|
|
2276
2275
|
verified: boolean;
|
|
2276
|
+
position: number;
|
|
2277
2277
|
id?: string | undefined;
|
|
2278
2278
|
fileId?: string | undefined;
|
|
2279
2279
|
}, {
|
|
2280
|
-
position: number;
|
|
2281
2280
|
comment: string | null;
|
|
2282
2281
|
verified: boolean;
|
|
2282
|
+
position: number;
|
|
2283
2283
|
id?: string | undefined;
|
|
2284
2284
|
fileId?: string | undefined;
|
|
2285
2285
|
}>, {
|
|
2286
|
-
position: number;
|
|
2287
2286
|
comment: string | null;
|
|
2288
2287
|
verified: boolean;
|
|
2288
|
+
position: number;
|
|
2289
2289
|
id?: string | undefined;
|
|
2290
2290
|
fileId?: string | undefined;
|
|
2291
2291
|
}, {
|
|
2292
|
-
position: number;
|
|
2293
2292
|
comment: string | null;
|
|
2294
2293
|
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: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
2300
2300
|
photos: {
|
|
2301
|
-
position: number;
|
|
2302
2301
|
comment: string | null;
|
|
2303
2302
|
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: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
2310
2310
|
photos: {
|
|
2311
|
-
position: number;
|
|
2312
2311
|
comment: string | null;
|
|
2313
2312
|
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: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
2320
2320
|
photos: {
|
|
2321
|
-
position: number;
|
|
2322
2321
|
comment: string | null;
|
|
2323
2322
|
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: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
2330
2330
|
photos: {
|
|
2331
|
-
position: number;
|
|
2332
2331
|
comment: string | null;
|
|
2333
2332
|
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: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
2349
2349
|
photos: {
|
|
2350
|
-
position: number;
|
|
2351
2350
|
comment: string | null;
|
|
2352
2351
|
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: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
2368
2368
|
photos: {
|
|
2369
|
-
position: number;
|
|
2370
2369
|
comment: string | null;
|
|
2371
2370
|
verified: boolean;
|
|
2371
|
+
position: number;
|
|
2372
2372
|
id?: string | undefined;
|
|
2373
2373
|
fileId?: string | undefined;
|
|
2374
2374
|
}[];
|
|
@@ -2377,7 +2377,7 @@ export declare const proofsContract: {
|
|
|
2377
2377
|
}>;
|
|
2378
2378
|
path: "/proofs/:id";
|
|
2379
2379
|
responses: {
|
|
2380
|
-
|
|
2380
|
+
401: z.ZodObject<{
|
|
2381
2381
|
statusCode: z.ZodNumber;
|
|
2382
2382
|
message: z.ZodString;
|
|
2383
2383
|
code: z.ZodString;
|
|
@@ -2386,23 +2386,23 @@ export declare const proofsContract: {
|
|
|
2386
2386
|
path: z.ZodString;
|
|
2387
2387
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2388
2388
|
}, "strip", z.ZodTypeAny, {
|
|
2389
|
-
message: string;
|
|
2390
2389
|
code: string;
|
|
2391
2390
|
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;
|
|
2398
2397
|
code: string;
|
|
2399
2398
|
path: string;
|
|
2399
|
+
message: string;
|
|
2400
2400
|
statusCode: number;
|
|
2401
2401
|
timestamp: string;
|
|
2402
2402
|
details?: unknown;
|
|
2403
2403
|
correlationId?: string | undefined;
|
|
2404
2404
|
}>;
|
|
2405
|
-
|
|
2405
|
+
400: z.ZodObject<{
|
|
2406
2406
|
statusCode: z.ZodNumber;
|
|
2407
2407
|
message: z.ZodString;
|
|
2408
2408
|
code: z.ZodString;
|
|
@@ -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;
|
|
2415
2414
|
code: string;
|
|
2416
2415
|
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;
|
|
2423
2422
|
code: string;
|
|
2424
2423
|
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;
|
|
2440
2439
|
code: string;
|
|
2441
2440
|
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;
|
|
2448
2447
|
code: string;
|
|
2449
2448
|
path: string;
|
|
2449
|
+
message: string;
|
|
2450
2450
|
statusCode: number;
|
|
2451
2451
|
timestamp: string;
|
|
2452
2452
|
details?: unknown;
|
|
@@ -2566,75 +2566,75 @@ export declare const proofsContract: {
|
|
|
2566
2566
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
2567
2567
|
fileName: z.ZodOptional<z.ZodString>;
|
|
2568
2568
|
}, "strip", z.ZodTypeAny, {
|
|
2569
|
-
id: string;
|
|
2570
|
-
updatedAt: string;
|
|
2571
2569
|
createdAt: string;
|
|
2572
|
-
|
|
2570
|
+
updatedAt: string;
|
|
2571
|
+
id: string;
|
|
2573
2572
|
comment: string | null;
|
|
2574
2573
|
verified: boolean;
|
|
2575
2574
|
fileId: string;
|
|
2575
|
+
position: number;
|
|
2576
2576
|
sectionId: string;
|
|
2577
2577
|
verifiedAt: string | null;
|
|
2578
2578
|
verifiedById: string | null;
|
|
2579
|
-
fileName?: string | undefined;
|
|
2580
2579
|
fileUrl?: string | undefined;
|
|
2580
|
+
fileName?: string | undefined;
|
|
2581
2581
|
}, {
|
|
2582
|
-
id: string;
|
|
2583
|
-
updatedAt: string;
|
|
2584
2582
|
createdAt: string;
|
|
2585
|
-
|
|
2583
|
+
updatedAt: string;
|
|
2584
|
+
id: string;
|
|
2586
2585
|
comment: string | null;
|
|
2587
2586
|
verified: boolean;
|
|
2588
2587
|
fileId: string;
|
|
2588
|
+
position: number;
|
|
2589
2589
|
sectionId: string;
|
|
2590
2590
|
verifiedAt: string | null;
|
|
2591
2591
|
verifiedById: string | null;
|
|
2592
|
-
fileName?: string | undefined;
|
|
2593
2592
|
fileUrl?: string | undefined;
|
|
2593
|
+
fileName?: 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
|
-
id: string;
|
|
2601
|
-
updatedAt: string;
|
|
2602
2600
|
createdAt: string;
|
|
2603
|
-
|
|
2601
|
+
updatedAt: string;
|
|
2602
|
+
id: string;
|
|
2603
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
2604
2604
|
photos: {
|
|
2605
|
-
id: string;
|
|
2606
|
-
updatedAt: string;
|
|
2607
2605
|
createdAt: string;
|
|
2608
|
-
|
|
2606
|
+
updatedAt: string;
|
|
2607
|
+
id: string;
|
|
2609
2608
|
comment: string | null;
|
|
2610
2609
|
verified: boolean;
|
|
2611
2610
|
fileId: string;
|
|
2611
|
+
position: number;
|
|
2612
2612
|
sectionId: string;
|
|
2613
2613
|
verifiedAt: string | null;
|
|
2614
2614
|
verifiedById: string | null;
|
|
2615
|
-
fileName?: string | undefined;
|
|
2616
2615
|
fileUrl?: string | undefined;
|
|
2616
|
+
fileName?: string | undefined;
|
|
2617
2617
|
}[];
|
|
2618
2618
|
photoCount: number;
|
|
2619
2619
|
verifiedCount: number;
|
|
2620
2620
|
}, {
|
|
2621
|
-
id: string;
|
|
2622
|
-
updatedAt: string;
|
|
2623
2621
|
createdAt: string;
|
|
2624
|
-
|
|
2622
|
+
updatedAt: string;
|
|
2623
|
+
id: string;
|
|
2624
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
2625
2625
|
photos: {
|
|
2626
|
-
id: string;
|
|
2627
|
-
updatedAt: string;
|
|
2628
2626
|
createdAt: string;
|
|
2629
|
-
|
|
2627
|
+
updatedAt: string;
|
|
2628
|
+
id: string;
|
|
2630
2629
|
comment: string | null;
|
|
2631
2630
|
verified: boolean;
|
|
2632
2631
|
fileId: string;
|
|
2632
|
+
position: number;
|
|
2633
2633
|
sectionId: string;
|
|
2634
2634
|
verifiedAt: string | null;
|
|
2635
2635
|
verifiedById: string | null;
|
|
2636
|
-
fileName?: string | undefined;
|
|
2637
2636
|
fileUrl?: string | undefined;
|
|
2637
|
+
fileName?: string | undefined;
|
|
2638
2638
|
}[];
|
|
2639
2639
|
photoCount: number;
|
|
2640
2640
|
verifiedCount: number;
|
|
@@ -2658,12 +2658,8 @@ export declare const proofsContract: {
|
|
|
2658
2658
|
verifiedCount: z.ZodNumber;
|
|
2659
2659
|
totalPhotos: z.ZodNumber;
|
|
2660
2660
|
}, "strip", z.ZodTypeAny, {
|
|
2661
|
-
id: string;
|
|
2662
|
-
updatedAt: string;
|
|
2663
2661
|
createdAt: string;
|
|
2664
|
-
|
|
2665
|
-
createdById: string;
|
|
2666
|
-
forUserId: string;
|
|
2662
|
+
updatedAt: string;
|
|
2667
2663
|
createdBy: {
|
|
2668
2664
|
id: string;
|
|
2669
2665
|
lastName: string;
|
|
@@ -2676,26 +2672,30 @@ export declare const proofsContract: {
|
|
|
2676
2672
|
}[];
|
|
2677
2673
|
deletedAt?: string | null | undefined;
|
|
2678
2674
|
};
|
|
2675
|
+
id: string;
|
|
2676
|
+
description: string | null;
|
|
2677
|
+
createdById: string;
|
|
2679
2678
|
category: "POST" | "BOOKING";
|
|
2679
|
+
forUserId: string;
|
|
2680
2680
|
proofDate: string;
|
|
2681
2681
|
sections: {
|
|
2682
|
-
id: string;
|
|
2683
|
-
updatedAt: string;
|
|
2684
2682
|
createdAt: string;
|
|
2685
|
-
|
|
2683
|
+
updatedAt: string;
|
|
2684
|
+
id: string;
|
|
2685
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
2686
2686
|
photos: {
|
|
2687
|
-
id: string;
|
|
2688
|
-
updatedAt: string;
|
|
2689
2687
|
createdAt: string;
|
|
2690
|
-
|
|
2688
|
+
updatedAt: string;
|
|
2689
|
+
id: string;
|
|
2691
2690
|
comment: string | null;
|
|
2692
2691
|
verified: boolean;
|
|
2693
2692
|
fileId: string;
|
|
2693
|
+
position: number;
|
|
2694
2694
|
sectionId: string;
|
|
2695
2695
|
verifiedAt: string | null;
|
|
2696
2696
|
verifiedById: string | null;
|
|
2697
|
-
fileName?: string | undefined;
|
|
2698
2697
|
fileUrl?: string | undefined;
|
|
2698
|
+
fileName?: string | undefined;
|
|
2699
2699
|
}[];
|
|
2700
2700
|
photoCount: number;
|
|
2701
2701
|
verifiedCount: number;
|
|
@@ -2721,12 +2721,8 @@ export declare const proofsContract: {
|
|
|
2721
2721
|
}[];
|
|
2722
2722
|
totalPhotos: number;
|
|
2723
2723
|
}, {
|
|
2724
|
-
id: string;
|
|
2725
|
-
updatedAt: string;
|
|
2726
2724
|
createdAt: string;
|
|
2727
|
-
|
|
2728
|
-
createdById: string;
|
|
2729
|
-
forUserId: string;
|
|
2725
|
+
updatedAt: string;
|
|
2730
2726
|
createdBy: {
|
|
2731
2727
|
id: string;
|
|
2732
2728
|
lastName: string;
|
|
@@ -2739,26 +2735,30 @@ export declare const proofsContract: {
|
|
|
2739
2735
|
}[] | undefined;
|
|
2740
2736
|
deletedAt?: string | Date | null | undefined;
|
|
2741
2737
|
};
|
|
2738
|
+
id: string;
|
|
2739
|
+
description: string | null;
|
|
2740
|
+
createdById: string;
|
|
2742
2741
|
category: "POST" | "BOOKING";
|
|
2742
|
+
forUserId: string;
|
|
2743
2743
|
proofDate: string;
|
|
2744
2744
|
sections: {
|
|
2745
|
-
id: string;
|
|
2746
|
-
updatedAt: string;
|
|
2747
2745
|
createdAt: string;
|
|
2748
|
-
|
|
2746
|
+
updatedAt: string;
|
|
2747
|
+
id: string;
|
|
2748
|
+
type: "FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER" | "CONFIRMATION" | "DISTANCE" | "MORNING_STATUS";
|
|
2749
2749
|
photos: {
|
|
2750
|
-
id: string;
|
|
2751
|
-
updatedAt: string;
|
|
2752
2750
|
createdAt: string;
|
|
2753
|
-
|
|
2751
|
+
updatedAt: string;
|
|
2752
|
+
id: string;
|
|
2754
2753
|
comment: string | null;
|
|
2755
2754
|
verified: boolean;
|
|
2756
2755
|
fileId: string;
|
|
2756
|
+
position: number;
|
|
2757
2757
|
sectionId: string;
|
|
2758
2758
|
verifiedAt: string | null;
|
|
2759
2759
|
verifiedById: string | null;
|
|
2760
|
-
fileName?: string | undefined;
|
|
2761
2760
|
fileUrl?: string | undefined;
|
|
2761
|
+
fileName?: string | undefined;
|
|
2762
2762
|
}[];
|
|
2763
2763
|
photoCount: number;
|
|
2764
2764
|
verifiedCount: number;
|
|
@@ -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;
|
|
2797
2796
|
code: string;
|
|
2798
2797
|
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;
|
|
2805
2804
|
code: string;
|
|
2806
2805
|
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;
|
|
2822
2821
|
code: string;
|
|
2823
2822
|
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;
|
|
2830
2829
|
code: string;
|
|
2831
2830
|
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;
|
|
2847
2846
|
code: string;
|
|
2848
2847
|
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;
|
|
2855
2854
|
code: string;
|
|
2856
2855
|
path: string;
|
|
2856
|
+
message: string;
|
|
2857
2857
|
statusCode: number;
|
|
2858
2858
|
timestamp: string;
|
|
2859
2859
|
details?: unknown;
|
|
@@ -2877,7 +2877,7 @@ export declare const proofsContract: {
|
|
|
2877
2877
|
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
2878
2878
|
path: "/proofs/:id";
|
|
2879
2879
|
responses: {
|
|
2880
|
-
|
|
2880
|
+
401: z.ZodObject<{
|
|
2881
2881
|
statusCode: z.ZodNumber;
|
|
2882
2882
|
message: z.ZodString;
|
|
2883
2883
|
code: z.ZodString;
|
|
@@ -2886,23 +2886,23 @@ export declare const proofsContract: {
|
|
|
2886
2886
|
path: z.ZodString;
|
|
2887
2887
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2888
2888
|
}, "strip", z.ZodTypeAny, {
|
|
2889
|
-
message: string;
|
|
2890
2889
|
code: string;
|
|
2891
2890
|
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;
|
|
2898
2897
|
code: string;
|
|
2899
2898
|
path: string;
|
|
2899
|
+
message: string;
|
|
2900
2900
|
statusCode: number;
|
|
2901
2901
|
timestamp: string;
|
|
2902
2902
|
details?: unknown;
|
|
2903
2903
|
correlationId?: string | undefined;
|
|
2904
2904
|
}>;
|
|
2905
|
-
|
|
2905
|
+
400: z.ZodObject<{
|
|
2906
2906
|
statusCode: z.ZodNumber;
|
|
2907
2907
|
message: z.ZodString;
|
|
2908
2908
|
code: z.ZodString;
|
|
@@ -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;
|
|
2915
2914
|
code: string;
|
|
2916
2915
|
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;
|
|
2923
2922
|
code: string;
|
|
2924
2923
|
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;
|
|
2940
2939
|
code: string;
|
|
2941
2940
|
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;
|
|
2948
2947
|
code: string;
|
|
2949
2948
|
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;
|
|
2966
2965
|
code: string;
|
|
2967
2966
|
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;
|
|
2974
2973
|
code: string;
|
|
2975
2974
|
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;
|
|
2991
2990
|
code: string;
|
|
2992
2991
|
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;
|
|
2999
2998
|
code: string;
|
|
3000
2999
|
path: string;
|
|
3000
|
+
message: string;
|
|
3001
3001
|
statusCode: number;
|
|
3002
3002
|
timestamp: string;
|
|
3003
3003
|
details?: unknown;
|