@aptly-as/types 2.6.0 → 2.6.1

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 +2 -4
  2. package/package.json +1 -1
package/models/unit.d.ts CHANGED
@@ -38,7 +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
+ invitesQueue: AptlyUnitInviteQueueSchema[];
42
42
  overridePeriod?: ID;
43
43
  overridePeriods?: AptlyUnitOverridePeriodSchema<ID, DATE>[];
44
44
  integrations: AptlyUnitIntegrationSchema<ID>[];
@@ -224,12 +224,10 @@ interface AptlyUnitEditData<DATE> {
224
224
  balconyKeys?: number;
225
225
  handoverDate?: DATE | null;
226
226
  }
227
- export interface AptlyUnitInviteQueueSchema<ID, DATE> {
228
- _id: ID;
227
+ export interface AptlyUnitInviteQueueSchema {
229
228
  email: string;
230
229
  fullName?: string;
231
230
  phone?: string;
232
- createdAt: DATE;
233
231
  }
234
232
  export interface AptlyUnitInviteSchema<ID, DATE> {
235
233
  _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.1",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",