@aptly-as/types 2.4.6 → 2.4.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.
- package/models/project.d.ts +10 -2
- package/package.json +1 -1
package/models/project.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export interface AptlyProjectSchema<ID, DATE> extends AptlyBaseSchema<ID, DATE>,
|
|
|
33
33
|
field?: string;
|
|
34
34
|
address?: AptlyAddress;
|
|
35
35
|
paymentApp?: ID | AptlyAppSchema<ID, DATE> | null;
|
|
36
|
+
invites?: AptlyProjectInviteSchema<ID, DATE>[];
|
|
36
37
|
created: DATE;
|
|
37
38
|
}
|
|
38
39
|
export type AptlyProjectPeriod = AptlyPeriod;
|
|
@@ -94,7 +95,7 @@ export interface AptlyProjectIntegrationSchema<ID> {
|
|
|
94
95
|
project: string;
|
|
95
96
|
}
|
|
96
97
|
export type AptlyProjectNotify = AptlyProjectNotifySchema<string, string>;
|
|
97
|
-
interface AptlyProjectNotifySchema<ID, DATE> {
|
|
98
|
+
export interface AptlyProjectNotifySchema<ID, DATE> {
|
|
98
99
|
_id: ID;
|
|
99
100
|
user: AptlyUserSchema<ID, DATE> | ID;
|
|
100
101
|
types?: AptlyEmailType[];
|
|
@@ -107,4 +108,11 @@ interface AptlyProjectNotifySchema<ID, DATE> {
|
|
|
107
108
|
'order-fileReceived'?: boolean;
|
|
108
109
|
'unit-note-reminder'?: boolean;
|
|
109
110
|
}
|
|
110
|
-
export
|
|
111
|
+
export type AptlyProjectInvite = AptlyProjectInviteSchema<string, string>;
|
|
112
|
+
export interface AptlyProjectInviteSchema<ID, DATE> {
|
|
113
|
+
_id: ID;
|
|
114
|
+
unit: ID;
|
|
115
|
+
code: string;
|
|
116
|
+
createdAt: DATE;
|
|
117
|
+
createdBy: ID;
|
|
118
|
+
}
|