@aptly-as/types 2.2.8 → 2.2.10

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.
@@ -3,7 +3,7 @@ export declare enum AptlyAlgorithmPipelineOperation {
3
3
  Add = "add",
4
4
  Subtract = "subtract",
5
5
  Multiply = "multiply",
6
- Tax = "tax"
6
+ Vat = "vat"
7
7
  }
8
8
  export declare enum AptlyAlgorithmPipelineApplyTo {
9
9
  Base = "base",
@@ -16,7 +16,7 @@ export interface AptlyAlgorithmSchema<ID> {
16
16
  name: string;
17
17
  pipeline: AptlyAlgorithmPipelineSchema<ID>[];
18
18
  reversed?: boolean;
19
- tax?: number;
19
+ vat?: number;
20
20
  organization?: ID;
21
21
  project?: ID;
22
22
  }
@@ -4,7 +4,7 @@ export var AptlyAlgorithmPipelineOperation;
4
4
  AptlyAlgorithmPipelineOperation["Add"] = "add";
5
5
  AptlyAlgorithmPipelineOperation["Subtract"] = "subtract";
6
6
  AptlyAlgorithmPipelineOperation["Multiply"] = "multiply";
7
- AptlyAlgorithmPipelineOperation["Tax"] = "tax";
7
+ AptlyAlgorithmPipelineOperation["Vat"] = "vat";
8
8
  })(AptlyAlgorithmPipelineOperation || (AptlyAlgorithmPipelineOperation = {}));
9
9
  export var AptlyAlgorithmPipelineApplyTo;
10
10
  (function (AptlyAlgorithmPipelineApplyTo) {
package/models/order.d.ts CHANGED
@@ -21,7 +21,7 @@ export interface AptlyOrderSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID, DAT
21
21
  signage: AptlyOrderSignageSchema<ID, DATE>;
22
22
  items: AptlyOrderItemSchema<ID, DATE>[];
23
23
  totalCost: number;
24
- totalTax?: number;
24
+ totalVat?: number;
25
25
  pricePipeline: AptlyOrderPricePipelineItemSchema<ID>[];
26
26
  signees?: AptlyOrderSigneeSchema<ID, DATE>[];
27
27
  emailText?: string;
@@ -73,7 +73,8 @@ export interface AptlyOrderItemSchema<ID, DATE> {
73
73
  params: AptlyUnitItemParamSchema<ID, DATE>[];
74
74
  quantity: number;
75
75
  unitCost: number;
76
- unitTax?: number;
76
+ unitVat?: number;
77
+ vat?: number;
77
78
  pricePipeline: AptlyOrderItemPricePipelineSchema<ID>[];
78
79
  }
79
80
  export type AptlyOrderItemPricePipeline = AptlyOrderItemPricePipelineSchema<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "2.2.8",
3
+ "version": "2.2.10",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",