@go-avro/avro-js 0.0.2-beta.15 → 0.0.2-beta.17
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 +17 -1
- package/package.json +1 -1
package/dist/types/api.d.ts
CHANGED
|
@@ -68,6 +68,16 @@ export interface MemberState {
|
|
|
68
68
|
}
|
|
69
69
|
export interface LineItem {
|
|
70
70
|
id: string;
|
|
71
|
+
line_item_type: "CUSTOM" | "ADDITIONAL_CHARGE" | "EVENT" | "SERVICE_MONTH";
|
|
72
|
+
name: string;
|
|
73
|
+
description: string;
|
|
74
|
+
cost: number | null;
|
|
75
|
+
amount: number | null;
|
|
76
|
+
time_created: number;
|
|
77
|
+
}
|
|
78
|
+
export interface CustomLineItem {
|
|
79
|
+
id: string;
|
|
80
|
+
line_item_type: "CUSTOM";
|
|
71
81
|
name: string;
|
|
72
82
|
description: string;
|
|
73
83
|
cost: number | null;
|
|
@@ -211,13 +221,17 @@ export interface Break {
|
|
|
211
221
|
}
|
|
212
222
|
export interface ServiceMonth {
|
|
213
223
|
id: string;
|
|
224
|
+
line_item_type: "SERVICE_MONTH";
|
|
214
225
|
job_name: string;
|
|
215
226
|
job_id: string | null;
|
|
227
|
+
job_address: string;
|
|
228
|
+
job_labels: string[];
|
|
216
229
|
bill_id: string | null;
|
|
217
230
|
cost: number;
|
|
218
231
|
billed: boolean;
|
|
219
232
|
paid: boolean;
|
|
220
233
|
amount: number;
|
|
234
|
+
tasks: string[];
|
|
221
235
|
time_created: number;
|
|
222
236
|
time_updated: number | null;
|
|
223
237
|
}
|
|
@@ -301,7 +315,7 @@ export interface Bill {
|
|
|
301
315
|
intent_created_at: number;
|
|
302
316
|
intent_last_created_at: number;
|
|
303
317
|
payment: BillPayment | null;
|
|
304
|
-
line_items:
|
|
318
|
+
line_items: CustomLineItem[];
|
|
305
319
|
months: string[];
|
|
306
320
|
due_date: number;
|
|
307
321
|
}
|
|
@@ -473,6 +487,7 @@ export interface taskEndInfo {
|
|
|
473
487
|
}
|
|
474
488
|
export interface AdditionalCharge {
|
|
475
489
|
id: string;
|
|
490
|
+
line_item_type: "ADDITIONAL_CHARGE";
|
|
476
491
|
time_created: number;
|
|
477
492
|
time_updated: number | null;
|
|
478
493
|
name: string;
|
|
@@ -481,6 +496,7 @@ export interface AdditionalCharge {
|
|
|
481
496
|
export interface _Event {
|
|
482
497
|
breaks: string[];
|
|
483
498
|
id: string;
|
|
499
|
+
line_item_type: "EVENT";
|
|
484
500
|
name: string;
|
|
485
501
|
internal_notes: string;
|
|
486
502
|
external_notes: string;
|