@fabriktor/schema 0.0.50 → 0.0.51
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/src/generated/models.d.ts +252 -55
- package/package.json +1 -1
|
@@ -7,7 +7,12 @@ export type InAdjustment = {
|
|
|
7
7
|
is_accrued: boolean;
|
|
8
8
|
name: string;
|
|
9
9
|
folder_id: string;
|
|
10
|
-
sub_contributions:
|
|
10
|
+
sub_contributions: {
|
|
11
|
+
type: string;
|
|
12
|
+
rate: number;
|
|
13
|
+
unit_amount: number;
|
|
14
|
+
is_accrued: boolean;
|
|
15
|
+
}[];
|
|
11
16
|
apply_to_work_hours: boolean;
|
|
12
17
|
apply_to_transport_hours: boolean;
|
|
13
18
|
apply_to_accumulated_work_hours: boolean;
|
|
@@ -16,8 +21,10 @@ export type InAdjustment = {
|
|
|
16
21
|
};
|
|
17
22
|
export type InAdjustmentAggregate = {
|
|
18
23
|
currency: string;
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
periods: {
|
|
25
|
+
period: number;
|
|
26
|
+
period_year: number;
|
|
27
|
+
}[];
|
|
21
28
|
employee_ids: string[];
|
|
22
29
|
};
|
|
23
30
|
export type InAdjustmentFolder = {
|
|
@@ -29,11 +36,32 @@ export type InAdjustmentRecord = {
|
|
|
29
36
|
currency: string;
|
|
30
37
|
employee_id: string;
|
|
31
38
|
payroll_id: string;
|
|
32
|
-
applied_deductions:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
39
|
+
applied_deductions: {
|
|
40
|
+
total: number;
|
|
41
|
+
name: string;
|
|
42
|
+
adjustment_id: string;
|
|
43
|
+
folder_id: string;
|
|
44
|
+
is_sub_contribution: boolean;
|
|
45
|
+
}[];
|
|
46
|
+
applied_contributions: {
|
|
47
|
+
total: number;
|
|
48
|
+
name: string;
|
|
49
|
+
adjustment_id: string;
|
|
50
|
+
folder_id: string;
|
|
51
|
+
is_sub_contribution: boolean;
|
|
52
|
+
}[];
|
|
53
|
+
deduction_total: {
|
|
54
|
+
raw: number;
|
|
55
|
+
text: string;
|
|
56
|
+
};
|
|
57
|
+
contribution_total: {
|
|
58
|
+
raw: number;
|
|
59
|
+
text: string;
|
|
60
|
+
};
|
|
61
|
+
total: {
|
|
62
|
+
raw: number;
|
|
63
|
+
text: string;
|
|
64
|
+
};
|
|
37
65
|
};
|
|
38
66
|
export type InAuthorizeMany = {
|
|
39
67
|
entity_ids: string[];
|
|
@@ -42,7 +70,6 @@ export type InAuthorizeMany = {
|
|
|
42
70
|
};
|
|
43
71
|
export type InBill = {
|
|
44
72
|
is_archived: boolean;
|
|
45
|
-
utc: string;
|
|
46
73
|
y: number;
|
|
47
74
|
m: number;
|
|
48
75
|
d: number;
|
|
@@ -53,14 +80,43 @@ export type InBill = {
|
|
|
53
80
|
upfront_rate: number;
|
|
54
81
|
title: string;
|
|
55
82
|
top_note: string;
|
|
56
|
-
start_date:
|
|
57
|
-
|
|
83
|
+
start_date: {
|
|
84
|
+
y: number;
|
|
85
|
+
m: number;
|
|
86
|
+
d: number;
|
|
87
|
+
h: number;
|
|
88
|
+
min: number;
|
|
89
|
+
tz: string;
|
|
90
|
+
};
|
|
91
|
+
end_date: {
|
|
92
|
+
y: number;
|
|
93
|
+
m: number;
|
|
94
|
+
d: number;
|
|
95
|
+
h: number;
|
|
96
|
+
min: number;
|
|
97
|
+
tz: string;
|
|
98
|
+
};
|
|
58
99
|
type: string;
|
|
59
100
|
client_id: string;
|
|
60
101
|
location_id: string;
|
|
61
|
-
salary_taxes:
|
|
62
|
-
|
|
63
|
-
|
|
102
|
+
salary_taxes: {
|
|
103
|
+
is_archived: boolean;
|
|
104
|
+
name: string;
|
|
105
|
+
description: string;
|
|
106
|
+
rate: number;
|
|
107
|
+
}[];
|
|
108
|
+
vendor_taxes: {
|
|
109
|
+
is_archived: boolean;
|
|
110
|
+
name: string;
|
|
111
|
+
description: string;
|
|
112
|
+
rate: number;
|
|
113
|
+
}[];
|
|
114
|
+
charge_taxes: {
|
|
115
|
+
is_archived: boolean;
|
|
116
|
+
name: string;
|
|
117
|
+
description: string;
|
|
118
|
+
rate: number;
|
|
119
|
+
}[];
|
|
64
120
|
exclude_billed: boolean;
|
|
65
121
|
is_estimate: boolean;
|
|
66
122
|
is_internal_client: boolean;
|
|
@@ -70,7 +126,12 @@ export type InBill = {
|
|
|
70
126
|
include_charge: boolean;
|
|
71
127
|
is_location_achieved: boolean;
|
|
72
128
|
is_canceled: boolean;
|
|
73
|
-
salary_estimate:
|
|
129
|
+
salary_estimate: {
|
|
130
|
+
employee_ids: string[];
|
|
131
|
+
daily_work_hours: number;
|
|
132
|
+
daily_transport_hours: number;
|
|
133
|
+
days_per_week: number;
|
|
134
|
+
};
|
|
74
135
|
};
|
|
75
136
|
export type InBillableFolder = {
|
|
76
137
|
folder_name: string;
|
|
@@ -78,7 +139,6 @@ export type InBillableFolder = {
|
|
|
78
139
|
};
|
|
79
140
|
export type InCharge = {
|
|
80
141
|
is_archived: boolean;
|
|
81
|
-
utc: string;
|
|
82
142
|
y: number;
|
|
83
143
|
m: number;
|
|
84
144
|
d: number;
|
|
@@ -114,8 +174,22 @@ export type InChatRoomMember = {
|
|
|
114
174
|
};
|
|
115
175
|
export type InClientAvailability = {
|
|
116
176
|
timezone: string;
|
|
117
|
-
from:
|
|
118
|
-
|
|
177
|
+
from: {
|
|
178
|
+
y: number;
|
|
179
|
+
m: number;
|
|
180
|
+
d: number;
|
|
181
|
+
h: number;
|
|
182
|
+
min: number;
|
|
183
|
+
tz: string;
|
|
184
|
+
};
|
|
185
|
+
to: {
|
|
186
|
+
y: number;
|
|
187
|
+
m: number;
|
|
188
|
+
d: number;
|
|
189
|
+
h: number;
|
|
190
|
+
min: number;
|
|
191
|
+
tz: string;
|
|
192
|
+
};
|
|
119
193
|
employer_id: string;
|
|
120
194
|
location_id: string;
|
|
121
195
|
};
|
|
@@ -184,12 +258,31 @@ export type InFeedFavorite = {
|
|
|
184
258
|
post_id: string;
|
|
185
259
|
};
|
|
186
260
|
export type InFeedInterest = {
|
|
187
|
-
embedding:
|
|
261
|
+
embedding: {
|
|
262
|
+
text: string;
|
|
263
|
+
file: string;
|
|
264
|
+
file_url: string;
|
|
265
|
+
mime: string;
|
|
266
|
+
};
|
|
188
267
|
weight: number;
|
|
189
268
|
};
|
|
190
269
|
export type InFeedPost = {
|
|
191
|
-
objects:
|
|
192
|
-
|
|
270
|
+
objects: {
|
|
271
|
+
public_url: string;
|
|
272
|
+
mime_prefix: string;
|
|
273
|
+
embedding: {
|
|
274
|
+
text: string;
|
|
275
|
+
file: string;
|
|
276
|
+
file_url: string;
|
|
277
|
+
mime: string;
|
|
278
|
+
};
|
|
279
|
+
}[];
|
|
280
|
+
text: {
|
|
281
|
+
text: string;
|
|
282
|
+
file: string;
|
|
283
|
+
file_url: string;
|
|
284
|
+
mime: string;
|
|
285
|
+
};
|
|
193
286
|
is_uploading: boolean;
|
|
194
287
|
has_media: boolean;
|
|
195
288
|
visibility: number;
|
|
@@ -204,7 +297,6 @@ export type InFeedView = {
|
|
|
204
297
|
post_id: string;
|
|
205
298
|
};
|
|
206
299
|
export type InFulfillOrder = {
|
|
207
|
-
address_timezone: string;
|
|
208
300
|
lat: number;
|
|
209
301
|
lon: number;
|
|
210
302
|
street: string;
|
|
@@ -223,8 +315,10 @@ export type InFulfillOrder = {
|
|
|
223
315
|
};
|
|
224
316
|
export type InHourBank = {
|
|
225
317
|
is_payrolled: boolean;
|
|
226
|
-
|
|
227
|
-
|
|
318
|
+
periods: {
|
|
319
|
+
period: number;
|
|
320
|
+
period_year: number;
|
|
321
|
+
}[];
|
|
228
322
|
timezone: string;
|
|
229
323
|
currency: string;
|
|
230
324
|
employee_id: string;
|
|
@@ -235,14 +329,16 @@ export type InItem = {
|
|
|
235
329
|
is_archived: boolean;
|
|
236
330
|
name: string;
|
|
237
331
|
price: number;
|
|
238
|
-
per_warehouse_quantity:
|
|
332
|
+
per_warehouse_quantity: {
|
|
333
|
+
warehouse_id: string;
|
|
334
|
+
quantity: number;
|
|
335
|
+
}[];
|
|
239
336
|
quantifier_id: string;
|
|
240
337
|
folder_id: string;
|
|
241
338
|
tax_ids: string[];
|
|
242
339
|
track_quantity: boolean;
|
|
243
340
|
};
|
|
244
341
|
export type InJob = {
|
|
245
|
-
utc: string;
|
|
246
342
|
y: number;
|
|
247
343
|
m: number;
|
|
248
344
|
d: number;
|
|
@@ -250,7 +346,14 @@ export type InJob = {
|
|
|
250
346
|
min: number;
|
|
251
347
|
tz: string;
|
|
252
348
|
status: string;
|
|
253
|
-
expected_end_date:
|
|
349
|
+
expected_end_date: {
|
|
350
|
+
y: number;
|
|
351
|
+
m: number;
|
|
352
|
+
d: number;
|
|
353
|
+
h: number;
|
|
354
|
+
min: number;
|
|
355
|
+
tz: string;
|
|
356
|
+
};
|
|
254
357
|
name: string;
|
|
255
358
|
description: string;
|
|
256
359
|
current_members: string[];
|
|
@@ -261,7 +364,14 @@ export type InJob = {
|
|
|
261
364
|
export type InJobProgram = {
|
|
262
365
|
job_name: string;
|
|
263
366
|
job_description: string;
|
|
264
|
-
job_start_date:
|
|
367
|
+
job_start_date: {
|
|
368
|
+
y: number;
|
|
369
|
+
m: number;
|
|
370
|
+
d: number;
|
|
371
|
+
h: number;
|
|
372
|
+
min: number;
|
|
373
|
+
tz: string;
|
|
374
|
+
};
|
|
265
375
|
job_expected_duration_in_minutes: number;
|
|
266
376
|
job_current_members: string[];
|
|
267
377
|
job_foremen: string[];
|
|
@@ -271,7 +381,14 @@ export type InJobProgram = {
|
|
|
271
381
|
recurrence_type: string;
|
|
272
382
|
recurrence_end_type: string;
|
|
273
383
|
occurrences_to_end: number;
|
|
274
|
-
recurrence_end_date:
|
|
384
|
+
recurrence_end_date: {
|
|
385
|
+
y: number;
|
|
386
|
+
m: number;
|
|
387
|
+
d: number;
|
|
388
|
+
h: number;
|
|
389
|
+
min: number;
|
|
390
|
+
tz: string;
|
|
391
|
+
};
|
|
275
392
|
};
|
|
276
393
|
export type InLaborRate = {
|
|
277
394
|
is_archived: boolean;
|
|
@@ -280,7 +397,6 @@ export type InLaborRate = {
|
|
|
280
397
|
};
|
|
281
398
|
export type InLocation = {
|
|
282
399
|
is_archived: boolean;
|
|
283
|
-
address_timezone: string;
|
|
284
400
|
lat: number;
|
|
285
401
|
lon: number;
|
|
286
402
|
street: string;
|
|
@@ -301,7 +417,12 @@ export type InMarketplaceFavorite = {
|
|
|
301
417
|
post_id: string;
|
|
302
418
|
};
|
|
303
419
|
export type InMarketplacePost = {
|
|
304
|
-
text:
|
|
420
|
+
text: {
|
|
421
|
+
text: string;
|
|
422
|
+
file: string;
|
|
423
|
+
file_url: string;
|
|
424
|
+
mime: string;
|
|
425
|
+
};
|
|
305
426
|
post_type: number;
|
|
306
427
|
user_type: string;
|
|
307
428
|
country: string;
|
|
@@ -327,7 +448,12 @@ export type InMeterReading = {
|
|
|
327
448
|
is_charged: boolean;
|
|
328
449
|
};
|
|
329
450
|
export type InObject = {
|
|
330
|
-
embedding:
|
|
451
|
+
embedding: {
|
|
452
|
+
text: string;
|
|
453
|
+
file: string;
|
|
454
|
+
file_url: string;
|
|
455
|
+
mime: string;
|
|
456
|
+
};
|
|
331
457
|
uploader_id: string;
|
|
332
458
|
name: string;
|
|
333
459
|
mime_prefix: string;
|
|
@@ -340,7 +466,10 @@ export type InPayable = {
|
|
|
340
466
|
employee_id: string;
|
|
341
467
|
adjustment_id: string;
|
|
342
468
|
payroll_id: string;
|
|
343
|
-
amount:
|
|
469
|
+
amount: {
|
|
470
|
+
raw: number;
|
|
471
|
+
text: string;
|
|
472
|
+
};
|
|
344
473
|
};
|
|
345
474
|
export type InPayConfig = {
|
|
346
475
|
type: string;
|
|
@@ -375,15 +504,23 @@ export type InPayment = {
|
|
|
375
504
|
return_url: string;
|
|
376
505
|
recipient_id: string;
|
|
377
506
|
use_psp_sdk: boolean;
|
|
378
|
-
original_amount:
|
|
379
|
-
|
|
380
|
-
|
|
507
|
+
original_amount: {
|
|
508
|
+
raw: number;
|
|
509
|
+
text: string;
|
|
510
|
+
};
|
|
511
|
+
original_balance_amount: {
|
|
512
|
+
raw: number;
|
|
513
|
+
text: string;
|
|
514
|
+
};
|
|
515
|
+
gross_amount: {
|
|
516
|
+
raw: number;
|
|
517
|
+
text: string;
|
|
518
|
+
};
|
|
381
519
|
is_off_session: boolean;
|
|
382
520
|
parent_payment_id: string;
|
|
383
521
|
};
|
|
384
522
|
export type InPayroll = {
|
|
385
523
|
currency: string;
|
|
386
|
-
utc: string;
|
|
387
524
|
y: number;
|
|
388
525
|
m: number;
|
|
389
526
|
d: number;
|
|
@@ -391,8 +528,10 @@ export type InPayroll = {
|
|
|
391
528
|
min: number;
|
|
392
529
|
tz: string;
|
|
393
530
|
timezone: string;
|
|
394
|
-
|
|
395
|
-
|
|
531
|
+
periods: {
|
|
532
|
+
period: number;
|
|
533
|
+
period_year: number;
|
|
534
|
+
}[];
|
|
396
535
|
employee_pay_config_id: string;
|
|
397
536
|
};
|
|
398
537
|
export type InPayrollProgram = {
|
|
@@ -400,7 +539,14 @@ export type InPayrollProgram = {
|
|
|
400
539
|
timezone: string;
|
|
401
540
|
employee_id: string;
|
|
402
541
|
employee_pay_config_id: string;
|
|
403
|
-
next_payroll_date:
|
|
542
|
+
next_payroll_date: {
|
|
543
|
+
y: number;
|
|
544
|
+
m: number;
|
|
545
|
+
d: number;
|
|
546
|
+
h: number;
|
|
547
|
+
min: number;
|
|
548
|
+
tz: string;
|
|
549
|
+
};
|
|
404
550
|
recurrence_rate: number;
|
|
405
551
|
recurrence_type: string;
|
|
406
552
|
is_enabled: boolean;
|
|
@@ -445,7 +591,10 @@ export type InPmtRefund = {
|
|
|
445
591
|
payment_id: string;
|
|
446
592
|
reason: string;
|
|
447
593
|
original_payer_id: string;
|
|
448
|
-
amount:
|
|
594
|
+
amount: {
|
|
595
|
+
raw: number;
|
|
596
|
+
text: string;
|
|
597
|
+
};
|
|
449
598
|
};
|
|
450
599
|
export type InPrefClient = {
|
|
451
600
|
is_default: boolean;
|
|
@@ -509,11 +658,37 @@ export type InQuantifier = {
|
|
|
509
658
|
};
|
|
510
659
|
export type InRoute = {
|
|
511
660
|
timezone: string;
|
|
512
|
-
from:
|
|
513
|
-
|
|
514
|
-
|
|
661
|
+
from: {
|
|
662
|
+
y: number;
|
|
663
|
+
m: number;
|
|
664
|
+
d: number;
|
|
665
|
+
h: number;
|
|
666
|
+
min: number;
|
|
667
|
+
tz: string;
|
|
668
|
+
};
|
|
669
|
+
to: {
|
|
670
|
+
y: number;
|
|
671
|
+
m: number;
|
|
672
|
+
d: number;
|
|
673
|
+
h: number;
|
|
674
|
+
min: number;
|
|
675
|
+
tz: string;
|
|
676
|
+
};
|
|
677
|
+
vehicles: {
|
|
678
|
+
tags: string[];
|
|
679
|
+
employee_ids: string[];
|
|
680
|
+
}[];
|
|
515
681
|
start_place_id: string;
|
|
516
|
-
destinations:
|
|
682
|
+
destinations: {
|
|
683
|
+
tags: string[];
|
|
684
|
+
location_id: string;
|
|
685
|
+
client_id: string;
|
|
686
|
+
place_id: string;
|
|
687
|
+
duration_in_minutes: number;
|
|
688
|
+
use_time_window: boolean;
|
|
689
|
+
time_window_start_hour_in_minutes: number;
|
|
690
|
+
time_window_end_hour_in_minutes: number;
|
|
691
|
+
}[];
|
|
517
692
|
override_itinerary: boolean;
|
|
518
693
|
consider_traffic: boolean;
|
|
519
694
|
start_early: boolean;
|
|
@@ -556,10 +731,16 @@ export type InTracking = {
|
|
|
556
731
|
route_id: string;
|
|
557
732
|
vehicle_id: string;
|
|
558
733
|
employee_id: string;
|
|
559
|
-
timestamp:
|
|
734
|
+
timestamp: {
|
|
735
|
+
y: number;
|
|
736
|
+
m: number;
|
|
737
|
+
d: number;
|
|
738
|
+
h: number;
|
|
739
|
+
min: number;
|
|
740
|
+
tz: string;
|
|
741
|
+
};
|
|
560
742
|
};
|
|
561
743
|
export type InUser = {
|
|
562
|
-
address_timezone: string;
|
|
563
744
|
lat: number;
|
|
564
745
|
lon: number;
|
|
565
746
|
street: string;
|
|
@@ -580,12 +761,13 @@ export type InUser = {
|
|
|
580
761
|
privacy: Privacy;
|
|
581
762
|
picture_id: string;
|
|
582
763
|
qr_id: string;
|
|
583
|
-
external_owner:
|
|
764
|
+
external_owner: {
|
|
765
|
+
owner_id: string;
|
|
766
|
+
};
|
|
584
767
|
is_onboarded: boolean;
|
|
585
768
|
};
|
|
586
769
|
export type InVendorInvoice = {
|
|
587
770
|
is_archived: boolean;
|
|
588
|
-
utc: string;
|
|
589
771
|
y: number;
|
|
590
772
|
m: number;
|
|
591
773
|
d: number;
|
|
@@ -593,10 +775,23 @@ export type InVendorInvoice = {
|
|
|
593
775
|
min: number;
|
|
594
776
|
tz: string;
|
|
595
777
|
timezone: string;
|
|
596
|
-
taxes:
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
778
|
+
taxes: {
|
|
779
|
+
tax_id: string;
|
|
780
|
+
tax_total: number;
|
|
781
|
+
tax_name: string;
|
|
782
|
+
}[];
|
|
783
|
+
sub_total: {
|
|
784
|
+
raw: number;
|
|
785
|
+
text: string;
|
|
786
|
+
};
|
|
787
|
+
tax_total: {
|
|
788
|
+
raw: number;
|
|
789
|
+
text: string;
|
|
790
|
+
};
|
|
791
|
+
total: {
|
|
792
|
+
raw: number;
|
|
793
|
+
text: string;
|
|
794
|
+
};
|
|
600
795
|
vendor_id: string;
|
|
601
796
|
location_id: string;
|
|
602
797
|
print_description: string;
|
|
@@ -606,7 +801,6 @@ export type InVendorInvoice = {
|
|
|
606
801
|
is_internal_vendor: boolean;
|
|
607
802
|
};
|
|
608
803
|
export type InWarehouse = {
|
|
609
|
-
address_timezone: string;
|
|
610
804
|
lat: number;
|
|
611
805
|
lon: number;
|
|
612
806
|
street: string;
|
|
@@ -1788,7 +1982,10 @@ export type InPeriod = {
|
|
|
1788
1982
|
period_year: number;
|
|
1789
1983
|
};
|
|
1790
1984
|
export type InPeriods = {
|
|
1791
|
-
periods:
|
|
1985
|
+
periods: {
|
|
1986
|
+
period: number;
|
|
1987
|
+
period_year: number;
|
|
1988
|
+
}[];
|
|
1792
1989
|
};
|
|
1793
1990
|
export type InPlotEmbedding = {
|
|
1794
1991
|
text: string;
|