@aptly-as/types 2.6.0 → 2.6.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/unit-template.d.ts +1 -1
- package/models/unit.d.ts +3 -4
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ export interface AptlyUnitTemplateSchema<ID, DATE> extends AptlyUnitTemplateBase
|
|
|
17
17
|
description?: string;
|
|
18
18
|
organization?: ID;
|
|
19
19
|
project?: ID;
|
|
20
|
-
|
|
20
|
+
unit?: ID;
|
|
21
21
|
blueprints: AptlyUnitTemplateBlueprintSchema<ID>[];
|
|
22
22
|
}
|
|
23
23
|
export type AptlyUnitTemplateBlueprint = AptlyUnitTemplateBlueprintSchema<string>;
|
package/models/unit.d.ts
CHANGED
|
@@ -35,10 +35,11 @@ export interface AptlyUnitSchema<ID, DATE> extends AptlyUnitTemplateBaseSchema<I
|
|
|
35
35
|
project: AptlyProjectSchema<ID, DATE> | ID;
|
|
36
36
|
users: (AptlyUserSchema<ID, DATE> | ID)[];
|
|
37
37
|
unitTemplate: ID | AptlyUnitTemplateSchema<ID, DATE>;
|
|
38
|
+
unitTemplateEjected?: boolean;
|
|
38
39
|
confirmedPeriods: AptlyUnitConfirmedPeriodSchema<ID, DATE>[];
|
|
39
40
|
queueInvites: string[];
|
|
40
41
|
invites: AptlyUnitInviteSchema<ID, DATE>[];
|
|
41
|
-
invitesQueue: AptlyUnitInviteQueueSchema
|
|
42
|
+
invitesQueue: AptlyUnitInviteQueueSchema[];
|
|
42
43
|
overridePeriod?: ID;
|
|
43
44
|
overridePeriods?: AptlyUnitOverridePeriodSchema<ID, DATE>[];
|
|
44
45
|
integrations: AptlyUnitIntegrationSchema<ID>[];
|
|
@@ -224,12 +225,10 @@ interface AptlyUnitEditData<DATE> {
|
|
|
224
225
|
balconyKeys?: number;
|
|
225
226
|
handoverDate?: DATE | null;
|
|
226
227
|
}
|
|
227
|
-
export interface AptlyUnitInviteQueueSchema
|
|
228
|
-
_id: ID;
|
|
228
|
+
export interface AptlyUnitInviteQueueSchema {
|
|
229
229
|
email: string;
|
|
230
230
|
fullName?: string;
|
|
231
231
|
phone?: string;
|
|
232
|
-
createdAt: DATE;
|
|
233
232
|
}
|
|
234
233
|
export interface AptlyUnitInviteSchema<ID, DATE> {
|
|
235
234
|
_id: ID;
|