@aptly-as/types 2.4.3 → 2.4.5
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/core/scope.d.ts +0 -2
- package/core/scope.js +0 -2
- package/enums/index.d.ts +6 -6
- package/enums/index.js +6 -6
- package/models/user.d.ts +10 -0
- package/models/user.js +10 -0
- package/package.json +1 -1
package/core/scope.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ export declare enum AptlyModules {
|
|
|
10
10
|
Payment = "payment",
|
|
11
11
|
ProductsExtended = "productsExtended",
|
|
12
12
|
Recommendations = "recommendations",
|
|
13
|
-
Subcontractor = "subcontractor",
|
|
14
13
|
Signing = "signing",
|
|
15
14
|
Support = "support",
|
|
16
15
|
SupportComplaint = "supportComplaint",
|
|
@@ -69,7 +68,6 @@ export declare enum AptlyScopes {
|
|
|
69
68
|
ProjectReportPrice = "projectReportPrice",
|
|
70
69
|
ProjectTheme = "projectTheme",
|
|
71
70
|
ProjectSigning = "projectSigning",
|
|
72
|
-
ProjectSubcontractor = "projectSubcontractor",
|
|
73
71
|
ProjectThirdParty = "projectThirdParty",
|
|
74
72
|
ProjectUnits = "projectUnits",
|
|
75
73
|
ProjectUnitInvites = "projectUnitInvites",
|
package/core/scope.js
CHANGED
|
@@ -11,7 +11,6 @@ export var AptlyModules;
|
|
|
11
11
|
AptlyModules["Payment"] = "payment";
|
|
12
12
|
AptlyModules["ProductsExtended"] = "productsExtended";
|
|
13
13
|
AptlyModules["Recommendations"] = "recommendations";
|
|
14
|
-
AptlyModules["Subcontractor"] = "subcontractor";
|
|
15
14
|
AptlyModules["Signing"] = "signing";
|
|
16
15
|
AptlyModules["Support"] = "support";
|
|
17
16
|
AptlyModules["SupportComplaint"] = "supportComplaint";
|
|
@@ -71,7 +70,6 @@ export var AptlyScopes;
|
|
|
71
70
|
AptlyScopes["ProjectReportPrice"] = "projectReportPrice";
|
|
72
71
|
AptlyScopes["ProjectTheme"] = "projectTheme";
|
|
73
72
|
AptlyScopes["ProjectSigning"] = "projectSigning";
|
|
74
|
-
AptlyScopes["ProjectSubcontractor"] = "projectSubcontractor";
|
|
75
73
|
AptlyScopes["ProjectThirdParty"] = "projectThirdParty";
|
|
76
74
|
AptlyScopes["ProjectUnits"] = "projectUnits";
|
|
77
75
|
AptlyScopes["ProjectUnitInvites"] = "projectUnitInvites";
|
package/enums/index.d.ts
CHANGED
|
@@ -125,13 +125,12 @@ export declare enum AptlyOrganizationStatus {
|
|
|
125
125
|
Closed = 4
|
|
126
126
|
}
|
|
127
127
|
export declare enum AptlyEmailType {
|
|
128
|
-
|
|
129
|
-
Inquiry = "inquiry",
|
|
130
|
-
NewOwner = "new-owner",
|
|
131
|
-
PeriodOpen = "period-open",
|
|
132
|
-
PeriodClose = "period-close",
|
|
128
|
+
ActionRecipients = "action_recipients",
|
|
133
129
|
BookingConfirm = "booking-confirm",
|
|
134
130
|
BookingCancel = "booking-cancel",
|
|
131
|
+
Inquiry = "inquiry",
|
|
132
|
+
Invite = "invite",
|
|
133
|
+
NewOwner = "new-owner",
|
|
135
134
|
OrderCreated = "order-created",
|
|
136
135
|
OrderSign = "order-sign",
|
|
137
136
|
OrderSigned = "order-signed",
|
|
@@ -140,5 +139,6 @@ export declare enum AptlyEmailType {
|
|
|
140
139
|
OrderPayed = "order-payed",
|
|
141
140
|
OrderReceipt = "order-receipt",
|
|
142
141
|
OrderCompleted = "order-completed",
|
|
143
|
-
|
|
142
|
+
PeriodOpen = "period-open",
|
|
143
|
+
PeriodClose = "period-close"
|
|
144
144
|
}
|
package/enums/index.js
CHANGED
|
@@ -145,13 +145,12 @@ export var AptlyOrganizationStatus;
|
|
|
145
145
|
})(AptlyOrganizationStatus || (AptlyOrganizationStatus = {}));
|
|
146
146
|
export var AptlyEmailType;
|
|
147
147
|
(function (AptlyEmailType) {
|
|
148
|
-
AptlyEmailType["
|
|
149
|
-
AptlyEmailType["Inquiry"] = "inquiry";
|
|
150
|
-
AptlyEmailType["NewOwner"] = "new-owner";
|
|
151
|
-
AptlyEmailType["PeriodOpen"] = "period-open";
|
|
152
|
-
AptlyEmailType["PeriodClose"] = "period-close";
|
|
148
|
+
AptlyEmailType["ActionRecipients"] = "action_recipients";
|
|
153
149
|
AptlyEmailType["BookingConfirm"] = "booking-confirm";
|
|
154
150
|
AptlyEmailType["BookingCancel"] = "booking-cancel";
|
|
151
|
+
AptlyEmailType["Inquiry"] = "inquiry";
|
|
152
|
+
AptlyEmailType["Invite"] = "invite";
|
|
153
|
+
AptlyEmailType["NewOwner"] = "new-owner";
|
|
155
154
|
AptlyEmailType["OrderCreated"] = "order-created";
|
|
156
155
|
AptlyEmailType["OrderSign"] = "order-sign";
|
|
157
156
|
AptlyEmailType["OrderSigned"] = "order-signed";
|
|
@@ -160,5 +159,6 @@ export var AptlyEmailType;
|
|
|
160
159
|
AptlyEmailType["OrderPayed"] = "order-payed";
|
|
161
160
|
AptlyEmailType["OrderReceipt"] = "order-receipt";
|
|
162
161
|
AptlyEmailType["OrderCompleted"] = "order-completed";
|
|
163
|
-
AptlyEmailType["
|
|
162
|
+
AptlyEmailType["PeriodOpen"] = "period-open";
|
|
163
|
+
AptlyEmailType["PeriodClose"] = "period-close";
|
|
164
164
|
})(AptlyEmailType || (AptlyEmailType = {}));
|
package/models/user.d.ts
CHANGED
|
@@ -5,6 +5,15 @@ export declare enum AptlyLanguage {
|
|
|
5
5
|
Norwegian = "no",
|
|
6
6
|
NorwegianBokmal = "nb"
|
|
7
7
|
}
|
|
8
|
+
export declare enum AptlyUserForgetStatus {
|
|
9
|
+
None = 0,
|
|
10
|
+
SixMonths = 1,
|
|
11
|
+
OneMonth = 2,
|
|
12
|
+
OneWeek = 3,
|
|
13
|
+
Forget = 4,
|
|
14
|
+
Forgotten = 5,
|
|
15
|
+
Never = 6
|
|
16
|
+
}
|
|
8
17
|
export type AptlyUser = AptlyUserSchema<string, string>;
|
|
9
18
|
export interface AptlyUserSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID, DATE>, 'archived' | 'name'> {
|
|
10
19
|
email: string;
|
|
@@ -19,5 +28,6 @@ export interface AptlyUserSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID, DATE
|
|
|
19
28
|
phone: string;
|
|
20
29
|
synced: DATE;
|
|
21
30
|
isGuest?: boolean;
|
|
31
|
+
forgetStatus?: AptlyUserForgetStatus;
|
|
22
32
|
created: DATE;
|
|
23
33
|
}
|
package/models/user.js
CHANGED
|
@@ -4,3 +4,13 @@ export var AptlyLanguage;
|
|
|
4
4
|
AptlyLanguage["Norwegian"] = "no";
|
|
5
5
|
AptlyLanguage["NorwegianBokmal"] = "nb";
|
|
6
6
|
})(AptlyLanguage || (AptlyLanguage = {}));
|
|
7
|
+
export var AptlyUserForgetStatus;
|
|
8
|
+
(function (AptlyUserForgetStatus) {
|
|
9
|
+
AptlyUserForgetStatus[AptlyUserForgetStatus["None"] = 0] = "None";
|
|
10
|
+
AptlyUserForgetStatus[AptlyUserForgetStatus["SixMonths"] = 1] = "SixMonths";
|
|
11
|
+
AptlyUserForgetStatus[AptlyUserForgetStatus["OneMonth"] = 2] = "OneMonth";
|
|
12
|
+
AptlyUserForgetStatus[AptlyUserForgetStatus["OneWeek"] = 3] = "OneWeek";
|
|
13
|
+
AptlyUserForgetStatus[AptlyUserForgetStatus["Forget"] = 4] = "Forget";
|
|
14
|
+
AptlyUserForgetStatus[AptlyUserForgetStatus["Forgotten"] = 5] = "Forgotten";
|
|
15
|
+
AptlyUserForgetStatus[AptlyUserForgetStatus["Never"] = 6] = "Never";
|
|
16
|
+
})(AptlyUserForgetStatus || (AptlyUserForgetStatus = {}));
|