@bisondesk/documents-sdk 1.0.584 → 1.0.585
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/package.json +1 -1
- package/src/constants/index.js +45 -0
- package/src/constants/index.js.map +1 -0
- package/src/constants/search.js +240 -0
- package/src/constants/search.js.map +1 -0
- package/src/types/bank-accounts.js +2 -0
- package/src/types/bank-accounts.js.map +1 -0
- package/src/types/booking.js +2 -0
- package/src/types/booking.js.map +1 -0
- package/src/types/document-categories.js +11 -0
- package/src/types/document-categories.js.map +1 -0
- package/src/types/documents.js +68 -0
- package/src/types/documents.js.map +1 -0
- package/src/types/legacy.js +2 -0
- package/src/types/legacy.js.map +1 -0
- package/src/types/rules.js +15 -0
- package/src/types/rules.js.map +1 -0
- package/src/types/search.js +13 -0
- package/src/types/search.js.map +1 -0
- package/src/types/vat.js +2 -0
- package/src/types/vat.js.map +1 -0
- package/src/utils/previews.js +2 -0
- package/src/utils/previews.js.map +1 -0
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { AppRoles, SYSTEM_USER_ID } from '@bisondesk/commons-sdk/constants';
|
|
2
|
+
import { getPdfPreviewSrc } from '../utils/previews.js';
|
|
3
|
+
export const DOCUMENT_PROCESSING_SETTINGS_ID = 'document-processing';
|
|
4
|
+
export const PRIVATE_DOCUMENT_ROLES = [
|
|
5
|
+
AppRoles.Board,
|
|
6
|
+
AppRoles.GeneralManager,
|
|
7
|
+
AppRoles.SeniorAccountant,
|
|
8
|
+
];
|
|
9
|
+
export const DEFAULT_DOCUMENT_ROLES = [
|
|
10
|
+
AppRoles.Accountant,
|
|
11
|
+
AppRoles.Admin,
|
|
12
|
+
AppRoles.Administrative,
|
|
13
|
+
AppRoles.Board,
|
|
14
|
+
AppRoles.GeneralManager,
|
|
15
|
+
AppRoles.SalesManager,
|
|
16
|
+
AppRoles.SeniorAccountant,
|
|
17
|
+
];
|
|
18
|
+
export const SALE_USED_VEHICLES_DOC_CATEGORY_ID = 'used_vehicles_sale';
|
|
19
|
+
export const SALE_USED_VEHICLES_COST_CENTER_ID = 'USED';
|
|
20
|
+
export const SALE_NEW_VEHICLES_DOC_CATEGORY_ID = 'new_vehicles_sale';
|
|
21
|
+
export const SALE_NEW_VEHICLES_COST_CENTER_ID = 'NEW';
|
|
22
|
+
export const SALE_OTHERS_DOC_CATEGORY_ID = 'others_sale';
|
|
23
|
+
export const SALE_OTHERS_COST_CENTER_ID = 'OTHERS';
|
|
24
|
+
export const HEAVY_VEHICLES_LINE_CATEGORY_ID = 'heavy_vehicles';
|
|
25
|
+
export const LIGHT_VEHICLES_LINE_CATEGORY_ID = 'light_vehicles';
|
|
26
|
+
export const ADMIN_IC_LINE_CATEGORY_ID = 'admin_ic';
|
|
27
|
+
export const ADMIN_NOT_IC_LINE_CATEGORY_ID = 'admin_not_ic';
|
|
28
|
+
export const DIVERSE_IC_LINE_CATEGORY_ID = 'diverse_ic';
|
|
29
|
+
export const DIVERSE_NOT_IC_LINE_CATEGORY_ID = 'diverse_not_ic';
|
|
30
|
+
export const OWN_WORK_LINE_CATEGORY_ID = 'own_work';
|
|
31
|
+
export const ENV_CONTRIBUTION_TYRES_LINE_CATEGORY_ID = 'env_contribution_tyres';
|
|
32
|
+
export const STANDARD_VAT_CODE_ID = 'standard';
|
|
33
|
+
export const SALE_EU_INTRA_COMMUNITY_VAT_CODE_ID = 'eu_ics_sale';
|
|
34
|
+
export const SALE_EU_EXTRA_COMMUNITY_VAT_CODE_ID = 'eu_ecs_sale';
|
|
35
|
+
export const GENERATING_PLACEHOLDER_ATTACHMENT = {
|
|
36
|
+
id: 'generating',
|
|
37
|
+
contentType: 'application/pdf',
|
|
38
|
+
fileName: 'generating.pdf',
|
|
39
|
+
uploadedBy: SYSTEM_USER_ID,
|
|
40
|
+
uploadedAt: '2024-04-08T14:51:55.785Z',
|
|
41
|
+
size: 95749,
|
|
42
|
+
url: '/storage/public/generating.pdf',
|
|
43
|
+
previewSrc: getPdfPreviewSrc('/storage/public/generating.pdf'),
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAE5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,CAAC,MAAM,+BAA+B,GAAG,qBAAqB,CAAC;AAErE,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,QAAQ,CAAC,KAAK;IACd,QAAQ,CAAC,cAAc;IACvB,QAAQ,CAAC,gBAAgB;CAC1B,CAAC;AACF,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,QAAQ,CAAC,UAAU;IACnB,QAAQ,CAAC,KAAK;IACd,QAAQ,CAAC,cAAc;IACvB,QAAQ,CAAC,KAAK;IACd,QAAQ,CAAC,cAAc;IACvB,QAAQ,CAAC,YAAY;IACrB,QAAQ,CAAC,gBAAgB;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,oBAAoB,CAAC;AACvE,MAAM,CAAC,MAAM,iCAAiC,GAAG,MAAM,CAAC;AAExD,MAAM,CAAC,MAAM,iCAAiC,GAAG,mBAAmB,CAAC;AACrE,MAAM,CAAC,MAAM,gCAAgC,GAAG,KAAK,CAAC;AAEtD,MAAM,CAAC,MAAM,2BAA2B,GAAG,aAAa,CAAC;AACzD,MAAM,CAAC,MAAM,0BAA0B,GAAG,QAAQ,CAAC;AAEnD,MAAM,CAAC,MAAM,+BAA+B,GAAG,gBAAgB,CAAC;AAChE,MAAM,CAAC,MAAM,+BAA+B,GAAG,gBAAgB,CAAC;AAChE,MAAM,CAAC,MAAM,yBAAyB,GAAG,UAAU,CAAC;AACpD,MAAM,CAAC,MAAM,6BAA6B,GAAG,cAAc,CAAC;AAC5D,MAAM,CAAC,MAAM,2BAA2B,GAAG,YAAY,CAAC;AACxD,MAAM,CAAC,MAAM,+BAA+B,GAAG,gBAAgB,CAAC;AAChE,MAAM,CAAC,MAAM,yBAAyB,GAAG,UAAU,CAAC;AACpD,MAAM,CAAC,MAAM,uCAAuC,GAAG,wBAAwB,CAAC;AAEhF,MAAM,CAAC,MAAM,oBAAoB,GAAG,UAAU,CAAC;AAC/C,MAAM,CAAC,MAAM,mCAAmC,GAAG,aAAa,CAAC;AACjE,MAAM,CAAC,MAAM,mCAAmC,GAAG,aAAa,CAAC;AAEjE,MAAM,CAAC,MAAM,iCAAiC,GAAoB;IAChE,EAAE,EAAE,YAAY;IAChB,WAAW,EAAE,iBAAiB;IAC9B,QAAQ,EAAE,gBAAgB;IAC1B,UAAU,EAAE,cAAc;IAC1B,UAAU,EAAE,0BAA0B;IACtC,IAAI,EAAE,KAAK;IACX,GAAG,EAAE,gCAAgC;IACrC,UAAU,EAAE,gBAAgB,CAAC,gCAAgC,CAAC;CAC/D,CAAC"}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { DEFAULT_EXACT_MATCH_BOOST } from '@bisondesk/commons/es';
|
|
2
|
+
import { getTranslatedTitles } from '@bisondesk/commons/translations';
|
|
3
|
+
import { DateGranularity, FieldTypes } from '@bisondesk/core-sdk/types/fields';
|
|
4
|
+
import { AggregationType } from '@bisondesk/core-sdk/types/search';
|
|
5
|
+
import { UTCDate } from '@date-fns/utc';
|
|
6
|
+
import { getTime, parseISO, setHours, setMinutes, setSeconds } from 'date-fns';
|
|
7
|
+
const BASE_DOC_DRAFT_MAPPING_FIELDS = {
|
|
8
|
+
'doc.id': {
|
|
9
|
+
esMapping: { type: 'keyword', boost: DEFAULT_EXACT_MATCH_BOOST },
|
|
10
|
+
},
|
|
11
|
+
'doc.status': {
|
|
12
|
+
esMapping: { type: 'keyword' },
|
|
13
|
+
},
|
|
14
|
+
'doc.documentType': {
|
|
15
|
+
esMapping: { type: 'keyword' },
|
|
16
|
+
},
|
|
17
|
+
'doc.category': {
|
|
18
|
+
esMapping: { type: 'keyword' },
|
|
19
|
+
},
|
|
20
|
+
'doc.branchId': {
|
|
21
|
+
esMapping: { type: 'keyword' },
|
|
22
|
+
},
|
|
23
|
+
'doc.attachment': {
|
|
24
|
+
esMapping: { type: 'object', enabled: false },
|
|
25
|
+
},
|
|
26
|
+
'doc.createdAt': {
|
|
27
|
+
esMapping: { type: 'date' },
|
|
28
|
+
},
|
|
29
|
+
'doc.createdBy': {
|
|
30
|
+
esMapping: { type: 'keyword' },
|
|
31
|
+
},
|
|
32
|
+
'custom.stage': {
|
|
33
|
+
esMapping: { type: 'keyword' },
|
|
34
|
+
},
|
|
35
|
+
'custom.rejected': {
|
|
36
|
+
esMapping: { type: 'boolean' },
|
|
37
|
+
},
|
|
38
|
+
'custom.validationRulesStatus': {
|
|
39
|
+
esMapping: { type: 'keyword' },
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const FINANCE_DOC_DRAFT_MAPPING_FIELDS = {
|
|
43
|
+
'doc.type': {
|
|
44
|
+
esMapping: { type: 'keyword' },
|
|
45
|
+
},
|
|
46
|
+
'doc.subtype': {
|
|
47
|
+
esMapping: { type: 'keyword' },
|
|
48
|
+
},
|
|
49
|
+
'doc.reference': {
|
|
50
|
+
esMapping: { type: 'keyword', boost: DEFAULT_EXACT_MATCH_BOOST },
|
|
51
|
+
},
|
|
52
|
+
'doc.issueDate': {
|
|
53
|
+
esMapping: { type: 'date', ignore_malformed: true },
|
|
54
|
+
},
|
|
55
|
+
'doc.dueDate': {
|
|
56
|
+
esMapping: { type: 'date', ignore_malformed: true },
|
|
57
|
+
},
|
|
58
|
+
'doc.organizationSummary.name': {
|
|
59
|
+
esMapping: { type: 'text' },
|
|
60
|
+
},
|
|
61
|
+
'doc.organizationSummary.id': {
|
|
62
|
+
esMapping: { type: 'keyword' },
|
|
63
|
+
},
|
|
64
|
+
'doc.organizationSummary.code': {
|
|
65
|
+
esMapping: { type: 'keyword' },
|
|
66
|
+
},
|
|
67
|
+
'doc.organizationSummary.vatNumber': {
|
|
68
|
+
esMapping: { type: 'text' },
|
|
69
|
+
},
|
|
70
|
+
'doc.lines.associations.businessEntityId': {
|
|
71
|
+
esMapping: { type: 'keyword' },
|
|
72
|
+
},
|
|
73
|
+
'doc.lines.associations.recordId': {
|
|
74
|
+
esMapping: { type: 'keyword' },
|
|
75
|
+
},
|
|
76
|
+
'doc.lines.associations.title': {
|
|
77
|
+
esMapping: { type: 'text' },
|
|
78
|
+
},
|
|
79
|
+
'doc.lines.associations.description': {
|
|
80
|
+
esMapping: { type: 'text' },
|
|
81
|
+
},
|
|
82
|
+
'doc.lines.associations.tags': {
|
|
83
|
+
esMapping: { type: 'keyword' },
|
|
84
|
+
},
|
|
85
|
+
'doc.invoiceId': {
|
|
86
|
+
esMapping: { type: 'keyword' },
|
|
87
|
+
},
|
|
88
|
+
'custom.validators': {
|
|
89
|
+
esMapping: { type: 'keyword' },
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
const ADMIN_DOC_DRAFT_MAPPING_FIELDS = {
|
|
93
|
+
'doc.tags': {
|
|
94
|
+
esMapping: { type: 'text' },
|
|
95
|
+
},
|
|
96
|
+
'doc.associations.businessEntityId': {
|
|
97
|
+
esMapping: { type: 'keyword' },
|
|
98
|
+
},
|
|
99
|
+
'doc.associations.recordId': {
|
|
100
|
+
esMapping: { type: 'keyword' },
|
|
101
|
+
},
|
|
102
|
+
'doc.associations.title': {
|
|
103
|
+
esMapping: { type: 'text' },
|
|
104
|
+
},
|
|
105
|
+
'doc.associations.description': {
|
|
106
|
+
esMapping: { type: 'text' },
|
|
107
|
+
},
|
|
108
|
+
'doc.associations.tags': {
|
|
109
|
+
esMapping: { type: 'keyword' },
|
|
110
|
+
},
|
|
111
|
+
};
|
|
112
|
+
export const DOC_DRAFT_MAPPING_FIELDS = {
|
|
113
|
+
...BASE_DOC_DRAFT_MAPPING_FIELDS,
|
|
114
|
+
...FINANCE_DOC_DRAFT_MAPPING_FIELDS,
|
|
115
|
+
...ADMIN_DOC_DRAFT_MAPPING_FIELDS,
|
|
116
|
+
};
|
|
117
|
+
export const DOC_DRAFT_DEFINITION_FIELDS = {
|
|
118
|
+
'doc.id': {
|
|
119
|
+
id: 'doc.id',
|
|
120
|
+
titles: getTranslatedTitles('id'),
|
|
121
|
+
type: FieldTypes.text,
|
|
122
|
+
},
|
|
123
|
+
'custom.stage': {
|
|
124
|
+
id: 'custom.stage',
|
|
125
|
+
titles: getTranslatedTitles('aggs.draft.stage'),
|
|
126
|
+
type: FieldTypes.text,
|
|
127
|
+
},
|
|
128
|
+
'doc.documentType': {
|
|
129
|
+
id: 'doc.documentType',
|
|
130
|
+
titles: getTranslatedTitles('aggs.draft.documentType'),
|
|
131
|
+
type: FieldTypes.text,
|
|
132
|
+
},
|
|
133
|
+
'doc.branchId': {
|
|
134
|
+
id: 'doc.branchId',
|
|
135
|
+
titles: getTranslatedTitles('branch'),
|
|
136
|
+
type: FieldTypes.text,
|
|
137
|
+
},
|
|
138
|
+
'doc.createdAt': {
|
|
139
|
+
id: 'doc.createdAt',
|
|
140
|
+
titles: getTranslatedTitles('aggs.creationDate'),
|
|
141
|
+
type: FieldTypes.date,
|
|
142
|
+
meta: {
|
|
143
|
+
granularity: DateGranularity.yearMonthDayTime,
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
'custom.validationRulesStatus': {
|
|
147
|
+
id: 'custom.validationRulesStatus',
|
|
148
|
+
titles: getTranslatedTitles('aggs.draft.validationRules'),
|
|
149
|
+
type: FieldTypes.text,
|
|
150
|
+
},
|
|
151
|
+
'doc.createdBy': {
|
|
152
|
+
id: 'doc.createdBy',
|
|
153
|
+
titles: getTranslatedTitles('aggs.createdBy'),
|
|
154
|
+
type: FieldTypes.collaborator,
|
|
155
|
+
},
|
|
156
|
+
'doc.subtype': {
|
|
157
|
+
id: 'doc.subtype',
|
|
158
|
+
titles: getTranslatedTitles('type'),
|
|
159
|
+
type: FieldTypes.text,
|
|
160
|
+
},
|
|
161
|
+
'custom.rejected': {
|
|
162
|
+
id: 'custom.rejected',
|
|
163
|
+
titles: getTranslatedTitles('aggs.draft.rejected'),
|
|
164
|
+
type: FieldTypes.checkbox,
|
|
165
|
+
},
|
|
166
|
+
};
|
|
167
|
+
export const getSearchDocumentDraftsAggs = () => [
|
|
168
|
+
{
|
|
169
|
+
titles: getTranslatedTitles('aggs.draft.stage'),
|
|
170
|
+
fieldId: 'custom.stage',
|
|
171
|
+
fieldType: FieldTypes.text,
|
|
172
|
+
type: AggregationType.term,
|
|
173
|
+
orderBy: 'count',
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
titles: getTranslatedTitles('aggs.draft.documentType'),
|
|
177
|
+
fieldId: 'doc.documentType',
|
|
178
|
+
fieldType: FieldTypes.text,
|
|
179
|
+
type: AggregationType.term,
|
|
180
|
+
orderBy: 'count',
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
titles: getTranslatedTitles('type'),
|
|
184
|
+
fieldId: 'doc.subtype',
|
|
185
|
+
fieldType: FieldTypes.text,
|
|
186
|
+
type: AggregationType.term,
|
|
187
|
+
orderBy: 'count',
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
titles: getTranslatedTitles('aggs.draft.rejected'),
|
|
191
|
+
fieldId: 'custom.rejected',
|
|
192
|
+
fieldType: FieldTypes.checkbox,
|
|
193
|
+
type: AggregationType.term,
|
|
194
|
+
orderBy: 'count',
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
titles: getTranslatedTitles('aggs.draft.validationRules'),
|
|
198
|
+
fieldId: 'custom.validationRulesStatus',
|
|
199
|
+
fieldType: FieldTypes.text,
|
|
200
|
+
type: AggregationType.term,
|
|
201
|
+
orderBy: 'count',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
titles: getTranslatedTitles('aggs.creationDate'),
|
|
205
|
+
fieldId: 'doc.createdAt',
|
|
206
|
+
step: 1,
|
|
207
|
+
type: AggregationType.range,
|
|
208
|
+
ranges: [
|
|
209
|
+
{
|
|
210
|
+
start: getTime(parseISO('2015-01-01')),
|
|
211
|
+
end: getTime(setSeconds(setMinutes(setHours(new UTCDate(), 23), 59), 59)),
|
|
212
|
+
},
|
|
213
|
+
],
|
|
214
|
+
},
|
|
215
|
+
];
|
|
216
|
+
export const SEARCH_DOC_DRAFT_FULL_TEXT_FIELDS = [
|
|
217
|
+
() => 'doc.id',
|
|
218
|
+
() => 'doc.reference',
|
|
219
|
+
() => 'doc.tags',
|
|
220
|
+
() => 'doc.lines.associations.tags',
|
|
221
|
+
() => 'doc.tags',
|
|
222
|
+
() => 'doc.associations.tags',
|
|
223
|
+
() => 'doc.organizationSummary.name',
|
|
224
|
+
() => 'doc.organizationSummary.id',
|
|
225
|
+
() => 'doc.organizationSummary.code',
|
|
226
|
+
() => 'doc.organizationSummary.vatNumber',
|
|
227
|
+
];
|
|
228
|
+
export const SEARCH_DOC_DRAFTS_MAPPINGS = {
|
|
229
|
+
name: 'document_drafts',
|
|
230
|
+
nestedEsPaths: [],
|
|
231
|
+
fields: {
|
|
232
|
+
...DOC_DRAFT_MAPPING_FIELDS,
|
|
233
|
+
},
|
|
234
|
+
};
|
|
235
|
+
export const SEARCH_DOC_DRAFTS_DEFINITION = {
|
|
236
|
+
fields: {
|
|
237
|
+
...DOC_DRAFT_DEFINITION_FIELDS,
|
|
238
|
+
},
|
|
239
|
+
};
|
|
240
|
+
//# sourceMappingURL=search.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAStE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,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4B,GAAqB;IAC5D,MAAM,EAAE;QACN,GAAG,2BAA2B;KAC/B;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bank-accounts.js","sourceRoot":"","sources":["bank-accounts.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"booking.js","sourceRoot":"","sources":["booking.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export var DocumentCategoryVisibility;
|
|
2
|
+
(function (DocumentCategoryVisibility) {
|
|
3
|
+
DocumentCategoryVisibility["Standard"] = "standard";
|
|
4
|
+
DocumentCategoryVisibility["Private"] = "private";
|
|
5
|
+
})(DocumentCategoryVisibility || (DocumentCategoryVisibility = {}));
|
|
6
|
+
export var DocumentCategoryType;
|
|
7
|
+
(function (DocumentCategoryType) {
|
|
8
|
+
DocumentCategoryType["Administrative"] = "administrative";
|
|
9
|
+
DocumentCategoryType["Finance"] = "finance";
|
|
10
|
+
})(DocumentCategoryType || (DocumentCategoryType = {}));
|
|
11
|
+
//# sourceMappingURL=document-categories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-categories.js","sourceRoot":"","sources":["document-categories.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,mDAAqB,CAAA;IACrB,iDAAmB,CAAA;AACrB,CAAC,EAHW,0BAA0B,KAA1B,0BAA0B,QAGrC;AAED,MAAM,CAAN,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,yDAAiC,CAAA;IACjC,2CAAmB,CAAA;AACrB,CAAC,EAHW,oBAAoB,KAApB,oBAAoB,QAG/B"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export var FinanceDocType;
|
|
2
|
+
(function (FinanceDocType) {
|
|
3
|
+
FinanceDocType["Sale"] = "Sale Finance";
|
|
4
|
+
FinanceDocType["Purchase"] = "Purchase Finance";
|
|
5
|
+
})(FinanceDocType || (FinanceDocType = {}));
|
|
6
|
+
export var DraftProcessStatus;
|
|
7
|
+
(function (DraftProcessStatus) {
|
|
8
|
+
DraftProcessStatus["Prefill"] = "Prefill";
|
|
9
|
+
DraftProcessStatus["Unprocessed"] = "Unprocessed";
|
|
10
|
+
DraftProcessStatus["Processed"] = "Processed";
|
|
11
|
+
DraftProcessStatus["BusinessValid"] = "BusinessValid";
|
|
12
|
+
DraftProcessStatus["AccountingValid"] = "AccountingValid";
|
|
13
|
+
DraftProcessStatus["Completed"] = "Completed";
|
|
14
|
+
})(DraftProcessStatus || (DraftProcessStatus = {}));
|
|
15
|
+
export var DraftProcessStage;
|
|
16
|
+
(function (DraftProcessStage) {
|
|
17
|
+
DraftProcessStage["AIProcessing"] = "aiProcessing";
|
|
18
|
+
DraftProcessStage["Processing"] = "processing";
|
|
19
|
+
DraftProcessStage["BusinessValidation"] = "businessValidation";
|
|
20
|
+
DraftProcessStage["AccountingValidation"] = "accountingValidation";
|
|
21
|
+
DraftProcessStage["DocumentCreation"] = "documentCreation";
|
|
22
|
+
DraftProcessStage["Edit"] = "edit";
|
|
23
|
+
})(DraftProcessStage || (DraftProcessStage = {}));
|
|
24
|
+
export var DocumentType;
|
|
25
|
+
(function (DocumentType) {
|
|
26
|
+
DocumentType["Finance"] = "Finance Document";
|
|
27
|
+
DocumentType["Administrative"] = "Administrative Document";
|
|
28
|
+
})(DocumentType || (DocumentType = {}));
|
|
29
|
+
export var DraftActions;
|
|
30
|
+
(function (DraftActions) {
|
|
31
|
+
DraftActions["Delete"] = "delete";
|
|
32
|
+
DraftActions["Validate"] = "validate";
|
|
33
|
+
DraftActions["Reject"] = "reject";
|
|
34
|
+
DraftActions["SaveChanges"] = "save_changes";
|
|
35
|
+
DraftActions["Submit"] = "submit";
|
|
36
|
+
DraftActions["ValidateBusinessRules"] = "validate_business_rules";
|
|
37
|
+
DraftActions["ValidateAccountingRules"] = "validate_accounting_rules";
|
|
38
|
+
})(DraftActions || (DraftActions = {}));
|
|
39
|
+
export const isFinanceDocumentV2 = (arg) => {
|
|
40
|
+
return arg.version == 2;
|
|
41
|
+
};
|
|
42
|
+
export const isFinanceDocumentV1 = (arg) => {
|
|
43
|
+
return arg.version == null;
|
|
44
|
+
};
|
|
45
|
+
export const isFinanceDocument = (arg) => {
|
|
46
|
+
return ['Sale Finance', 'Purchase Finance'].includes(arg.type);
|
|
47
|
+
};
|
|
48
|
+
export const isAdministrativeDocumentDraft = (draft) => draft.documentType === DocumentType.Administrative;
|
|
49
|
+
export const isFinanceDocumentDraft = (arg) => {
|
|
50
|
+
return arg.documentType === DocumentType.Finance;
|
|
51
|
+
};
|
|
52
|
+
export var FinanceDocumentSubtype;
|
|
53
|
+
(function (FinanceDocumentSubtype) {
|
|
54
|
+
FinanceDocumentSubtype["Invoice"] = "Invoice";
|
|
55
|
+
FinanceDocumentSubtype["CreditNote"] = "Credit Note";
|
|
56
|
+
FinanceDocumentSubtype["Proforma"] = "Proforma";
|
|
57
|
+
FinanceDocumentSubtype["PurchaseOrder"] = "Purchase Order";
|
|
58
|
+
})(FinanceDocumentSubtype || (FinanceDocumentSubtype = {}));
|
|
59
|
+
export var FinanceDocumentActions;
|
|
60
|
+
(function (FinanceDocumentActions) {
|
|
61
|
+
FinanceDocumentActions["PAY_FINANCE_DOCUMENT"] = "pay_finance_document";
|
|
62
|
+
FinanceDocumentActions["DELETE_FINANCE_DOCUMENT"] = "delete_finance_document";
|
|
63
|
+
})(FinanceDocumentActions || (FinanceDocumentActions = {}));
|
|
64
|
+
export var AdministrativeDocumentActions;
|
|
65
|
+
(function (AdministrativeDocumentActions) {
|
|
66
|
+
AdministrativeDocumentActions["DELETE_ADMINISTRATIVE_DOCUMENT"] = "delete_finance_document";
|
|
67
|
+
})(AdministrativeDocumentActions || (AdministrativeDocumentActions = {}));
|
|
68
|
+
//# sourceMappingURL=documents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":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AC,OAAO,IAAI,IAAI,CAAC;AACpD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,GAAgG,EACxE,EAAE;IAC1B,OAAO,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAAC,QAAQ,CAAE,GAAuB,CAAC,IAAI,CAAC,CAAC;AACtF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAC3C,KAAuC,EACoD,EAAE,CAC7F,KAAK,CAAC,YAAY,KAAK,YAAY,CAAC,cAAc,CAAC;AAErD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,GAAqC,EAC0C,EAAE;IACjF,OAAO,GAAG,CAAC,YAAY,KAAK,YAAY,CAAC,OAAO,CAAC;AACnD,CAAC,CAAC;AAwEF,MAAM,CAAN,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,oDAA0B,CAAA;IAC1B,+CAAqB,CAAA;IACrB,0DAAgC,CAAA;AAClC,CAAC,EALW,sBAAsB,KAAtB,sBAAsB,QAKjC;AAED,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,uEAA6C,CAAA;IAC7C,6EAAmD,CAAA;AACrD,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC;AAED,MAAM,CAAN,IAAY,6BAEX;AAFD,WAAY,6BAA6B;IACvC,2FAA0D,CAAA;AAC5D,CAAC,EAFW,6BAA6B,KAA7B,6BAA6B,QAExC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacy.js","sourceRoot":"","sources":["legacy.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export var ValidationRuleType;
|
|
2
|
+
(function (ValidationRuleType) {
|
|
3
|
+
ValidationRuleType["AlwaysBlock"] = "always-block-rule";
|
|
4
|
+
ValidationRuleType["CommissionCost"] = "commission-cost-rule";
|
|
5
|
+
ValidationRuleType["GarageCostExternal"] = "garage-cost-external-rule";
|
|
6
|
+
ValidationRuleType["GarageCostInternal"] = "garage-cost-internal-rule";
|
|
7
|
+
ValidationRuleType["MaxAmount"] = "max-amount-rule";
|
|
8
|
+
ValidationRuleType["MaxAmountSupplier"] = "max-amount-supplier-rule";
|
|
9
|
+
ValidationRuleType["PurchasePrice"] = "purchase-price-rule";
|
|
10
|
+
ValidationRuleType["RecurrentVehicleInvoice"] = "recurrent-vehicle-invoice-rule";
|
|
11
|
+
ValidationRuleType["RemarksBlock"] = "remarks-block-rule";
|
|
12
|
+
ValidationRuleType["TransportCostExternal"] = "transport-cost-external-rule";
|
|
13
|
+
ValidationRuleType["TransportCostInternal"] = "transport-cost-internal-rule";
|
|
14
|
+
})(ValidationRuleType || (ValidationRuleType = {}));
|
|
15
|
+
//# sourceMappingURL=rules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rules.js","sourceRoot":"","sources":["rules.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,kBAYX;AAZD,WAAY,kBAAkB;IAC5B,uDAAiC,CAAA;IACjC,6DAAuC,CAAA;IACvC,sEAAgD,CAAA;IAChD,sEAAgD,CAAA;IAChD,mDAA6B,CAAA;IAC7B,oEAA8C,CAAA;IAC9C,2DAAqC,CAAA;IACrC,gFAA0D,CAAA;IAC1D,yDAAmC,CAAA;IACnC,4EAAsD,CAAA;IACtD,4EAAsD,CAAA;AACxD,CAAC,EAZW,kBAAkB,KAAlB,kBAAkB,QAY7B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export var FinanceDocumentSource;
|
|
2
|
+
(function (FinanceDocumentSource) {
|
|
3
|
+
FinanceDocumentSource["HyperDMS"] = "HyperDMS";
|
|
4
|
+
FinanceDocumentSource["Bisondesk"] = "Bisondesk";
|
|
5
|
+
})(FinanceDocumentSource || (FinanceDocumentSource = {}));
|
|
6
|
+
export var AutoValidatedInfo;
|
|
7
|
+
(function (AutoValidatedInfo) {
|
|
8
|
+
AutoValidatedInfo["Business"] = "business";
|
|
9
|
+
AutoValidatedInfo["Accounting"] = "accounting";
|
|
10
|
+
AutoValidatedInfo["None"] = "none";
|
|
11
|
+
AutoValidatedInfo["All"] = "all";
|
|
12
|
+
})(AutoValidatedInfo || (AutoValidatedInfo = {}));
|
|
13
|
+
//# sourceMappingURL=search.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["search.ts"],"names":[],"mappings":"AAkCA,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,8CAAqB,CAAA;IACrB,gDAAuB,CAAA;AACzB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC;AAED,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,0CAAqB,CAAA;IACrB,8CAAyB,CAAA;IACzB,kCAAa,CAAA;IACb,gCAAW,CAAA;AACb,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B"}
|
package/src/types/vat.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vat.js","sourceRoot":"","sources":["vat.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previews.js","sourceRoot":"","sources":["previews.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,OAAe,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC"}
|