@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 +6 -1
- package/enums/index.js +5 -0
- package/models/booking.d.ts +2 -1
- package/models/unit-template.d.ts +1 -0
- package/models/unit.d.ts +1 -0
- package/package.json +1 -1
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";
|
package/models/booking.d.ts
CHANGED
|
@@ -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> {
|
package/models/unit.d.ts
CHANGED