@autologix-engineering/shared 1.0.701 → 1.0.702

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": "@autologix-engineering/shared",
3
- "version": "1.0.701",
3
+ "version": "1.0.702",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
@@ -1,5 +1,6 @@
1
1
  export declare class CreateDispatchDto {
2
2
  requestIds: string[];
3
+ garagePlaceId?: string;
3
4
  dispatchDate?: string;
4
5
  contextId: string;
5
6
  constructor(obj?: Partial<CreateDispatchDto>);
@@ -11,6 +11,10 @@ __decorate([
11
11
  IsUUID('4', { each: true }),
12
12
  __metadata("design:type", Array)
13
13
  ], CreateDispatchDto.prototype, "requestIds", void 0);
14
+ __decorate([
15
+ IsUUID(),
16
+ __metadata("design:type", String)
17
+ ], CreateDispatchDto.prototype, "garagePlaceId", void 0);
14
18
  __decorate([
15
19
  IsOptional(),
16
20
  IsDateString(),
@@ -1 +1 @@
1
- {"version":3,"file":"create.dispatch.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/create.dispatch.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,UAAU,EACV,MAAM,GACN,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,iBAAiB;IAmB7B,YAAY,GAAgC;QAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAlBA;IAHC,OAAO,EAAE;IACT,YAAY,CAAC,CAAC,CAAC;IACf,MAAM,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qDACP;AAUrB;IAFC,UAAU,EAAE;IACZ,YAAY,EAAE;;uDACO;AAGtB;IADC,MAAM,CAAC,GAAG,CAAC;;oDACM"}
1
+ {"version":3,"file":"create.dispatch.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/create.dispatch.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,UAAU,EACV,MAAM,GACN,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,iBAAiB;IAmB7B,YAAY,GAAgC;QAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAlBA;IAHC,OAAO,EAAE;IACT,YAAY,CAAC,CAAC,CAAC;IACf,MAAM,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qDACP;AAMrB;IADC,MAAM,EAAE;;wDACc;AAIvB;IAFC,UAAU,EAAE;IACZ,YAAY,EAAE;;uDACO;AAGtB;IADC,MAAM,CAAC,GAAG,CAAC;;oDACM"}
@@ -2,11 +2,14 @@ import { TypedModel } from './typed.model';
2
2
  import { DispatchStatus, DispatchSubmissionType } from '@autologix/shared/enums';
3
3
  import { IRequest } from './request.model';
4
4
  import { IBusinessContextOwner } from './business.context.owner.model';
5
+ import { IOrganizationPlace } from './organization.place.model';
5
6
  export declare enum DispatchField {
6
7
  DispatchId = "dispatchId",
7
8
  DispatchNumber = "dispatchNum",
8
9
  DispatchDate = "dispatchDate",
9
10
  Requests = "requests",
11
+ GaragePlace = "grgPlace",
12
+ GaragePlaceId = "grgPlaceId",
10
13
  NumberOfDuties = "numDuties",
11
14
  TotalAmount = "totalAmt",
12
15
  Status = "status",
@@ -22,6 +25,8 @@ export interface IDispatch extends TypedModel {
22
25
  [DispatchField.DispatchNumber]: string;
23
26
  [DispatchField.DispatchDate]: Date;
24
27
  [DispatchField.Requests]?: IRequest[];
28
+ [DispatchField.GaragePlace]: IOrganizationPlace;
29
+ [DispatchField.GaragePlaceId]: string;
25
30
  [DispatchField.NumberOfDuties]: number;
26
31
  [DispatchField.TotalAmount]: number;
27
32
  [DispatchField.Status]: DispatchStatus;
@@ -6,8 +6,8 @@ export var DispatchField;
6
6
  DispatchField["Requests"] = "requests";
7
7
  // ClientPersona = 'clntPersona',
8
8
  // ClientPersonaId = 'clntPersonaId',
9
- // GaragePlace = 'grgPlace',
10
- // GaragePlaceId = 'grgPlaceId',
9
+ DispatchField["GaragePlace"] = "grgPlace";
10
+ DispatchField["GaragePlaceId"] = "grgPlaceId";
11
11
  DispatchField["NumberOfDuties"] = "numDuties";
12
12
  DispatchField["TotalAmount"] = "totalAmt";
13
13
  DispatchField["Status"] = "status";
@@ -1 +1 @@
1
- {"version":3,"file":"dispatch.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/dispatch.model.ts"],"names":[],"mappings":"AAQA,MAAM,CAAN,IAAY,aAkBX;AAlBD,WAAY,aAAa;IACxB,0CAAyB,CAAA;IACzB,+CAA8B,CAAA;IAC9B,8CAA6B,CAAA;IAC7B,sCAAqB,CAAA;IACrB,iCAAiC;IACjC,qCAAqC;IACrC,4BAA4B;IAC5B,gCAAgC;IAChC,6CAA4B,CAAA;IAC5B,yCAAwB,CAAA;IACxB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;IACnB,0CAAyB,CAAA;IACzB,6CAA4B,CAAA;IAC5B,qDAAoC,CAAA;IACpC,yDAAwC,CAAA;AACzC,CAAC,EAlBW,aAAa,KAAb,aAAa,QAkBxB"}
1
+ {"version":3,"file":"dispatch.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/dispatch.model.ts"],"names":[],"mappings":"AASA,MAAM,CAAN,IAAY,aAkBX;AAlBD,WAAY,aAAa;IACxB,0CAAyB,CAAA;IACzB,+CAA8B,CAAA;IAC9B,8CAA6B,CAAA;IAC7B,sCAAqB,CAAA;IACrB,iCAAiC;IACjC,qCAAqC;IACrC,yCAAwB,CAAA;IACxB,6CAA4B,CAAA;IAC5B,6CAA4B,CAAA;IAC5B,yCAAwB,CAAA;IACxB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;IACnB,0CAAyB,CAAA;IACzB,6CAA4B,CAAA;IAC5B,qDAAoC,CAAA;IACpC,yDAAwC,CAAA;AACzC,CAAC,EAlBW,aAAa,KAAb,aAAa,QAkBxB"}