@aptly-as/types 1.8.1 → 1.10.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/core/api.js +1 -2
- package/core/app.d.ts +2 -2
- package/core/app.js +2 -5
- package/core/cloudinary.js +1 -2
- package/core/error.d.ts +1 -1
- package/core/error.js +1 -2
- package/core/fields.d.ts +1 -1
- package/core/fields.js +1 -2
- package/core/index.d.ts +10 -10
- package/core/index.js +9 -25
- package/core/permission.d.ts +2 -16
- package/core/permission.js +9 -11
- package/core/scope.d.ts +1 -1
- package/core/scope.js +2 -5
- package/core/signage.d.ts +1 -1
- package/core/signage.js +1 -2
- package/core/webhook-event-data.d.ts +1 -1
- package/core/webhook-event-data.js +1 -2
- package/enums/document.js +4 -7
- package/enums/fields.js +2 -5
- package/enums/index.d.ts +4 -4
- package/enums/index.js +36 -53
- package/enums/unit-template.js +4 -7
- package/enums/webhook.js +6 -9
- package/index.d.ts +3 -3
- package/index.js +3 -19
- package/models/algorithm.js +4 -7
- package/models/app.d.ts +4 -4
- package/models/app.js +6 -9
- package/models/availability.js +1 -2
- package/models/booking.d.ts +3 -2
- package/models/booking.js +1 -2
- package/models/client.d.ts +2 -5
- package/models/client.js +1 -2
- package/models/department.d.ts +8 -8
- package/models/department.js +1 -2
- package/models/document.d.ts +2 -8
- package/models/document.js +1 -2
- package/models/extends.d.ts +2 -8
- package/models/extends.js +1 -2
- package/models/index.d.ts +30 -29
- package/models/index.js +30 -45
- package/models/inquiry.d.ts +6 -9
- package/models/inquiry.js +1 -2
- package/models/media.d.ts +2 -11
- package/models/media.js +1 -2
- package/models/note.d.ts +18 -0
- package/models/note.js +1 -0
- package/models/notification-trigger.js +1 -2
- package/models/option-label.d.ts +1 -4
- package/models/option-label.js +1 -2
- package/models/order.d.ts +3 -6
- package/models/order.js +1 -2
- package/models/organization.d.ts +8 -11
- package/models/organization.js +1 -2
- package/models/page.d.ts +2 -11
- package/models/page.js +1 -2
- package/models/producer.d.ts +2 -8
- package/models/producer.js +1 -2
- package/models/product-stats.d.ts +1 -1
- package/models/product-stats.js +1 -2
- package/models/product.d.ts +3 -9
- package/models/product.js +1 -2
- package/models/project.d.ts +8 -25
- package/models/project.js +1 -2
- package/models/queue-download.d.ts +4 -4
- package/models/queue-download.js +1 -2
- package/models/recommendation.d.ts +2 -2
- package/models/recommendation.js +1 -2
- package/models/supplier.d.ts +2 -5
- package/models/supplier.js +1 -2
- package/models/tag.d.ts +1 -4
- package/models/tag.js +1 -2
- package/models/unit-email.d.ts +6 -9
- package/models/unit-email.js +2 -5
- package/models/unit-template.d.ts +7 -16
- package/models/unit-template.js +1 -2
- package/models/unit.d.ts +12 -19
- package/models/unit.js +1 -2
- package/models/upsell-template.d.ts +1 -7
- package/models/upsell-template.js +1 -2
- package/models/user.d.ts +1 -4
- package/models/user.js +1 -2
- package/models/webhook-event.d.ts +2 -5
- package/models/webhook-event.js +1 -2
- package/models/webhook.d.ts +2 -5
- package/models/webhook.js +1 -2
- package/package.json +3 -4
package/core/api.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/core/app.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AptlyScope } from './scope';
|
|
2
|
-
import { AptlyApp, AptlyOrganization, AptlyOrganizationAppConfig } from '../models';
|
|
1
|
+
import { AptlyScope } from './scope.js';
|
|
2
|
+
import { AptlyApp, AptlyOrganization, AptlyOrganizationAppConfig } from '../models/index.js';
|
|
3
3
|
export declare enum AptlyAppSandbox {
|
|
4
4
|
AllowForms = "allow-forms",
|
|
5
5
|
AllowPopups = "allow-popups",
|
package/core/app.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AptlyAppSandbox = void 0;
|
|
4
|
-
var AptlyAppSandbox;
|
|
1
|
+
export var AptlyAppSandbox;
|
|
5
2
|
(function (AptlyAppSandbox) {
|
|
6
3
|
AptlyAppSandbox["AllowForms"] = "allow-forms";
|
|
7
4
|
AptlyAppSandbox["AllowPopups"] = "allow-popups";
|
|
@@ -9,4 +6,4 @@ var AptlyAppSandbox;
|
|
|
9
6
|
AptlyAppSandbox["AllowSameOrigin"] = "allow-same-origin";
|
|
10
7
|
AptlyAppSandbox["AllowPointerLock"] = "allow-pointer-lock";
|
|
11
8
|
AptlyAppSandbox["AllowTopNavigation"] = "allow-top-navigation";
|
|
12
|
-
})(AptlyAppSandbox
|
|
9
|
+
})(AptlyAppSandbox || (AptlyAppSandbox = {}));
|
package/core/cloudinary.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/core/error.d.ts
CHANGED
package/core/error.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/core/fields.d.ts
CHANGED
package/core/fields.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/core/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { AptlyCloudinaryFile } from './cloudinary';
|
|
2
|
-
export * from './api';
|
|
3
|
-
export * from './app';
|
|
4
|
-
export * from './cloudinary';
|
|
5
|
-
export * from './permission';
|
|
6
|
-
export * from './error';
|
|
7
|
-
export * from './fields';
|
|
8
|
-
export * from './scope';
|
|
9
|
-
export * from './signage';
|
|
10
|
-
export * from './webhook-event-data';
|
|
1
|
+
import { AptlyCloudinaryFile } from './cloudinary.js';
|
|
2
|
+
export * from './api.js';
|
|
3
|
+
export * from './app.js';
|
|
4
|
+
export * from './cloudinary.js';
|
|
5
|
+
export * from './permission.js';
|
|
6
|
+
export * from './error.js';
|
|
7
|
+
export * from './fields.js';
|
|
8
|
+
export * from './scope.js';
|
|
9
|
+
export * from './signage.js';
|
|
10
|
+
export * from './webhook-event-data.js';
|
|
11
11
|
export interface AptlySchemaFile extends Pick<AptlyCloudinaryFile, 'public_id' | 'url' | 'format' | 'resource_type' | 'bytes'> {
|
|
12
12
|
filename: string;
|
|
13
13
|
}
|
package/core/index.js
CHANGED
|
@@ -1,25 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./api"), exports);
|
|
18
|
-
__exportStar(require("./app"), exports);
|
|
19
|
-
__exportStar(require("./cloudinary"), exports);
|
|
20
|
-
__exportStar(require("./permission"), exports);
|
|
21
|
-
__exportStar(require("./error"), exports);
|
|
22
|
-
__exportStar(require("./fields"), exports);
|
|
23
|
-
__exportStar(require("./scope"), exports);
|
|
24
|
-
__exportStar(require("./signage"), exports);
|
|
25
|
-
__exportStar(require("./webhook-event-data"), exports);
|
|
1
|
+
export * from './api.js';
|
|
2
|
+
export * from './app.js';
|
|
3
|
+
export * from './cloudinary.js';
|
|
4
|
+
export * from './permission.js';
|
|
5
|
+
export * from './error.js';
|
|
6
|
+
export * from './fields.js';
|
|
7
|
+
export * from './scope.js';
|
|
8
|
+
export * from './signage.js';
|
|
9
|
+
export * from './webhook-event-data.js';
|
package/core/permission.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated use AptlyPermissionGlobalModel enum
|
|
3
|
-
*/
|
|
4
1
|
export type AptlyPermissionGlobalModels = 'superAdmin' | 'admin' | 'beta' | 'default';
|
|
5
2
|
export declare enum AptlyPermissionGlobalModel {
|
|
6
3
|
Admin = "admin",
|
|
@@ -8,13 +5,7 @@ export declare enum AptlyPermissionGlobalModel {
|
|
|
8
5
|
Default = "default",
|
|
9
6
|
SuperAdmin = "superAdmin"
|
|
10
7
|
}
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated Dont think this is used?
|
|
13
|
-
*/
|
|
14
8
|
export type AptlyPermissionModules = 'projectBooking' | 'projectSupport' | 'projectRecommendations';
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated use AptlyPermissionOrganizationModel enum
|
|
17
|
-
*/
|
|
18
9
|
export type AptlyPermissionModulesModels = 'default' | 'core' | 'algorithms' | 'departments' | 'booking' | 'unitExtraOptions' | 'unitExtraFields' | 'pages' | 'recommendations' | 'subcontractor' | 'optionLabels' | 'support' | 'productsExtended' | 'testing';
|
|
19
10
|
export declare enum AptlyPermissionModulesModel {
|
|
20
11
|
Algorithms = "algorithms",
|
|
@@ -32,9 +23,6 @@ export declare enum AptlyPermissionModulesModel {
|
|
|
32
23
|
UnitExtraOptions = "unitExtraOptions",
|
|
33
24
|
UnitExtraFields = "unitExtraFields"
|
|
34
25
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @deprecated use AptlyPermissionOrganizationModel enum
|
|
37
|
-
*/
|
|
38
26
|
export type AptlyPermissionOrganizationModels = 'testingAdmin' | 'admin' | 'projectAdmin' | 'content' | 'organizationContent' | 'reports' | 'support' | 'thirdParty' | 'default';
|
|
39
27
|
export declare enum AptlyPermissionOrganizationModel {
|
|
40
28
|
Admin = "admin",
|
|
@@ -47,10 +35,7 @@ export declare enum AptlyPermissionOrganizationModel {
|
|
|
47
35
|
Support = "support",
|
|
48
36
|
ThirdParty = "thirdParty"
|
|
49
37
|
}
|
|
50
|
-
|
|
51
|
-
* @deprecated use AptlyPermissionModel enum
|
|
52
|
-
*/
|
|
53
|
-
export type AptlyPermissionModels = 'admin' | 'adminBilling' | 'adminProducers' | 'adminProducts' | 'adminReport' | 'adminStats' | 'adminSuppliers' | 'adminTags' | 'adminTesting' | 'adminUsers' | 'adminOrganizations' | 'beta' | 'organization' | 'organizationAlgorithms' | 'organizationBooking' | 'organizationClients' | 'organizationDepartments' | 'organizationLogo' | 'organizationMembers' | 'organizationOptionLabels' | 'organizationOrders' | 'organizationPages' | 'organizationProducts' | 'organizationProductsExtended' | 'organizationRecommendations' | 'organizationReport' | 'organizationStats' | 'organizationUnitTemplates' | 'organizationUpsellTemplates' | 'organizationWebhooks' | 'project' | 'projectAlgorithms' | 'projectBooking' | 'projectDocuments' | 'projectInquiry' | 'projectOrders' | 'projectPages' | 'projectPeriods' | 'projectProducts' | 'projectRecommendations' | 'projectReport' | 'projectReportPrice' | 'projectTheme' | 'projectSigning' | 'projectSubcontractor' | 'projectUnits' | 'projectUnitInvites' | 'projectUnitExtraFields' | 'projectUnitExtraOptions' | 'projectUnitTemplates' | 'projectUnitTemplatesAlgorithms' | 'projectUnitTemplatesPrices' | 'projectUpsellTemplates' | 'unit' | 'unitBooking' | 'unitInquiry' | 'unitOrders' | 'unitPages' | 'unitProducts' | 'unitReport';
|
|
38
|
+
export type AptlyPermissionModels = 'admin' | 'adminBilling' | 'adminProducers' | 'adminProducts' | 'adminReport' | 'adminStats' | 'adminSuppliers' | 'adminTags' | 'adminTesting' | 'adminUsers' | 'adminOrganizations' | 'beta' | 'organization' | 'organizationAlgorithms' | 'organizationBooking' | 'organizationClients' | 'organizationDepartments' | 'organizationLogo' | 'organizationMembers' | 'organizationOptionLabels' | 'organizationOrders' | 'organizationPages' | 'organizationProducts' | 'organizationProductsExtended' | 'organizationRecommendations' | 'organizationReport' | 'organizationStats' | 'organizationUnitTemplates' | 'organizationUpsellTemplates' | 'organizationWebhooks' | 'project' | 'projectAlgorithms' | 'projectBooking' | 'projectDocuments' | 'projectInquiry' | 'projectOrders' | 'projectPages' | 'projectPeriods' | 'projectProducts' | 'projectRecommendations' | 'projectReport' | 'projectReportPrice' | 'projectTheme' | 'projectSigning' | 'projectSubcontractor' | 'projectUnits' | 'projectUnitInvites' | 'projectUnitExtraFields' | 'projectUnitExtraOptions' | 'projectUnitTemplates' | 'projectUnitTemplatesAlgorithms' | 'projectUnitTemplatesPrices' | 'projectUpsellTemplates' | 'unit' | 'unitBooking' | 'unitInquiry' | 'unitNotes' | 'unitOrders' | 'unitPages' | 'unitProducts' | 'unitReport';
|
|
54
39
|
export declare enum AptlyPermissionModel {
|
|
55
40
|
Admin = "admin",
|
|
56
41
|
AdminBilling = "adminBilling",
|
|
@@ -108,6 +93,7 @@ export declare enum AptlyPermissionModel {
|
|
|
108
93
|
Unit = "unit",
|
|
109
94
|
UnitBooking = "unitBooking",
|
|
110
95
|
UnitInquiry = "unitInquiry",
|
|
96
|
+
UnitNotes = "unitNotes",
|
|
111
97
|
UnitOrders = "unitOrders",
|
|
112
98
|
UnitPages = "unitPages",
|
|
113
99
|
UnitProducts = "unitProducts",
|
package/core/permission.js
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AptlyPermissionModel = exports.AptlyPermissionOrganizationModel = exports.AptlyPermissionModulesModel = exports.AptlyPermissionGlobalModel = void 0;
|
|
4
|
-
var AptlyPermissionGlobalModel;
|
|
1
|
+
export var AptlyPermissionGlobalModel;
|
|
5
2
|
(function (AptlyPermissionGlobalModel) {
|
|
6
3
|
AptlyPermissionGlobalModel["Admin"] = "admin";
|
|
7
4
|
AptlyPermissionGlobalModel["Beta"] = "beta";
|
|
8
5
|
AptlyPermissionGlobalModel["Default"] = "default";
|
|
9
6
|
AptlyPermissionGlobalModel["SuperAdmin"] = "superAdmin";
|
|
10
|
-
})(AptlyPermissionGlobalModel
|
|
11
|
-
var AptlyPermissionModulesModel;
|
|
7
|
+
})(AptlyPermissionGlobalModel || (AptlyPermissionGlobalModel = {}));
|
|
8
|
+
export var AptlyPermissionModulesModel;
|
|
12
9
|
(function (AptlyPermissionModulesModel) {
|
|
13
10
|
AptlyPermissionModulesModel["Algorithms"] = "algorithms";
|
|
14
11
|
AptlyPermissionModulesModel["Booking"] = "booking";
|
|
@@ -24,8 +21,8 @@ var AptlyPermissionModulesModel;
|
|
|
24
21
|
AptlyPermissionModulesModel["Testing"] = "testing";
|
|
25
22
|
AptlyPermissionModulesModel["UnitExtraOptions"] = "unitExtraOptions";
|
|
26
23
|
AptlyPermissionModulesModel["UnitExtraFields"] = "unitExtraFields";
|
|
27
|
-
})(AptlyPermissionModulesModel
|
|
28
|
-
var AptlyPermissionOrganizationModel;
|
|
24
|
+
})(AptlyPermissionModulesModel || (AptlyPermissionModulesModel = {}));
|
|
25
|
+
export var AptlyPermissionOrganizationModel;
|
|
29
26
|
(function (AptlyPermissionOrganizationModel) {
|
|
30
27
|
AptlyPermissionOrganizationModel["Admin"] = "admin";
|
|
31
28
|
AptlyPermissionOrganizationModel["Content"] = "content";
|
|
@@ -36,8 +33,8 @@ var AptlyPermissionOrganizationModel;
|
|
|
36
33
|
AptlyPermissionOrganizationModel["Reports"] = "reports";
|
|
37
34
|
AptlyPermissionOrganizationModel["Support"] = "support";
|
|
38
35
|
AptlyPermissionOrganizationModel["ThirdParty"] = "thirdParty";
|
|
39
|
-
})(AptlyPermissionOrganizationModel
|
|
40
|
-
var AptlyPermissionModel;
|
|
36
|
+
})(AptlyPermissionOrganizationModel || (AptlyPermissionOrganizationModel = {}));
|
|
37
|
+
export var AptlyPermissionModel;
|
|
41
38
|
(function (AptlyPermissionModel) {
|
|
42
39
|
AptlyPermissionModel["Admin"] = "admin";
|
|
43
40
|
AptlyPermissionModel["AdminBilling"] = "adminBilling";
|
|
@@ -95,8 +92,9 @@ var AptlyPermissionModel;
|
|
|
95
92
|
AptlyPermissionModel["Unit"] = "unit";
|
|
96
93
|
AptlyPermissionModel["UnitBooking"] = "unitBooking";
|
|
97
94
|
AptlyPermissionModel["UnitInquiry"] = "unitInquiry";
|
|
95
|
+
AptlyPermissionModel["UnitNotes"] = "unitNotes";
|
|
98
96
|
AptlyPermissionModel["UnitOrders"] = "unitOrders";
|
|
99
97
|
AptlyPermissionModel["UnitPages"] = "unitPages";
|
|
100
98
|
AptlyPermissionModel["UnitProducts"] = "unitProducts";
|
|
101
99
|
AptlyPermissionModel["UnitReport"] = "unitReport";
|
|
102
|
-
})(AptlyPermissionModel
|
|
100
|
+
})(AptlyPermissionModel || (AptlyPermissionModel = {}));
|
package/core/scope.d.ts
CHANGED
package/core/scope.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AptlyScopeAction = void 0;
|
|
4
|
-
var AptlyScopeAction;
|
|
1
|
+
export var AptlyScopeAction;
|
|
5
2
|
(function (AptlyScopeAction) {
|
|
6
3
|
AptlyScopeAction["Read"] = "read";
|
|
7
4
|
AptlyScopeAction["Write"] = "write";
|
|
8
|
-
})(AptlyScopeAction
|
|
5
|
+
})(AptlyScopeAction || (AptlyScopeAction = {}));
|
package/core/signage.d.ts
CHANGED
package/core/signage.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AptlyDocumentSchema, AptlyOrderSchema, AptlyUnitSchema } from '../models';
|
|
1
|
+
import { AptlyDocumentSchema, AptlyOrderSchema, AptlyUnitSchema } from '../models/index.js';
|
|
2
2
|
export declare namespace AptlyWebhookEventData {
|
|
3
3
|
type NewUnitOrderSigned = NewUnitOrderSignedSchema<string, string>;
|
|
4
4
|
interface NewUnitOrderSignedSchema<ID, DATE> {
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/enums/document.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AptlyHistoryType = exports.AptlyDocumentType = void 0;
|
|
4
|
-
var AptlyDocumentType;
|
|
1
|
+
export var AptlyDocumentType;
|
|
5
2
|
(function (AptlyDocumentType) {
|
|
6
3
|
AptlyDocumentType["Document"] = "document";
|
|
7
4
|
AptlyDocumentType["DeliveryDescription"] = "deliveryDescription";
|
|
@@ -23,8 +20,8 @@ var AptlyDocumentType;
|
|
|
23
20
|
AptlyDocumentType["Contract"] = "contract";
|
|
24
21
|
AptlyDocumentType["Chunk"] = "chunk";
|
|
25
22
|
AptlyDocumentType["Gdpr"] = "gdpr";
|
|
26
|
-
})(AptlyDocumentType
|
|
27
|
-
var AptlyHistoryType;
|
|
23
|
+
})(AptlyDocumentType || (AptlyDocumentType = {}));
|
|
24
|
+
export var AptlyHistoryType;
|
|
28
25
|
(function (AptlyHistoryType) {
|
|
29
26
|
AptlyHistoryType["Added"] = "added";
|
|
30
27
|
AptlyHistoryType["Updated"] = "updated";
|
|
@@ -32,4 +29,4 @@ var AptlyHistoryType;
|
|
|
32
29
|
AptlyHistoryType["Moved"] = "moved";
|
|
33
30
|
AptlyHistoryType["Copied"] = "copied";
|
|
34
31
|
AptlyHistoryType["Imported"] = "imported";
|
|
35
|
-
})(AptlyHistoryType
|
|
32
|
+
})(AptlyHistoryType || (AptlyHistoryType = {}));
|
package/enums/fields.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AptlyFieldType = void 0;
|
|
4
|
-
var AptlyFieldType;
|
|
1
|
+
export var AptlyFieldType;
|
|
5
2
|
(function (AptlyFieldType) {
|
|
6
3
|
AptlyFieldType["Object"] = "object";
|
|
7
4
|
AptlyFieldType["Images"] = "images";
|
|
@@ -26,4 +23,4 @@ var AptlyFieldType;
|
|
|
26
23
|
AptlyFieldType["Sort"] = "sort";
|
|
27
24
|
AptlyFieldType["Switch"] = "switch";
|
|
28
25
|
AptlyFieldType["Checkbox"] = "checkbox";
|
|
29
|
-
})(AptlyFieldType
|
|
26
|
+
})(AptlyFieldType || (AptlyFieldType = {}));
|
package/enums/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './document';
|
|
2
|
-
export * from './fields';
|
|
3
|
-
export * from './unit-template';
|
|
4
|
-
export * from './webhook';
|
|
1
|
+
export * from './document.js';
|
|
2
|
+
export * from './fields.js';
|
|
3
|
+
export * from './unit-template.js';
|
|
4
|
+
export * from './webhook.js';
|
|
5
5
|
export declare enum AptlyOrderStatus {
|
|
6
6
|
NotSigned = "notSigned",
|
|
7
7
|
ReadyToSign = "readyToSign",
|
package/enums/index.js
CHANGED
|
@@ -1,25 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.AptlyIcon = exports.AptlyQueueDownloadStatus = exports.AptlyQueueDownloadType = exports.AptlyErrorCode = exports.AptlySignageSignerRef = exports.AptlyUnitItemParamKey = exports.AptlyInquiryParticipantRole = exports.AptlyInquiryStatus = exports.AptlyInquiryType = exports.AptlyCategorySectionDisplayType = exports.AptlyIntegrationLevel = exports.AptlyIntegration = exports.AptlyUnitStatus = exports.AptlyCloudinaryResourceType = exports.AptlyPageSectionType = exports.AptlyOrderStatus = void 0;
|
|
18
|
-
__exportStar(require("./document"), exports);
|
|
19
|
-
__exportStar(require("./fields"), exports);
|
|
20
|
-
__exportStar(require("./unit-template"), exports);
|
|
21
|
-
__exportStar(require("./webhook"), exports);
|
|
22
|
-
var AptlyOrderStatus;
|
|
1
|
+
export * from './document.js';
|
|
2
|
+
export * from './fields.js';
|
|
3
|
+
export * from './unit-template.js';
|
|
4
|
+
export * from './webhook.js';
|
|
5
|
+
export var AptlyOrderStatus;
|
|
23
6
|
(function (AptlyOrderStatus) {
|
|
24
7
|
AptlyOrderStatus["NotSigned"] = "notSigned";
|
|
25
8
|
AptlyOrderStatus["ReadyToSign"] = "readyToSign";
|
|
@@ -29,8 +12,8 @@ var AptlyOrderStatus;
|
|
|
29
12
|
AptlyOrderStatus["FileReceived"] = "fileReceived";
|
|
30
13
|
AptlyOrderStatus["AllPeriodsSigned"] = "allPeriodsSigned";
|
|
31
14
|
AptlyOrderStatus["Invalid"] = "invalid";
|
|
32
|
-
})(AptlyOrderStatus
|
|
33
|
-
var AptlyPageSectionType;
|
|
15
|
+
})(AptlyOrderStatus || (AptlyOrderStatus = {}));
|
|
16
|
+
export var AptlyPageSectionType;
|
|
34
17
|
(function (AptlyPageSectionType) {
|
|
35
18
|
AptlyPageSectionType["Recommendation"] = "recommendation";
|
|
36
19
|
AptlyPageSectionType["Image"] = "image";
|
|
@@ -39,15 +22,15 @@ var AptlyPageSectionType;
|
|
|
39
22
|
AptlyPageSectionType["Card"] = "card";
|
|
40
23
|
AptlyPageSectionType["Links"] = "links";
|
|
41
24
|
AptlyPageSectionType["Spacer"] = "spacer";
|
|
42
|
-
})(AptlyPageSectionType
|
|
43
|
-
var AptlyCloudinaryResourceType;
|
|
25
|
+
})(AptlyPageSectionType || (AptlyPageSectionType = {}));
|
|
26
|
+
export var AptlyCloudinaryResourceType;
|
|
44
27
|
(function (AptlyCloudinaryResourceType) {
|
|
45
28
|
AptlyCloudinaryResourceType["Video"] = "video";
|
|
46
29
|
AptlyCloudinaryResourceType["Image"] = "image";
|
|
47
30
|
AptlyCloudinaryResourceType["Raw"] = "raw";
|
|
48
31
|
AptlyCloudinaryResourceType["Auto"] = "auto";
|
|
49
|
-
})(AptlyCloudinaryResourceType
|
|
50
|
-
var AptlyUnitStatus;
|
|
32
|
+
})(AptlyCloudinaryResourceType || (AptlyCloudinaryResourceType = {}));
|
|
33
|
+
export var AptlyUnitStatus;
|
|
51
34
|
(function (AptlyUnitStatus) {
|
|
52
35
|
AptlyUnitStatus["NotStarted"] = "notStarted";
|
|
53
36
|
AptlyUnitStatus["Started"] = "started";
|
|
@@ -55,77 +38,77 @@ var AptlyUnitStatus;
|
|
|
55
38
|
AptlyUnitStatus["AllPeriodsSigned"] = "allPeriodsSigned";
|
|
56
39
|
AptlyUnitStatus["Confirmed"] = "confirmed";
|
|
57
40
|
AptlyUnitStatus["Completed"] = "completed";
|
|
58
|
-
})(AptlyUnitStatus
|
|
59
|
-
var AptlyIntegration;
|
|
41
|
+
})(AptlyUnitStatus || (AptlyUnitStatus = {}));
|
|
42
|
+
export var AptlyIntegration;
|
|
60
43
|
(function (AptlyIntegration) {
|
|
61
44
|
AptlyIntegration["CheckD"] = "checkd";
|
|
62
45
|
AptlyIntegration["Boligmappa"] = "boligmappa";
|
|
63
|
-
})(AptlyIntegration
|
|
64
|
-
var AptlyIntegrationLevel;
|
|
46
|
+
})(AptlyIntegration || (AptlyIntegration = {}));
|
|
47
|
+
export var AptlyIntegrationLevel;
|
|
65
48
|
(function (AptlyIntegrationLevel) {
|
|
66
49
|
AptlyIntegrationLevel["Base"] = "base";
|
|
67
50
|
AptlyIntegrationLevel["Organization"] = "organization";
|
|
68
51
|
AptlyIntegrationLevel["Project"] = "project";
|
|
69
52
|
AptlyIntegrationLevel["Unit"] = "unit";
|
|
70
|
-
})(AptlyIntegrationLevel
|
|
71
|
-
var AptlyCategorySectionDisplayType;
|
|
53
|
+
})(AptlyIntegrationLevel || (AptlyIntegrationLevel = {}));
|
|
54
|
+
export var AptlyCategorySectionDisplayType;
|
|
72
55
|
(function (AptlyCategorySectionDisplayType) {
|
|
73
56
|
AptlyCategorySectionDisplayType["Default"] = "default";
|
|
74
57
|
AptlyCategorySectionDisplayType["Compact"] = "compact";
|
|
75
58
|
AptlyCategorySectionDisplayType["Choice"] = "choice";
|
|
76
|
-
})(AptlyCategorySectionDisplayType
|
|
77
|
-
var AptlyInquiryType;
|
|
59
|
+
})(AptlyCategorySectionDisplayType || (AptlyCategorySectionDisplayType = {}));
|
|
60
|
+
export var AptlyInquiryType;
|
|
78
61
|
(function (AptlyInquiryType) {
|
|
79
62
|
AptlyInquiryType["Basic"] = "basic";
|
|
80
63
|
AptlyInquiryType["Question"] = "question";
|
|
81
64
|
AptlyInquiryType["Complaint"] = "complaint";
|
|
82
65
|
AptlyInquiryType["System"] = "system";
|
|
83
|
-
})(AptlyInquiryType
|
|
84
|
-
var AptlyInquiryStatus;
|
|
66
|
+
})(AptlyInquiryType || (AptlyInquiryType = {}));
|
|
67
|
+
export var AptlyInquiryStatus;
|
|
85
68
|
(function (AptlyInquiryStatus) {
|
|
86
69
|
AptlyInquiryStatus["Open"] = "open";
|
|
87
70
|
AptlyInquiryStatus["Pending"] = "pending";
|
|
88
71
|
AptlyInquiryStatus["Resolved"] = "resolved";
|
|
89
72
|
AptlyInquiryStatus["Closed"] = "closed";
|
|
90
|
-
})(AptlyInquiryStatus
|
|
91
|
-
var AptlyInquiryParticipantRole;
|
|
73
|
+
})(AptlyInquiryStatus || (AptlyInquiryStatus = {}));
|
|
74
|
+
export var AptlyInquiryParticipantRole;
|
|
92
75
|
(function (AptlyInquiryParticipantRole) {
|
|
93
76
|
AptlyInquiryParticipantRole["Inquirer"] = "inquirer";
|
|
94
77
|
AptlyInquiryParticipantRole["FirstParty"] = "firstParty";
|
|
95
78
|
AptlyInquiryParticipantRole["ThirdParty"] = "thirdParty";
|
|
96
79
|
AptlyInquiryParticipantRole["SilentParty"] = "silentParty";
|
|
97
|
-
})(AptlyInquiryParticipantRole
|
|
98
|
-
var AptlyUnitItemParamKey;
|
|
80
|
+
})(AptlyInquiryParticipantRole || (AptlyInquiryParticipantRole = {}));
|
|
81
|
+
export var AptlyUnitItemParamKey;
|
|
99
82
|
(function (AptlyUnitItemParamKey) {
|
|
100
83
|
AptlyUnitItemParamKey["Comment"] = "comment";
|
|
101
84
|
AptlyUnitItemParamKey["NCS"] = "ncs";
|
|
102
85
|
AptlyUnitItemParamKey["Image"] = "Image";
|
|
103
86
|
AptlyUnitItemParamKey["Document"] = "document";
|
|
104
|
-
})(AptlyUnitItemParamKey
|
|
105
|
-
var AptlySignageSignerRef;
|
|
87
|
+
})(AptlyUnitItemParamKey || (AptlyUnitItemParamKey = {}));
|
|
88
|
+
export var AptlySignageSignerRef;
|
|
106
89
|
(function (AptlySignageSignerRef) {
|
|
107
90
|
AptlySignageSignerRef["Organization"] = "organization";
|
|
108
91
|
AptlySignageSignerRef["Customer"] = "customer";
|
|
109
92
|
AptlySignageSignerRef["Admin"] = "admin";
|
|
110
|
-
})(AptlySignageSignerRef
|
|
111
|
-
var AptlyErrorCode;
|
|
93
|
+
})(AptlySignageSignerRef || (AptlySignageSignerRef = {}));
|
|
94
|
+
export var AptlyErrorCode;
|
|
112
95
|
(function (AptlyErrorCode) {
|
|
113
96
|
AptlyErrorCode["InvalidFields"] = "invalid-fields";
|
|
114
97
|
AptlyErrorCode["SessionExpired"] = "session-expired";
|
|
115
|
-
})(AptlyErrorCode
|
|
116
|
-
var AptlyQueueDownloadType;
|
|
98
|
+
})(AptlyErrorCode || (AptlyErrorCode = {}));
|
|
99
|
+
export var AptlyQueueDownloadType;
|
|
117
100
|
(function (AptlyQueueDownloadType) {
|
|
118
101
|
AptlyQueueDownloadType["Document"] = "document";
|
|
119
102
|
AptlyQueueDownloadType["Image"] = "image";
|
|
120
|
-
})(AptlyQueueDownloadType
|
|
121
|
-
var AptlyQueueDownloadStatus;
|
|
103
|
+
})(AptlyQueueDownloadType || (AptlyQueueDownloadType = {}));
|
|
104
|
+
export var AptlyQueueDownloadStatus;
|
|
122
105
|
(function (AptlyQueueDownloadStatus) {
|
|
123
106
|
AptlyQueueDownloadStatus["Queued"] = "queued";
|
|
124
107
|
AptlyQueueDownloadStatus["Downloading"] = "downloading";
|
|
125
108
|
AptlyQueueDownloadStatus["Downloaded"] = "downloaded";
|
|
126
109
|
AptlyQueueDownloadStatus["Error"] = "error";
|
|
127
|
-
})(AptlyQueueDownloadStatus
|
|
128
|
-
var AptlyIcon;
|
|
110
|
+
})(AptlyQueueDownloadStatus || (AptlyQueueDownloadStatus = {}));
|
|
111
|
+
export var AptlyIcon;
|
|
129
112
|
(function (AptlyIcon) {
|
|
130
113
|
AptlyIcon["Welcome"] = "welcome";
|
|
131
114
|
AptlyIcon["Contact"] = "contact";
|
|
@@ -133,4 +116,4 @@ var AptlyIcon;
|
|
|
133
116
|
AptlyIcon["Important"] = "important";
|
|
134
117
|
AptlyIcon["Info"] = "info";
|
|
135
118
|
AptlyIcon["Map"] = "map";
|
|
136
|
-
})(AptlyIcon
|
|
119
|
+
})(AptlyIcon || (AptlyIcon = {}));
|
package/enums/unit-template.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AptlyUnitTemplateCategorySectionProductMeasureUnitType = exports.AptlyUnitTemplateCategorySectionProductParamKey = void 0;
|
|
4
|
-
var AptlyUnitTemplateCategorySectionProductParamKey;
|
|
1
|
+
export var AptlyUnitTemplateCategorySectionProductParamKey;
|
|
5
2
|
(function (AptlyUnitTemplateCategorySectionProductParamKey) {
|
|
6
3
|
AptlyUnitTemplateCategorySectionProductParamKey["TextContent"] = "textContent";
|
|
7
4
|
AptlyUnitTemplateCategorySectionProductParamKey["PickTool"] = "pickTool";
|
|
8
5
|
AptlyUnitTemplateCategorySectionProductParamKey["Logic"] = "logic";
|
|
9
|
-
})(AptlyUnitTemplateCategorySectionProductParamKey
|
|
10
|
-
var AptlyUnitTemplateCategorySectionProductMeasureUnitType;
|
|
6
|
+
})(AptlyUnitTemplateCategorySectionProductParamKey || (AptlyUnitTemplateCategorySectionProductParamKey = {}));
|
|
7
|
+
export var AptlyUnitTemplateCategorySectionProductMeasureUnitType;
|
|
11
8
|
(function (AptlyUnitTemplateCategorySectionProductMeasureUnitType) {
|
|
12
9
|
AptlyUnitTemplateCategorySectionProductMeasureUnitType["Unit"] = "unit";
|
|
13
10
|
AptlyUnitTemplateCategorySectionProductMeasureUnitType["KVM"] = "kvm";
|
|
14
11
|
AptlyUnitTemplateCategorySectionProductMeasureUnitType["LM"] = "lm";
|
|
15
|
-
})(AptlyUnitTemplateCategorySectionProductMeasureUnitType
|
|
12
|
+
})(AptlyUnitTemplateCategorySectionProductMeasureUnitType || (AptlyUnitTemplateCategorySectionProductMeasureUnitType = {}));
|
package/enums/webhook.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AptlyWebhookEventStatus = exports.AptlyWebhookStatus = exports.AptlyWebhookType = void 0;
|
|
4
|
-
var AptlyWebhookType;
|
|
1
|
+
export var AptlyWebhookType;
|
|
5
2
|
(function (AptlyWebhookType) {
|
|
6
3
|
AptlyWebhookType["ProjectCreated"] = "aptly.project.created";
|
|
7
4
|
AptlyWebhookType["ProjectUpdated"] = "aptly.project.updated";
|
|
@@ -12,16 +9,16 @@ var AptlyWebhookType;
|
|
|
12
9
|
AptlyWebhookType["UnitOrderSigned"] = "aptly.unit.order.signed";
|
|
13
10
|
AptlyWebhookType["OrganizationAppUpdated"] = "aptly.organization.app.updated";
|
|
14
11
|
AptlyWebhookType["OrganizationAppDeleted"] = "aptly.organization.app.deleted";
|
|
15
|
-
})(AptlyWebhookType
|
|
16
|
-
var AptlyWebhookStatus;
|
|
12
|
+
})(AptlyWebhookType || (AptlyWebhookType = {}));
|
|
13
|
+
export var AptlyWebhookStatus;
|
|
17
14
|
(function (AptlyWebhookStatus) {
|
|
18
15
|
AptlyWebhookStatus["Active"] = "active";
|
|
19
16
|
AptlyWebhookStatus["Gone"] = "gone-401";
|
|
20
|
-
})(AptlyWebhookStatus
|
|
21
|
-
var AptlyWebhookEventStatus;
|
|
17
|
+
})(AptlyWebhookStatus || (AptlyWebhookStatus = {}));
|
|
18
|
+
export var AptlyWebhookEventStatus;
|
|
22
19
|
(function (AptlyWebhookEventStatus) {
|
|
23
20
|
AptlyWebhookEventStatus["New"] = "new";
|
|
24
21
|
AptlyWebhookEventStatus["Completed"] = "completed";
|
|
25
22
|
AptlyWebhookEventStatus["Retry"] = "retry";
|
|
26
23
|
AptlyWebhookEventStatus["Failed"] = "failed";
|
|
27
|
-
})(AptlyWebhookEventStatus
|
|
24
|
+
})(AptlyWebhookEventStatus || (AptlyWebhookEventStatus = {}));
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './core';
|
|
2
|
-
export * from './enums';
|
|
3
|
-
export * from './models';
|
|
1
|
+
export * from './core/index.js';
|
|
2
|
+
export * from './enums/index.js';
|
|
3
|
+
export * from './models/index.js';
|
package/index.js
CHANGED
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./core"), exports);
|
|
18
|
-
__exportStar(require("./enums"), exports);
|
|
19
|
-
__exportStar(require("./models"), exports);
|
|
1
|
+
export * from './core/index.js';
|
|
2
|
+
export * from './enums/index.js';
|
|
3
|
+
export * from './models/index.js';
|
package/models/algorithm.js
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AptlyAlgorithmPipelineApplyTo = exports.AptlyAlgorithmPipelineOperation = void 0;
|
|
4
|
-
var AptlyAlgorithmPipelineOperation;
|
|
1
|
+
export var AptlyAlgorithmPipelineOperation;
|
|
5
2
|
(function (AptlyAlgorithmPipelineOperation) {
|
|
6
3
|
AptlyAlgorithmPipelineOperation["Base"] = "base";
|
|
7
4
|
AptlyAlgorithmPipelineOperation["Add"] = "add";
|
|
8
5
|
AptlyAlgorithmPipelineOperation["Subtract"] = "subtract";
|
|
9
6
|
AptlyAlgorithmPipelineOperation["Multiply"] = "multiply";
|
|
10
|
-
})(AptlyAlgorithmPipelineOperation
|
|
11
|
-
var AptlyAlgorithmPipelineApplyTo;
|
|
7
|
+
})(AptlyAlgorithmPipelineOperation || (AptlyAlgorithmPipelineOperation = {}));
|
|
8
|
+
export var AptlyAlgorithmPipelineApplyTo;
|
|
12
9
|
(function (AptlyAlgorithmPipelineApplyTo) {
|
|
13
10
|
AptlyAlgorithmPipelineApplyTo["Base"] = "base";
|
|
14
11
|
AptlyAlgorithmPipelineApplyTo["Root"] = "root";
|
|
15
12
|
AptlyAlgorithmPipelineApplyTo["PreviousStep"] = "previousStep";
|
|
16
|
-
})(AptlyAlgorithmPipelineApplyTo
|
|
13
|
+
})(AptlyAlgorithmPipelineApplyTo || (AptlyAlgorithmPipelineApplyTo = {}));
|
package/models/app.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AptlyBaseSchema } from './extends';
|
|
2
|
-
import { AptlyWebhookType } from '../enums';
|
|
3
|
-
import { AptlyAppSandbox, AptlyField, AptlyPermissionModel } from '../core';
|
|
4
|
-
import { AptlyMediaSrcSchema } from './media';
|
|
1
|
+
import { AptlyBaseSchema } from './extends.js';
|
|
2
|
+
import { AptlyWebhookType } from '../enums/index.js';
|
|
3
|
+
import { AptlyAppSandbox, AptlyField, AptlyPermissionModel } from '../core/index.js';
|
|
4
|
+
import { AptlyMediaSrcSchema } from './media.js';
|
|
5
5
|
export type AptlyApp = AptlyAppSchema<string, string>;
|
|
6
6
|
export interface AptlyAppSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID, DATE>, 'archived'> {
|
|
7
7
|
slug: string;
|