sowhat-types 2.0.43 → 2.0.44

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/index.d.mts CHANGED
@@ -116,9 +116,10 @@ interface CreateAssetDateOfAcquisitionInput {
116
116
  }
117
117
 
118
118
  interface CreateMobilityInput {
119
- customTitle: string;
120
- customImage: string | null;
121
- price: number;
119
+ name: string;
120
+ imageUrl: string | null;
121
+ value: number;
122
+ currency: string;
122
123
  licenceNumber: string | null;
123
124
  dateOfAcquisition: CreateAssetDateOfAcquisitionInput | null;
124
125
  mobilityType: MobilityTypeEnum;
@@ -129,19 +130,21 @@ interface CreateMobilityInput {
129
130
  }
130
131
 
131
132
  interface CreateRealEstateInput {
132
- gotLoan: boolean;
133
- customTitle: string;
134
- customImage: string | null;
135
- price: number;
133
+ name: string;
134
+ imageUrl: string | null;
135
+ value: number;
136
+ currency: string;
136
137
  note: string | null;
137
138
  isMainResidence: boolean;
138
139
  coOwner: CreateAssetCoOwnerInput | null;
140
+ gotLoan: boolean;
139
141
  }
140
142
 
141
143
  interface CreateOtherAssetInput {
142
144
  name: string;
143
145
  imageUrl: string | null;
144
146
  value: number;
147
+ currency: string;
145
148
  note: string | null;
146
149
  }
147
150
 
@@ -361,10 +364,10 @@ interface AssetDateOfAcquisitionResponse {
361
364
 
362
365
  interface MobilityResponse {
363
366
  id: string;
364
- userId: string;
365
- customImage: string | null;
366
- customTitle: string;
367
- price: number;
367
+ name: string;
368
+ imageUrl: string | null;
369
+ value: number;
370
+ currency: string;
368
371
  licenceNumber: string | null;
369
372
  dateOfAcquisition: AssetDateOfAcquisitionResponse | null;
370
373
  mobilityType: MobilityTypeEnum;
@@ -384,8 +387,9 @@ interface OtherAssetDeletedResponse {
384
387
  interface OtherAssetResponse {
385
388
  id: string;
386
389
  name: string;
387
- value: number;
388
390
  imageUrl: string | null;
391
+ value: number;
392
+ currency: string;
389
393
  note: string | null;
390
394
  createdAt: Date;
391
395
  updatedAt: Date;
@@ -398,14 +402,14 @@ interface RealEstateDeletedResponse {
398
402
 
399
403
  interface RealEstateResponse {
400
404
  id: string;
401
- userId: string;
402
- gotLoan: boolean;
403
- customTitle: string;
404
- customImage: string | null;
405
- price: number;
405
+ name: string;
406
+ imageUrl: string | null;
407
+ value: number;
408
+ currency: string;
406
409
  note: string | null;
407
410
  isMainResidence: boolean;
408
411
  coOwner: AssetCoOwnerResponse | null;
412
+ gotLoan: boolean;
409
413
  createdAt: Date;
410
414
  updatedAt: Date;
411
415
  }
package/dist/index.d.ts CHANGED
@@ -116,9 +116,10 @@ interface CreateAssetDateOfAcquisitionInput {
116
116
  }
117
117
 
118
118
  interface CreateMobilityInput {
119
- customTitle: string;
120
- customImage: string | null;
121
- price: number;
119
+ name: string;
120
+ imageUrl: string | null;
121
+ value: number;
122
+ currency: string;
122
123
  licenceNumber: string | null;
123
124
  dateOfAcquisition: CreateAssetDateOfAcquisitionInput | null;
124
125
  mobilityType: MobilityTypeEnum;
@@ -129,19 +130,21 @@ interface CreateMobilityInput {
129
130
  }
130
131
 
131
132
  interface CreateRealEstateInput {
132
- gotLoan: boolean;
133
- customTitle: string;
134
- customImage: string | null;
135
- price: number;
133
+ name: string;
134
+ imageUrl: string | null;
135
+ value: number;
136
+ currency: string;
136
137
  note: string | null;
137
138
  isMainResidence: boolean;
138
139
  coOwner: CreateAssetCoOwnerInput | null;
140
+ gotLoan: boolean;
139
141
  }
140
142
 
141
143
  interface CreateOtherAssetInput {
142
144
  name: string;
143
145
  imageUrl: string | null;
144
146
  value: number;
147
+ currency: string;
145
148
  note: string | null;
146
149
  }
147
150
 
@@ -361,10 +364,10 @@ interface AssetDateOfAcquisitionResponse {
361
364
 
362
365
  interface MobilityResponse {
363
366
  id: string;
364
- userId: string;
365
- customImage: string | null;
366
- customTitle: string;
367
- price: number;
367
+ name: string;
368
+ imageUrl: string | null;
369
+ value: number;
370
+ currency: string;
368
371
  licenceNumber: string | null;
369
372
  dateOfAcquisition: AssetDateOfAcquisitionResponse | null;
370
373
  mobilityType: MobilityTypeEnum;
@@ -384,8 +387,9 @@ interface OtherAssetDeletedResponse {
384
387
  interface OtherAssetResponse {
385
388
  id: string;
386
389
  name: string;
387
- value: number;
388
390
  imageUrl: string | null;
391
+ value: number;
392
+ currency: string;
389
393
  note: string | null;
390
394
  createdAt: Date;
391
395
  updatedAt: Date;
@@ -398,14 +402,14 @@ interface RealEstateDeletedResponse {
398
402
 
399
403
  interface RealEstateResponse {
400
404
  id: string;
401
- userId: string;
402
- gotLoan: boolean;
403
- customTitle: string;
404
- customImage: string | null;
405
- price: number;
405
+ name: string;
406
+ imageUrl: string | null;
407
+ value: number;
408
+ currency: string;
406
409
  note: string | null;
407
410
  isMainResidence: boolean;
408
411
  coOwner: AssetCoOwnerResponse | null;
412
+ gotLoan: boolean;
409
413
  createdAt: Date;
410
414
  updatedAt: Date;
411
415
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.43",
3
+ "version": "2.0.44",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",