@leavittsoftware/lg-core-typescript 5.1404.0 → 5.1406.0

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 +1 @@
1
- {"version":3,"file":"api4.leavitt.com.js","sourceRoot":"","sources":["api4.leavitt.com.ts"],"names":[],"mappings":"AAk9CA,MAAM,CAAN,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAChC,2FAAkB,CAAA;IAClB,qFAAe,CAAA;AACnB,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,QAGnC;AAID,MAAM,CAAN,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC7B,2EAAa,CAAA;IACb,6EAAc,CAAA;IACd,uEAAW,CAAA;IACX,+EAAe,CAAA;IACf,uEAAW,CAAA;IACX,yEAAY,CAAA;AAChB,CAAC,EAPW,qBAAqB,KAArB,qBAAqB,QAOhC;AAID,MAAM,CAAN,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC7B,yEAAY,CAAA;IACZ,6EAAc,CAAA;IACd,+EAAe,CAAA;IACf,uEAAW,CAAA;AACf,CAAC,EALW,qBAAqB,KAArB,qBAAqB,QAKhC;AAID,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,2CAAQ,CAAA;IACR,uDAAc,CAAA;IACd,mEAAoB,CAAA;IACpB,mDAAY,CAAA;IACZ,6CAAS,CAAA;IACT,yCAAO,CAAA;AACX,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AAID,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,2DAAO,CAAA;IACP,yDAAM,CAAA;AACV,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B"}
1
+ {"version":3,"file":"api4.leavitt.com.js","sourceRoot":"","sources":["api4.leavitt.com.ts"],"names":[],"mappings":"AAqgDA,MAAM,CAAN,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAChC,2FAAkB,CAAA;IAClB,qFAAe,CAAA;AACnB,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,QAGnC;AAID,MAAM,CAAN,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC7B,2EAAa,CAAA;IACb,6EAAc,CAAA;IACd,uEAAW,CAAA;IACX,+EAAe,CAAA;IACf,uEAAW,CAAA;IACX,yEAAY,CAAA;AAChB,CAAC,EAPW,qBAAqB,KAArB,qBAAqB,QAOhC;AAID,MAAM,CAAN,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC7B,yEAAY,CAAA;IACZ,6EAAc,CAAA;IACd,+EAAe,CAAA;IACf,uEAAW,CAAA;AACf,CAAC,EALW,qBAAqB,KAArB,qBAAqB,QAKhC;AAID,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,2CAAQ,CAAA;IACR,uDAAc,CAAA;IACd,mEAAoB,CAAA;IACpB,mDAAY,CAAA;IACZ,6CAAS,CAAA;IACT,yCAAO,CAAA;AACX,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AAID,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,2DAAO,CAAA;IACP,yDAAM,CAAA;AACV,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B"}
@@ -5,7 +5,7 @@
5
5
  // ----------------------
6
6
  import { UnionConcat } from './enum-helpers'
7
7
  import { IDatabaseAttachment } from './lg.net.system'
8
- import { VehicleFuelTypeString, VehicleTransmissionTypeString, VehicleClassString, VehicleUnavailableReasonString, Company, LogoHeightTypeString, QuotingPromptTypeString, PersonalPropertyLineOfBusinessString, PersonalPropertyQuoteTypeString, JobRole, EmployeeChangeTransaction, Person, DistanceUnitTypeString, ApplicationToApplicationTag, EmailTemplateRecipient, EmailTemplateLog, EmploymentTypeString } from './lg.net.core'
8
+ import { VehicleFuelTypeString, VehicleTransmissionTypeString, VehicleClassString, VehicleReservationStatusString, VehicleUnavailableReasonString, Company, LogoHeightTypeString, QuotingPromptTypeString, PersonalPropertyLineOfBusinessString, PersonalPropertyQuoteTypeString, JobRole, EmployeeChangeTransaction, Person, DistanceUnitTypeString, ApplicationToApplicationTag, EmailTemplateRecipient, EmailTemplateLog, EmploymentTypeString } from './lg.net.core'
9
9
 
10
10
  export interface ICompanySelect {
11
11
  Id: number;
@@ -77,6 +77,11 @@ export interface SendChangeRequestEmailDto {
77
77
  Note: string;
78
78
  }
79
79
 
80
+ export interface UpdateReservationStatusDto {
81
+ Note?: string | null ;
82
+ Status: VehicleReservationStatusString;
83
+ }
84
+
80
85
  export interface UpsertCheckoutVehicleDto {
81
86
  Description?: string | null ;
82
87
  FuelLevel?: number | null ;
@@ -112,6 +117,15 @@ export interface UpsertVehicleReservationDto {
112
117
  VehicleId: number;
113
118
  }
114
119
 
120
+ export interface UpsertVehicleUnavailabilityDto {
121
+ EndDate?: string | null ;
122
+ Id?: number | null ;
123
+ Notes?: string | null ;
124
+ StartDate: string;
125
+ UnavailableReason: VehicleUnavailableReasonString;
126
+ VehicleId: number;
127
+ }
128
+
115
129
  export interface VehicleCalendarUsageDto {
116
130
  EndDate?: string | null ;
117
131
  Overdue?: boolean;
@@ -137,6 +151,15 @@ export interface VehicleCalendarDto {
137
151
  Year: number;
138
152
  }
139
153
 
154
+ export interface VehicleCheckoutDashboardStatsDto {
155
+ AvailableNow: number;
156
+ CheckedOut: number;
157
+ OverDue: number;
158
+ PendingApproval: number;
159
+ TotalVehicles: number;
160
+ Unavailable: number;
161
+ }
162
+
140
163
  export interface VehicleCheckoutGetVehicleDto {
141
164
  CarUsage?: Partial<GetCheckoutVehicleUsageDto> | null ;
142
165
  Description?: string | null ;
@@ -157,6 +180,34 @@ export interface VehicleCheckoutGetVehicleDto {
157
180
  Year: number;
158
181
  }
159
182
 
183
+ export interface VehicleCheckoutTodaysCheckoutsDto {
184
+ FullName?: string | null ;
185
+ LicensePlate: string;
186
+ Make: string;
187
+ Model: string;
188
+ PersonId: number;
189
+ ProfilePictureCdnFileName?: string | null ;
190
+ ReservationId: number;
191
+ ReservationStartDate: string;
192
+ TrackingNumber?: string | null ;
193
+ VehicleId: number;
194
+ Year: number;
195
+ }
196
+
197
+ export interface VehicleCheckoutTodaysReturnsDto {
198
+ FullName?: string | null ;
199
+ LicensePlate: string;
200
+ Make: string;
201
+ Model: string;
202
+ PersonId: number;
203
+ ProfilePictureCdnFileName?: string | null ;
204
+ ReservationEndDate: string;
205
+ ReservationId: number;
206
+ TrackingNumber?: string | null ;
207
+ VehicleId: number;
208
+ Year: number;
209
+ }
210
+
160
211
  export interface UpsertBasketDto {
161
212
  FruitIds: Array<number | null>;
162
213
  Id?: number | null ;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "5.1404.0",
3
+ "version": "5.1406.0",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.typescript.js",
6
6
  "files": [