@aptly-as/types 3.2.2 → 3.2.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/core/scope.d.ts +3 -0
- package/core/scope.js +3 -0
- package/enums/document.d.ts +2 -0
- package/enums/document.js +2 -0
- package/enums/fields.d.ts +1 -0
- package/enums/fields.js +1 -0
- package/models/organization.d.ts +4 -0
- package/package.json +1 -1
package/core/scope.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare enum AptlyModules {
|
|
|
11
11
|
OptionLabels = "optionLabels",
|
|
12
12
|
Pages = "pages",
|
|
13
13
|
Payment = "payment",
|
|
14
|
+
Projects = "projects",
|
|
14
15
|
ProjectProducts = "projectProducts",
|
|
15
16
|
ProductsExtended = "productsExtended",
|
|
16
17
|
Recommendations = "recommendations",
|
|
@@ -45,6 +46,7 @@ export declare enum AptlyScopes {
|
|
|
45
46
|
OrganizationCategories = "organizationCategories",
|
|
46
47
|
OrganizationClients = "organizationClients",
|
|
47
48
|
OrganizationDepartments = "organizationDepartments",
|
|
49
|
+
OrganizationDocuments = "organizationDocuments",
|
|
48
50
|
OrganizationLogo = "organizationLogo",
|
|
49
51
|
OrganizationMembers = "organizationMembers",
|
|
50
52
|
OrganizationOffers = "organizationOffers",
|
|
@@ -53,6 +55,7 @@ export declare enum AptlyScopes {
|
|
|
53
55
|
OrganizationOrders = "organizationOrders",
|
|
54
56
|
OrganizationPayment = "organizationPayment",
|
|
55
57
|
OrganizationPages = "organizationPages",
|
|
58
|
+
OrganizationProjects = "organizationProjects",
|
|
56
59
|
OrganizationProducts = "organizationProducts",
|
|
57
60
|
OrganizationProductsExtended = "organizationProductsExtended",
|
|
58
61
|
OrganizationRecommendations = "organizationRecommendations",
|
package/core/scope.js
CHANGED
|
@@ -12,6 +12,7 @@ export var AptlyModules;
|
|
|
12
12
|
AptlyModules["OptionLabels"] = "optionLabels";
|
|
13
13
|
AptlyModules["Pages"] = "pages";
|
|
14
14
|
AptlyModules["Payment"] = "payment";
|
|
15
|
+
AptlyModules["Projects"] = "projects";
|
|
15
16
|
AptlyModules["ProjectProducts"] = "projectProducts";
|
|
16
17
|
AptlyModules["ProductsExtended"] = "productsExtended";
|
|
17
18
|
AptlyModules["Recommendations"] = "recommendations";
|
|
@@ -47,6 +48,7 @@ export var AptlyScopes;
|
|
|
47
48
|
AptlyScopes["OrganizationCategories"] = "organizationCategories";
|
|
48
49
|
AptlyScopes["OrganizationClients"] = "organizationClients";
|
|
49
50
|
AptlyScopes["OrganizationDepartments"] = "organizationDepartments";
|
|
51
|
+
AptlyScopes["OrganizationDocuments"] = "organizationDocuments";
|
|
50
52
|
AptlyScopes["OrganizationLogo"] = "organizationLogo";
|
|
51
53
|
AptlyScopes["OrganizationMembers"] = "organizationMembers";
|
|
52
54
|
AptlyScopes["OrganizationOffers"] = "organizationOffers";
|
|
@@ -55,6 +57,7 @@ export var AptlyScopes;
|
|
|
55
57
|
AptlyScopes["OrganizationOrders"] = "organizationOrders";
|
|
56
58
|
AptlyScopes["OrganizationPayment"] = "organizationPayment";
|
|
57
59
|
AptlyScopes["OrganizationPages"] = "organizationPages";
|
|
60
|
+
AptlyScopes["OrganizationProjects"] = "organizationProjects";
|
|
58
61
|
AptlyScopes["OrganizationProducts"] = "organizationProducts";
|
|
59
62
|
AptlyScopes["OrganizationProductsExtended"] = "organizationProductsExtended";
|
|
60
63
|
AptlyScopes["OrganizationRecommendations"] = "organizationRecommendations";
|
package/enums/document.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare enum AptlyDocumentType {
|
|
|
19
19
|
InspectionReport = "inspectionReport",
|
|
20
20
|
Manual = "manual",
|
|
21
21
|
UnitPlan = "unitPlan",
|
|
22
|
+
OfferAttachment = "offerAttachment",
|
|
22
23
|
OrderAttachment = "orderAttachment",
|
|
23
24
|
PaymentReceipt = "payment-receipt",
|
|
24
25
|
PaymentReport = "payment-report",
|
|
@@ -29,6 +30,7 @@ export declare enum AptlyDocumentType {
|
|
|
29
30
|
Report = "report",
|
|
30
31
|
RiskAssessment = "risk-assessment",
|
|
31
32
|
SignedReceipt = "signedReceipt",
|
|
33
|
+
Terms = "terms",
|
|
32
34
|
VVSDrawing = "vvsDrawing",
|
|
33
35
|
Zip = "zip"
|
|
34
36
|
}
|
package/enums/document.js
CHANGED
|
@@ -20,6 +20,7 @@ export var AptlyDocumentType;
|
|
|
20
20
|
AptlyDocumentType["InspectionReport"] = "inspectionReport";
|
|
21
21
|
AptlyDocumentType["Manual"] = "manual";
|
|
22
22
|
AptlyDocumentType["UnitPlan"] = "unitPlan";
|
|
23
|
+
AptlyDocumentType["OfferAttachment"] = "offerAttachment";
|
|
23
24
|
AptlyDocumentType["OrderAttachment"] = "orderAttachment";
|
|
24
25
|
AptlyDocumentType["PaymentReceipt"] = "payment-receipt";
|
|
25
26
|
AptlyDocumentType["PaymentReport"] = "payment-report";
|
|
@@ -30,6 +31,7 @@ export var AptlyDocumentType;
|
|
|
30
31
|
AptlyDocumentType["Report"] = "report";
|
|
31
32
|
AptlyDocumentType["RiskAssessment"] = "risk-assessment";
|
|
32
33
|
AptlyDocumentType["SignedReceipt"] = "signedReceipt";
|
|
34
|
+
AptlyDocumentType["Terms"] = "terms";
|
|
33
35
|
AptlyDocumentType["VVSDrawing"] = "vvsDrawing";
|
|
34
36
|
AptlyDocumentType["Zip"] = "zip";
|
|
35
37
|
})(AptlyDocumentType || (AptlyDocumentType = {}));
|
package/enums/fields.d.ts
CHANGED
package/enums/fields.js
CHANGED
|
@@ -10,6 +10,7 @@ export var AptlyFieldType;
|
|
|
10
10
|
AptlyFieldType["Color"] = "color";
|
|
11
11
|
AptlyFieldType["Date"] = "date";
|
|
12
12
|
AptlyFieldType["DateTime"] = "date-time";
|
|
13
|
+
AptlyFieldType["Document"] = "document";
|
|
13
14
|
AptlyFieldType["Documents"] = "documents";
|
|
14
15
|
AptlyFieldType["DraftJS"] = "draft-js";
|
|
15
16
|
AptlyFieldType["Email"] = "email";
|
package/models/organization.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { AptlyModules } from '../core/index.js';
|
|
|
2
2
|
import { AptlyOrganizationRoles, AptlyAppScope, AptlySignageSchema } from '../core/index.js';
|
|
3
3
|
import { AptlyOrganizationStatus, AptlyOrganizationType } from '../enums/index.js';
|
|
4
4
|
import { AptlyAddress } from './address.js';
|
|
5
|
+
import { AptlyDocumentSchema } from './document.js';
|
|
5
6
|
import { AptlyInviteSchema } from './invite.js';
|
|
6
7
|
import { AptlyModuleItemSchema } from './module.js';
|
|
7
8
|
import { AptlyPlanInstalledSchema } from './plan.js';
|
|
@@ -42,12 +43,15 @@ export interface AptlyOrganizationSchema<ID, DATE> extends AptlyBaseSchema<ID, D
|
|
|
42
43
|
apps: AptlyOrganizationAppConfigSchema<ID, DATE>[];
|
|
43
44
|
storageId?: string;
|
|
44
45
|
producer?: ID | AptlyProducerSchema<ID, DATE> | null;
|
|
46
|
+
defaultProject?: ID | null;
|
|
45
47
|
installedModules: AptlyModuleItemSchema<ID, DATE>[];
|
|
46
48
|
status?: AptlyOrganizationStatus;
|
|
47
49
|
type?: AptlyOrganizationType[];
|
|
48
50
|
paymentApp?: ID | AptlyAppSchema<ID, DATE> | null;
|
|
49
51
|
signApp?: ID | AptlyAppSchema<ID, DATE> | null;
|
|
50
52
|
signMembers?: (ID | AptlyUserSchema<ID, DATE>)[];
|
|
53
|
+
termsDocument?: ID | AptlyDocumentSchema<ID, DATE> | null;
|
|
54
|
+
offerDocument?: ID | AptlyDocumentSchema<ID, DATE> | null;
|
|
51
55
|
plan: ID | AptlyPlanInstalledSchema<ID, DATE> | null;
|
|
52
56
|
tripletexCustomer?: {
|
|
53
57
|
id: number;
|