@aptly-as/types 2.5.1 → 2.5.3

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/enums/index.d.ts CHANGED
@@ -116,7 +116,8 @@ export declare enum AptlyOrganizationType {
116
116
  Carpenter = "carpenter",
117
117
  Contractor = "contractor",
118
118
  Electrician = "electrician",
119
- Plumber = "plumber"
119
+ Plumber = "plumber",
120
+ Producer = "producer"
120
121
  }
121
122
  export declare enum AptlyOrganizationStatus {
122
123
  NewBusiness = 0,
@@ -131,10 +132,14 @@ export declare enum AptlyEmailType {
131
132
  BookingCancel = "booking-cancel",
132
133
  Inquiry = "inquiry",
133
134
  Invite = "invite",
135
+ InviteAccepted = "invite-accepted",
134
136
  NewOwner = "new-owner",
137
+ NoteReminder = "note-reminder",
135
138
  OrderCreated = "order-created",
136
139
  OrderSign = "order-sign",
140
+ OrderSignExpired = "order-sign-expired",
137
141
  OrderSigned = "order-signed",
142
+ OrderSignedManually = "order-signed-manually",
138
143
  OrderPay = "order-pay",
139
144
  OrderPayFailed = "order-pay-failed",
140
145
  OrderPayed = "order-payed",
package/enums/index.js CHANGED
@@ -135,6 +135,7 @@ export var AptlyOrganizationType;
135
135
  AptlyOrganizationType["Contractor"] = "contractor";
136
136
  AptlyOrganizationType["Electrician"] = "electrician";
137
137
  AptlyOrganizationType["Plumber"] = "plumber";
138
+ AptlyOrganizationType["Producer"] = "producer";
138
139
  })(AptlyOrganizationType || (AptlyOrganizationType = {}));
139
140
  export var AptlyOrganizationStatus;
140
141
  (function (AptlyOrganizationStatus) {
@@ -151,10 +152,14 @@ export var AptlyEmailType;
151
152
  AptlyEmailType["BookingCancel"] = "booking-cancel";
152
153
  AptlyEmailType["Inquiry"] = "inquiry";
153
154
  AptlyEmailType["Invite"] = "invite";
155
+ AptlyEmailType["InviteAccepted"] = "invite-accepted";
154
156
  AptlyEmailType["NewOwner"] = "new-owner";
157
+ AptlyEmailType["NoteReminder"] = "note-reminder";
155
158
  AptlyEmailType["OrderCreated"] = "order-created";
156
159
  AptlyEmailType["OrderSign"] = "order-sign";
160
+ AptlyEmailType["OrderSignExpired"] = "order-sign-expired";
157
161
  AptlyEmailType["OrderSigned"] = "order-signed";
162
+ AptlyEmailType["OrderSignedManually"] = "order-signed-manually";
158
163
  AptlyEmailType["OrderPay"] = "order-pay";
159
164
  AptlyEmailType["OrderPayFailed"] = "order-pay-failed";
160
165
  AptlyEmailType["OrderPayed"] = "order-payed";
@@ -8,12 +8,13 @@ export interface AptlyBookingSchema<ID, DATE> {
8
8
  organization: ID | AptlyOrganizationSchema<ID, DATE>;
9
9
  project: ID | AptlyProjectSchema<ID, DATE>;
10
10
  unit: ID | AptlyUnitSchema<ID, DATE>;
11
- user: ID;
11
+ user: ID | AptlyUserSchema<ID, DATE>;
12
12
  availability: ID | AptlyAvailabilitySchema<ID, DATE>;
13
13
  calendar: ID | AptlyAvailabilityCalendarSchema<ID, DATE>;
14
14
  availableTime: ID;
15
15
  from: DATE;
16
16
  to: DATE;
17
+ archived?: boolean;
17
18
  }
18
19
  export type AptlyAvailability = AptlyAvailabilitySchema<string, string>;
19
20
  export interface AptlyAvailabilitySchema<ID, DATE> {
@@ -45,6 +45,7 @@ export interface AptlyUnitTemplateCategorySectionSchema<ID, DATE> {
45
45
  _orderID: ID;
46
46
  name: string;
47
47
  text?: string;
48
+ description?: string;
48
49
  standard?: boolean;
49
50
  multiSelect: boolean;
50
51
  displayType: AptlyCategorySectionDisplayType;
package/models/unit.d.ts CHANGED
@@ -234,6 +234,7 @@ export interface AptlyUnitInviteSchema<ID, DATE> {
234
234
  claim: {
235
235
  email: string;
236
236
  fullName?: string;
237
+ phone?: string;
237
238
  claimed: boolean;
238
239
  claimedBy?: ID;
239
240
  claimTime?: DATE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "2.5.1",
3
+ "version": "2.5.3",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",