@aptly-as/types 3.0.22 → 3.0.24
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/signage.d.ts +5 -5
- package/enums/index.d.ts +3 -1
- package/enums/index.js +2 -0
- package/models/unit-email.d.ts +2 -2
- package/package.json +1 -1
package/core/signage.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import { AptlySignageSignerRef } from '../enums/index.js';
|
|
|
2
2
|
export type AptlySignage = AptlySignageSchema<string, string>;
|
|
3
3
|
export interface AptlySignageSchema<ID, DATE> {
|
|
4
4
|
hasReceivedFile: boolean;
|
|
5
|
-
documentId
|
|
6
|
-
document
|
|
7
|
-
signedFile
|
|
5
|
+
documentId?: string;
|
|
6
|
+
document?: ID;
|
|
7
|
+
signedFile?: ID;
|
|
8
8
|
signed: boolean;
|
|
9
|
-
documentCreationDate
|
|
10
|
-
expireDate
|
|
9
|
+
documentCreationDate?: DATE;
|
|
10
|
+
expireDate?: DATE;
|
|
11
11
|
signers: AptlySignageSignerSchema<ID, DATE>[];
|
|
12
12
|
}
|
|
13
13
|
export type AptlySignageSigner = AptlySignageSignerSchema<string, string>;
|
package/enums/index.d.ts
CHANGED
|
@@ -114,7 +114,9 @@ export declare enum AptlyOrganizationType {
|
|
|
114
114
|
Electrician = "electrician",
|
|
115
115
|
Plumber = "plumber",
|
|
116
116
|
Producer = "producer",
|
|
117
|
-
Integration = "integration"
|
|
117
|
+
Integration = "integration",
|
|
118
|
+
PropertyDeveloper = "property-developer",
|
|
119
|
+
Builder = "builder"
|
|
118
120
|
}
|
|
119
121
|
export declare enum AptlyOrganizationStatus {
|
|
120
122
|
NewBusiness = 0,
|
package/enums/index.js
CHANGED
|
@@ -132,6 +132,8 @@ export var AptlyOrganizationType;
|
|
|
132
132
|
AptlyOrganizationType["Plumber"] = "plumber";
|
|
133
133
|
AptlyOrganizationType["Producer"] = "producer";
|
|
134
134
|
AptlyOrganizationType["Integration"] = "integration";
|
|
135
|
+
AptlyOrganizationType["PropertyDeveloper"] = "property-developer";
|
|
136
|
+
AptlyOrganizationType["Builder"] = "builder";
|
|
135
137
|
})(AptlyOrganizationType || (AptlyOrganizationType = {}));
|
|
136
138
|
export var AptlyOrganizationStatus;
|
|
137
139
|
(function (AptlyOrganizationStatus) {
|
package/models/unit-email.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface AptlyUnitEmailSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID,
|
|
|
12
12
|
subject: string;
|
|
13
13
|
references: string;
|
|
14
14
|
inReplyTo: string[];
|
|
15
|
-
|
|
15
|
+
sendErrors?: AptlyUnitEmailSendErrorSchema<ID, DATE>[];
|
|
16
16
|
organization: ID | AptlyOrganizationSchema<ID, DATE>;
|
|
17
17
|
project: ID | AptlyProjectSchema<ID, DATE>;
|
|
18
18
|
unit: ID | AptlyUnitSchema<ID, DATE>;
|
|
@@ -20,7 +20,7 @@ export interface AptlyUnitEmailSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID,
|
|
|
20
20
|
booking?: ID | AptlyBookingSchema<ID, DATE>;
|
|
21
21
|
created: DATE;
|
|
22
22
|
}
|
|
23
|
-
export interface
|
|
23
|
+
export interface AptlyUnitEmailSendErrorSchema<ID, DATE> {
|
|
24
24
|
_id: ID;
|
|
25
25
|
code: number;
|
|
26
26
|
description: string;
|