@aptly-as/types 2.5.3 → 2.5.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/api.d.ts +13 -13
- package/core/api.js +1 -1
- package/core/app.d.ts +37 -37
- package/core/app.js +9 -9
- package/core/cloudinary.d.ts +2 -2
- package/core/cloudinary.js +1 -1
- package/core/fields.d.ts +19 -19
- package/core/fields.js +1 -1
- package/core/index.d.ts +16 -16
- package/core/index.js +9 -9
- package/core/job.d.ts +21 -21
- package/core/job.js +11 -11
- package/core/redirect.d.ts +17 -17
- package/core/redirect.js +12 -12
- package/core/scope.d.ts +124 -124
- package/core/scope.js +117 -117
- package/core/signage.d.ts +19 -19
- package/core/signage.js +1 -1
- package/core/webhook-event-data.d.ts +16 -16
- package/core/webhook-event-data.js +1 -1
- package/enums/document.d.ts +38 -38
- package/enums/document.js +41 -41
- package/enums/fields.d.ts +30 -30
- package/enums/fields.js +31 -31
- package/enums/index.d.ts +151 -150
- package/enums/index.js +171 -170
- package/enums/unit-template.d.ts +10 -10
- package/enums/unit-template.js +12 -12
- package/enums/webhook.d.ts +23 -23
- package/enums/webhook.js +26 -26
- package/error/error.d.ts +28 -28
- package/error/error.js +50 -50
- package/error/index.d.ts +1 -1
- package/error/index.js +1 -1
- package/index.d.ts +4 -4
- package/index.js +4 -4
- package/models/algorithm.d.ts +32 -32
- package/models/algorithm.js +15 -15
- package/models/app.d.ts +102 -101
- package/models/app.js +53 -52
- package/models/availability.d.ts +35 -35
- package/models/availability.js +1 -1
- package/models/booking.d.ts +57 -57
- package/models/booking.js +1 -1
- package/models/client.d.ts +10 -10
- package/models/client.js +1 -1
- package/models/department.d.ts +28 -28
- package/models/department.js +1 -1
- package/models/document.d.ts +37 -37
- package/models/document.js +1 -1
- package/models/email.d.ts +16 -16
- package/models/email.js +1 -1
- package/models/extends.d.ts +37 -37
- package/models/extends.js +1 -1
- package/models/index.d.ts +34 -34
- package/models/index.js +34 -34
- package/models/inquiry.d.ts +57 -57
- package/models/inquiry.js +1 -1
- package/models/media.d.ts +50 -50
- package/models/media.js +1 -1
- package/models/module.d.ts +19 -19
- package/models/module.js +1 -1
- package/models/note.d.ts +19 -19
- package/models/note.js +1 -1
- package/models/notification-trigger.d.ts +9 -9
- package/models/notification-trigger.js +1 -1
- package/models/option-label.d.ts +7 -7
- package/models/option-label.js +1 -1
- package/models/order.d.ts +164 -163
- package/models/order.js +20 -20
- package/models/organization.d.ts +86 -86
- package/models/organization.js +7 -7
- package/models/page.d.ts +22 -22
- package/models/page.js +1 -1
- package/models/payment.d.ts +94 -94
- package/models/payment.js +1 -1
- package/models/period.d.ts +8 -8
- package/models/period.js +1 -1
- package/models/producer.d.ts +24 -24
- package/models/producer.js +1 -1
- package/models/product-stats.d.ts +18 -18
- package/models/product-stats.js +1 -1
- package/models/product.d.ts +78 -78
- package/models/product.js +1 -1
- package/models/project.d.ts +124 -124
- package/models/project.js +1 -1
- package/models/queue-download.d.ts +19 -19
- package/models/queue-download.js +1 -1
- package/models/recommendation.d.ts +12 -12
- package/models/recommendation.js +1 -1
- package/models/supplier.d.ts +12 -12
- package/models/supplier.js +1 -1
- package/models/tag.d.ts +5 -5
- package/models/tag.js +1 -1
- package/models/unit-email.d.ts +21 -21
- package/models/unit-email.js +1 -1
- package/models/unit-template.d.ts +124 -124
- package/models/unit-template.js +1 -1
- package/models/unit.d.ts +243 -243
- package/models/unit.js +1 -1
- package/models/upsell-template.d.ts +13 -13
- package/models/upsell-template.js +1 -1
- package/models/user.d.ts +33 -33
- package/models/user.js +16 -16
- package/models/webhook-event.d.ts +43 -43
- package/models/webhook-event.js +1 -1
- package/models/webhook.d.ts +15 -15
- package/models/webhook.js +1 -1
- package/package.json +5 -5
package/core/scope.js
CHANGED
|
@@ -1,117 +1,117 @@
|
|
|
1
|
-
export var AptlyModules;
|
|
2
|
-
(function (AptlyModules) {
|
|
3
|
-
AptlyModules["Algorithms"] = "algorithms";
|
|
4
|
-
AptlyModules["Booking"] = "booking";
|
|
5
|
-
AptlyModules["Core"] = "core";
|
|
6
|
-
AptlyModules["Default"] = "default";
|
|
7
|
-
AptlyModules["Departments"] = "departments";
|
|
8
|
-
AptlyModules["Emails"] = "emails";
|
|
9
|
-
AptlyModules["OptionLabels"] = "optionLabels";
|
|
10
|
-
AptlyModules["Pages"] = "pages";
|
|
11
|
-
AptlyModules["Payment"] = "payment";
|
|
12
|
-
AptlyModules["ProductsExtended"] = "productsExtended";
|
|
13
|
-
AptlyModules["Recommendations"] = "recommendations";
|
|
14
|
-
AptlyModules["Signing"] = "signing";
|
|
15
|
-
AptlyModules["Support"] = "support";
|
|
16
|
-
AptlyModules["SupportComplaint"] = "supportComplaint";
|
|
17
|
-
AptlyModules["Testing"] = "testing";
|
|
18
|
-
AptlyModules["ThirdParty"] = "thirdParty";
|
|
19
|
-
AptlyModules["UnitExtraOptions"] = "unitExtraOptions";
|
|
20
|
-
AptlyModules["UnitExtraFields"] = "unitExtraFields";
|
|
21
|
-
})(AptlyModules || (AptlyModules = {}));
|
|
22
|
-
export var AptlyScopes;
|
|
23
|
-
(function (AptlyScopes) {
|
|
24
|
-
AptlyScopes["Admin"] = "admin";
|
|
25
|
-
AptlyScopes["AdminApps"] = "adminApps";
|
|
26
|
-
AptlyScopes["AdminBilling"] = "adminBilling";
|
|
27
|
-
AptlyScopes["AdminModules"] = "adminModules";
|
|
28
|
-
AptlyScopes["AdminProducers"] = "adminProducers";
|
|
29
|
-
AptlyScopes["AdminProducts"] = "adminProducts";
|
|
30
|
-
AptlyScopes["AdminReport"] = "adminReport";
|
|
31
|
-
AptlyScopes["AdminStats"] = "adminStats";
|
|
32
|
-
AptlyScopes["AdminSuppliers"] = "adminSuppliers";
|
|
33
|
-
AptlyScopes["AdminTags"] = "adminTags";
|
|
34
|
-
AptlyScopes["AdminTesting"] = "adminTesting";
|
|
35
|
-
AptlyScopes["AdminUsers"] = "adminUsers";
|
|
36
|
-
AptlyScopes["AdminOrganizations"] = "adminOrganizations";
|
|
37
|
-
AptlyScopes["Beta"] = "beta";
|
|
38
|
-
AptlyScopes["Organization"] = "organization";
|
|
39
|
-
AptlyScopes["OrganizationAlgorithms"] = "organizationAlgorithms";
|
|
40
|
-
AptlyScopes["OrganizationBooking"] = "organizationBooking";
|
|
41
|
-
AptlyScopes["OrganizationClients"] = "organizationClients";
|
|
42
|
-
AptlyScopes["OrganizationDepartments"] = "organizationDepartments";
|
|
43
|
-
AptlyScopes["OrganizationLogo"] = "organizationLogo";
|
|
44
|
-
AptlyScopes["OrganizationMembers"] = "organizationMembers";
|
|
45
|
-
AptlyScopes["OrganizationOptionLabels"] = "organizationOptionLabels";
|
|
46
|
-
AptlyScopes["OrganizationOrders"] = "organizationOrders";
|
|
47
|
-
AptlyScopes["OrganizationPayment"] = "organizationPayment";
|
|
48
|
-
AptlyScopes["OrganizationPages"] = "organizationPages";
|
|
49
|
-
AptlyScopes["OrganizationProducts"] = "organizationProducts";
|
|
50
|
-
AptlyScopes["OrganizationProductsExtended"] = "organizationProductsExtended";
|
|
51
|
-
AptlyScopes["OrganizationRecommendations"] = "organizationRecommendations";
|
|
52
|
-
AptlyScopes["OrganizationReport"] = "organizationReport";
|
|
53
|
-
AptlyScopes["OrganizationStats"] = "organizationStats";
|
|
54
|
-
AptlyScopes["OrganizationUnitTemplates"] = "organizationUnitTemplates";
|
|
55
|
-
AptlyScopes["OrganizationUpsellTemplates"] = "organizationUpsellTemplates";
|
|
56
|
-
AptlyScopes["OrganizationWebhooks"] = "organizationWebhooks";
|
|
57
|
-
AptlyScopes["Project"] = "project";
|
|
58
|
-
AptlyScopes["ProjectAlgorithms"] = "projectAlgorithms";
|
|
59
|
-
AptlyScopes["ProjectBooking"] = "projectBooking";
|
|
60
|
-
AptlyScopes["ProjectDocuments"] = "projectDocuments";
|
|
61
|
-
AptlyScopes["ProjectEmails"] = "projectEmails";
|
|
62
|
-
AptlyScopes["ProjectInquiry"] = "projectInquiry";
|
|
63
|
-
AptlyScopes["ProjectInquiryComplaint"] = "projectInquiryComplaint";
|
|
64
|
-
AptlyScopes["ProjectOrders"] = "projectOrders";
|
|
65
|
-
AptlyScopes["ProjectPayment"] = "projectPayment";
|
|
66
|
-
AptlyScopes["ProjectPages"] = "projectPages";
|
|
67
|
-
AptlyScopes["ProjectPeriods"] = "projectPeriods";
|
|
68
|
-
AptlyScopes["ProjectProducts"] = "projectProducts";
|
|
69
|
-
AptlyScopes["ProjectRecommendations"] = "projectRecommendations";
|
|
70
|
-
AptlyScopes["ProjectReport"] = "projectReport";
|
|
71
|
-
AptlyScopes["ProjectReportPrice"] = "projectReportPrice";
|
|
72
|
-
AptlyScopes["ProjectTheme"] = "projectTheme";
|
|
73
|
-
AptlyScopes["ProjectSigning"] = "projectSigning";
|
|
74
|
-
AptlyScopes["ProjectThirdParty"] = "projectThirdParty";
|
|
75
|
-
AptlyScopes["ProjectUnits"] = "projectUnits";
|
|
76
|
-
AptlyScopes["ProjectUnitInvites"] = "projectUnitInvites";
|
|
77
|
-
AptlyScopes["ProjectUnitExtraFields"] = "projectUnitExtraFields";
|
|
78
|
-
AptlyScopes["ProjectUnitExtraOptions"] = "projectUnitExtraOptions";
|
|
79
|
-
AptlyScopes["ProjectUnitDocuments"] = "projectUnitDocuments";
|
|
80
|
-
AptlyScopes["ProjectUnitTemplates"] = "projectUnitTemplates";
|
|
81
|
-
AptlyScopes["ProjectUnitTemplatesAlgorithms"] = "projectUnitTemplatesAlgorithms";
|
|
82
|
-
AptlyScopes["ProjectUnitTemplatesPrices"] = "projectUnitTemplatesPrices";
|
|
83
|
-
AptlyScopes["ProjectUpsellTemplates"] = "projectUpsellTemplates";
|
|
84
|
-
AptlyScopes["Unit"] = "unit";
|
|
85
|
-
AptlyScopes["UnitBooking"] = "unitBooking";
|
|
86
|
-
AptlyScopes["UnitInquiry"] = "unitInquiry";
|
|
87
|
-
AptlyScopes["UnitNotes"] = "unitNotes";
|
|
88
|
-
AptlyScopes["UnitOrders"] = "unitOrders";
|
|
89
|
-
AptlyScopes["UnitPages"] = "unitPages";
|
|
90
|
-
AptlyScopes["UnitProducts"] = "unitProducts";
|
|
91
|
-
AptlyScopes["UnitReport"] = "unitReport";
|
|
92
|
-
})(AptlyScopes || (AptlyScopes = {}));
|
|
93
|
-
export var AptlyUserRoles;
|
|
94
|
-
(function (AptlyUserRoles) {
|
|
95
|
-
AptlyUserRoles["Admin"] = "admin";
|
|
96
|
-
AptlyUserRoles["Beta"] = "beta";
|
|
97
|
-
AptlyUserRoles["Default"] = "default";
|
|
98
|
-
AptlyUserRoles["SuperAdmin"] = "superAdmin";
|
|
99
|
-
})(AptlyUserRoles || (AptlyUserRoles = {}));
|
|
100
|
-
export var AptlyOrganizationRoles;
|
|
101
|
-
(function (AptlyOrganizationRoles) {
|
|
102
|
-
AptlyOrganizationRoles["Admin"] = "admin";
|
|
103
|
-
AptlyOrganizationRoles["Content"] = "content";
|
|
104
|
-
AptlyOrganizationRoles["Default"] = "default";
|
|
105
|
-
AptlyOrganizationRoles["Orders"] = "orders";
|
|
106
|
-
AptlyOrganizationRoles["OrganizationContent"] = "organizationContent";
|
|
107
|
-
AptlyOrganizationRoles["ProjectAdmin"] = "projectAdmin";
|
|
108
|
-
AptlyOrganizationRoles["Reports"] = "reports";
|
|
109
|
-
AptlyOrganizationRoles["Support"] = "support";
|
|
110
|
-
AptlyOrganizationRoles["TestingAdmin"] = "testingAdmin";
|
|
111
|
-
AptlyOrganizationRoles["ThirdParty"] = "thirdParty";
|
|
112
|
-
})(AptlyOrganizationRoles || (AptlyOrganizationRoles = {}));
|
|
113
|
-
export var AptlyScopeAction;
|
|
114
|
-
(function (AptlyScopeAction) {
|
|
115
|
-
AptlyScopeAction["Read"] = "read";
|
|
116
|
-
AptlyScopeAction["Write"] = "write";
|
|
117
|
-
})(AptlyScopeAction || (AptlyScopeAction = {}));
|
|
1
|
+
export var AptlyModules;
|
|
2
|
+
(function (AptlyModules) {
|
|
3
|
+
AptlyModules["Algorithms"] = "algorithms";
|
|
4
|
+
AptlyModules["Booking"] = "booking";
|
|
5
|
+
AptlyModules["Core"] = "core";
|
|
6
|
+
AptlyModules["Default"] = "default";
|
|
7
|
+
AptlyModules["Departments"] = "departments";
|
|
8
|
+
AptlyModules["Emails"] = "emails";
|
|
9
|
+
AptlyModules["OptionLabels"] = "optionLabels";
|
|
10
|
+
AptlyModules["Pages"] = "pages";
|
|
11
|
+
AptlyModules["Payment"] = "payment";
|
|
12
|
+
AptlyModules["ProductsExtended"] = "productsExtended";
|
|
13
|
+
AptlyModules["Recommendations"] = "recommendations";
|
|
14
|
+
AptlyModules["Signing"] = "signing";
|
|
15
|
+
AptlyModules["Support"] = "support";
|
|
16
|
+
AptlyModules["SupportComplaint"] = "supportComplaint";
|
|
17
|
+
AptlyModules["Testing"] = "testing";
|
|
18
|
+
AptlyModules["ThirdParty"] = "thirdParty";
|
|
19
|
+
AptlyModules["UnitExtraOptions"] = "unitExtraOptions";
|
|
20
|
+
AptlyModules["UnitExtraFields"] = "unitExtraFields";
|
|
21
|
+
})(AptlyModules || (AptlyModules = {}));
|
|
22
|
+
export var AptlyScopes;
|
|
23
|
+
(function (AptlyScopes) {
|
|
24
|
+
AptlyScopes["Admin"] = "admin";
|
|
25
|
+
AptlyScopes["AdminApps"] = "adminApps";
|
|
26
|
+
AptlyScopes["AdminBilling"] = "adminBilling";
|
|
27
|
+
AptlyScopes["AdminModules"] = "adminModules";
|
|
28
|
+
AptlyScopes["AdminProducers"] = "adminProducers";
|
|
29
|
+
AptlyScopes["AdminProducts"] = "adminProducts";
|
|
30
|
+
AptlyScopes["AdminReport"] = "adminReport";
|
|
31
|
+
AptlyScopes["AdminStats"] = "adminStats";
|
|
32
|
+
AptlyScopes["AdminSuppliers"] = "adminSuppliers";
|
|
33
|
+
AptlyScopes["AdminTags"] = "adminTags";
|
|
34
|
+
AptlyScopes["AdminTesting"] = "adminTesting";
|
|
35
|
+
AptlyScopes["AdminUsers"] = "adminUsers";
|
|
36
|
+
AptlyScopes["AdminOrganizations"] = "adminOrganizations";
|
|
37
|
+
AptlyScopes["Beta"] = "beta";
|
|
38
|
+
AptlyScopes["Organization"] = "organization";
|
|
39
|
+
AptlyScopes["OrganizationAlgorithms"] = "organizationAlgorithms";
|
|
40
|
+
AptlyScopes["OrganizationBooking"] = "organizationBooking";
|
|
41
|
+
AptlyScopes["OrganizationClients"] = "organizationClients";
|
|
42
|
+
AptlyScopes["OrganizationDepartments"] = "organizationDepartments";
|
|
43
|
+
AptlyScopes["OrganizationLogo"] = "organizationLogo";
|
|
44
|
+
AptlyScopes["OrganizationMembers"] = "organizationMembers";
|
|
45
|
+
AptlyScopes["OrganizationOptionLabels"] = "organizationOptionLabels";
|
|
46
|
+
AptlyScopes["OrganizationOrders"] = "organizationOrders";
|
|
47
|
+
AptlyScopes["OrganizationPayment"] = "organizationPayment";
|
|
48
|
+
AptlyScopes["OrganizationPages"] = "organizationPages";
|
|
49
|
+
AptlyScopes["OrganizationProducts"] = "organizationProducts";
|
|
50
|
+
AptlyScopes["OrganizationProductsExtended"] = "organizationProductsExtended";
|
|
51
|
+
AptlyScopes["OrganizationRecommendations"] = "organizationRecommendations";
|
|
52
|
+
AptlyScopes["OrganizationReport"] = "organizationReport";
|
|
53
|
+
AptlyScopes["OrganizationStats"] = "organizationStats";
|
|
54
|
+
AptlyScopes["OrganizationUnitTemplates"] = "organizationUnitTemplates";
|
|
55
|
+
AptlyScopes["OrganizationUpsellTemplates"] = "organizationUpsellTemplates";
|
|
56
|
+
AptlyScopes["OrganizationWebhooks"] = "organizationWebhooks";
|
|
57
|
+
AptlyScopes["Project"] = "project";
|
|
58
|
+
AptlyScopes["ProjectAlgorithms"] = "projectAlgorithms";
|
|
59
|
+
AptlyScopes["ProjectBooking"] = "projectBooking";
|
|
60
|
+
AptlyScopes["ProjectDocuments"] = "projectDocuments";
|
|
61
|
+
AptlyScopes["ProjectEmails"] = "projectEmails";
|
|
62
|
+
AptlyScopes["ProjectInquiry"] = "projectInquiry";
|
|
63
|
+
AptlyScopes["ProjectInquiryComplaint"] = "projectInquiryComplaint";
|
|
64
|
+
AptlyScopes["ProjectOrders"] = "projectOrders";
|
|
65
|
+
AptlyScopes["ProjectPayment"] = "projectPayment";
|
|
66
|
+
AptlyScopes["ProjectPages"] = "projectPages";
|
|
67
|
+
AptlyScopes["ProjectPeriods"] = "projectPeriods";
|
|
68
|
+
AptlyScopes["ProjectProducts"] = "projectProducts";
|
|
69
|
+
AptlyScopes["ProjectRecommendations"] = "projectRecommendations";
|
|
70
|
+
AptlyScopes["ProjectReport"] = "projectReport";
|
|
71
|
+
AptlyScopes["ProjectReportPrice"] = "projectReportPrice";
|
|
72
|
+
AptlyScopes["ProjectTheme"] = "projectTheme";
|
|
73
|
+
AptlyScopes["ProjectSigning"] = "projectSigning";
|
|
74
|
+
AptlyScopes["ProjectThirdParty"] = "projectThirdParty";
|
|
75
|
+
AptlyScopes["ProjectUnits"] = "projectUnits";
|
|
76
|
+
AptlyScopes["ProjectUnitInvites"] = "projectUnitInvites";
|
|
77
|
+
AptlyScopes["ProjectUnitExtraFields"] = "projectUnitExtraFields";
|
|
78
|
+
AptlyScopes["ProjectUnitExtraOptions"] = "projectUnitExtraOptions";
|
|
79
|
+
AptlyScopes["ProjectUnitDocuments"] = "projectUnitDocuments";
|
|
80
|
+
AptlyScopes["ProjectUnitTemplates"] = "projectUnitTemplates";
|
|
81
|
+
AptlyScopes["ProjectUnitTemplatesAlgorithms"] = "projectUnitTemplatesAlgorithms";
|
|
82
|
+
AptlyScopes["ProjectUnitTemplatesPrices"] = "projectUnitTemplatesPrices";
|
|
83
|
+
AptlyScopes["ProjectUpsellTemplates"] = "projectUpsellTemplates";
|
|
84
|
+
AptlyScopes["Unit"] = "unit";
|
|
85
|
+
AptlyScopes["UnitBooking"] = "unitBooking";
|
|
86
|
+
AptlyScopes["UnitInquiry"] = "unitInquiry";
|
|
87
|
+
AptlyScopes["UnitNotes"] = "unitNotes";
|
|
88
|
+
AptlyScopes["UnitOrders"] = "unitOrders";
|
|
89
|
+
AptlyScopes["UnitPages"] = "unitPages";
|
|
90
|
+
AptlyScopes["UnitProducts"] = "unitProducts";
|
|
91
|
+
AptlyScopes["UnitReport"] = "unitReport";
|
|
92
|
+
})(AptlyScopes || (AptlyScopes = {}));
|
|
93
|
+
export var AptlyUserRoles;
|
|
94
|
+
(function (AptlyUserRoles) {
|
|
95
|
+
AptlyUserRoles["Admin"] = "admin";
|
|
96
|
+
AptlyUserRoles["Beta"] = "beta";
|
|
97
|
+
AptlyUserRoles["Default"] = "default";
|
|
98
|
+
AptlyUserRoles["SuperAdmin"] = "superAdmin";
|
|
99
|
+
})(AptlyUserRoles || (AptlyUserRoles = {}));
|
|
100
|
+
export var AptlyOrganizationRoles;
|
|
101
|
+
(function (AptlyOrganizationRoles) {
|
|
102
|
+
AptlyOrganizationRoles["Admin"] = "admin";
|
|
103
|
+
AptlyOrganizationRoles["Content"] = "content";
|
|
104
|
+
AptlyOrganizationRoles["Default"] = "default";
|
|
105
|
+
AptlyOrganizationRoles["Orders"] = "orders";
|
|
106
|
+
AptlyOrganizationRoles["OrganizationContent"] = "organizationContent";
|
|
107
|
+
AptlyOrganizationRoles["ProjectAdmin"] = "projectAdmin";
|
|
108
|
+
AptlyOrganizationRoles["Reports"] = "reports";
|
|
109
|
+
AptlyOrganizationRoles["Support"] = "support";
|
|
110
|
+
AptlyOrganizationRoles["TestingAdmin"] = "testingAdmin";
|
|
111
|
+
AptlyOrganizationRoles["ThirdParty"] = "thirdParty";
|
|
112
|
+
})(AptlyOrganizationRoles || (AptlyOrganizationRoles = {}));
|
|
113
|
+
export var AptlyScopeAction;
|
|
114
|
+
(function (AptlyScopeAction) {
|
|
115
|
+
AptlyScopeAction["Read"] = "read";
|
|
116
|
+
AptlyScopeAction["Write"] = "write";
|
|
117
|
+
})(AptlyScopeAction || (AptlyScopeAction = {}));
|
package/core/signage.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { AptlySignageSignerRef } from '../enums/index.js';
|
|
2
|
-
export type AptlySignage = AptlySignageSchema<string, string>;
|
|
3
|
-
export interface AptlySignageSchema<ID, DATE> {
|
|
4
|
-
hasReceivedFile: boolean;
|
|
5
|
-
documentId: string;
|
|
6
|
-
document: ID;
|
|
7
|
-
signedFile: ID;
|
|
8
|
-
signed: boolean;
|
|
9
|
-
documentCreationDate: DATE;
|
|
10
|
-
expireDate: DATE;
|
|
11
|
-
signers: AptlySignageSignerSchema<ID, DATE>[];
|
|
12
|
-
}
|
|
13
|
-
export type AptlySignageSigner = AptlySignageSignerSchema<string, string>;
|
|
14
|
-
export interface AptlySignageSignerSchema<ID, DATE> {
|
|
15
|
-
_id: ID;
|
|
16
|
-
ref: AptlySignageSignerRef;
|
|
17
|
-
signerId: string;
|
|
18
|
-
signedAt?: DATE;
|
|
19
|
-
}
|
|
1
|
+
import { AptlySignageSignerRef } from '../enums/index.js';
|
|
2
|
+
export type AptlySignage = AptlySignageSchema<string, string>;
|
|
3
|
+
export interface AptlySignageSchema<ID, DATE> {
|
|
4
|
+
hasReceivedFile: boolean;
|
|
5
|
+
documentId: string;
|
|
6
|
+
document: ID;
|
|
7
|
+
signedFile: ID;
|
|
8
|
+
signed: boolean;
|
|
9
|
+
documentCreationDate: DATE;
|
|
10
|
+
expireDate: DATE;
|
|
11
|
+
signers: AptlySignageSignerSchema<ID, DATE>[];
|
|
12
|
+
}
|
|
13
|
+
export type AptlySignageSigner = AptlySignageSignerSchema<string, string>;
|
|
14
|
+
export interface AptlySignageSignerSchema<ID, DATE> {
|
|
15
|
+
_id: ID;
|
|
16
|
+
ref: AptlySignageSignerRef;
|
|
17
|
+
signerId: string;
|
|
18
|
+
signedAt?: DATE;
|
|
19
|
+
}
|
package/core/signage.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { AptlyDocumentSchema, AptlyOrderSchema, AptlyUnitSchema } from '../models/index.js';
|
|
2
|
-
export declare namespace AptlyWebhookEventData {
|
|
3
|
-
interface UnitWebhookSchema<ID, DATE> {
|
|
4
|
-
unit: Pick<AptlyUnitSchema<ID, DATE>, '_id' | 'name'>;
|
|
5
|
-
}
|
|
6
|
-
interface UnitDocumentWebhookSchema<ID, DATE> {
|
|
7
|
-
document: AptlyDocumentSchema<ID, DATE>;
|
|
8
|
-
documentUrl: string;
|
|
9
|
-
}
|
|
10
|
-
type NewUnitDocument = NewUnitDocumentSchema<string, string>;
|
|
11
|
-
type NewUnitDocumentSchema<ID, DATE> = UnitWebhookSchema<ID, DATE> & UnitDocumentWebhookSchema<ID, DATE>;
|
|
12
|
-
type NewUnitOrder = NewUnitOrderSchema<string, string>;
|
|
13
|
-
interface NewUnitOrderSchema<ID, DATE> extends NewUnitDocumentSchema<ID, DATE> {
|
|
14
|
-
order: Pick<AptlyOrderSchema<ID, DATE>, '_id' | 'orderNumber' | 'receipt' | 'period'>;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
import { AptlyDocumentSchema, AptlyOrderSchema, AptlyUnitSchema } from '../models/index.js';
|
|
2
|
+
export declare namespace AptlyWebhookEventData {
|
|
3
|
+
interface UnitWebhookSchema<ID, DATE> {
|
|
4
|
+
unit: Pick<AptlyUnitSchema<ID, DATE>, '_id' | 'name'>;
|
|
5
|
+
}
|
|
6
|
+
interface UnitDocumentWebhookSchema<ID, DATE> {
|
|
7
|
+
document: AptlyDocumentSchema<ID, DATE>;
|
|
8
|
+
documentUrl: string;
|
|
9
|
+
}
|
|
10
|
+
type NewUnitDocument = NewUnitDocumentSchema<string, string>;
|
|
11
|
+
type NewUnitDocumentSchema<ID, DATE> = UnitWebhookSchema<ID, DATE> & UnitDocumentWebhookSchema<ID, DATE>;
|
|
12
|
+
type NewUnitOrder = NewUnitOrderSchema<string, string>;
|
|
13
|
+
interface NewUnitOrderSchema<ID, DATE> extends NewUnitDocumentSchema<ID, DATE> {
|
|
14
|
+
order: Pick<AptlyOrderSchema<ID, DATE>, '_id' | 'orderNumber' | 'receipt' | 'period'>;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/enums/document.d.ts
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
export declare enum AptlyDocumentType {
|
|
2
|
-
Document = "document",
|
|
3
|
-
DeliveryDescription = "deliveryDescription",
|
|
4
|
-
UnitPlan = "unitPlan",
|
|
5
|
-
ElDrawing = "elDrawing",
|
|
6
|
-
VVSDrawing = "vvsDrawing",
|
|
7
|
-
BathroomDrawing = "bathroomDrawing",
|
|
8
|
-
FDV = "fdv",
|
|
9
|
-
Manual = "manual",
|
|
10
|
-
KitchenDrawing = "kitchenDrawing",
|
|
11
|
-
Receipt = "receipt",
|
|
12
|
-
PaymentReceipt = "payment-receipt",
|
|
13
|
-
ProductAttachment = "productAttachment",
|
|
14
|
-
SignedReceipt = "signedReceipt",
|
|
15
|
-
OrderAttachment = "orderAttachment",
|
|
16
|
-
InspectionReport = "inspectionReport",
|
|
17
|
-
Public = "public",
|
|
18
|
-
Prospect = "prospect",
|
|
19
|
-
EndReport = "endReport",
|
|
20
|
-
Contract = "contract",
|
|
21
|
-
Chunk = "chunk",
|
|
22
|
-
Gdpr = "gdpr",
|
|
23
|
-
Zip = "zip",
|
|
24
|
-
CircuitDirectory = "circuitDirectory"
|
|
25
|
-
}
|
|
26
|
-
export declare enum AptlyHistoryType {
|
|
27
|
-
Added = "added",
|
|
28
|
-
Updated = "updated",
|
|
29
|
-
Deleted = "deleted",
|
|
30
|
-
Moved = "moved",
|
|
31
|
-
Copied = "copied",
|
|
32
|
-
Imported = "imported"
|
|
33
|
-
}
|
|
34
|
-
export declare enum AptlyDocumentAccess {
|
|
35
|
-
Public = 0,
|
|
36
|
-
User = 10,
|
|
37
|
-
Admin = 20
|
|
38
|
-
}
|
|
1
|
+
export declare enum AptlyDocumentType {
|
|
2
|
+
Document = "document",
|
|
3
|
+
DeliveryDescription = "deliveryDescription",
|
|
4
|
+
UnitPlan = "unitPlan",
|
|
5
|
+
ElDrawing = "elDrawing",
|
|
6
|
+
VVSDrawing = "vvsDrawing",
|
|
7
|
+
BathroomDrawing = "bathroomDrawing",
|
|
8
|
+
FDV = "fdv",
|
|
9
|
+
Manual = "manual",
|
|
10
|
+
KitchenDrawing = "kitchenDrawing",
|
|
11
|
+
Receipt = "receipt",
|
|
12
|
+
PaymentReceipt = "payment-receipt",
|
|
13
|
+
ProductAttachment = "productAttachment",
|
|
14
|
+
SignedReceipt = "signedReceipt",
|
|
15
|
+
OrderAttachment = "orderAttachment",
|
|
16
|
+
InspectionReport = "inspectionReport",
|
|
17
|
+
Public = "public",
|
|
18
|
+
Prospect = "prospect",
|
|
19
|
+
EndReport = "endReport",
|
|
20
|
+
Contract = "contract",
|
|
21
|
+
Chunk = "chunk",
|
|
22
|
+
Gdpr = "gdpr",
|
|
23
|
+
Zip = "zip",
|
|
24
|
+
CircuitDirectory = "circuitDirectory"
|
|
25
|
+
}
|
|
26
|
+
export declare enum AptlyHistoryType {
|
|
27
|
+
Added = "added",
|
|
28
|
+
Updated = "updated",
|
|
29
|
+
Deleted = "deleted",
|
|
30
|
+
Moved = "moved",
|
|
31
|
+
Copied = "copied",
|
|
32
|
+
Imported = "imported"
|
|
33
|
+
}
|
|
34
|
+
export declare enum AptlyDocumentAccess {
|
|
35
|
+
Public = 0,
|
|
36
|
+
User = 10,
|
|
37
|
+
Admin = 20
|
|
38
|
+
}
|
package/enums/document.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
export var AptlyDocumentType;
|
|
2
|
-
(function (AptlyDocumentType) {
|
|
3
|
-
AptlyDocumentType["Document"] = "document";
|
|
4
|
-
AptlyDocumentType["DeliveryDescription"] = "deliveryDescription";
|
|
5
|
-
AptlyDocumentType["UnitPlan"] = "unitPlan";
|
|
6
|
-
AptlyDocumentType["ElDrawing"] = "elDrawing";
|
|
7
|
-
AptlyDocumentType["VVSDrawing"] = "vvsDrawing";
|
|
8
|
-
AptlyDocumentType["BathroomDrawing"] = "bathroomDrawing";
|
|
9
|
-
AptlyDocumentType["FDV"] = "fdv";
|
|
10
|
-
AptlyDocumentType["Manual"] = "manual";
|
|
11
|
-
AptlyDocumentType["KitchenDrawing"] = "kitchenDrawing";
|
|
12
|
-
AptlyDocumentType["Receipt"] = "receipt";
|
|
13
|
-
AptlyDocumentType["PaymentReceipt"] = "payment-receipt";
|
|
14
|
-
AptlyDocumentType["ProductAttachment"] = "productAttachment";
|
|
15
|
-
AptlyDocumentType["SignedReceipt"] = "signedReceipt";
|
|
16
|
-
AptlyDocumentType["OrderAttachment"] = "orderAttachment";
|
|
17
|
-
AptlyDocumentType["InspectionReport"] = "inspectionReport";
|
|
18
|
-
AptlyDocumentType["Public"] = "public";
|
|
19
|
-
AptlyDocumentType["Prospect"] = "prospect";
|
|
20
|
-
AptlyDocumentType["EndReport"] = "endReport";
|
|
21
|
-
AptlyDocumentType["Contract"] = "contract";
|
|
22
|
-
AptlyDocumentType["Chunk"] = "chunk";
|
|
23
|
-
AptlyDocumentType["Gdpr"] = "gdpr";
|
|
24
|
-
AptlyDocumentType["Zip"] = "zip";
|
|
25
|
-
AptlyDocumentType["CircuitDirectory"] = "circuitDirectory";
|
|
26
|
-
})(AptlyDocumentType || (AptlyDocumentType = {}));
|
|
27
|
-
export var AptlyHistoryType;
|
|
28
|
-
(function (AptlyHistoryType) {
|
|
29
|
-
AptlyHistoryType["Added"] = "added";
|
|
30
|
-
AptlyHistoryType["Updated"] = "updated";
|
|
31
|
-
AptlyHistoryType["Deleted"] = "deleted";
|
|
32
|
-
AptlyHistoryType["Moved"] = "moved";
|
|
33
|
-
AptlyHistoryType["Copied"] = "copied";
|
|
34
|
-
AptlyHistoryType["Imported"] = "imported";
|
|
35
|
-
})(AptlyHistoryType || (AptlyHistoryType = {}));
|
|
36
|
-
export var AptlyDocumentAccess;
|
|
37
|
-
(function (AptlyDocumentAccess) {
|
|
38
|
-
AptlyDocumentAccess[AptlyDocumentAccess["Public"] = 0] = "Public";
|
|
39
|
-
AptlyDocumentAccess[AptlyDocumentAccess["User"] = 10] = "User";
|
|
40
|
-
AptlyDocumentAccess[AptlyDocumentAccess["Admin"] = 20] = "Admin";
|
|
41
|
-
})(AptlyDocumentAccess || (AptlyDocumentAccess = {}));
|
|
1
|
+
export var AptlyDocumentType;
|
|
2
|
+
(function (AptlyDocumentType) {
|
|
3
|
+
AptlyDocumentType["Document"] = "document";
|
|
4
|
+
AptlyDocumentType["DeliveryDescription"] = "deliveryDescription";
|
|
5
|
+
AptlyDocumentType["UnitPlan"] = "unitPlan";
|
|
6
|
+
AptlyDocumentType["ElDrawing"] = "elDrawing";
|
|
7
|
+
AptlyDocumentType["VVSDrawing"] = "vvsDrawing";
|
|
8
|
+
AptlyDocumentType["BathroomDrawing"] = "bathroomDrawing";
|
|
9
|
+
AptlyDocumentType["FDV"] = "fdv";
|
|
10
|
+
AptlyDocumentType["Manual"] = "manual";
|
|
11
|
+
AptlyDocumentType["KitchenDrawing"] = "kitchenDrawing";
|
|
12
|
+
AptlyDocumentType["Receipt"] = "receipt";
|
|
13
|
+
AptlyDocumentType["PaymentReceipt"] = "payment-receipt";
|
|
14
|
+
AptlyDocumentType["ProductAttachment"] = "productAttachment";
|
|
15
|
+
AptlyDocumentType["SignedReceipt"] = "signedReceipt";
|
|
16
|
+
AptlyDocumentType["OrderAttachment"] = "orderAttachment";
|
|
17
|
+
AptlyDocumentType["InspectionReport"] = "inspectionReport";
|
|
18
|
+
AptlyDocumentType["Public"] = "public";
|
|
19
|
+
AptlyDocumentType["Prospect"] = "prospect";
|
|
20
|
+
AptlyDocumentType["EndReport"] = "endReport";
|
|
21
|
+
AptlyDocumentType["Contract"] = "contract";
|
|
22
|
+
AptlyDocumentType["Chunk"] = "chunk";
|
|
23
|
+
AptlyDocumentType["Gdpr"] = "gdpr";
|
|
24
|
+
AptlyDocumentType["Zip"] = "zip";
|
|
25
|
+
AptlyDocumentType["CircuitDirectory"] = "circuitDirectory";
|
|
26
|
+
})(AptlyDocumentType || (AptlyDocumentType = {}));
|
|
27
|
+
export var AptlyHistoryType;
|
|
28
|
+
(function (AptlyHistoryType) {
|
|
29
|
+
AptlyHistoryType["Added"] = "added";
|
|
30
|
+
AptlyHistoryType["Updated"] = "updated";
|
|
31
|
+
AptlyHistoryType["Deleted"] = "deleted";
|
|
32
|
+
AptlyHistoryType["Moved"] = "moved";
|
|
33
|
+
AptlyHistoryType["Copied"] = "copied";
|
|
34
|
+
AptlyHistoryType["Imported"] = "imported";
|
|
35
|
+
})(AptlyHistoryType || (AptlyHistoryType = {}));
|
|
36
|
+
export var AptlyDocumentAccess;
|
|
37
|
+
(function (AptlyDocumentAccess) {
|
|
38
|
+
AptlyDocumentAccess[AptlyDocumentAccess["Public"] = 0] = "Public";
|
|
39
|
+
AptlyDocumentAccess[AptlyDocumentAccess["User"] = 10] = "User";
|
|
40
|
+
AptlyDocumentAccess[AptlyDocumentAccess["Admin"] = 20] = "Admin";
|
|
41
|
+
})(AptlyDocumentAccess || (AptlyDocumentAccess = {}));
|
package/enums/fields.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export declare enum AptlyFieldType {
|
|
2
|
-
BulkIds = "bulk-ids",
|
|
3
|
-
Checkbox = "checkbox",
|
|
4
|
-
Custom = "custom",
|
|
5
|
-
Color = "color",
|
|
6
|
-
Date = "date",
|
|
7
|
-
DateTime = "date-time",
|
|
8
|
-
Documents = "documents",
|
|
9
|
-
DraftJS = "draft-js",
|
|
10
|
-
Email = "email",
|
|
11
|
-
File = "file",
|
|
12
|
-
Files = "files",
|
|
13
|
-
GooglePlace = "google-place",
|
|
14
|
-
Hidden = "hidden",
|
|
15
|
-
Images = "images",
|
|
16
|
-
Image = "image",
|
|
17
|
-
Markdown = "markdown",
|
|
18
|
-
Media = "media",
|
|
19
|
-
Number = "number",
|
|
20
|
-
Object = "object",
|
|
21
|
-
Password = "password",
|
|
22
|
-
Reference = "reference",
|
|
23
|
-
StringArray = "string-array",
|
|
24
|
-
Select = "select",
|
|
25
|
-
Sort = "sort",
|
|
26
|
-
Switch = "switch",
|
|
27
|
-
Text = "text",
|
|
28
|
-
TextArea = "text-area",
|
|
29
|
-
Time = "time"
|
|
30
|
-
}
|
|
1
|
+
export declare enum AptlyFieldType {
|
|
2
|
+
BulkIds = "bulk-ids",
|
|
3
|
+
Checkbox = "checkbox",
|
|
4
|
+
Custom = "custom",
|
|
5
|
+
Color = "color",
|
|
6
|
+
Date = "date",
|
|
7
|
+
DateTime = "date-time",
|
|
8
|
+
Documents = "documents",
|
|
9
|
+
DraftJS = "draft-js",
|
|
10
|
+
Email = "email",
|
|
11
|
+
File = "file",
|
|
12
|
+
Files = "files",
|
|
13
|
+
GooglePlace = "google-place",
|
|
14
|
+
Hidden = "hidden",
|
|
15
|
+
Images = "images",
|
|
16
|
+
Image = "image",
|
|
17
|
+
Markdown = "markdown",
|
|
18
|
+
Media = "media",
|
|
19
|
+
Number = "number",
|
|
20
|
+
Object = "object",
|
|
21
|
+
Password = "password",
|
|
22
|
+
Reference = "reference",
|
|
23
|
+
StringArray = "string-array",
|
|
24
|
+
Select = "select",
|
|
25
|
+
Sort = "sort",
|
|
26
|
+
Switch = "switch",
|
|
27
|
+
Text = "text",
|
|
28
|
+
TextArea = "text-area",
|
|
29
|
+
Time = "time"
|
|
30
|
+
}
|
package/enums/fields.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export var AptlyFieldType;
|
|
2
|
-
(function (AptlyFieldType) {
|
|
3
|
-
AptlyFieldType["BulkIds"] = "bulk-ids";
|
|
4
|
-
AptlyFieldType["Checkbox"] = "checkbox";
|
|
5
|
-
AptlyFieldType["Custom"] = "custom";
|
|
6
|
-
AptlyFieldType["Color"] = "color";
|
|
7
|
-
AptlyFieldType["Date"] = "date";
|
|
8
|
-
AptlyFieldType["DateTime"] = "date-time";
|
|
9
|
-
AptlyFieldType["Documents"] = "documents";
|
|
10
|
-
AptlyFieldType["DraftJS"] = "draft-js";
|
|
11
|
-
AptlyFieldType["Email"] = "email";
|
|
12
|
-
AptlyFieldType["File"] = "file";
|
|
13
|
-
AptlyFieldType["Files"] = "files";
|
|
14
|
-
AptlyFieldType["GooglePlace"] = "google-place";
|
|
15
|
-
AptlyFieldType["Hidden"] = "hidden";
|
|
16
|
-
AptlyFieldType["Images"] = "images";
|
|
17
|
-
AptlyFieldType["Image"] = "image";
|
|
18
|
-
AptlyFieldType["Markdown"] = "markdown";
|
|
19
|
-
AptlyFieldType["Media"] = "media";
|
|
20
|
-
AptlyFieldType["Number"] = "number";
|
|
21
|
-
AptlyFieldType["Object"] = "object";
|
|
22
|
-
AptlyFieldType["Password"] = "password";
|
|
23
|
-
AptlyFieldType["Reference"] = "reference";
|
|
24
|
-
AptlyFieldType["StringArray"] = "string-array";
|
|
25
|
-
AptlyFieldType["Select"] = "select";
|
|
26
|
-
AptlyFieldType["Sort"] = "sort";
|
|
27
|
-
AptlyFieldType["Switch"] = "switch";
|
|
28
|
-
AptlyFieldType["Text"] = "text";
|
|
29
|
-
AptlyFieldType["TextArea"] = "text-area";
|
|
30
|
-
AptlyFieldType["Time"] = "time";
|
|
31
|
-
})(AptlyFieldType || (AptlyFieldType = {}));
|
|
1
|
+
export var AptlyFieldType;
|
|
2
|
+
(function (AptlyFieldType) {
|
|
3
|
+
AptlyFieldType["BulkIds"] = "bulk-ids";
|
|
4
|
+
AptlyFieldType["Checkbox"] = "checkbox";
|
|
5
|
+
AptlyFieldType["Custom"] = "custom";
|
|
6
|
+
AptlyFieldType["Color"] = "color";
|
|
7
|
+
AptlyFieldType["Date"] = "date";
|
|
8
|
+
AptlyFieldType["DateTime"] = "date-time";
|
|
9
|
+
AptlyFieldType["Documents"] = "documents";
|
|
10
|
+
AptlyFieldType["DraftJS"] = "draft-js";
|
|
11
|
+
AptlyFieldType["Email"] = "email";
|
|
12
|
+
AptlyFieldType["File"] = "file";
|
|
13
|
+
AptlyFieldType["Files"] = "files";
|
|
14
|
+
AptlyFieldType["GooglePlace"] = "google-place";
|
|
15
|
+
AptlyFieldType["Hidden"] = "hidden";
|
|
16
|
+
AptlyFieldType["Images"] = "images";
|
|
17
|
+
AptlyFieldType["Image"] = "image";
|
|
18
|
+
AptlyFieldType["Markdown"] = "markdown";
|
|
19
|
+
AptlyFieldType["Media"] = "media";
|
|
20
|
+
AptlyFieldType["Number"] = "number";
|
|
21
|
+
AptlyFieldType["Object"] = "object";
|
|
22
|
+
AptlyFieldType["Password"] = "password";
|
|
23
|
+
AptlyFieldType["Reference"] = "reference";
|
|
24
|
+
AptlyFieldType["StringArray"] = "string-array";
|
|
25
|
+
AptlyFieldType["Select"] = "select";
|
|
26
|
+
AptlyFieldType["Sort"] = "sort";
|
|
27
|
+
AptlyFieldType["Switch"] = "switch";
|
|
28
|
+
AptlyFieldType["Text"] = "text";
|
|
29
|
+
AptlyFieldType["TextArea"] = "text-area";
|
|
30
|
+
AptlyFieldType["Time"] = "time";
|
|
31
|
+
})(AptlyFieldType || (AptlyFieldType = {}));
|