@royalinvest/dto 0.55.2 → 0.55.4

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.
@@ -1,5 +1,5 @@
1
1
  export interface IMessageBrokerEvent<TPayload> {
2
- request_id: string;
2
+ http_request_id: string;
3
3
  user_id: string;
4
4
  payload: TPayload;
5
5
  }
@@ -54,5 +54,6 @@ export interface IMessageGenerateReport {
54
54
  report_type: ReportTypeEnum;
55
55
  report_data: IReportData;
56
56
  blob_path: string;
57
+ generate_hash?: boolean;
57
58
  language?: string;
58
59
  }
@@ -39,9 +39,9 @@ export interface IGeneratedInvoiceNotification {
39
39
  language: string;
40
40
  }
41
41
  export interface IGeneratedReportNotification {
42
- user_id: string;
43
42
  report_id: string;
44
43
  report_type: ReportTypeEnum;
45
44
  blob_path: string;
46
- language: string;
45
+ hash?: string;
46
+ language?: string;
47
47
  }
@@ -1,4 +1,5 @@
1
1
  export interface IPropertyUnit {
2
+ id?: string;
2
3
  unit_number: string;
3
4
  number_of_rooms?: string;
4
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.55.2",
3
+ "version": "0.55.4",
4
4
  "description": "Data Transfer Objects (DTOs) to carry data between frontend and backend processes.",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./dist/index.d.ts",
package/dist/billing.d.ts DELETED
@@ -1 +0,0 @@
1
- export type BillingIntervalType = "month" | "year" | "once";
package/dist/billing.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,51 +0,0 @@
1
- export interface IInvoiceContact {
2
- name: string;
3
- address: string;
4
- city: string;
5
- postal: string;
6
- country: string;
7
- phone?: string;
8
- email: string;
9
- website?: string;
10
- }
11
- export interface IInvoiceField {
12
- label: string;
13
- value: string | number | IInvoiceContact | null;
14
- }
15
- export interface IInvoiceTable<T> {
16
- headers: string[];
17
- items: T[];
18
- }
19
- export interface IInvoiceItem {
20
- description: string;
21
- quantity: number;
22
- unit_price: string;
23
- total_price: string;
24
- }
25
- export interface ITax {
26
- description: string;
27
- rate: string;
28
- amount: string;
29
- }
30
- export interface IPaymentInfo {
31
- message: IInvoiceField;
32
- support: IInvoiceField;
33
- }
34
- export interface IInvoiceFormData {
35
- invoice_number: IInvoiceField;
36
- currency: string;
37
- date: IInvoiceField;
38
- status: IInvoiceField;
39
- company_info: IInvoiceField;
40
- customer_info: IInvoiceField;
41
- tax_registration_numbers: IInvoiceField[];
42
- items_table: IInvoiceTable<IInvoiceItem>;
43
- taxes_table: IInvoiceTable<ITax>;
44
- subtotal: IInvoiceField;
45
- total: IInvoiceField;
46
- payment_info: IPaymentInfo;
47
- payment_method: IInvoiceField;
48
- last4_digits: IInvoiceField;
49
- stripe_transaction_id: string;
50
- stripe_session_id: string;
51
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
package/dist/payment.d.ts DELETED
@@ -1 +0,0 @@
1
- export type PaymentIntervalType = "month" | "year";
package/dist/payment.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });