@go-avro/avro-js 0.0.2-beta.16 → 0.0.2-beta.18

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.
@@ -67,6 +67,15 @@ export interface MemberState {
67
67
  last_message_read_at: number | null;
68
68
  }
69
69
  export interface LineItem {
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 {
70
79
  id: string;
71
80
  line_item_type: "CUSTOM";
72
81
  name: string;
@@ -306,7 +315,7 @@ export interface Bill {
306
315
  intent_created_at: number;
307
316
  intent_last_created_at: number;
308
317
  payment: BillPayment | null;
309
- line_items: LineItem[];
318
+ line_items: CustomLineItem[];
310
319
  months: string[];
311
320
  due_date: number;
312
321
  }
@@ -482,6 +491,7 @@ export interface AdditionalCharge {
482
491
  time_created: number;
483
492
  time_updated: number | null;
484
493
  name: string;
494
+ description: string;
485
495
  amount: number;
486
496
  }
487
497
  export interface _Event {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "0.0.2-beta.16",
3
+ "version": "0.0.2-beta.18",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",