@bisondesk/exact-sdk 1.0.333
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/lib/apis/purchase.d.ts +5 -0
- package/lib/apis/purchase.d.ts.map +1 -0
- package/lib/apis/purchase.js +17 -0
- package/lib/apis/purchase.js.map +1 -0
- package/lib/apis/utils.d.ts +6 -0
- package/lib/apis/utils.d.ts.map +1 -0
- package/lib/apis/utils.js +8 -0
- package/lib/apis/utils.js.map +1 -0
- package/lib/constants.d.ts +2 -0
- package/lib/constants.d.ts.map +1 -0
- package/lib/constants.js +2 -0
- package/lib/constants.js.map +1 -0
- package/lib/types/accounts.d.ts +6 -0
- package/lib/types/accounts.d.ts.map +1 -0
- package/lib/types/accounts.js +2 -0
- package/lib/types/accounts.js.map +1 -0
- package/lib/types/crm.d.ts +14 -0
- package/lib/types/crm.d.ts.map +1 -0
- package/lib/types/crm.js +2 -0
- package/lib/types/crm.js.map +1 -0
- package/lib/types/journals.d.ts +15 -0
- package/lib/types/journals.d.ts.map +1 -0
- package/lib/types/journals.js +2 -0
- package/lib/types/journals.js.map +1 -0
- package/lib/types/purchase.d.ts +43 -0
- package/lib/types/purchase.d.ts.map +1 -0
- package/lib/types/purchase.js +6 -0
- package/lib/types/purchase.js.map +1 -0
- package/lib/types/sales.d.ts +34 -0
- package/lib/types/sales.d.ts.map +1 -0
- package/lib/types/sales.js +2 -0
- package/lib/types/sales.js.map +1 -0
- package/package.json +31 -0
- package/src/apis/purchase.ts +23 -0
- package/src/apis/utils.ts +12 -0
- package/src/constants.ts +1 -0
- package/src/types/accounts.ts +5 -0
- package/src/types/crm.ts +16 -0
- package/src/types/journals.ts +15 -0
- package/src/types/purchase.ts +52 -0
- package/src/types/sales.ts +43 -0
- package/tsconfig.deploy.json +5 -0
- package/tsconfig.deploy.tsbuildinfo +1 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"purchase.d.ts","sourceRoot":"/","sources":["apis/purchase.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAEvE,eAAO,MAAM,mBAAmB,aACpB,MAAM,SACT,gBAAgB,SAChB;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,KAC3B,QAAQ,aAAa,CAcvB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SERVICE_ID_ADMIN_HEADER, TENANT_ID_ADMIN_HEADER } from '@bisondesk/commons-sdk/constants';
|
|
2
|
+
import { cleanHeaders, fetchJson, getAdminAuth } from '@bisondesk/commons-sdk/fetch';
|
|
3
|
+
export const createPurchaseEntry = async (tenantId, entry, opts) => {
|
|
4
|
+
const auth = await getAdminAuth();
|
|
5
|
+
const res = await fetchJson(`${process.env.EXACT_API_ORIGIN}/api/exact/purchase`, {
|
|
6
|
+
method: 'POST',
|
|
7
|
+
headers: cleanHeaders({
|
|
8
|
+
Authorization: auth,
|
|
9
|
+
[TENANT_ID_ADMIN_HEADER]: tenantId,
|
|
10
|
+
[SERVICE_ID_ADMIN_HEADER]: opts?.serviceId,
|
|
11
|
+
'Content-Type': 'application/json',
|
|
12
|
+
}),
|
|
13
|
+
body: JSON.stringify(entry),
|
|
14
|
+
});
|
|
15
|
+
return res;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=purchase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"purchase.js","sourceRoot":"/","sources":["apis/purchase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AACnG,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAGrF,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,EACtC,QAAgB,EAChB,KAAuB,EACvB,IAA4B,EACJ,EAAE;IAC1B,MAAM,IAAI,GAAG,MAAM,YAAY,EAAE,CAAC;IAClC,MAAM,GAAG,GAAG,MAAM,SAAS,CAAgB,GAAG,OAAO,CAAC,GAAG,CAAC,gBAAgB,qBAAqB,EAAE;QAC/F,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,YAAY,CAAC;YACpB,aAAa,EAAE,IAAI;YACnB,CAAC,sBAAsB,CAAC,EAAE,QAAQ;YAClC,CAAC,uBAAuB,CAAC,EAAE,IAAI,EAAE,SAAS;YAC1C,cAAc,EAAE,kBAAkB;SACnC,CAAC;QACF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;KAC5B,CAAC,CAAC;IAEH,OAAO,GAAoB,CAAC;AAC9B,CAAC,CAAC","sourcesContent":["import { SERVICE_ID_ADMIN_HEADER, TENANT_ID_ADMIN_HEADER } from '@bisondesk/commons-sdk/constants';\nimport { cleanHeaders, fetchJson, getAdminAuth } from '@bisondesk/commons-sdk/fetch';\nimport { NewPurchaseEntry, PurchaseEntry } from '../types/purchase.js';\n\nexport const createPurchaseEntry = async (\n tenantId: string,\n entry: NewPurchaseEntry,\n opts?: { serviceId: string }\n): Promise<PurchaseEntry> => {\n const auth = await getAdminAuth();\n const res = await fetchJson<PurchaseEntry>(`${process.env.EXACT_API_ORIGIN}/api/exact/purchase`, {\n method: 'POST',\n headers: cleanHeaders({\n Authorization: auth,\n [TENANT_ID_ADMIN_HEADER]: tenantId,\n [SERVICE_ID_ADMIN_HEADER]: opts?.serviceId,\n 'Content-Type': 'application/json',\n }),\n body: JSON.stringify(entry),\n });\n\n return res as PurchaseEntry;\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"/","sources":["apis/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,eAAO,MAAM,YAAY,QAAa,QAAQ,MAAM,CAMnD,CAAC;AAEF,eAAO,MAAM,YAAY;;MAAqD,WACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export const getAdminAuth = async () => {
|
|
2
|
+
if (!process.env.ADMIN_KEY) {
|
|
3
|
+
return '';
|
|
4
|
+
}
|
|
5
|
+
return `AdminKey ${process.env.ADMIN_KEY}`;
|
|
6
|
+
};
|
|
7
|
+
export const cleanHeaders = (headers) => Object.entries(headers).filter((h) => h[1] != null);
|
|
8
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"/","sources":["apis/utils.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG,KAAK,IAAqB,EAAE;IACtD,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,CAAC;QAC3B,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO,YAAY,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,OAA8C,EAAe,EAAE,CAC1F,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAyB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC","sourcesContent":["import type { HeadersInit } from 'node-fetch';\n\nexport const getAdminAuth = async (): Promise<string> => {\n if (!process.env.ADMIN_KEY) {\n return '';\n }\n\n return `AdminKey ${process.env.ADMIN_KEY}`;\n};\n\nexport const cleanHeaders = (headers: { [key: string]: string | undefined }): HeadersInit =>\n Object.entries(headers).filter((h): h is [string, string] => h[1] != null);\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"/","sources":["constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,OAAO,CAAC"}
|
package/lib/constants.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"/","sources":["constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,CAAC","sourcesContent":["export const DEFAULT_JOURNAL_CODE = '72';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.d.ts","sourceRoot":"/","sources":["types/accounts.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.js","sourceRoot":"/","sources":["types/accounts.ts"],"names":[],"mappings":"","sourcesContent":["export type GlAccount = {\n id: string;\n code: number;\n description: string;\n};\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type EntryOrg = {
|
|
2
|
+
id: string;
|
|
3
|
+
code: number;
|
|
4
|
+
country: string;
|
|
5
|
+
vatNumber?: string;
|
|
6
|
+
};
|
|
7
|
+
export type EntryContact = {
|
|
8
|
+
id: string;
|
|
9
|
+
firstName?: string;
|
|
10
|
+
lastName: string;
|
|
11
|
+
email?: string;
|
|
12
|
+
phone?: string;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=crm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crm.d.ts","sourceRoot":"/","sources":["types/crm.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IAEjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
package/lib/types/crm.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crm.js","sourceRoot":"/","sources":["types/crm.ts"],"names":[],"mappings":"","sourcesContent":["export type EntryOrg = {\n id: string; // bisndesk id\n code: number;\n country: string;\n vatNumber?: string;\n};\n\nexport type EntryContact = {\n id: string; // bisndesk id\n\n firstName?: string;\n lastName: string;\n\n email?: string;\n phone?: string;\n};\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type ReportingPeriod = {
|
|
2
|
+
year: string;
|
|
3
|
+
period: string;
|
|
4
|
+
status: 'Open' | 'Closed';
|
|
5
|
+
};
|
|
6
|
+
export type Journal = {
|
|
7
|
+
code: string;
|
|
8
|
+
type: string;
|
|
9
|
+
glAccountCode: string;
|
|
10
|
+
glAccountDescription: string;
|
|
11
|
+
description: string;
|
|
12
|
+
reportingPeriods: ReportingPeriod[];
|
|
13
|
+
};
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=journals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"journals.d.ts","sourceRoot":"/","sources":["types/journals.ts"],"names":[],"mappings":"AAAA,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IAEpB,gBAAgB,EAAE,eAAe,EAAE,CAAC;CACrC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"journals.js","sourceRoot":"/","sources":["types/journals.ts"],"names":[],"mappings":"","sourcesContent":["type ReportingPeriod = {\n year: string;\n period: string;\n status: 'Open' | 'Closed';\n};\n\nexport type Journal = {\n code: string;\n type: string;\n glAccountCode: string;\n glAccountDescription: string;\n description: string;\n\n reportingPeriods: ReportingPeriod[];\n};\n"]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AttachmentValue } from '@bisondesk/commons-sdk/types';
|
|
2
|
+
import { EntryOrg } from './crm.js';
|
|
3
|
+
type BasePurchaseEntryLine = {
|
|
4
|
+
description: string;
|
|
5
|
+
quantity: number;
|
|
6
|
+
lineAmountExclVat: string;
|
|
7
|
+
glAccount: string;
|
|
8
|
+
vatCode: string;
|
|
9
|
+
costCenter?: string;
|
|
10
|
+
};
|
|
11
|
+
export type NewPurchaseEntryLine = BasePurchaseEntryLine & {};
|
|
12
|
+
export type PurchaseEntryLine = BasePurchaseEntryLine & {
|
|
13
|
+
vatPercentage: string;
|
|
14
|
+
};
|
|
15
|
+
export declare enum PurchaseEntryType {
|
|
16
|
+
INVOICE = "Invoice",
|
|
17
|
+
CREDIT_NOTE = "Credit Note"
|
|
18
|
+
}
|
|
19
|
+
type BasePurchaseEntry = {
|
|
20
|
+
branchId: string;
|
|
21
|
+
description: string;
|
|
22
|
+
attachment?: AttachmentValue;
|
|
23
|
+
invoiceNumber: string;
|
|
24
|
+
issueDate: string;
|
|
25
|
+
dueDate?: string;
|
|
26
|
+
journal: string;
|
|
27
|
+
subtype: PurchaseEntryType;
|
|
28
|
+
reportingPeriod?: number;
|
|
29
|
+
reportingYear?: number;
|
|
30
|
+
supplier: EntryOrg;
|
|
31
|
+
};
|
|
32
|
+
export type NewPurchaseEntry = BasePurchaseEntry & {
|
|
33
|
+
lines: NewPurchaseEntryLine[];
|
|
34
|
+
};
|
|
35
|
+
export type PurchaseEntry = BasePurchaseEntry & {
|
|
36
|
+
id: string;
|
|
37
|
+
bookingNumber: number;
|
|
38
|
+
lines: PurchaseEntryLine[];
|
|
39
|
+
totalAmount: string;
|
|
40
|
+
vatAmount: string;
|
|
41
|
+
};
|
|
42
|
+
export {};
|
|
43
|
+
//# sourceMappingURL=purchase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"purchase.d.ts","sourceRoot":"/","sources":["types/purchase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,KAAK,qBAAqB,GAAG;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IAEjB,iBAAiB,EAAE,MAAM,CAAC;IAE1B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,GAAG,EAAE,CAAC;AAE9D,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,GAAG;IACtD,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,WAAW,gBAAgB;CAC5B;AAED,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,eAAe,CAAC;IAE7B,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,QAAQ,EAAE,QAAQ,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,GAAG;IACjD,KAAK,EAAE,oBAAoB,EAAE,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAAG;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"purchase.js","sourceRoot":"/","sources":["types/purchase.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAN,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,wCAAmB,CAAA;IACnB,gDAA2B,CAAA;AAC7B,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,QAG5B","sourcesContent":["import { AttachmentValue } from '@bisondesk/commons-sdk/types';\nimport { EntryOrg } from './crm.js';\n\ntype BasePurchaseEntryLine = {\n description: string;\n quantity: number;\n\n lineAmountExclVat: string;\n\n glAccount: string;\n vatCode: string;\n costCenter?: string;\n};\n\nexport type NewPurchaseEntryLine = BasePurchaseEntryLine & {};\n\nexport type PurchaseEntryLine = BasePurchaseEntryLine & {\n vatPercentage: string;\n};\n\nexport enum PurchaseEntryType {\n INVOICE = 'Invoice',\n CREDIT_NOTE = 'Credit Note',\n}\n\ntype BasePurchaseEntry = {\n branchId: string;\n description: string;\n attachment?: AttachmentValue;\n\n invoiceNumber: string;\n issueDate: string;\n dueDate?: string;\n journal: string;\n subtype: PurchaseEntryType;\n reportingPeriod?: number;\n reportingYear?: number;\n\n supplier: EntryOrg;\n};\n\nexport type NewPurchaseEntry = BasePurchaseEntry & {\n lines: NewPurchaseEntryLine[];\n};\n\nexport type PurchaseEntry = BasePurchaseEntry & {\n id: string;\n bookingNumber: number;\n lines: PurchaseEntryLine[];\n totalAmount: string;\n vatAmount: string;\n};\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AttachmentValue } from '@bisondesk/commons-sdk/types';
|
|
2
|
+
import { EntryContact, EntryOrg } from './crm.js';
|
|
3
|
+
export type SalesEntryLine = {
|
|
4
|
+
id: string;
|
|
5
|
+
nr: number;
|
|
6
|
+
description: string;
|
|
7
|
+
quantity: number;
|
|
8
|
+
glAccountCode: string;
|
|
9
|
+
glAccountId: string;
|
|
10
|
+
lineAmount: string;
|
|
11
|
+
vatAmount: string;
|
|
12
|
+
vatCode: string;
|
|
13
|
+
vatPercentage: string;
|
|
14
|
+
};
|
|
15
|
+
export type SalesEntry = {
|
|
16
|
+
id: string;
|
|
17
|
+
branchId: string;
|
|
18
|
+
createdAt: string;
|
|
19
|
+
description: string;
|
|
20
|
+
attachment?: AttachmentValue;
|
|
21
|
+
bookingNumber: string;
|
|
22
|
+
invoiceNumber: string;
|
|
23
|
+
issueDate: string;
|
|
24
|
+
journal: string;
|
|
25
|
+
subtype: 'Invoice' | 'Credit Note';
|
|
26
|
+
reportingPeriod: number;
|
|
27
|
+
reportingYear: number;
|
|
28
|
+
totalAmount: string;
|
|
29
|
+
vatAmount: string;
|
|
30
|
+
lines: SalesEntryLine[];
|
|
31
|
+
customer: EntryOrg;
|
|
32
|
+
contact?: EntryContact;
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=sales.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sales.d.ts","sourceRoot":"/","sources":["types/sales.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAElD,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IAEX,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IAEjB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,CAAC,EAAE,eAAe,CAAC;IAE7B,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,SAAS,GAAG,aAAa,CAAC;IACnC,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,cAAc,EAAE,CAAC;IAExB,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sales.js","sourceRoot":"/","sources":["types/sales.ts"],"names":[],"mappings":"","sourcesContent":["import { AttachmentValue } from '@bisondesk/commons-sdk/types';\nimport { EntryContact, EntryOrg } from './crm.js';\n\nexport type SalesEntryLine = {\n id: string;\n nr: number;\n\n description: string;\n quantity: number;\n\n glAccountCode: string;\n glAccountId: string;\n\n lineAmount: string;\n vatAmount: string;\n vatCode: string;\n vatPercentage: string;\n};\n\nexport type SalesEntry = {\n id: string;\n branchId: string;\n createdAt: string;\n description: string;\n\n attachment?: AttachmentValue;\n\n bookingNumber: string;\n invoiceNumber: string;\n issueDate: string;\n journal: string;\n subtype: 'Invoice' | 'Credit Note';\n reportingPeriod: number;\n reportingYear: number;\n\n totalAmount: string;\n vatAmount: string;\n\n lines: SalesEntryLine[];\n\n customer: EntryOrg;\n contact?: EntryContact;\n};\n"]}
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bisondesk/exact-sdk",
|
|
3
|
+
"version": "1.0.333",
|
|
4
|
+
"description": "",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "npx tsc --build tsconfig.deploy.json",
|
|
8
|
+
"clean": "rm -rf lib *.tsbuildinfo",
|
|
9
|
+
"unittest": "echo \"No test specified\"",
|
|
10
|
+
"integrationtest": "echo \"No test specified\""
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@bisondesk/commons-sdk": "*"
|
|
14
|
+
},
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"typescript": "5.3.3"
|
|
17
|
+
},
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"node-fetch": "3.3.2"
|
|
20
|
+
},
|
|
21
|
+
"typesVersions": {
|
|
22
|
+
"*": {
|
|
23
|
+
"*": [
|
|
24
|
+
"lib/*.d.ts"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"exports": {
|
|
29
|
+
"./*": "./lib/*.js"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SERVICE_ID_ADMIN_HEADER, TENANT_ID_ADMIN_HEADER } from '@bisondesk/commons-sdk/constants';
|
|
2
|
+
import { cleanHeaders, fetchJson, getAdminAuth } from '@bisondesk/commons-sdk/fetch';
|
|
3
|
+
import { NewPurchaseEntry, PurchaseEntry } from '../types/purchase.js';
|
|
4
|
+
|
|
5
|
+
export const createPurchaseEntry = async (
|
|
6
|
+
tenantId: string,
|
|
7
|
+
entry: NewPurchaseEntry,
|
|
8
|
+
opts?: { serviceId: string }
|
|
9
|
+
): Promise<PurchaseEntry> => {
|
|
10
|
+
const auth = await getAdminAuth();
|
|
11
|
+
const res = await fetchJson<PurchaseEntry>(`${process.env.EXACT_API_ORIGIN}/api/exact/purchase`, {
|
|
12
|
+
method: 'POST',
|
|
13
|
+
headers: cleanHeaders({
|
|
14
|
+
Authorization: auth,
|
|
15
|
+
[TENANT_ID_ADMIN_HEADER]: tenantId,
|
|
16
|
+
[SERVICE_ID_ADMIN_HEADER]: opts?.serviceId,
|
|
17
|
+
'Content-Type': 'application/json',
|
|
18
|
+
}),
|
|
19
|
+
body: JSON.stringify(entry),
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
return res as PurchaseEntry;
|
|
23
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { HeadersInit } from 'node-fetch';
|
|
2
|
+
|
|
3
|
+
export const getAdminAuth = async (): Promise<string> => {
|
|
4
|
+
if (!process.env.ADMIN_KEY) {
|
|
5
|
+
return '';
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
return `AdminKey ${process.env.ADMIN_KEY}`;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export const cleanHeaders = (headers: { [key: string]: string | undefined }): HeadersInit =>
|
|
12
|
+
Object.entries(headers).filter((h): h is [string, string] => h[1] != null);
|
package/src/constants.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const DEFAULT_JOURNAL_CODE = '72';
|
package/src/types/crm.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type EntryOrg = {
|
|
2
|
+
id: string; // bisndesk id
|
|
3
|
+
code: number;
|
|
4
|
+
country: string;
|
|
5
|
+
vatNumber?: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export type EntryContact = {
|
|
9
|
+
id: string; // bisndesk id
|
|
10
|
+
|
|
11
|
+
firstName?: string;
|
|
12
|
+
lastName: string;
|
|
13
|
+
|
|
14
|
+
email?: string;
|
|
15
|
+
phone?: string;
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type ReportingPeriod = {
|
|
2
|
+
year: string;
|
|
3
|
+
period: string;
|
|
4
|
+
status: 'Open' | 'Closed';
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export type Journal = {
|
|
8
|
+
code: string;
|
|
9
|
+
type: string;
|
|
10
|
+
glAccountCode: string;
|
|
11
|
+
glAccountDescription: string;
|
|
12
|
+
description: string;
|
|
13
|
+
|
|
14
|
+
reportingPeriods: ReportingPeriod[];
|
|
15
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { AttachmentValue } from '@bisondesk/commons-sdk/types';
|
|
2
|
+
import { EntryOrg } from './crm.js';
|
|
3
|
+
|
|
4
|
+
type BasePurchaseEntryLine = {
|
|
5
|
+
description: string;
|
|
6
|
+
quantity: number;
|
|
7
|
+
|
|
8
|
+
lineAmountExclVat: string;
|
|
9
|
+
|
|
10
|
+
glAccount: string;
|
|
11
|
+
vatCode: string;
|
|
12
|
+
costCenter?: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export type NewPurchaseEntryLine = BasePurchaseEntryLine & {};
|
|
16
|
+
|
|
17
|
+
export type PurchaseEntryLine = BasePurchaseEntryLine & {
|
|
18
|
+
vatPercentage: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export enum PurchaseEntryType {
|
|
22
|
+
INVOICE = 'Invoice',
|
|
23
|
+
CREDIT_NOTE = 'Credit Note',
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
type BasePurchaseEntry = {
|
|
27
|
+
branchId: string;
|
|
28
|
+
description: string;
|
|
29
|
+
attachment?: AttachmentValue;
|
|
30
|
+
|
|
31
|
+
invoiceNumber: string;
|
|
32
|
+
issueDate: string;
|
|
33
|
+
dueDate?: string;
|
|
34
|
+
journal: string;
|
|
35
|
+
subtype: PurchaseEntryType;
|
|
36
|
+
reportingPeriod?: number;
|
|
37
|
+
reportingYear?: number;
|
|
38
|
+
|
|
39
|
+
supplier: EntryOrg;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export type NewPurchaseEntry = BasePurchaseEntry & {
|
|
43
|
+
lines: NewPurchaseEntryLine[];
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export type PurchaseEntry = BasePurchaseEntry & {
|
|
47
|
+
id: string;
|
|
48
|
+
bookingNumber: number;
|
|
49
|
+
lines: PurchaseEntryLine[];
|
|
50
|
+
totalAmount: string;
|
|
51
|
+
vatAmount: string;
|
|
52
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AttachmentValue } from '@bisondesk/commons-sdk/types';
|
|
2
|
+
import { EntryContact, EntryOrg } from './crm.js';
|
|
3
|
+
|
|
4
|
+
export type SalesEntryLine = {
|
|
5
|
+
id: string;
|
|
6
|
+
nr: number;
|
|
7
|
+
|
|
8
|
+
description: string;
|
|
9
|
+
quantity: number;
|
|
10
|
+
|
|
11
|
+
glAccountCode: string;
|
|
12
|
+
glAccountId: string;
|
|
13
|
+
|
|
14
|
+
lineAmount: string;
|
|
15
|
+
vatAmount: string;
|
|
16
|
+
vatCode: string;
|
|
17
|
+
vatPercentage: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type SalesEntry = {
|
|
21
|
+
id: string;
|
|
22
|
+
branchId: string;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
description: string;
|
|
25
|
+
|
|
26
|
+
attachment?: AttachmentValue;
|
|
27
|
+
|
|
28
|
+
bookingNumber: string;
|
|
29
|
+
invoiceNumber: string;
|
|
30
|
+
issueDate: string;
|
|
31
|
+
journal: string;
|
|
32
|
+
subtype: 'Invoice' | 'Credit Note';
|
|
33
|
+
reportingPeriod: number;
|
|
34
|
+
reportingYear: number;
|
|
35
|
+
|
|
36
|
+
totalAmount: string;
|
|
37
|
+
vatAmount: string;
|
|
38
|
+
|
|
39
|
+
lines: SalesEntryLine[];
|
|
40
|
+
|
|
41
|
+
customer: EntryOrg;
|
|
42
|
+
contact?: EntryContact;
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/tslib/tslib.d.ts","../../node_modules/tslib/modules/index.d.ts","./src/constants.ts","../commons-sdk/lib/constants.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/buffer/index.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/formdata-polyfill/esm.min.d.ts","../../node_modules/fetch-blob/file.d.ts","../../node_modules/fetch-blob/index.d.ts","../../node_modules/fetch-blob/from.d.ts","../../node_modules/node-fetch/@types/index.d.ts","../commons-sdk/lib/fetch.d.ts","../commons-sdk/lib/locations.d.ts","../commons-sdk/lib/types.d.ts","./src/types/crm.ts","./src/types/purchase.ts","./src/apis/purchase.ts","./src/apis/utils.ts","./src/types/accounts.ts","./src/types/journals.ts","./src/types/sales.ts","../../node_modules/@vitest/utils/dist/types.d.ts","../../node_modules/@vitest/utils/dist/helpers.d.ts","../../node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/@jest/schemas/build/index.d.ts","../../node_modules/pretty-format/build/index.d.ts","../../node_modules/@vitest/utils/dist/index.d.ts","../../node_modules/@vitest/runner/dist/tasks-rsxe_qlo.d.ts","../../node_modules/@vitest/utils/dist/types-widbdqe5.d.ts","../../node_modules/@vitest/utils/dist/diff.d.ts","../../node_modules/@vitest/runner/dist/types.d.ts","../../node_modules/@vitest/utils/dist/error.d.ts","../../node_modules/@vitest/runner/dist/index.d.ts","../../node_modules/@vitest/runner/dist/utils.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/rollup/dist/rollup.d.ts","../../node_modules/rollup/dist/parseast.d.ts","../../node_modules/vite/types/hmrpayload.d.ts","../../node_modules/vite/types/customevent.d.ts","../../node_modules/vite/types/hot.d.ts","../../node_modules/vite/dist/node/types.d-jga8ss1a.d.ts","../../node_modules/esbuild/lib/main.d.ts","../../node_modules/source-map-js/source-map.d.ts","../../node_modules/postcss/lib/previous-map.d.ts","../../node_modules/postcss/lib/input.d.ts","../../node_modules/postcss/lib/css-syntax-error.d.ts","../../node_modules/postcss/lib/declaration.d.ts","../../node_modules/postcss/lib/root.d.ts","../../node_modules/postcss/lib/warning.d.ts","../../node_modules/postcss/lib/lazy-result.d.ts","../../node_modules/postcss/lib/no-work-result.d.ts","../../node_modules/postcss/lib/processor.d.ts","../../node_modules/postcss/lib/result.d.ts","../../node_modules/postcss/lib/document.d.ts","../../node_modules/postcss/lib/rule.d.ts","../../node_modules/postcss/lib/node.d.ts","../../node_modules/postcss/lib/comment.d.ts","../../node_modules/postcss/lib/container.d.ts","../../node_modules/postcss/lib/at-rule.d.ts","../../node_modules/postcss/lib/list.d.ts","../../node_modules/postcss/lib/postcss.d.ts","../../node_modules/postcss/lib/postcss.d.mts","../../node_modules/vite/types/importglob.d.ts","../../node_modules/vite/types/metadata.d.ts","../../node_modules/vite/dist/node/index.d.ts","../../node_modules/vite-node/dist/trace-mapping.d-xyifztpm.d.ts","../../node_modules/vite-node/dist/index-wt31lsgs.d.ts","../../node_modules/vite-node/dist/index.d.ts","../../node_modules/@vitest/snapshot/dist/environment-1emuyggi.d.ts","../../node_modules/@vitest/snapshot/dist/index-k5cwkijb.d.ts","../../node_modules/@vitest/snapshot/dist/index.d.ts","../../node_modules/@vitest/expect/dist/chai.d.cts","../../node_modules/@vitest/expect/dist/index.d.ts","../../node_modules/@vitest/expect/index.d.ts","../../node_modules/tinybench/dist/index.d.ts","../../node_modules/vite-node/dist/client.d.ts","../../node_modules/@vitest/snapshot/dist/manager.d.ts","../../node_modules/vite-node/dist/server.d.ts","../../node_modules/vitest/dist/reporters-rzc174pq.d.ts","../../node_modules/vitest/dist/suite-mfrdkzcv.d.ts","../../node_modules/@vitest/spy/dist/index.d.ts","../../node_modules/@vitest/snapshot/dist/environment.d.ts","../../node_modules/vitest/dist/index.d.ts","../../node_modules/vitest/globals.d.ts","../../node_modules/@jest/expect-utils/build/index.d.ts","../../node_modules/chalk/index.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/expect/build/index.d.ts","../../node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"f33e5332b24c3773e930e212cbb8b6867c8ba3ec4492064ea78e55a524d57450","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"26f2f787e82c4222710f3b676b4d83eb5ad0a72fa7b746f03449e7a026ce5073","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","impliedFormat":1},{"version":"bed7b7ba0eb5a160b69af72814b4dde371968e40b6c5e73d3a9f7bee407d158c","impliedFormat":1},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0275cd0e42990dc3a16f0b7c8bca3efe87f1c8ad404f80c6db1c7c0b828c59f","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true,"impliedFormat":1},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"acae90d417bee324b1372813b5a00829d31c7eb670d299cd7f8f9a648ac05688","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true,"impliedFormat":1},{"version":"62a4966981264d1f04c44eb0f4b5bdc3d81c1a54725608861e44755aa24ad6a5","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true,"impliedFormat":1},{"version":"86a34c7a13de9cabc43161348f663624b56871ed80986e41d214932ddd8d6719","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true,"impliedFormat":1},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true,"impliedFormat":1},{"version":"4350e5922fecd4bedda2964d69c213a1436349d0b8d260dd902795f5b94dc74b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a1971efcba559ea9002ada4c4e3c925004fb67a755300d53b5edf9399354900","impliedFormat":1},{"version":"31973b272be35eab5ecf20a38ea54bec84cdc0317117590cb813c72fe0ef75b3","impliedFormat":99},{"version":"12628c81a2fe84610284f2923bab03118733739f8cf23d17efd8e3bd693f3122","signature":"15d27510dbedff4ebf04e34c06196ff14514c61a9e0ffc8d6bb74b81470e5016","impliedFormat":99},{"version":"643ccaeceac221d04c096728fc18bd9c598c8ec2856eade05d25a6b3bfe53070","impliedFormat":99},{"version":"efc7d584a33fe3422847783d228f315c4cd1afe74bd7cf8e3f0e4c1125129fef","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","impliedFormat":1},{"version":"3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","impliedFormat":1},{"version":"e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","impliedFormat":1},{"version":"471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","impliedFormat":1},{"version":"c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","impliedFormat":1},{"version":"40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","impliedFormat":1},{"version":"8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","impliedFormat":1},{"version":"4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1","impliedFormat":1},{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true,"impliedFormat":1},{"version":"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c","impliedFormat":1},{"version":"7fd7fcbf021a5845bdd9397d4649fcf2fe17152d2098140fc723099a215d19ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"16d74fe4d8e183344d3beb15d48b123c5980ff32ff0cc8c3b96614ddcdf9b239","impliedFormat":1},{"version":"7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba","impliedFormat":1},{"version":"41fb2a1c108fbf46609ce5a451b7ec78eb9b5ada95fd5b94643e4b26397de0b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"a1d2988ad9d2aef7b9915a22b5e52c165c83a878f2851c35621409046bbe3c05","affectsGlobalScope":true,"impliedFormat":1},{"version":"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","impliedFormat":1},{"version":"4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","impliedFormat":1},{"version":"8806ae97308ef26363bd7ec8071bca4d07fb575f905ee3d8a91aff226df6d618","impliedFormat":1},{"version":"af5bf1db6f1804fb0069039ae77a05d60133c77a2158d9635ea27b6bb2828a8f","impliedFormat":1},{"version":"b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e","impliedFormat":1},{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"674168aa3db414ea0a19b2a31d901b2d49705c7a495e43ffdc96928543010f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","impliedFormat":1},{"version":"313a0b063f5188037db113509de1b934a0e286f14e9479af24fada241435e707","impliedFormat":1},{"version":"afb1701fd4be413a8a5a88df6befdd4510c30a31372c07a4138facf61594c66d","impliedFormat":1},{"version":"87ef1a23caa071b07157c72077fa42b86d30568f9dc9e31eed24d5d14fc30ba8","impliedFormat":1},{"version":"396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","impliedFormat":1},{"version":"21773f5ac69ddf5a05636ba1f50b5239f4f2d27e4420db147fc2f76a5ae598ac","impliedFormat":1},{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true,"impliedFormat":1},{"version":"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","impliedFormat":1},{"version":"45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","impliedFormat":1},{"version":"0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7","impliedFormat":1},{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true,"impliedFormat":1},{"version":"0666f4c99b8688c7be5956df8fecf5d1779d3b22f8f2a88258ae7072c7b6026f","affectsGlobalScope":true,"impliedFormat":1},{"version":"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","impliedFormat":1},{"version":"54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","impliedFormat":1},{"version":"d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","impliedFormat":1},{"version":"8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","impliedFormat":1},{"version":"01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","impliedFormat":1},{"version":"8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"7424817d5eb498771e6d1808d726ec38f75d2eaf3fa359edd5c0c540c52725c1","impliedFormat":1},{"version":"9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024","impliedFormat":1},{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true,"impliedFormat":1},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true,"impliedFormat":1},{"version":"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","impliedFormat":1},{"version":"4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","impliedFormat":1},{"version":"7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","impliedFormat":1},{"version":"7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df","impliedFormat":1},{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","impliedFormat":1},{"version":"79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","impliedFormat":1},{"version":"37dc027f781c75f0f546e329cfac7cf92a6b289f42458f47a9adc25e516b6839","impliedFormat":1},{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","impliedFormat":1},{"version":"d782e571cb7d6ec0f0645957ed843d00e3f8577e08cc2940f400c931bc47a8df","impliedFormat":99},{"version":"9167246623f181441e6116605221268d94e33a1ebd88075e2dc80133c928ae7e","impliedFormat":99},{"version":"dc1a838d8a514b6de9fbce3bd5e6feb9ccfe56311e9338bb908eb4d0d966ecaf","impliedFormat":99},{"version":"186f09ed4b1bc1d5a5af5b1d9f42e2d798f776418e82599b3de16423a349d184","impliedFormat":99},{"version":"d692ae73951775d2448df535ce8bc8abf162dc343911fedda2c37b8de3b20d8e","impliedFormat":99},{"version":"8f590111a18fca5e7d3bdee57f9d4e7d6778b964b6669d3864972677aae48da1","impliedFormat":99},{"version":"67f757b4d36c04e76c415c1f8449ac6efd2f57865bd90d271b09c8857af279fe","impliedFormat":99},{"version":"ec158c04cd9297a4e5119cf8508596ca972af853ea248d787fda8c872d44b35b","impliedFormat":99},{"version":"3d83952c0ab95837242d3ed6927729fc20e397e253f135d198794da889a5e994","signature":"767d12f85e4ff6a27b8d9d742aa5bfe2f30bb5a7f5ecd7ff1ba4f47600910f4b","impliedFormat":99},{"version":"a76f475a9be0f0677dc13b6aa17df91cafef682511cbd4f151f9e5661cdbba96","signature":"9e9bd397adf05b371104515ac0ef854a8fd1110339aab65048a6e53e877fc57c","impliedFormat":99},{"version":"a040a0557ea39a268228251f4f43efbce5c7accc797e5564662cb5e3ce65b84e","signature":"70457cb0d712b5728c70304daa633fefa65dc71f007f7f4b1bda4b4d4735a6f9","impliedFormat":99},{"version":"0061e89eb9dc65735677b8d94cbe0aafa7711b4afe7b24d9a4264243822b59d8","signature":"36cd9ca7e5db290b398ebc8fab1157a318e1c5511051768c8482c8c33b16422b","impliedFormat":99},{"version":"e9d4a43d3d6ce398525f17a4e577fc7f577e944e4970d74b992b7fbedd6e35f9","signature":"bde95c09c986c9f12f74ee5f1ee55760898cf4fc4ff2de0145b1f1d474d669cc","impliedFormat":99},{"version":"ea4f6a5fec632332f29e311674a7f844240ce187a603ae401ad52170c12bf988","signature":"4dba7bcdf72415d9b1eadc1eff145030107cc94084fe5a17643bfe2267f9c87a","impliedFormat":99},{"version":"de324f91bb27d5a848d8e0151b0e4d6a5d386ca86385418d43ef91a138dc83bd","signature":"01870be4099f31ff0f15649e8cee6741024d6f075f116ba773b73fd0807ae29f","impliedFormat":99},{"version":"3deed5e2a5f1e7590d44e65a5b61900158a3c38bac9048462d38b1bc8098bb2e","impliedFormat":99},{"version":"d435a43f89ed8794744c59d72ce71e43c1953338303f6be9ef99086faa8591d7","impliedFormat":99},{"version":"c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","impliedFormat":1},{"version":"f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","impliedFormat":1},{"version":"5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","impliedFormat":1},{"version":"a4f64e674903a21e1594a24c3fc8583f3a587336d17d41ade46aa177a8ab889b","impliedFormat":99},{"version":"a40f00d055c5f2b78afe8305bbd22eb33cab4b5f2e25fc279ddc9447a027d178","impliedFormat":99},{"version":"141342dd6e873870d3d9c3a46cb436736697034af6a9d8e2e52363af2adf716c","impliedFormat":99},{"version":"3c40b4c941ff4a2fe49b69786acf76abaa75efece53d331430d3911fdbc2e1a8","impliedFormat":99},{"version":"903a345b6c96e85947430f85568936fd324500bc8cd4363f98a376981658cfe6","impliedFormat":99},{"version":"c288f0782647cc1b22085ab6dabb94369f4e930a987dee9d7859a770717f41f0","impliedFormat":99},{"version":"a55e31847457043ccd3c1e3c9f1e20589009ae6f9b7e5ef181d738769cfa535a","impliedFormat":99},{"version":"4b89201ee9bd8bb6c4a05e631404e1fff118ec1abf0081c543af49110f6ed55b","impliedFormat":99},{"version":"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","impliedFormat":1},{"version":"ae900471ea16b852ce62c0cd17477ca332af7004045242d41b01a505c678950a","affectsGlobalScope":true,"impliedFormat":1},{"version":"a660aa95476042d3fdcc1343cf6bb8fdf24772d31712b1db321c5a4dcc325434","impliedFormat":1},{"version":"33b93e364ac10a40943d436fc8e7b9f5386b3172a4309c3197b00250dac486dc","impliedFormat":1},{"version":"1363ba7d52f2353d0c4306d0ecdaf171bf4509c0148842f9fd8d3986c098a2eb","impliedFormat":1},{"version":"cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","impliedFormat":1},{"version":"a049298446462b5493e3dca4094dad35565049411afdbe937f7634bf1606e2f3","impliedFormat":99},{"version":"4ac282004b0038c107795523475e549e6b357a347831cc635eb08360d63c1468","impliedFormat":1},{"version":"858d0d831826c6eb563df02f7db71c90e26deadd0938652096bea3cc14899700","impliedFormat":1},{"version":"8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2","impliedFormat":1},{"version":"18c04c22baee54d13b505fa6e8bcd4223f8ba32beee80ec70e6cac972d1cc9a6","impliedFormat":1},{"version":"5e92a2e8ba5cbcdfd9e51428f94f7bd0ab6e45c9805b1c9552b64abaffad3ce3","impliedFormat":1},{"version":"44fe135be91bc8edc495350f79cd7a2e5a8b7a7108b10b2599a321b9248657dc","impliedFormat":1},{"version":"1d51250438f2071d2803053d9aec7973ef22dfffd80685a9ec5fb3fa082f4347","impliedFormat":1},{"version":"7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa","impliedFormat":1},{"version":"b9261ac3e9944d3d72c5ee4cf888ad35d9743a5563405c6963c4e43ee3708ca4","impliedFormat":1},{"version":"c84fd54e8400def0d1ef1569cafd02e9f39a622df9fa69b57ccc82128856b916","impliedFormat":1},{"version":"c7a38c1ef8d6ae4bf252be67bd9a8b012b2cdea65bd6225a3d1a726c4f0d52b6","impliedFormat":1},{"version":"e773630f8772a06e82d97046fc92da59ada8414c61689894fff0155dd08f102c","impliedFormat":1},{"version":"edf7cf322a3f3e6ebca77217a96ed4480f5a7d8d0084f8b82f1c281c92780f3a","impliedFormat":1},{"version":"e97321edbef59b6f68839bcdfd5ae1949fe80d554d2546e35484a8d044a04444","impliedFormat":1},{"version":"96aed8ec4d342ec6ac69f0dcdfb064fd17b10cb13825580451c2cebbd556e965","impliedFormat":1},{"version":"106e607866d6c3e9a497a696ac949c3e2ec46b6e7dda35aabe76100bf740833b","impliedFormat":1},{"version":"28ffc4e76ad54f4b34933d78ff3f95b763accf074e8630a6d926f3fd5bbd8908","impliedFormat":1},{"version":"304af95fcace2300674c969700b39bc0ee05be536880daa844c64dc8f90ef482","impliedFormat":1},{"version":"3d65182eff7bbb16de1a69e17651c51083f740af11a1a92359be6dab939e8bcf","impliedFormat":1},{"version":"670ddaf1f1b881abaa1cc28236430d86b691affbeaefd66b3ee1db31fdfb8dba","impliedFormat":1},{"version":"77926a706478940016e826b162f95f8e4077b1ad3184b2592dc03bd8b33e0384","impliedFormat":99},{"version":"7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea","impliedFormat":1},{"version":"8f07f2b6514744ac96e51d7cb8518c0f4de319471237ea10cf688b8d0e9d0225","impliedFormat":1},{"version":"0b442cfd87c3543d3f0139c685a1b980a4ff7ccb8d5125fad69197b2e230e93a","impliedFormat":99},{"version":"4a27c79c57a6692abb196711f82b8b07a27908c94652148d5469887836390116","impliedFormat":99},{"version":"dd97595001ad306920b32b15d952187197ee8fadc5fd016b6854ea772fb64bd1","impliedFormat":99},{"version":"ac38390a47c502a66482a3410d19b0344d98357ae6dd5172563d5375ff836567","impliedFormat":99},{"version":"746ef5fd9b576c1808d9de0a1a4fc9830781b4f7e4350b10346ce0d4971af61c","impliedFormat":99},{"version":"f09fb5a34600e802bdeadaf3e5486c1a14c2822b3fcd99275909023c48e3b25c","impliedFormat":99},{"version":"5f6be5eb85d939555f991e3dbbc59d32340729a0d15ac4359d36a2f68f026bd9","impliedFormat":99},{"version":"48c411efce1848d1ed55de41d7deb93cbf7c04080912fd87aa517ed25ef42639","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ca37527d4c058c982ae41292fc66a9353a19a3115be104f5cc1522b7ea7f998","affectsGlobalScope":true,"impliedFormat":99},{"version":"fe2d63fcfdde197391b6b70daf7be8c02a60afa90754a5f4a04bdc367f62793d","impliedFormat":99},{"version":"18dcd65d0bfc1d862affd8b8598f6c59d669a7b16fe975e68fdf7b8c24e8cb69","impliedFormat":99},{"version":"962071346e644cb133bc9bad300eb0cd4ad2fbc78cfd753786acd2719ea33a14","impliedFormat":99},{"version":"e8aecf7be8c80776f8596459c75a6153f6c25d42ddb0ae74b125a528fd987cf1","impliedFormat":99},{"version":"5f8414d661a7d38d510e664411f44fc02a5f2826a2960d817d8d968085f31c92","impliedFormat":99},{"version":"9be97d05720dd6ed6d8dfe8d2f8d88104e2ed11a79ff50f75dfee7727dc5af85","affectsGlobalScope":true,"impliedFormat":99},{"version":"8e83c26a0f8c6372b6b5e666f9c40ab29dfaa6c634fdf5d6c75c5d60443eca11","impliedFormat":99},{"version":"52ab52174fcdb182a25ec70cdd47bd344f31b31df0cba8adc05a5d993fc7aec4","impliedFormat":99},{"version":"28f8aa3fddbefb1923658a47e59afb924334e7c2bd07f689a4a67c6a5d14b992","impliedFormat":99},{"version":"6c65a77a29bb5d7ee9bc03624b0f0a0239622dc68e2716f4a1562773e4949856","impliedFormat":99},{"version":"829325a03054bf6c70506fa5cfcd997944faf73c54c9285d1a2d043d239f4565","affectsGlobalScope":true,"impliedFormat":99},{"version":"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","impliedFormat":1},{"version":"ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","impliedFormat":1},{"version":"d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec","impliedFormat":1},{"version":"9aec3838773b6daece49517d7c04777c538ae9e9881ffb4e6d9aa8fc0c775a61","affectsGlobalScope":true,"impliedFormat":1}],"root":[66,[163,169]],"options":{"allowJs":true,"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./lib","declarationMap":true,"esModuleInterop":true,"importHelpers":true,"inlineSources":true,"module":199,"noEmitHelpers":true,"noImplicitAny":false,"outDir":"./lib","preserveConstEnums":true,"removeComments":true,"rootDir":"./src","skipLibCheck":true,"sourceMap":true,"sourceRoot":"/","strict":true,"target":99},"fileIdsList":[[172],[174,237],[68],[104],[105,110,138],[106,117,118,125,135,146],[106,107,117,125],[108,147],[109,110,118,126],[110,135,143],[111,113,117,125],[104,112],[113,114],[117],[115,117],[104,117],[117,118,119,135,146],[117,118,119,132,135,138],[102,105,151],[113,117,120,125,135,146],[117,118,120,121,125,135,143,146],[120,122,135,143,146],[68,69,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153],[117,123],[124,146,151],[113,117,125,135],[126],[127],[104,128],[129,145,151],[130],[131],[117,132,133],[132,134,147,149],[105,117,135,136,137,138],[105,135,137],[135,136],[138],[139],[104,135],[117,141,142],[141,142],[110,125,135,143],[144],[125,145],[105,120,131,146],[110,147],[135,148],[124,149],[150],[105,110,117,119,128,135,146,149,151],[135,152],[175,178],[221],[175,176,178,179,180],[175],[175,176,178],[175,176],[217],[174,217],[174,217,218],[174,177],[170],[170,171,174],[174],[233,236],[156,157],[234,235],[120,154,155,158],[206],[204,206],[195,203,204,205,207],[193],[196,201,206,209],[192,209],[196,197,200,201,202,209],[196,197,198,200,201,209],[193,194,195,196,197,201,202,203,205,206,207,209],[209],[191,193,194,195,196,197,198,200,201,202,203,204,205,206,207,208],[191,209],[196,198,199,201,202,209],[200,209],[201,202,206,209],[194,204],[173],[184,212],[183],[191],[64],[79,83,146],[79,135,146],[74],[76,79,143,146],[125,143],[154],[74,154],[76,79,125,146],[71,72,75,78,105,117,135,146],[71,77],[75,79,105,138,146,154],[105,154],[95,105,154],[73,74,154],[79],[73,74,75,76,77,78,79,80,81,83,84,85,86,87,88,89,90,91,92,93,94,96,97,98,99,100,101],[79,86,87],[77,79,87,88],[78],[71,74,79],[79,83,87,88],[83],[77,79,82,146],[71,76,77,79,83,86],[105,135],[74,79,95,105,151,154],[214,215],[214],[213,214,215,227],[117,118,120,121,122,125,135,143,146,152,154,184,185,186,187,188,189,190,210,211,212],[186,187,188],[186],[187],[184],[118,151,175,178,181,182,213,216,219,220,222,223,224,225,226,227,228,229,230],[118,151,175,181,182,213,216,219,220,222,223,224,225,226,227],[181,182,223,227],[231],[146,154,159],[67,161],[65,67,160,164],[65,159],[65],[65,162,163],[164],[159],[162,163]],"referencedMap":[[173,1],[238,2],[68,3],[69,3],[104,4],[105,5],[106,6],[107,7],[108,8],[109,9],[110,10],[111,11],[112,12],[113,13],[114,13],[116,14],[115,15],[117,16],[118,17],[119,18],[103,19],[120,20],[121,21],[122,22],[154,23],[123,24],[124,25],[125,26],[126,27],[127,28],[128,29],[129,30],[130,31],[131,32],[132,33],[133,33],[134,34],[135,35],[137,36],[136,37],[138,38],[139,39],[140,40],[141,41],[142,42],[143,43],[144,44],[145,45],[146,46],[147,47],[148,48],[149,49],[150,50],[151,51],[152,52],[221,53],[222,54],[181,55],[176,56],[179,57],[182,58],[230,59],[218,60],[219,61],[225,61],[178,62],[180,62],[171,63],[175,64],[177,65],[237,66],[158,67],[235,65],[236,68],[159,69],[207,70],[205,71],[206,72],[194,73],[195,71],[202,74],[193,75],[198,76],[199,77],[204,78],[210,79],[209,80],[192,81],[200,82],[201,83],[196,84],[203,70],[197,85],[174,86],[185,87],[184,88],[191,89],[65,90],[86,91],[93,92],[85,91],[100,93],[77,94],[76,95],[99,96],[94,97],[97,98],[79,99],[78,100],[74,101],[73,102],[96,103],[75,104],[80,105],[84,105],[102,106],[101,105],[88,107],[89,108],[91,109],[87,110],[90,111],[95,96],[82,112],[83,113],[92,114],[72,115],[98,116],[224,117],[215,118],[216,117],[226,119],[213,120],[189,121],[187,122],[188,123],[212,124],[231,125],[227,126],[228,127],[232,128],[160,129],[162,130],[165,131],[166,132],[66,133],[167,133],[163,133],[168,133],[164,134],[169,134]],"exportedModulesMap":[[173,1],[238,2],[68,3],[69,3],[104,4],[105,5],[106,6],[107,7],[108,8],[109,9],[110,10],[111,11],[112,12],[113,13],[114,13],[116,14],[115,15],[117,16],[118,17],[119,18],[103,19],[120,20],[121,21],[122,22],[154,23],[123,24],[124,25],[125,26],[126,27],[127,28],[128,29],[129,30],[130,31],[131,32],[132,33],[133,33],[134,34],[135,35],[137,36],[136,37],[138,38],[139,39],[140,40],[141,41],[142,42],[143,43],[144,44],[145,45],[146,46],[147,47],[148,48],[149,49],[150,50],[151,51],[152,52],[221,53],[222,54],[181,55],[176,56],[179,57],[182,58],[230,59],[218,60],[219,61],[225,61],[178,62],[180,62],[171,63],[175,64],[177,65],[237,66],[158,67],[235,65],[236,68],[159,69],[207,70],[205,71],[206,72],[194,73],[195,71],[202,74],[193,75],[198,76],[199,77],[204,78],[210,79],[209,80],[192,81],[200,82],[201,83],[196,84],[203,70],[197,85],[174,86],[185,87],[184,88],[191,89],[65,90],[86,91],[93,92],[85,91],[100,93],[77,94],[76,95],[99,96],[94,97],[97,98],[79,99],[78,100],[74,101],[73,102],[96,103],[75,104],[80,105],[84,105],[102,106],[101,105],[88,107],[89,108],[91,109],[87,110],[90,111],[95,96],[82,112],[83,113],[92,114],[72,115],[98,116],[224,117],[215,118],[216,117],[226,119],[213,120],[189,121],[187,122],[188,123],[212,124],[231,125],[227,126],[228,127],[232,128],[160,129],[162,130],[165,135],[166,136],[164,137],[169,137]],"semanticDiagnosticsPerFile":[233,173,172,183,238,68,69,104,105,106,107,108,109,110,111,112,113,114,116,115,117,118,119,103,153,120,121,122,154,123,124,125,126,127,128,129,130,131,132,133,134,135,137,136,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,220,221,222,181,176,179,182,217,230,218,219,225,229,178,180,171,175,177,170,70,234,190,237,156,158,157,155,235,236,159,207,205,206,194,195,202,193,198,208,199,204,210,209,192,200,201,196,203,197,174,185,184,191,223,65,64,62,63,13,12,2,14,15,16,17,18,19,20,21,3,4,22,26,23,24,25,27,28,29,5,30,31,32,33,6,37,34,35,36,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,56,54,55,57,58,10,1,11,61,60,59,86,93,85,100,77,76,99,94,97,79,78,74,73,96,75,80,81,84,71,102,101,88,89,91,87,90,95,82,83,92,72,98,224,215,216,226,214,213,189,187,186,188,211,212,231,227,228,232,67,160,161,162,165,166,66,167,163,168,164,169],"latestChangedDtsFile":"./lib/types/sales.d.ts"},"version":"5.3.3"}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"declarationMap": true,
|
|
6
|
+
"sourceMap": true,
|
|
7
|
+
"inlineSources": true,
|
|
8
|
+
"sourceRoot": "/",
|
|
9
|
+
"composite": true,
|
|
10
|
+
"rootDir": "src",
|
|
11
|
+
"outDir": "lib",
|
|
12
|
+
"declarationDir": "lib"
|
|
13
|
+
},
|
|
14
|
+
"include": ["src"],
|
|
15
|
+
"references": [{ "path": "../commons-sdk" }]
|
|
16
|
+
}
|