sowell-models 1.27.0 → 1.27.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowell-models",
3
- "version": "1.27.0",
3
+ "version": "1.27.1",
4
4
  "description": "SoWell models",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -34,7 +34,7 @@ export interface VisitReportPayload {
34
34
  agent?: string
35
35
  providerCompany?: {
36
36
  id: string
37
- full_name: string
37
+ name: string
38
38
  }
39
39
  }
40
40
 
@@ -74,7 +74,7 @@ export interface IVisitReport extends IModel {
74
74
  agent?: string
75
75
  providerCompany?: {
76
76
  id: string
77
- full_name: string
77
+ name: string
78
78
  }
79
79
  validate?: (payload: VisitReportPayload) => string
80
80
  }
@@ -93,7 +93,7 @@ export class SPVisitReport extends ApplicationRecord implements IVisitReport {
93
93
  @Attr() agent!: string
94
94
  @Attr() providerCompany!: {
95
95
  id: string
96
- full_name: string
96
+ name: string
97
97
  }
98
98
  @BelongsTo() author!: SPUserItem
99
99
  @BelongsTo() visitSchedule!: SPVisitSchedule