@aptly-as/types 2.5.15 → 2.6.0

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.
Files changed (2) hide show
  1. package/models/unit.d.ts +8 -0
  2. package/package.json +1 -1
package/models/unit.d.ts CHANGED
@@ -38,6 +38,7 @@ export interface AptlyUnitSchema<ID, DATE> extends AptlyUnitTemplateBaseSchema<I
38
38
  confirmedPeriods: AptlyUnitConfirmedPeriodSchema<ID, DATE>[];
39
39
  queueInvites: string[];
40
40
  invites: AptlyUnitInviteSchema<ID, DATE>[];
41
+ invitesQueue: AptlyUnitInviteQueueSchema<ID, DATE>[];
41
42
  overridePeriod?: ID;
42
43
  overridePeriods?: AptlyUnitOverridePeriodSchema<ID, DATE>[];
43
44
  integrations: AptlyUnitIntegrationSchema<ID>[];
@@ -223,6 +224,13 @@ interface AptlyUnitEditData<DATE> {
223
224
  balconyKeys?: number;
224
225
  handoverDate?: DATE | null;
225
226
  }
227
+ export interface AptlyUnitInviteQueueSchema<ID, DATE> {
228
+ _id: ID;
229
+ email: string;
230
+ fullName?: string;
231
+ phone?: string;
232
+ createdAt: DATE;
233
+ }
226
234
  export interface AptlyUnitInviteSchema<ID, DATE> {
227
235
  _id: ID;
228
236
  code: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "2.5.15",
3
+ "version": "2.6.0",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",