@autologix-engineering/shared 1.2.149 → 1.2.151

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.2.149",
3
+ "version": "1.2.151",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
@@ -1,7 +1,9 @@
1
+ import { BillingType } from '../../enums/src';
1
2
  export declare class AddVendorDeductionRuleDTO {
2
3
  contextId: string;
3
4
  rangeStart: number;
4
5
  rangeEnd: number;
5
6
  deductionPercentage: number;
7
+ billingType: BillingType;
6
8
  status?: boolean;
7
9
  }
@@ -1,5 +1,6 @@
1
1
  import { __decorate, __metadata } from "tslib";
2
- import { IsNumber, IsBoolean, IsOptional, IsUUID } from 'class-validator';
2
+ import { IsNumber, IsBoolean, IsOptional, IsUUID, IsEnum, } from 'class-validator';
3
+ import { BillingType } from '../../enums/src';
3
4
  export class AddVendorDeductionRuleDTO {
4
5
  }
5
6
  __decorate([
@@ -18,6 +19,10 @@ __decorate([
18
19
  IsNumber(),
19
20
  __metadata("design:type", Number)
20
21
  ], AddVendorDeductionRuleDTO.prototype, "deductionPercentage", void 0);
22
+ __decorate([
23
+ IsEnum(BillingType),
24
+ __metadata("design:type", String)
25
+ ], AddVendorDeductionRuleDTO.prototype, "billingType", void 0);
21
26
  __decorate([
22
27
  IsBoolean(),
23
28
  IsOptional(),
@@ -1 +1 @@
1
- {"version":3,"file":"add.vendor.deduction.rule.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/add.vendor.deduction.rule.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE1E,MAAM,OAAO,yBAAyB;CAgBrC;AAdA;IADC,MAAM,EAAE;;4DACS;AAGlB;IADC,QAAQ,EAAE;;6DACQ;AAGnB;IADC,QAAQ,EAAE;;2DACM;AAGjB;IADC,QAAQ,EAAE;;sEACiB;AAI5B;IAFC,SAAS,EAAE;IACX,UAAU,EAAE;;yDACI"}
1
+ {"version":3,"file":"add.vendor.deduction.rule.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/add.vendor.deduction.rule.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,QAAQ,EACR,SAAS,EACT,UAAU,EACV,MAAM,EACN,MAAM,GACN,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,OAAO,yBAAyB;CAmBrC;AAjBA;IADC,MAAM,EAAE;;4DACS;AAGlB;IADC,QAAQ,EAAE;;6DACQ;AAGnB;IADC,QAAQ,EAAE;;2DACM;AAGjB;IADC,QAAQ,EAAE;;sEACiB;AAG5B;IADC,MAAM,CAAC,WAAW,CAAC;;8DACK;AAIzB;IAFC,SAAS,EAAE;IACX,UAAU,EAAE;;yDACI"}
@@ -1,7 +1,9 @@
1
+ import { BillingType } from '../../enums/src';
1
2
  export declare class UpdateVendorDeductionRuleDTO {
2
3
  vendorDeductionRuleId: string;
3
4
  rangeStart?: number;
4
5
  rangeEnd?: number;
5
6
  deductionPercentage?: number;
7
+ billingType?: BillingType;
6
8
  status?: boolean;
7
9
  }
@@ -1,5 +1,6 @@
1
1
  import { __decorate, __metadata } from "tslib";
2
- import { IsNumber, IsBoolean, IsOptional, IsUUID } from 'class-validator';
2
+ import { IsNumber, IsBoolean, IsOptional, IsUUID, IsEnum, } from 'class-validator';
3
+ import { BillingType } from '../../enums/src';
3
4
  export class UpdateVendorDeductionRuleDTO {
4
5
  }
5
6
  __decorate([
@@ -21,6 +22,11 @@ __decorate([
21
22
  IsOptional(),
22
23
  __metadata("design:type", Number)
23
24
  ], UpdateVendorDeductionRuleDTO.prototype, "deductionPercentage", void 0);
25
+ __decorate([
26
+ IsEnum(BillingType),
27
+ IsOptional(),
28
+ __metadata("design:type", String)
29
+ ], UpdateVendorDeductionRuleDTO.prototype, "billingType", void 0);
24
30
  __decorate([
25
31
  IsBoolean(),
26
32
  IsOptional(),
@@ -1 +1 @@
1
- {"version":3,"file":"update.vendor.deduction.rule.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/update.vendor.deduction.rule.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE1E,MAAM,OAAO,4BAA4B;CAmBxC;AAjBA;IADC,MAAM,EAAE;;2EACqB;AAI9B;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;gEACO;AAIpB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;8DACK;AAIlB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;yEACgB;AAI7B;IAFC,SAAS,EAAE;IACX,UAAU,EAAE;;4DACI"}
1
+ {"version":3,"file":"update.vendor.deduction.rule.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/update.vendor.deduction.rule.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,QAAQ,EACR,SAAS,EACT,UAAU,EACV,MAAM,EACN,MAAM,GACN,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,OAAO,4BAA4B;CAuBxC;AArBA;IADC,MAAM,EAAE;;2EACqB;AAI9B;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;gEACO;AAIpB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;8DACK;AAIlB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;yEACgB;AAI7B;IAFC,MAAM,CAAC,WAAW,CAAC;IACnB,UAAU,EAAE;;iEACa;AAI1B;IAFC,SAAS,EAAE;IACX,UAAU,EAAE;;4DACI"}
@@ -11,5 +11,6 @@ export declare enum PersonaStatus {
11
11
  Disconnected = "Disconnected",
12
12
  DisconnectedBySelf = "Disconnected by Self",
13
13
  Active = "Active",
14
- Inactive = "Inactive"
14
+ Inactive = "Inactive",
15
+ Draft = "Draft"
15
16
  }
@@ -13,5 +13,6 @@ export var PersonaStatus;
13
13
  PersonaStatus["DisconnectedBySelf"] = "Disconnected by Self";
14
14
  PersonaStatus["Active"] = "Active";
15
15
  PersonaStatus["Inactive"] = "Inactive";
16
+ PersonaStatus["Draft"] = "Draft";
16
17
  })(PersonaStatus || (PersonaStatus = {}));
17
18
  //# sourceMappingURL=persona.status.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"persona.status.enum.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/enums/src/persona.status.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,aAcX;AAdD,WAAY,aAAa;IACxB,gCAAe,CAAA;IACf,4CAA2B,CAAA;IAC3B,oCAAmB,CAAA;IACnB,mDAAkC,CAAA;IAClC,kDAAiC,CAAA;IACjC,iEAAgD,CAAA;IAChD,yDAAwC,CAAA;IACxC,kDAAiC,CAAA;IACjC,+DAA8C,CAAA;IAC9C,8CAA6B,CAAA;IAC7B,4DAA2C,CAAA;IAC3C,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;AACtB,CAAC,EAdW,aAAa,KAAb,aAAa,QAcxB"}
1
+ {"version":3,"file":"persona.status.enum.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/enums/src/persona.status.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,aAeX;AAfD,WAAY,aAAa;IACxB,gCAAe,CAAA;IACf,4CAA2B,CAAA;IAC3B,oCAAmB,CAAA;IACnB,mDAAkC,CAAA;IAClC,kDAAiC,CAAA;IACjC,iEAAgD,CAAA;IAChD,yDAAwC,CAAA;IACxC,kDAAiC,CAAA;IACjC,+DAA8C,CAAA;IAC9C,8CAA6B,CAAA;IAC7B,4DAA2C,CAAA;IAC3C,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;IACrB,gCAAe,CAAA;AAChB,CAAC,EAfW,aAAa,KAAb,aAAa,QAexB"}
@@ -1,10 +1,12 @@
1
1
  import { TypedModel } from './typed.model';
2
2
  import { IBusinessContextOwner } from './business.context.owner.model';
3
+ import { BillingType } from '../../enums/src';
3
4
  export declare enum VendorDeductionRuleField {
4
5
  VendorDeductionRuleId = "vendorDeductionRuleId",
5
6
  RangeStart = "rangeStart",
6
7
  RangeEnd = "rangeEnd",
7
8
  DeductionPercentage = "deductionPercentage",
9
+ BillingType = "billingType",
8
10
  Status = "status",
9
11
  CreatedAt = "crdAt",
10
12
  Context = "ctx",
@@ -15,6 +17,7 @@ export interface IVendorDeductionRule extends TypedModel {
15
17
  [VendorDeductionRuleField.RangeStart]: number;
16
18
  [VendorDeductionRuleField.RangeEnd]: number;
17
19
  [VendorDeductionRuleField.DeductionPercentage]: number;
20
+ [VendorDeductionRuleField.BillingType]: BillingType;
18
21
  [VendorDeductionRuleField.Status]: boolean;
19
22
  [VendorDeductionRuleField.CreatedAt]: Date;
20
23
  [VendorDeductionRuleField.Context]: IBusinessContextOwner;
@@ -4,6 +4,7 @@ export var VendorDeductionRuleField;
4
4
  VendorDeductionRuleField["RangeStart"] = "rangeStart";
5
5
  VendorDeductionRuleField["RangeEnd"] = "rangeEnd";
6
6
  VendorDeductionRuleField["DeductionPercentage"] = "deductionPercentage";
7
+ VendorDeductionRuleField["BillingType"] = "billingType";
7
8
  VendorDeductionRuleField["Status"] = "status";
8
9
  VendorDeductionRuleField["CreatedAt"] = "crdAt";
9
10
  VendorDeductionRuleField["Context"] = "ctx";
@@ -1 +1 @@
1
- {"version":3,"file":"vendor.deduction.rule.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/vendor.deduction.rule.model.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,wBASX;AATD,WAAY,wBAAwB;IACnC,2EAA+C,CAAA;IAC/C,qDAAyB,CAAA;IACzB,iDAAqB,CAAA;IACrB,uEAA2C,CAAA;IAC3C,6CAAiB,CAAA;IACjB,+CAAmB,CAAA;IACnB,2CAAe,CAAA;IACf,+CAAmB,CAAA;AACpB,CAAC,EATW,wBAAwB,KAAxB,wBAAwB,QASnC"}
1
+ {"version":3,"file":"vendor.deduction.rule.model.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/models/src/vendor.deduction.rule.model.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,wBAUX;AAVD,WAAY,wBAAwB;IACnC,2EAA+C,CAAA;IAC/C,qDAAyB,CAAA;IACzB,iDAAqB,CAAA;IACrB,uEAA2C,CAAA;IAC3C,uDAA2B,CAAA;IAC3B,6CAAiB,CAAA;IACjB,+CAAmB,CAAA;IACnB,2CAAe,CAAA;IACf,+CAAmB,CAAA;AACpB,CAAC,EAVW,wBAAwB,KAAxB,wBAAwB,QAUnC"}