@fabriktor/schema 0.0.49 → 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 +268 -136
- package/dist/src/generated/models.js +2 -5
- 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,50 +329,66 @@ 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;
|
|
249
345
|
h: number;
|
|
250
346
|
min: number;
|
|
251
347
|
tz: string;
|
|
252
|
-
lead_time_in_hours: number;
|
|
253
|
-
is_active: boolean;
|
|
254
|
-
auto_start: boolean;
|
|
255
|
-
timezone: string;
|
|
256
348
|
status: string;
|
|
349
|
+
expected_end_date: {
|
|
350
|
+
y: number;
|
|
351
|
+
m: number;
|
|
352
|
+
d: number;
|
|
353
|
+
h: number;
|
|
354
|
+
min: number;
|
|
355
|
+
tz: string;
|
|
356
|
+
};
|
|
257
357
|
name: string;
|
|
258
358
|
description: string;
|
|
259
|
-
all_members: string[];
|
|
260
359
|
current_members: string[];
|
|
261
360
|
foremen: string[];
|
|
262
361
|
location_id: string;
|
|
263
362
|
picture_id: string;
|
|
264
|
-
recurrent: boolean;
|
|
265
363
|
};
|
|
266
364
|
export type InJobProgram = {
|
|
267
|
-
timezone: string;
|
|
268
365
|
job_name: string;
|
|
269
366
|
job_description: string;
|
|
270
|
-
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
|
+
};
|
|
375
|
+
job_expected_duration_in_minutes: number;
|
|
271
376
|
job_current_members: string[];
|
|
272
377
|
job_foremen: string[];
|
|
273
378
|
job_location_id: string;
|
|
274
379
|
job_pic_id: string;
|
|
275
|
-
finished: boolean;
|
|
276
380
|
recurrence_rate: number;
|
|
277
381
|
recurrence_type: string;
|
|
278
382
|
recurrence_end_type: string;
|
|
279
383
|
occurrences_to_end: number;
|
|
280
|
-
recurrence_end_date:
|
|
281
|
-
|
|
384
|
+
recurrence_end_date: {
|
|
385
|
+
y: number;
|
|
386
|
+
m: number;
|
|
387
|
+
d: number;
|
|
388
|
+
h: number;
|
|
389
|
+
min: number;
|
|
390
|
+
tz: string;
|
|
391
|
+
};
|
|
282
392
|
};
|
|
283
393
|
export type InLaborRate = {
|
|
284
394
|
is_archived: boolean;
|
|
@@ -286,17 +396,7 @@ export type InLaborRate = {
|
|
|
286
396
|
rate: number;
|
|
287
397
|
};
|
|
288
398
|
export type InLocation = {
|
|
289
|
-
|
|
290
|
-
y: number;
|
|
291
|
-
m: number;
|
|
292
|
-
d: number;
|
|
293
|
-
h: number;
|
|
294
|
-
min: number;
|
|
295
|
-
tz: string;
|
|
296
|
-
lead_time_in_hours: number;
|
|
297
|
-
is_active: boolean;
|
|
298
|
-
auto_start: boolean;
|
|
299
|
-
address_timezone: string;
|
|
399
|
+
is_archived: boolean;
|
|
300
400
|
lat: number;
|
|
301
401
|
lon: number;
|
|
302
402
|
street: string;
|
|
@@ -307,12 +407,8 @@ export type InLocation = {
|
|
|
307
407
|
formatted_address: string;
|
|
308
408
|
place_name: string;
|
|
309
409
|
place_id: string;
|
|
310
|
-
status: string;
|
|
311
|
-
end_date: Date;
|
|
312
410
|
name: string;
|
|
313
|
-
type: string;
|
|
314
411
|
description: string;
|
|
315
|
-
all_members: string[];
|
|
316
412
|
current_members: string[];
|
|
317
413
|
picture_id: string;
|
|
318
414
|
client_id: string;
|
|
@@ -321,7 +417,12 @@ export type InMarketplaceFavorite = {
|
|
|
321
417
|
post_id: string;
|
|
322
418
|
};
|
|
323
419
|
export type InMarketplacePost = {
|
|
324
|
-
text:
|
|
420
|
+
text: {
|
|
421
|
+
text: string;
|
|
422
|
+
file: string;
|
|
423
|
+
file_url: string;
|
|
424
|
+
mime: string;
|
|
425
|
+
};
|
|
325
426
|
post_type: number;
|
|
326
427
|
user_type: string;
|
|
327
428
|
country: string;
|
|
@@ -347,7 +448,12 @@ export type InMeterReading = {
|
|
|
347
448
|
is_charged: boolean;
|
|
348
449
|
};
|
|
349
450
|
export type InObject = {
|
|
350
|
-
embedding:
|
|
451
|
+
embedding: {
|
|
452
|
+
text: string;
|
|
453
|
+
file: string;
|
|
454
|
+
file_url: string;
|
|
455
|
+
mime: string;
|
|
456
|
+
};
|
|
351
457
|
uploader_id: string;
|
|
352
458
|
name: string;
|
|
353
459
|
mime_prefix: string;
|
|
@@ -360,7 +466,10 @@ export type InPayable = {
|
|
|
360
466
|
employee_id: string;
|
|
361
467
|
adjustment_id: string;
|
|
362
468
|
payroll_id: string;
|
|
363
|
-
amount:
|
|
469
|
+
amount: {
|
|
470
|
+
raw: number;
|
|
471
|
+
text: string;
|
|
472
|
+
};
|
|
364
473
|
};
|
|
365
474
|
export type InPayConfig = {
|
|
366
475
|
type: string;
|
|
@@ -395,15 +504,23 @@ export type InPayment = {
|
|
|
395
504
|
return_url: string;
|
|
396
505
|
recipient_id: string;
|
|
397
506
|
use_psp_sdk: boolean;
|
|
398
|
-
original_amount:
|
|
399
|
-
|
|
400
|
-
|
|
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
|
+
};
|
|
401
519
|
is_off_session: boolean;
|
|
402
520
|
parent_payment_id: string;
|
|
403
521
|
};
|
|
404
522
|
export type InPayroll = {
|
|
405
523
|
currency: string;
|
|
406
|
-
utc: string;
|
|
407
524
|
y: number;
|
|
408
525
|
m: number;
|
|
409
526
|
d: number;
|
|
@@ -411,8 +528,10 @@ export type InPayroll = {
|
|
|
411
528
|
min: number;
|
|
412
529
|
tz: string;
|
|
413
530
|
timezone: string;
|
|
414
|
-
|
|
415
|
-
|
|
531
|
+
periods: {
|
|
532
|
+
period: number;
|
|
533
|
+
period_year: number;
|
|
534
|
+
}[];
|
|
416
535
|
employee_pay_config_id: string;
|
|
417
536
|
};
|
|
418
537
|
export type InPayrollProgram = {
|
|
@@ -420,7 +539,14 @@ export type InPayrollProgram = {
|
|
|
420
539
|
timezone: string;
|
|
421
540
|
employee_id: string;
|
|
422
541
|
employee_pay_config_id: string;
|
|
423
|
-
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
|
+
};
|
|
424
550
|
recurrence_rate: number;
|
|
425
551
|
recurrence_type: string;
|
|
426
552
|
is_enabled: boolean;
|
|
@@ -465,7 +591,10 @@ export type InPmtRefund = {
|
|
|
465
591
|
payment_id: string;
|
|
466
592
|
reason: string;
|
|
467
593
|
original_payer_id: string;
|
|
468
|
-
amount:
|
|
594
|
+
amount: {
|
|
595
|
+
raw: number;
|
|
596
|
+
text: string;
|
|
597
|
+
};
|
|
469
598
|
};
|
|
470
599
|
export type InPrefClient = {
|
|
471
600
|
is_default: boolean;
|
|
@@ -486,8 +615,6 @@ export type InPrefCompany = {
|
|
|
486
615
|
payment_terms: number;
|
|
487
616
|
invoice_note: string;
|
|
488
617
|
estimate_note: string;
|
|
489
|
-
activation_lead_time_jobs: number;
|
|
490
|
-
activation_lead_time_locations: number;
|
|
491
618
|
tax_ids: TaxID[];
|
|
492
619
|
};
|
|
493
620
|
export type InPrefEmail = {
|
|
@@ -531,11 +658,37 @@ export type InQuantifier = {
|
|
|
531
658
|
};
|
|
532
659
|
export type InRoute = {
|
|
533
660
|
timezone: string;
|
|
534
|
-
from:
|
|
535
|
-
|
|
536
|
-
|
|
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
|
+
}[];
|
|
537
681
|
start_place_id: string;
|
|
538
|
-
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
|
+
}[];
|
|
539
692
|
override_itinerary: boolean;
|
|
540
693
|
consider_traffic: boolean;
|
|
541
694
|
start_early: boolean;
|
|
@@ -578,10 +731,16 @@ export type InTracking = {
|
|
|
578
731
|
route_id: string;
|
|
579
732
|
vehicle_id: string;
|
|
580
733
|
employee_id: string;
|
|
581
|
-
timestamp:
|
|
734
|
+
timestamp: {
|
|
735
|
+
y: number;
|
|
736
|
+
m: number;
|
|
737
|
+
d: number;
|
|
738
|
+
h: number;
|
|
739
|
+
min: number;
|
|
740
|
+
tz: string;
|
|
741
|
+
};
|
|
582
742
|
};
|
|
583
743
|
export type InUser = {
|
|
584
|
-
address_timezone: string;
|
|
585
744
|
lat: number;
|
|
586
745
|
lon: number;
|
|
587
746
|
street: string;
|
|
@@ -602,12 +761,13 @@ export type InUser = {
|
|
|
602
761
|
privacy: Privacy;
|
|
603
762
|
picture_id: string;
|
|
604
763
|
qr_id: string;
|
|
605
|
-
external_owner:
|
|
764
|
+
external_owner: {
|
|
765
|
+
owner_id: string;
|
|
766
|
+
};
|
|
606
767
|
is_onboarded: boolean;
|
|
607
768
|
};
|
|
608
769
|
export type InVendorInvoice = {
|
|
609
770
|
is_archived: boolean;
|
|
610
|
-
utc: string;
|
|
611
771
|
y: number;
|
|
612
772
|
m: number;
|
|
613
773
|
d: number;
|
|
@@ -615,10 +775,23 @@ export type InVendorInvoice = {
|
|
|
615
775
|
min: number;
|
|
616
776
|
tz: string;
|
|
617
777
|
timezone: string;
|
|
618
|
-
taxes:
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
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
|
+
};
|
|
622
795
|
vendor_id: string;
|
|
623
796
|
location_id: string;
|
|
624
797
|
print_description: string;
|
|
@@ -628,7 +801,6 @@ export type InVendorInvoice = {
|
|
|
628
801
|
is_internal_vendor: boolean;
|
|
629
802
|
};
|
|
630
803
|
export type InWarehouse = {
|
|
631
|
-
address_timezone: string;
|
|
632
804
|
lat: number;
|
|
633
805
|
lon: number;
|
|
634
806
|
street: string;
|
|
@@ -1075,6 +1247,12 @@ export type Job = {
|
|
|
1075
1247
|
updated_at: string;
|
|
1076
1248
|
created_at: string;
|
|
1077
1249
|
owner_id: string;
|
|
1250
|
+
timezone: string;
|
|
1251
|
+
all_members: string[];
|
|
1252
|
+
recurrent: boolean;
|
|
1253
|
+
started_at: string;
|
|
1254
|
+
completed_at: string;
|
|
1255
|
+
cancelled_at: string;
|
|
1078
1256
|
utc: string;
|
|
1079
1257
|
y: number;
|
|
1080
1258
|
m: number;
|
|
@@ -1082,19 +1260,14 @@ export type Job = {
|
|
|
1082
1260
|
h: number;
|
|
1083
1261
|
min: number;
|
|
1084
1262
|
tz: string;
|
|
1085
|
-
lead_time_in_hours: number;
|
|
1086
|
-
is_active: boolean;
|
|
1087
|
-
auto_start: boolean;
|
|
1088
|
-
timezone: string;
|
|
1089
1263
|
status: string;
|
|
1264
|
+
expected_end_date: Date;
|
|
1090
1265
|
name: string;
|
|
1091
1266
|
description: string;
|
|
1092
|
-
all_members: string[];
|
|
1093
1267
|
current_members: string[];
|
|
1094
1268
|
foremen: string[];
|
|
1095
1269
|
location_id: string;
|
|
1096
1270
|
picture_id: string;
|
|
1097
|
-
recurrent: boolean;
|
|
1098
1271
|
};
|
|
1099
1272
|
export type JobProgram = {
|
|
1100
1273
|
id: string;
|
|
@@ -1102,20 +1275,21 @@ export type JobProgram = {
|
|
|
1102
1275
|
created_at: string;
|
|
1103
1276
|
owner_id: string;
|
|
1104
1277
|
timezone: string;
|
|
1278
|
+
finished: boolean;
|
|
1279
|
+
current_occurrences: number;
|
|
1105
1280
|
job_name: string;
|
|
1106
1281
|
job_description: string;
|
|
1107
1282
|
job_start_date: Date;
|
|
1283
|
+
job_expected_duration_in_minutes: number;
|
|
1108
1284
|
job_current_members: string[];
|
|
1109
1285
|
job_foremen: string[];
|
|
1110
1286
|
job_location_id: string;
|
|
1111
1287
|
job_pic_id: string;
|
|
1112
|
-
finished: boolean;
|
|
1113
1288
|
recurrence_rate: number;
|
|
1114
1289
|
recurrence_type: string;
|
|
1115
1290
|
recurrence_end_type: string;
|
|
1116
1291
|
occurrences_to_end: number;
|
|
1117
1292
|
recurrence_end_date: Date;
|
|
1118
|
-
current_occurrences: number;
|
|
1119
1293
|
};
|
|
1120
1294
|
export type LaborRate = {
|
|
1121
1295
|
id: string;
|
|
@@ -1132,16 +1306,8 @@ export type Location = {
|
|
|
1132
1306
|
created_at: string;
|
|
1133
1307
|
owner_id: string;
|
|
1134
1308
|
timezone: string;
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
m: number;
|
|
1138
|
-
d: number;
|
|
1139
|
-
h: number;
|
|
1140
|
-
min: number;
|
|
1141
|
-
tz: string;
|
|
1142
|
-
lead_time_in_hours: number;
|
|
1143
|
-
is_active: boolean;
|
|
1144
|
-
auto_start: boolean;
|
|
1309
|
+
all_members: string[];
|
|
1310
|
+
is_archived: boolean;
|
|
1145
1311
|
address_timezone: string;
|
|
1146
1312
|
lat: number;
|
|
1147
1313
|
lon: number;
|
|
@@ -1153,12 +1319,8 @@ export type Location = {
|
|
|
1153
1319
|
formatted_address: string;
|
|
1154
1320
|
place_name: string;
|
|
1155
1321
|
place_id: string;
|
|
1156
|
-
status: string;
|
|
1157
|
-
end_date: Date;
|
|
1158
1322
|
name: string;
|
|
1159
|
-
type: string;
|
|
1160
1323
|
description: string;
|
|
1161
|
-
all_members: string[];
|
|
1162
1324
|
current_members: string[];
|
|
1163
1325
|
picture_id: string;
|
|
1164
1326
|
client_id: string;
|
|
@@ -1483,8 +1645,6 @@ export type PrefCompany = {
|
|
|
1483
1645
|
payment_terms: number;
|
|
1484
1646
|
invoice_note: string;
|
|
1485
1647
|
estimate_note: string;
|
|
1486
|
-
activation_lead_time_jobs: number;
|
|
1487
|
-
activation_lead_time_locations: number;
|
|
1488
1648
|
tax_ids: TaxID[];
|
|
1489
1649
|
};
|
|
1490
1650
|
export type PrefEmail = {
|
|
@@ -1772,11 +1932,6 @@ export type AccountLock = {
|
|
|
1772
1932
|
owner_id: string;
|
|
1773
1933
|
r: string;
|
|
1774
1934
|
};
|
|
1775
|
-
export type InActivation = {
|
|
1776
|
-
lead_time_in_hours: number;
|
|
1777
|
-
is_active: boolean;
|
|
1778
|
-
auto_start: boolean;
|
|
1779
|
-
};
|
|
1780
1935
|
export type InAddress = {
|
|
1781
1936
|
lat: number;
|
|
1782
1937
|
lon: number;
|
|
@@ -1827,7 +1982,10 @@ export type InPeriod = {
|
|
|
1827
1982
|
period_year: number;
|
|
1828
1983
|
};
|
|
1829
1984
|
export type InPeriods = {
|
|
1830
|
-
periods:
|
|
1985
|
+
periods: {
|
|
1986
|
+
period: number;
|
|
1987
|
+
period_year: number;
|
|
1988
|
+
}[];
|
|
1831
1989
|
};
|
|
1832
1990
|
export type InPlotEmbedding = {
|
|
1833
1991
|
text: string;
|
|
@@ -1849,11 +2007,6 @@ export type InTimezone = {
|
|
|
1849
2007
|
export type InTok = {
|
|
1850
2008
|
token: string;
|
|
1851
2009
|
};
|
|
1852
|
-
export type Activation = {
|
|
1853
|
-
lead_time_in_hours: number;
|
|
1854
|
-
is_active: boolean;
|
|
1855
|
-
auto_start: boolean;
|
|
1856
|
-
};
|
|
1857
2010
|
export type Address = {
|
|
1858
2011
|
address_timezone: string;
|
|
1859
2012
|
lat: number;
|
|
@@ -2191,10 +2344,6 @@ export type Stop = {
|
|
|
2191
2344
|
export type ChatRoomID = {
|
|
2192
2345
|
chat_room_id: string;
|
|
2193
2346
|
};
|
|
2194
|
-
export type Overlap = {
|
|
2195
|
-
member_id: string;
|
|
2196
|
-
locations: Location[];
|
|
2197
|
-
};
|
|
2198
2347
|
export type ID = string;
|
|
2199
2348
|
export type Dt = {
|
|
2200
2349
|
y: number;
|
|
@@ -2469,16 +2618,6 @@ export type PLNotificationsRelay = {
|
|
|
2469
2618
|
url_custom_sound: string;
|
|
2470
2619
|
notif_k: string;
|
|
2471
2620
|
};
|
|
2472
|
-
export type PLJobsFindOverlaps = {
|
|
2473
|
-
lat: number;
|
|
2474
|
-
lon: number;
|
|
2475
|
-
start_date: Dt;
|
|
2476
|
-
end_date: Dt;
|
|
2477
|
-
source_id: string;
|
|
2478
|
-
exclude_pending: boolean;
|
|
2479
|
-
exclude_started: boolean;
|
|
2480
|
-
exclude_terminated: boolean;
|
|
2481
|
-
};
|
|
2482
2621
|
export type PLStorageDownload = {
|
|
2483
2622
|
owner_id: string;
|
|
2484
2623
|
mime_prefix: string;
|
|
@@ -2620,10 +2759,6 @@ export type RPPrintfulRateShipmentItem = {
|
|
|
2620
2759
|
export type RPProcessesSpeechToText = {
|
|
2621
2760
|
transcriptions: SpeechToTextTranscription[];
|
|
2622
2761
|
};
|
|
2623
|
-
export type RPJobsFindOverlaps = {
|
|
2624
|
-
overlaps: Overlap[];
|
|
2625
|
-
locations: Location[];
|
|
2626
|
-
};
|
|
2627
2762
|
export type OperationResult = {
|
|
2628
2763
|
message?: string;
|
|
2629
2764
|
id?: string;
|
|
@@ -2773,8 +2908,6 @@ export declare const PurchaseKindProduct = "product";
|
|
|
2773
2908
|
export declare const PurchaseKindSubscription = "subscription";
|
|
2774
2909
|
export declare const IDKey = "id";
|
|
2775
2910
|
export declare const OwnerIDKey = "owner_id";
|
|
2776
|
-
export declare const LocationTypeScheduled = "scheduled";
|
|
2777
|
-
export declare const LocationTypePersistent = "persistent";
|
|
2778
2911
|
export declare const ExtImageJPEG = ".jpg";
|
|
2779
2912
|
export declare const ExtImagePNG = ".png";
|
|
2780
2913
|
export declare const ExtVideoMP4 = ".mp4";
|
|
@@ -2812,10 +2945,8 @@ export declare const PathFilehubWeb = "web";
|
|
|
2812
2945
|
export declare const PathFilehubApp = "app";
|
|
2813
2946
|
export declare const PathFilehubMedia = "media";
|
|
2814
2947
|
export declare const PathFulfillmentsStatus = "status";
|
|
2815
|
-
export declare const PathJobsActivate = "activate";
|
|
2816
2948
|
export declare const PathJobsToJobs = "to_jobs";
|
|
2817
2949
|
export declare const PathJobsImmediate = "immediate";
|
|
2818
|
-
export declare const PathJobsOverlaps = "overlaps";
|
|
2819
2950
|
export declare const PathJobsMine = "mine";
|
|
2820
2951
|
export declare const PathNotificationsRelay = "relay";
|
|
2821
2952
|
export declare const PathNotificationsSend = "send";
|
|
@@ -3002,7 +3133,8 @@ export declare const PostTypeEmployment = "employment";
|
|
|
3002
3133
|
export declare const PostTypeJob = "job";
|
|
3003
3134
|
export declare const Pending = "pending";
|
|
3004
3135
|
export declare const Started = "started";
|
|
3005
|
-
export declare const
|
|
3136
|
+
export declare const Completed = "completed";
|
|
3137
|
+
export declare const Cancelled = "cancelled";
|
|
3006
3138
|
export declare const HTTPMethodPost = "POST";
|
|
3007
3139
|
export declare const HTTPMethodPatch = "PATCH";
|
|
3008
3140
|
export declare const HTTPMethodDelete = "DELETE";
|
|
@@ -123,8 +123,6 @@ export const PurchaseKindProduct = "product";
|
|
|
123
123
|
export const PurchaseKindSubscription = "subscription";
|
|
124
124
|
export const IDKey = "id";
|
|
125
125
|
export const OwnerIDKey = "owner_id";
|
|
126
|
-
export const LocationTypeScheduled = "scheduled";
|
|
127
|
-
export const LocationTypePersistent = "persistent";
|
|
128
126
|
export const ExtImageJPEG = ".jpg";
|
|
129
127
|
export const ExtImagePNG = ".png";
|
|
130
128
|
export const ExtVideoMP4 = ".mp4";
|
|
@@ -162,10 +160,8 @@ export const PathFilehubWeb = "web";
|
|
|
162
160
|
export const PathFilehubApp = "app";
|
|
163
161
|
export const PathFilehubMedia = "media";
|
|
164
162
|
export const PathFulfillmentsStatus = "status";
|
|
165
|
-
export const PathJobsActivate = "activate";
|
|
166
163
|
export const PathJobsToJobs = "to_jobs";
|
|
167
164
|
export const PathJobsImmediate = "immediate";
|
|
168
|
-
export const PathJobsOverlaps = "overlaps";
|
|
169
165
|
export const PathJobsMine = "mine";
|
|
170
166
|
export const PathNotificationsRelay = "relay";
|
|
171
167
|
export const PathNotificationsSend = "send";
|
|
@@ -352,7 +348,8 @@ export const PostTypeEmployment = "employment";
|
|
|
352
348
|
export const PostTypeJob = "job";
|
|
353
349
|
export const Pending = "pending";
|
|
354
350
|
export const Started = "started";
|
|
355
|
-
export const
|
|
351
|
+
export const Completed = "completed";
|
|
352
|
+
export const Cancelled = "cancelled";
|
|
356
353
|
export const HTTPMethodPost = "POST";
|
|
357
354
|
export const HTTPMethodPatch = "PATCH";
|
|
358
355
|
export const HTTPMethodDelete = "DELETE";
|