@aptly-as/types 2.2.5 → 2.2.7

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.
@@ -2,7 +2,8 @@ export declare enum AptlyAlgorithmPipelineOperation {
2
2
  Base = "base",
3
3
  Add = "add",
4
4
  Subtract = "subtract",
5
- Multiply = "multiply"
5
+ Multiply = "multiply",
6
+ Tax = "tax"
6
7
  }
7
8
  export declare enum AptlyAlgorithmPipelineApplyTo {
8
9
  Base = "base",
@@ -14,6 +15,8 @@ export interface AptlyAlgorithmSchema<ID> {
14
15
  _id: ID;
15
16
  name: string;
16
17
  pipeline: AptlyAlgorithmPipelineSchema<ID>[];
18
+ reversed?: boolean;
19
+ tax?: number;
17
20
  organization?: ID;
18
21
  project?: ID;
19
22
  }
@@ -4,6 +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
8
  })(AptlyAlgorithmPipelineOperation || (AptlyAlgorithmPipelineOperation = {}));
8
9
  export var AptlyAlgorithmPipelineApplyTo;
9
10
  (function (AptlyAlgorithmPipelineApplyTo) {
package/models/order.d.ts CHANGED
@@ -21,8 +21,9 @@ 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
25
  pricePipeline: AptlyOrderPricePipelineItemSchema<ID>[];
25
- signees: AptlyOrderSigneeSchema<ID, DATE>[];
26
+ signees?: AptlyOrderSigneeSchema<ID, DATE>[];
26
27
  emailText?: string;
27
28
  approved?: {
28
29
  action?: AptlyOrderAction;
@@ -72,6 +73,7 @@ export interface AptlyOrderItemSchema<ID, DATE> {
72
73
  params: AptlyUnitItemParamSchema<ID, DATE>[];
73
74
  quantity: number;
74
75
  unitCost: number;
76
+ unitTax?: number;
75
77
  pricePipeline: AptlyOrderItemPricePipelineSchema<ID>[];
76
78
  }
77
79
  export type AptlyOrderItemPricePipeline = AptlyOrderItemPricePipelineSchema<string>;
package/models/unit.d.ts CHANGED
@@ -223,6 +223,7 @@ export interface AptlyUnitInviteSchema<ID, DATE> {
223
223
  created: DATE;
224
224
  createdBy?: ID | AptlyUserSchema<ID, DATE>;
225
225
  newOwner: boolean;
226
+ sendCount?: number;
226
227
  claim: {
227
228
  email: string;
228
229
  claimed: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "2.2.5",
3
+ "version": "2.2.7",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",