@go-avro/avro-js 0.0.2-beta.29 → 0.0.2-beta.30
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/types/api.d.ts +3 -17
- package/package.json +1 -1
package/dist/types/api.d.ts
CHANGED
|
@@ -75,14 +75,8 @@ export interface LineItem {
|
|
|
75
75
|
amount: number | null;
|
|
76
76
|
time_created: number;
|
|
77
77
|
}
|
|
78
|
-
export interface CustomLineItem {
|
|
79
|
-
id: string;
|
|
78
|
+
export interface CustomLineItem extends LineItem {
|
|
80
79
|
line_item_type: "CUSTOM";
|
|
81
|
-
name: string;
|
|
82
|
-
description: string;
|
|
83
|
-
cost: number | null;
|
|
84
|
-
amount: number | null;
|
|
85
|
-
time_created: number;
|
|
86
80
|
}
|
|
87
81
|
export interface Reaction {
|
|
88
82
|
id: string;
|
|
@@ -219,20 +213,16 @@ export interface Break {
|
|
|
219
213
|
company_billable: boolean;
|
|
220
214
|
client_billable: boolean;
|
|
221
215
|
}
|
|
222
|
-
export interface ServiceMonth {
|
|
223
|
-
id: string;
|
|
216
|
+
export interface ServiceMonth extends LineItem {
|
|
224
217
|
line_item_type: "SERVICE_MONTH";
|
|
225
218
|
job_name: string;
|
|
226
219
|
job_id: string | null;
|
|
227
220
|
job_address: string;
|
|
228
221
|
job_labels: string[];
|
|
229
222
|
bill_id: string | null;
|
|
230
|
-
cost: number;
|
|
231
223
|
billed: boolean;
|
|
232
224
|
paid: boolean;
|
|
233
|
-
amount: number;
|
|
234
225
|
tasks: string[];
|
|
235
|
-
time_created: number;
|
|
236
226
|
time_updated: number | null;
|
|
237
227
|
}
|
|
238
228
|
export interface Session {
|
|
@@ -495,16 +485,13 @@ export interface AdditionalCharge {
|
|
|
495
485
|
description: string;
|
|
496
486
|
amount: number;
|
|
497
487
|
}
|
|
498
|
-
export interface _Event {
|
|
488
|
+
export interface _Event extends LineItem {
|
|
499
489
|
breaks: string[];
|
|
500
|
-
id: string;
|
|
501
490
|
line_item_type: "EVENT";
|
|
502
|
-
name: string;
|
|
503
491
|
internal_notes: string;
|
|
504
492
|
external_notes: string;
|
|
505
493
|
proofs: string[];
|
|
506
494
|
tasks: string[];
|
|
507
|
-
time_created: number;
|
|
508
495
|
time_ended: number;
|
|
509
496
|
time_started: number;
|
|
510
497
|
time_updated: number | null;
|
|
@@ -516,7 +503,6 @@ export interface _Event {
|
|
|
516
503
|
additional_charges: AdditionalCharge[];
|
|
517
504
|
user_id: string;
|
|
518
505
|
team_id: string;
|
|
519
|
-
cost: number;
|
|
520
506
|
billed: boolean;
|
|
521
507
|
paid: boolean;
|
|
522
508
|
autostart: boolean;
|