@aptly-as/types 3.11.0 → 3.12.0
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 +0 -4
- package/enums/index.js +0 -5
- package/models/organization.d.ts +0 -8
- package/models/project.d.ts +0 -13
- package/models/unit.d.ts +1 -10
- package/package.json +1 -1
- package/models/contact.d.ts +0 -7
- package/models/contact.js +0 -1
package/enums/index.d.ts
CHANGED
|
@@ -41,10 +41,6 @@ export declare enum AptlyUnitStatus {
|
|
|
41
41
|
Payed = "payed",
|
|
42
42
|
Completed = "completed"
|
|
43
43
|
}
|
|
44
|
-
export declare enum AptlyIntegration {
|
|
45
|
-
CheckD = "checkd",
|
|
46
|
-
Boligmappa = "boligmappa"
|
|
47
|
-
}
|
|
48
44
|
export declare enum AptlyIntegrationLevel {
|
|
49
45
|
Base = "base",
|
|
50
46
|
Organization = "organization",
|
package/enums/index.js
CHANGED
|
@@ -45,11 +45,6 @@ export var AptlyUnitStatus;
|
|
|
45
45
|
AptlyUnitStatus["Payed"] = "payed";
|
|
46
46
|
AptlyUnitStatus["Completed"] = "completed";
|
|
47
47
|
})(AptlyUnitStatus || (AptlyUnitStatus = {}));
|
|
48
|
-
export var AptlyIntegration;
|
|
49
|
-
(function (AptlyIntegration) {
|
|
50
|
-
AptlyIntegration["CheckD"] = "checkd";
|
|
51
|
-
AptlyIntegration["Boligmappa"] = "boligmappa";
|
|
52
|
-
})(AptlyIntegration || (AptlyIntegration = {}));
|
|
53
48
|
export var AptlyIntegrationLevel;
|
|
54
49
|
(function (AptlyIntegrationLevel) {
|
|
55
50
|
AptlyIntegrationLevel["Base"] = "base";
|
package/models/organization.d.ts
CHANGED
|
@@ -38,7 +38,6 @@ export interface AptlyOrganizationSchema<ID, DATE> extends AptlyBaseSchema<ID, D
|
|
|
38
38
|
members: AptlyOrganizationMemberSchema<ID, DATE>[];
|
|
39
39
|
modules: AptlyModules[];
|
|
40
40
|
contractSign?: AptlySignageSchema<ID, DATE>;
|
|
41
|
-
integrations: AptlyOrganizationIntegrationsSchema<ID>[];
|
|
42
41
|
invites: AptlyOrganizationInviteSchema<ID, DATE>[];
|
|
43
42
|
apps: AptlyOrganizationAppConfigSchema<ID, DATE>[];
|
|
44
43
|
storageId?: string;
|
|
@@ -65,13 +64,6 @@ export interface AptlyOrganizationSchema<ID, DATE> extends AptlyBaseSchema<ID, D
|
|
|
65
64
|
created: DATE;
|
|
66
65
|
fixedVariants?: boolean;
|
|
67
66
|
}
|
|
68
|
-
export type AptlyOrganizationIntegrations = AptlyOrganizationIntegrationsSchema<string>;
|
|
69
|
-
export interface AptlyOrganizationIntegrationsSchema<ID> {
|
|
70
|
-
_id: ID;
|
|
71
|
-
integration: string;
|
|
72
|
-
apiKey: string;
|
|
73
|
-
organization: string;
|
|
74
|
-
}
|
|
75
67
|
export type AptlyOrganizationMember = AptlyOrganizationMemberSchema<string, string>;
|
|
76
68
|
export interface AptlyOrganizationMemberSchema<ID, DATE> {
|
|
77
69
|
_id: ID;
|
package/models/project.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ export interface AptlyProjectSchema<ID, DATE> extends AptlyBaseSchema<ID, DATE>,
|
|
|
25
25
|
inviteText?: string;
|
|
26
26
|
notify: AptlyProjectNotifySchema<ID, DATE>[];
|
|
27
27
|
theme: AptlyProjectTheme;
|
|
28
|
-
integrations: AptlyProjectIntegrationSchema<ID>[];
|
|
29
28
|
disabledModules?: AptlyModules[];
|
|
30
29
|
extraOptions?: AptlyUnitOptionExtraItemSchema<ID, DATE>[];
|
|
31
30
|
gdprActive?: boolean;
|
|
@@ -97,18 +96,6 @@ export interface AptlyProjectThemePalette {
|
|
|
97
96
|
disabled?: string;
|
|
98
97
|
lightContrast?: string;
|
|
99
98
|
}
|
|
100
|
-
export type AptlyProjectIntegration = AptlyProjectIntegrationSchema<string>;
|
|
101
|
-
export interface AptlyProjectIntegrationSchema<ID> {
|
|
102
|
-
_id: ID;
|
|
103
|
-
integration: ID;
|
|
104
|
-
integrationName: string;
|
|
105
|
-
project: string;
|
|
106
|
-
failures: {
|
|
107
|
-
_id: string;
|
|
108
|
-
error: string;
|
|
109
|
-
name: string;
|
|
110
|
-
}[];
|
|
111
|
-
}
|
|
112
99
|
export type AptlyProjectNotify = AptlyProjectNotifySchema<string, string>;
|
|
113
100
|
export interface AptlyProjectNotifySchema<ID, DATE> {
|
|
114
101
|
_id: ID;
|
package/models/unit.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { AptlyProductSchema } from './product.js';
|
|
|
9
9
|
import { AptlyProjectSchema } from './project.js';
|
|
10
10
|
import { AptlyHistorySchema } from './extends.js';
|
|
11
11
|
import { AptlyUnitTemplateBaseSchema, AptlyUnitTemplateCategorySchema, AptlyUnitTemplateCategorySectionSchema, AptlyUnitTemplateSchema } from './unit-template';
|
|
12
|
-
import {
|
|
12
|
+
import { AptlyUnitItemParamKey, AptlyUnitStatus } from '../enums/index.js';
|
|
13
13
|
import { AptlyUserSchema } from './user.js';
|
|
14
14
|
import { AptlyOrganizationSchema } from './organization.js';
|
|
15
15
|
import { AptlyCustomerSchema } from './customer.js';
|
|
@@ -51,7 +51,6 @@ export interface AptlyUnitSchema<ID, DATE> extends AptlyUnitTemplateBaseSchema<I
|
|
|
51
51
|
invitesQueue: AptlyUnitInviteQueueSchema[];
|
|
52
52
|
overridePeriod?: ID;
|
|
53
53
|
overridePeriods?: AptlyUnitOverridePeriodSchema<ID, DATE>[];
|
|
54
|
-
integrations: AptlyUnitIntegrationSchema<ID>[];
|
|
55
54
|
gdpr?: AptlyUnitGDPRSchema<DATE, ID>;
|
|
56
55
|
tree: any[];
|
|
57
56
|
activatedAt: DATE | null;
|
|
@@ -197,14 +196,6 @@ export interface AptlyUnitConfirmedPeriodSchema<ID, DATE> {
|
|
|
197
196
|
confirmed?: DATE;
|
|
198
197
|
order?: ID | AptlyOrderSchema<ID, DATE>;
|
|
199
198
|
}
|
|
200
|
-
export type AptlyUnitIntegration = AptlyUnitIntegrationSchema<string>;
|
|
201
|
-
export interface AptlyUnitIntegrationSchema<ID> {
|
|
202
|
-
_id: ID;
|
|
203
|
-
integration: AptlyIntegration;
|
|
204
|
-
unit?: string;
|
|
205
|
-
plantId?: string;
|
|
206
|
-
tags?: string[];
|
|
207
|
-
}
|
|
208
199
|
interface AptlyUnitEditData<DATE> {
|
|
209
200
|
address?: string;
|
|
210
201
|
zipCode?: string;
|
package/package.json
CHANGED
package/models/contact.d.ts
DELETED
package/models/contact.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|