@aptly-as/types 3.7.0 → 3.7.2
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/models/inquiry.d.ts +1 -0
- package/models/order.d.ts +1 -0
- package/models/unit-email.d.ts +2 -0
- package/package.json +1 -1
package/models/inquiry.d.ts
CHANGED
|
@@ -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
|
+
order?: ID | null;
|
|
16
17
|
product?: ID | AptlyProductSchema<ID, DATE>;
|
|
17
18
|
variant?: ID;
|
|
18
19
|
producer?: ID;
|
package/models/order.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export declare enum AptlyOrderPaymentStatus {
|
|
|
25
25
|
export type AptlyOrder = AptlyOrderSchema<string, string>;
|
|
26
26
|
export interface AptlyOrderSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID, DATE>, 'name'> {
|
|
27
27
|
orderNumber: string;
|
|
28
|
+
invoiceNumber?: number;
|
|
28
29
|
organization: ID | AptlyOrganizationSchema<ID, DATE>;
|
|
29
30
|
project: ID | AptlyProjectSchema<ID, DATE>;
|
|
30
31
|
period?: ID | AptlyProjectPeriodSchema<ID, DATE>;
|
package/models/unit-email.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { AptlyInquirySchema } from './inquiry.js';
|
|
|
5
5
|
import { AptlyOrganizationSchema } from './organization.js';
|
|
6
6
|
import { AptlyProjectSchema } from './project.js';
|
|
7
7
|
import { AptlyUnitSchema } from './unit.js';
|
|
8
|
+
import { AptlyOrderSchema } from './order';
|
|
8
9
|
export type AptlyUnitEmail = AptlyUnitEmailSchema<string, string>;
|
|
9
10
|
export interface AptlyUnitEmailSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID, DATE>, 'name' | 'archived'> {
|
|
10
11
|
type: AptlyEmailType;
|
|
@@ -17,6 +18,7 @@ export interface AptlyUnitEmailSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID,
|
|
|
17
18
|
organization: ID | AptlyOrganizationSchema<ID, DATE>;
|
|
18
19
|
project: ID | AptlyProjectSchema<ID, DATE>;
|
|
19
20
|
unit: ID | AptlyUnitSchema<ID, DATE>;
|
|
21
|
+
order?: ID | AptlyOrderSchema<ID, DATE> | null;
|
|
20
22
|
inquiry?: ID | AptlyInquirySchema<ID, DATE>;
|
|
21
23
|
booking?: ID | AptlyBookingSchema<ID, DATE>;
|
|
22
24
|
created: DATE;
|