@aptly-as/types 3.10.8 → 3.10.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.
@@ -13,6 +13,7 @@ export interface AptlyInquirySchema<ID, DATE> extends Pick<AptlyBaseSchema<ID, D
13
13
  project: ID | AptlyProjectSchema<ID, DATE>;
14
14
  organization: ID | AptlyOrganizationSchema<ID, DATE>;
15
15
  unit: ID | AptlyUnitSchema<ID, DATE>;
16
+ offer?: ID | null;
16
17
  order?: ID | null;
17
18
  product?: ID | AptlyProductSchema<ID, DATE>;
18
19
  variant?: ID;
package/models/price.d.ts CHANGED
@@ -11,6 +11,7 @@ export interface AptlyPriceSchema<ID, DATE> extends Pick<AptlyBaseSchema<ID, DAT
11
11
  identification: string;
12
12
  amount: number;
13
13
  algorithm: ID | null;
14
+ baseQuantity: number;
14
15
  updatedAt: DATE;
15
16
  createdAt: DATE;
16
17
  }
@@ -38,6 +38,7 @@ export interface AptlyProjectSchema<ID, DATE> extends AptlyBaseSchema<ID, DATE>,
38
38
  invoiceEmail?: string;
39
39
  algorithms: AptlyAlgorithmSchema<ID>[];
40
40
  algorithm: ID | null;
41
+ priceAlgorithm: ID | null;
41
42
  paymentApp?: ID | AptlyAppSchema<ID, DATE> | null;
42
43
  invites?: AptlyProjectInviteSchema<ID, DATE>[];
43
44
  signApp?: ID | AptlyAppSchema<ID, DATE> | null;
@@ -116,6 +117,7 @@ export interface AptlyProjectNotifySchema<ID, DATE> {
116
117
  inquiry: boolean;
117
118
  booking: boolean;
118
119
  complaint: boolean;
120
+ offer?: boolean;
119
121
  order?: boolean;
120
122
  'order-created'?: boolean;
121
123
  'order-signed'?: boolean;
@@ -18,6 +18,7 @@ export interface AptlyUnitEmailSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID,
18
18
  organization: ID | AptlyOrganizationSchema<ID, DATE>;
19
19
  project: ID | AptlyProjectSchema<ID, DATE>;
20
20
  unit: ID | AptlyUnitSchema<ID, DATE>;
21
+ offer?: ID | AptlyOrderSchema<ID, DATE> | null;
21
22
  order?: ID | AptlyOrderSchema<ID, DATE> | null;
22
23
  inquiry?: ID | AptlyInquirySchema<ID, DATE>;
23
24
  booking?: ID | AptlyBookingSchema<ID, DATE>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "3.10.8",
3
+ "version": "3.10.10",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",