@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.
@@ -17,7 +17,7 @@ export interface AptlyUnitTemplateSchema<ID, DATE> extends AptlyUnitTemplateBase
17
17
  description?: string;
18
18
  organization?: ID;
19
19
  project?: ID;
20
- archived: boolean;
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<ID, DATE>[];
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<ID, DATE> {
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",