@silexpert/core 1.3.214-esm-7 → 1.3.214-esm-9
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/ESM-MIGRATION.md +78 -0
- package/dist/types/Interface/api/woocommerce/WCOrder.d.ts +5 -5
- package/dist/types/Interface/api/woocommerce/WCOrder.d.ts.map +1 -1
- package/dist/types/Interface/api/woocommerce/WCOrder.js.map +1 -1
- package/dist/types/Interface/api/woocommerce/WCShippingLine.d.ts +1 -1
- package/dist/types/Interface/api/woocommerce/WCShippingLine.d.ts.map +1 -1
- package/dist/types/Interface/api/woocommerce/WCShippingLine.js.map +1 -1
- package/dist/types/Interface/models/IAccount.d.ts +1 -1
- package/dist/types/Interface/models/IAccount.d.ts.map +1 -1
- package/dist/types/Interface/models/IAccount.js.map +1 -1
- package/dist/types/Interface/models/IAnnotation.d.ts +1 -1
- package/dist/types/Interface/models/IAnnotation.d.ts.map +1 -1
- package/dist/types/Interface/models/IAnnotation.js.map +1 -1
- package/dist/types/Interface/models/IBankAccount.d.ts +1 -1
- package/dist/types/Interface/models/IBankAccount.d.ts.map +1 -1
- package/dist/types/Interface/models/IBankAccount.js.map +1 -1
- package/dist/types/Interface/models/IBusinessPartner.d.ts +1 -1
- package/dist/types/Interface/models/IBusinessPartner.d.ts.map +1 -1
- package/dist/types/Interface/models/IBusinessPartner.js.map +1 -1
- package/dist/types/Interface/models/IDashboardLayout.d.ts +1 -1
- package/dist/types/Interface/models/IDashboardLayout.d.ts.map +1 -1
- package/dist/types/Interface/models/IDashboardLayout.js.map +1 -1
- package/dist/types/Interface/models/IEstimateInvoice.d.ts +1 -1
- package/dist/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
- package/dist/types/Interface/models/IEstimateInvoice.js.map +1 -1
- package/dist/types/Interface/models/IPrevisionalForm.d.ts +1 -1
- package/dist/types/Interface/models/IPrevisionalForm.d.ts.map +1 -1
- package/dist/types/Interface/models/IPrevisionalForm.js.map +1 -1
- package/package.json +38 -6
- package/ts/types/Interface/api/woocommerce/WCOrder.ts +5 -5
- package/ts/types/Interface/api/woocommerce/WCShippingLine.ts +1 -1
- package/ts/types/Interface/models/IAccount.ts +1 -1
- package/ts/types/Interface/models/IAnnotation.ts +1 -1
- package/ts/types/Interface/models/IBankAccount.ts +1 -1
- package/ts/types/Interface/models/IBusinessPartner.ts +1 -1
- package/ts/types/Interface/models/IDashboardLayout.ts +1 -1
- package/ts/types/Interface/models/IEstimateInvoice.ts +1 -1
- package/ts/types/Interface/models/IPrevisionalForm.ts +1 -1
- package/tsconfig-base.json +3 -3
package/ESM-MIGRATION.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# ESM Migration Guide
|
|
2
|
+
|
|
3
|
+
## ✅ Completed Changes
|
|
4
|
+
|
|
5
|
+
Your core repository is now ESM-friendly for Nuxt4! Here's what was updated:
|
|
6
|
+
|
|
7
|
+
### 1. Package.json Enhancements
|
|
8
|
+
|
|
9
|
+
- **Enhanced exports**: Added development and default conditions for better compatibility
|
|
10
|
+
- **Improved imports**: Added `#types/*` and `#api/*` for cleaner internal imports
|
|
11
|
+
- **ESM metadata**: Added `sideEffects: false` for tree-shaking optimization
|
|
12
|
+
- **Node.js compatibility**: Lowered requirement to >=20 for broader compatibility
|
|
13
|
+
- **Keywords**: Added relevant ESM and framework keywords
|
|
14
|
+
|
|
15
|
+
### 2. TypeScript Configuration Fixes
|
|
16
|
+
|
|
17
|
+
- **Consistent module resolution**: Fixed "NodeNext" capitalization
|
|
18
|
+
- **Better lib targets**: Updated from "esnext" to specific "ES2022" + "DOM"
|
|
19
|
+
- **Fixed syntax**: Removed invalid trailing comma
|
|
20
|
+
- **Type safety improvements**: Fixed several type-only imports for better ESM compliance
|
|
21
|
+
|
|
22
|
+
### 3. ESM Compliance Verification
|
|
23
|
+
|
|
24
|
+
- ✅ All source files already use proper `.js` extensions in imports
|
|
25
|
+
- ✅ No CommonJS patterns detected (module.exports, require(), etc.)
|
|
26
|
+
- ✅ Package marked as ESM with `"type": "module"`
|
|
27
|
+
- ✅ Build compiles successfully
|
|
28
|
+
|
|
29
|
+
## 🚀 Using with Nuxt4
|
|
30
|
+
|
|
31
|
+
Your core package can now be safely used in Nuxt4 projects:
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
// In your Nuxt4 app
|
|
35
|
+
import { Silex } from '@silexpert/core';
|
|
36
|
+
|
|
37
|
+
// Or use specific utilities
|
|
38
|
+
import { brandUtils } from '@silexpert/core';
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## 🔧 Next Steps (Optional Improvements)
|
|
42
|
+
|
|
43
|
+
### Enable Strict ESM Mode
|
|
44
|
+
|
|
45
|
+
For even better ESM compliance, you can progressively enable `verbatimModuleSyntax`:
|
|
46
|
+
|
|
47
|
+
1. **Add to tsconfig-base.json**:
|
|
48
|
+
|
|
49
|
+
```json
|
|
50
|
+
{
|
|
51
|
+
"compilerOptions": {
|
|
52
|
+
"verbatimModuleSyntax": true
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
2. **Fix remaining type imports**: Convert `import { Type }` to `import type { Type }` for interfaces and types that aren't used at runtime.
|
|
58
|
+
|
|
59
|
+
### Performance Optimization
|
|
60
|
+
|
|
61
|
+
- Consider enabling `"isolatedModules": true` for faster builds
|
|
62
|
+
- Add `"noUncheckedIndexedAccess": true` for better type safety
|
|
63
|
+
|
|
64
|
+
## 📦 Build & Publish
|
|
65
|
+
|
|
66
|
+
Your existing build process remains the same:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npm run tsc # Compile TypeScript
|
|
70
|
+
npm publish # Publish to npm
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
The package is now fully compatible with:
|
|
74
|
+
|
|
75
|
+
- ✅ Nuxt4
|
|
76
|
+
- ✅ Vue 3 with Vite
|
|
77
|
+
- ✅ Modern bundlers (Webpack 5+, Rollup, etc.)
|
|
78
|
+
- ✅ Node.js 20+ ESM environments
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { WCBilling } from './WCBilling.js';
|
|
2
|
-
import { WCLineItem } from './WCLineItem.js';
|
|
3
|
-
import { WCLinks } from './WCLinks.js';
|
|
4
|
-
import { WCShipping } from './WCShiping.js';
|
|
5
|
-
import { WCShippingLine } from './WCShippingLine.js';
|
|
1
|
+
import type { WCBilling } from './WCBilling.js';
|
|
2
|
+
import type { WCLineItem } from './WCLineItem.js';
|
|
3
|
+
import type { WCLinks } from './WCLinks.js';
|
|
4
|
+
import type { WCShipping } from './WCShiping.js';
|
|
5
|
+
import type { WCShippingLine } from './WCShippingLine.js';
|
|
6
6
|
export interface WCOrder {
|
|
7
7
|
id: number;
|
|
8
8
|
parent_id: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WCOrder.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/WCOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"WCOrder.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/WCOrder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,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|
-
{"version":3,"file":"WCOrder.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/WCOrder.ts"],"names":[],"mappings":"","sourcesContent":["import { WCBilling } from './WCBilling.js';\nimport { WCLineItem } from './WCLineItem.js';\nimport { WCLinks } from './WCLinks.js';\nimport { WCShipping } from './WCShiping.js';\nimport { WCShippingLine } from './WCShippingLine.js';\n\nexport interface WCOrder {\n id: number;\n parent_id: number;\n number: string;\n order_key: string;\n created_via: string;\n version: string;\n status: string;\n currency: string;\n date_created: Date;\n date_created_gmt: Date;\n date_modified: Date;\n date_modified_gmt: Date;\n discount_total: string;\n discount_tax: string;\n shipping_total: string;\n shipping_tax: string;\n cart_tax: string;\n total: string;\n total_tax: string;\n prices_include_tax: boolean;\n customer_id: number;\n customer_ip_address: string;\n customer_user_agent: string;\n customer_note: string;\n billing: WCBilling;\n shipping: WCShipping;\n payment_method: string;\n payment_method_title: string;\n transaction_id: string;\n date_paid?: any;\n date_paid_gmt?: any;\n date_completed?: any;\n date_completed_gmt?: any;\n cart_hash: string;\n meta_data: any[];\n line_items: WCLineItem[];\n tax_lines: any[];\n shipping_lines: WCShippingLine[];\n fee_lines: any[];\n coupon_lines: any[];\n refunds: any[];\n _links: WCLinks;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"WCOrder.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/WCOrder.ts"],"names":[],"mappings":"","sourcesContent":["import type { WCBilling } from './WCBilling.js';\nimport type { WCLineItem } from './WCLineItem.js';\nimport type { WCLinks } from './WCLinks.js';\nimport type { WCShipping } from './WCShiping.js';\nimport type { WCShippingLine } from './WCShippingLine.js';\n\nexport interface WCOrder {\n id: number;\n parent_id: number;\n number: string;\n order_key: string;\n created_via: string;\n version: string;\n status: string;\n currency: string;\n date_created: Date;\n date_created_gmt: Date;\n date_modified: Date;\n date_modified_gmt: Date;\n discount_total: string;\n discount_tax: string;\n shipping_total: string;\n shipping_tax: string;\n cart_tax: string;\n total: string;\n total_tax: string;\n prices_include_tax: boolean;\n customer_id: number;\n customer_ip_address: string;\n customer_user_agent: string;\n customer_note: string;\n billing: WCBilling;\n shipping: WCShipping;\n payment_method: string;\n payment_method_title: string;\n transaction_id: string;\n date_paid?: any;\n date_paid_gmt?: any;\n date_completed?: any;\n date_completed_gmt?: any;\n cart_hash: string;\n meta_data: any[];\n line_items: WCLineItem[];\n tax_lines: any[];\n shipping_lines: WCShippingLine[];\n fee_lines: any[];\n coupon_lines: any[];\n refunds: any[];\n _links: WCLinks;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WCShippingLine.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/WCShippingLine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"WCShippingLine.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/WCShippingLine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,SAAS,EAAE,GAAG,EAAE,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WCShippingLine.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/WCShippingLine.ts"],"names":[],"mappings":"","sourcesContent":["import { WCTaxe } from './WCTaxes.js';\n\nexport interface WCShippingLine {\n id: number;\n method_title: string;\n method_id: string;\n instance_id: string;\n total: string;\n total_tax: string;\n taxes: WCTaxe[];\n meta_data: any[];\n}\n"]}
|
|
1
|
+
{"version":3,"file":"WCShippingLine.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/WCShippingLine.ts"],"names":[],"mappings":"","sourcesContent":["import type { WCTaxe } from './WCTaxes.js';\n\nexport interface WCShippingLine {\n id: number;\n method_title: string;\n method_id: string;\n instance_id: string;\n total: string;\n total_tax: string;\n taxes: WCTaxe[];\n meta_data: any[];\n}\n"]}
|
|
@@ -10,7 +10,7 @@ import { IMachineLearningResult } from './IMachineLearningResult.js';
|
|
|
10
10
|
import { IAccountsSocieties } from './IAccountsSocieties.js';
|
|
11
11
|
import { ITag } from './ITag.js';
|
|
12
12
|
import { IFecFile } from './IFecFile.js';
|
|
13
|
-
import { IAccountCentury } from './IAccountCentury.js';
|
|
13
|
+
import type { IAccountCentury } from './IAccountCentury.js';
|
|
14
14
|
export declare class IAccount {
|
|
15
15
|
id?: number;
|
|
16
16
|
number: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccount.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,IAAI,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EAAE,kBAAkB,EAAE,CAAC;IACzC,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,sBAAsB,CAAC,EAAE,sBAAsB,EAAE,CAAC;IAClD,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;IACd,OAAO,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,eAAe,CAAC;CAClC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccount.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"AAcA,WAAW;AACX,MAAM,OAAO,QAAQ;IACnB,EAAE,CAAU;IACZ,MAAM,CAAS;IACf,IAAI,CAAS;IACb,YAAY,CAAiB;IAC7B,QAAQ,CAAW;IACnB,QAAQ,CAAW;IACnB,SAAS,CAAW;IACpB,QAAQ,CAAW;IACnB,MAAM,CAAW;IACjB,UAAU,CAAW;IACrB,KAAK,CAAiB;IACtB,QAAQ,CAAiB;IACzB,KAAK,CAAiB;IACtB,WAAW,CAAW;IACtB,UAAU,CAAW;IACrB,SAAS,CAAW;IACpB,cAAc,CAAW;IACzB,SAAS,CAAW;IACpB,cAAc,CAAW;IACzB,eAAe,CAAsB;IACrC,gBAAgB,CAAiB;IACjC,QAAQ,CAAS;IACjB,aAAa,CAAU;IACvB,aAAa,CAAS;IACtB,KAAK,CAAiB;IACtB,SAAS,CAAiB;IAC1B,mBAAmB,CAAiB;IACpC,QAAQ,CAAiB;IACzB,eAAe,CAAiB;IAChC,SAAS,CAAe;IACxB,SAAS,CAAe;IACxB,SAAS,CAAe;IAExB,eAAe;IACf,MAAM,CAAW;IACjB,WAAW,CAAgB;IAC3B,GAAG,CAAQ;IACX,iBAAiB,CAAqB;IACtC,WAAW,CAAgB;IAC3B,cAAc,CAAoB;IAClC,iBAAiB,CAAwB;IACzC,SAAS,CAAc;IACvB,sBAAsB,CAA4B;IAClD,aAAa,CAAY;IACzB,IAAI,CAAU;IACd,OAAO,CAAmB;IAC1B,cAAc,CAAmB;CAClC","sourcesContent":["import { INature } from './INature.js';\nimport { IAccountType } from './IAccountType.js';\nimport { IVat } from './IVat.js';\nimport { IRegisterCategory } from './IRegisterCategory.js';\nimport { IAccountHelp } from './IAccountHelp.js';\nimport { IAccountDetail } from './IAccountDetail.js';\nimport { ISociety } from './ISociety.js';\nimport { IAccountsSectors } from './IAccountsSectors.js';\nimport { IMachineLearningResult } from './IMachineLearningResult.js';\nimport { IAccountsSocieties } from './IAccountsSocieties.js';\nimport { ITag } from './ITag.js';\nimport { IFecFile } from './IFecFile.js';\nimport { IAccountCentury } from './IAccountCentury.js';\n\n// accounts\nexport class IAccount {\n id?: number;\n number: number;\n name: string;\n originalName?: string | null;\n forceVat?: boolean;\n blockVat?: boolean;\n forceFile?: boolean;\n isHidden?: boolean;\n isImmo?: boolean;\n isCorporal?: boolean;\n icone?: string | null;\n iconePNG?: string | null;\n color?: string | null;\n isOnlyTreso?: boolean;\n isOnlyEnga?: boolean;\n isGeneric?: boolean;\n isPersonalised?: boolean;\n forClient?: boolean;\n forFournisseur?: boolean;\n accountsSectors?: IAccountsSectors[];\n juridicalSociety?: number | null;\n idNature: number;\n customization?: number;\n idAccountType: number;\n idVat?: number | null;\n idFecFile?: number | null;\n idRegisterCategorie?: number | null;\n idSector?: number | null;\n idParentAccount?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n nature?: INature;\n accountType?: IAccountType;\n tva?: IVat;\n registerCategorie?: IRegisterCategory;\n accountHelp?: IAccountHelp;\n accountDetails?: IAccountDetail[];\n accountsSocieties?: IAccountsSocieties[];\n societies?: ISociety[];\n machineLearningResults?: IMachineLearningResult[];\n parentAccount?: IAccount;\n tags?: ITag[];\n fecFile?: IFecFile | null;\n accountCentury?: IAccountCentury;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IAccount.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"AAcA,WAAW;AACX,MAAM,OAAO,QAAQ;IACnB,EAAE,CAAU;IACZ,MAAM,CAAS;IACf,IAAI,CAAS;IACb,YAAY,CAAiB;IAC7B,QAAQ,CAAW;IACnB,QAAQ,CAAW;IACnB,SAAS,CAAW;IACpB,QAAQ,CAAW;IACnB,MAAM,CAAW;IACjB,UAAU,CAAW;IACrB,KAAK,CAAiB;IACtB,QAAQ,CAAiB;IACzB,KAAK,CAAiB;IACtB,WAAW,CAAW;IACtB,UAAU,CAAW;IACrB,SAAS,CAAW;IACpB,cAAc,CAAW;IACzB,SAAS,CAAW;IACpB,cAAc,CAAW;IACzB,eAAe,CAAsB;IACrC,gBAAgB,CAAiB;IACjC,QAAQ,CAAS;IACjB,aAAa,CAAU;IACvB,aAAa,CAAS;IACtB,KAAK,CAAiB;IACtB,SAAS,CAAiB;IAC1B,mBAAmB,CAAiB;IACpC,QAAQ,CAAiB;IACzB,eAAe,CAAiB;IAChC,SAAS,CAAe;IACxB,SAAS,CAAe;IACxB,SAAS,CAAe;IAExB,eAAe;IACf,MAAM,CAAW;IACjB,WAAW,CAAgB;IAC3B,GAAG,CAAQ;IACX,iBAAiB,CAAqB;IACtC,WAAW,CAAgB;IAC3B,cAAc,CAAoB;IAClC,iBAAiB,CAAwB;IACzC,SAAS,CAAc;IACvB,sBAAsB,CAA4B;IAClD,aAAa,CAAY;IACzB,IAAI,CAAU;IACd,OAAO,CAAmB;IAC1B,cAAc,CAAmB;CAClC","sourcesContent":["import { INature } from './INature.js';\nimport { IAccountType } from './IAccountType.js';\nimport { IVat } from './IVat.js';\nimport { IRegisterCategory } from './IRegisterCategory.js';\nimport { IAccountHelp } from './IAccountHelp.js';\nimport { IAccountDetail } from './IAccountDetail.js';\nimport { ISociety } from './ISociety.js';\nimport { IAccountsSectors } from './IAccountsSectors.js';\nimport { IMachineLearningResult } from './IMachineLearningResult.js';\nimport { IAccountsSocieties } from './IAccountsSocieties.js';\nimport { ITag } from './ITag.js';\nimport { IFecFile } from './IFecFile.js';\nimport type { IAccountCentury } from './IAccountCentury.js';\n\n// accounts\nexport class IAccount {\n id?: number;\n number: number;\n name: string;\n originalName?: string | null;\n forceVat?: boolean;\n blockVat?: boolean;\n forceFile?: boolean;\n isHidden?: boolean;\n isImmo?: boolean;\n isCorporal?: boolean;\n icone?: string | null;\n iconePNG?: string | null;\n color?: string | null;\n isOnlyTreso?: boolean;\n isOnlyEnga?: boolean;\n isGeneric?: boolean;\n isPersonalised?: boolean;\n forClient?: boolean;\n forFournisseur?: boolean;\n accountsSectors?: IAccountsSectors[];\n juridicalSociety?: number | null;\n idNature: number;\n customization?: number;\n idAccountType: number;\n idVat?: number | null;\n idFecFile?: number | null;\n idRegisterCategorie?: number | null;\n idSector?: number | null;\n idParentAccount?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n nature?: INature;\n accountType?: IAccountType;\n tva?: IVat;\n registerCategorie?: IRegisterCategory;\n accountHelp?: IAccountHelp;\n accountDetails?: IAccountDetail[];\n accountsSocieties?: IAccountsSocieties[];\n societies?: ISociety[];\n machineLearningResults?: IMachineLearningResult[];\n parentAccount?: IAccount;\n tags?: ITag[];\n fecFile?: IFecFile | null;\n accountCentury?: IAccountCentury;\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnnotationType } from '../../Enum/Annotation.js';
|
|
2
|
-
import { AnnotateAccountingTransaction } from '../api/accountingEntry/AnnotateAccountingTransaction.js';
|
|
2
|
+
import type { AnnotateAccountingTransaction } from '../api/accountingEntry/AnnotateAccountingTransaction.js';
|
|
3
3
|
import { IUser } from './IUser.js';
|
|
4
4
|
export declare class IAnnotation {
|
|
5
5
|
id?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAnnotation.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAnnotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;
|
|
1
|
+
{"version":3,"file":"IAnnotation.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAnnotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AAC7G,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,qBAAa,WAAW;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,6BAA6B,CAAC;IACvC,IAAI,EAAE,cAAc,CAAC;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,uBAAuB,EAAE,MAAM,CAAC;IAChC,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;IAEjB,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAnnotation.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAnnotation.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,WAAW;IACtB,EAAE,CAAU;IACZ,OAAO,CAAgC;IACvC,IAAI,CAAiB;IACrB,MAAM,CAAgB;IACtB,uBAAuB,CAAS;IAChC,SAAS,CAAQ;IACjB,SAAS,CAAQ;IAEjB,IAAI,CAAgB;CACrB","sourcesContent":["import { AnnotationType } from '../../Enum/Annotation.js';\nimport { AnnotateAccountingTransaction } from '../api/accountingEntry/AnnotateAccountingTransaction.js';\nimport { IUser } from './IUser.js';\n\nexport class IAnnotation {\n id?: number;\n details: AnnotateAccountingTransaction;\n type: AnnotationType;\n idUser: number | null;\n idAccountingTransaction: number;\n createdAt?: Date;\n updatedAt?: Date;\n\n user?: IUser | null;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IAnnotation.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAnnotation.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,WAAW;IACtB,EAAE,CAAU;IACZ,OAAO,CAAgC;IACvC,IAAI,CAAiB;IACrB,MAAM,CAAgB;IACtB,uBAAuB,CAAS;IAChC,SAAS,CAAQ;IACjB,SAAS,CAAQ;IAEjB,IAAI,CAAgB;CACrB","sourcesContent":["import { AnnotationType } from '../../Enum/Annotation.js';\nimport type { AnnotateAccountingTransaction } from '../api/accountingEntry/AnnotateAccountingTransaction.js';\nimport { IUser } from './IUser.js';\n\nexport class IAnnotation {\n id?: number;\n details: AnnotateAccountingTransaction;\n type: AnnotationType;\n idUser: number | null;\n idAccountingTransaction: number;\n createdAt?: Date;\n updatedAt?: Date;\n\n user?: IUser | null;\n}\n"]}
|
|
@@ -6,7 +6,7 @@ import { IBankList } from './IBankList.js';
|
|
|
6
6
|
import { IBalanceBankAccount } from './IBalanceBankAccount.js';
|
|
7
7
|
import { IUpToDateBankAccount } from './IUpToDateBankAccount.js';
|
|
8
8
|
import { StateSynchro } from '../../Enum/StateSynchro.js';
|
|
9
|
-
import { BankAccountSubType } from '../../Enum/BankAccountType.js';
|
|
9
|
+
import type { BankAccountSubType } from '../../Enum/BankAccountType.js';
|
|
10
10
|
import { IStateBankAccount } from './IStateBankAccount.js';
|
|
11
11
|
export declare class IBankAccount {
|
|
12
12
|
id?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IBankAccount.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBankAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,QAAQ,E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AAC;IAC3C,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IBankAccount.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBankAccount.ts"],"names":[],"mappings":"AAWA,eAAe;AACf,MAAM,OAAO,YAAY;IACvB,EAAE,CAAU;IACZ,IAAI,CAAgB;IACpB,eAAe,CAAS;IACxB,IAAI,CAAgB;IACpB,YAAY,CAAgB;IAC5B,YAAY,CAAgB;IAC5B,eAAe,CAAgB;IAC/B,WAAW,CAAc;IACzB,SAAS,CAAU;IACnB,YAAY,CAAgB;IAC5B,UAAU,CAAe;IACzB,aAAa,CAAe;IAC5B,+BAA+B,CAAe;IAC9C,yBAAyB,CAAkB;IAC3C,UAAU,CAAe;IACzB,gBAAgB,CAAc;IAC9B,WAAW,CAAgB;IAC3B,SAAS,CAAc;IACvB,SAAS,CAAgB;IACzB,OAAO,CAA6B;IACpC,aAAa,CAAgB;IAC7B,SAAS,CAAgB;IACzB,UAAU,CAAgB;IAC1B,UAAU,CAAgB;IAC1B,SAAS,CAAS;IAClB,gBAAgB,CAAgB;IAChC,oBAAoB,CAAuB;IAC3C,SAAS,CAAe;IACxB,SAAS,CAAe;IAExB,eAAe;IACf,QAAQ,CAAa;IACrB,OAAO,CAAY;IACnB,cAAc,CAAmB;IACjC,OAAO,CAAY;IACnB,QAAQ,CAAa;IACrB,mBAAmB,CAAyB;IAC5C,mBAAmB,CAAwB;IAC3C,iBAAiB,CAAqB;CACvC","sourcesContent":["import { ICurrency } from './ICurrency.js';\nimport { ISociety } from './ISociety.js';\nimport { IBankConnection } from './IBankConnection.js';\nimport { IAccount } from './IAccount.js';\nimport { IBankList } from './IBankList.js';\nimport { IBalanceBankAccount } from './IBalanceBankAccount.js';\nimport { IUpToDateBankAccount } from './IUpToDateBankAccount.js';\nimport { StateSynchro } from '../../Enum/StateSynchro.js';\nimport { BankAccountSubType } from '../../Enum/BankAccountType.js';\nimport { IStateBankAccount } from './IStateBankAccount.js';\n\n// bankAccounts\nexport class IBankAccount {\n id?: number;\n name: string | null;\n typeBankAccount: number;\n iban: string | null;\n identifierOb: string | null;\n budgeaUserId: number | null;\n budgeaAccountId: number | null;\n startImport: Date | null;\n activated: boolean;\n pcgExtension: number | null;\n lastUpdate?: Date | null;\n lastTryImport?: Date | null;\n notSynchroModaleLastDisplayDate?: Date | null;\n firstSynchroModaleDisplay?: boolean | null;\n disabledAt?: Date | null;\n inProgressImport: Date | null;\n amountStart: number | null;\n dateStart: Date | null;\n errorCode: string | null;\n subType?: BankAccountSubType | null;\n idPartnerType: number | null;\n idAccount: number | null;\n idBankList: number | null;\n idCurrency: number | null;\n idSociety: number;\n idBankConnection: number | null;\n synchronizationState?: StateSynchro | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n currency?: ICurrency;\n society?: ISociety;\n bankConnection?: IBankConnection;\n account?: IAccount;\n bankList?: IBankList;\n balanceBankAccounts?: IBalanceBankAccount[];\n upToDateBankAccount?: IUpToDateBankAccount;\n IStateBankAccount?: IStateBankAccount;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IBankAccount.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBankAccount.ts"],"names":[],"mappings":"AAWA,eAAe;AACf,MAAM,OAAO,YAAY;IACvB,EAAE,CAAU;IACZ,IAAI,CAAgB;IACpB,eAAe,CAAS;IACxB,IAAI,CAAgB;IACpB,YAAY,CAAgB;IAC5B,YAAY,CAAgB;IAC5B,eAAe,CAAgB;IAC/B,WAAW,CAAc;IACzB,SAAS,CAAU;IACnB,YAAY,CAAgB;IAC5B,UAAU,CAAe;IACzB,aAAa,CAAe;IAC5B,+BAA+B,CAAe;IAC9C,yBAAyB,CAAkB;IAC3C,UAAU,CAAe;IACzB,gBAAgB,CAAc;IAC9B,WAAW,CAAgB;IAC3B,SAAS,CAAc;IACvB,SAAS,CAAgB;IACzB,OAAO,CAA6B;IACpC,aAAa,CAAgB;IAC7B,SAAS,CAAgB;IACzB,UAAU,CAAgB;IAC1B,UAAU,CAAgB;IAC1B,SAAS,CAAS;IAClB,gBAAgB,CAAgB;IAChC,oBAAoB,CAAuB;IAC3C,SAAS,CAAe;IACxB,SAAS,CAAe;IAExB,eAAe;IACf,QAAQ,CAAa;IACrB,OAAO,CAAY;IACnB,cAAc,CAAmB;IACjC,OAAO,CAAY;IACnB,QAAQ,CAAa;IACrB,mBAAmB,CAAyB;IAC5C,mBAAmB,CAAwB;IAC3C,iBAAiB,CAAqB;CACvC","sourcesContent":["import { ICurrency } from './ICurrency.js';\nimport { ISociety } from './ISociety.js';\nimport { IBankConnection } from './IBankConnection.js';\nimport { IAccount } from './IAccount.js';\nimport { IBankList } from './IBankList.js';\nimport { IBalanceBankAccount } from './IBalanceBankAccount.js';\nimport { IUpToDateBankAccount } from './IUpToDateBankAccount.js';\nimport { StateSynchro } from '../../Enum/StateSynchro.js';\nimport type { BankAccountSubType } from '../../Enum/BankAccountType.js';\nimport { IStateBankAccount } from './IStateBankAccount.js';\n\n// bankAccounts\nexport class IBankAccount {\n id?: number;\n name: string | null;\n typeBankAccount: number;\n iban: string | null;\n identifierOb: string | null;\n budgeaUserId: number | null;\n budgeaAccountId: number | null;\n startImport: Date | null;\n activated: boolean;\n pcgExtension: number | null;\n lastUpdate?: Date | null;\n lastTryImport?: Date | null;\n notSynchroModaleLastDisplayDate?: Date | null;\n firstSynchroModaleDisplay?: boolean | null;\n disabledAt?: Date | null;\n inProgressImport: Date | null;\n amountStart: number | null;\n dateStart: Date | null;\n errorCode: string | null;\n subType?: BankAccountSubType | null;\n idPartnerType: number | null;\n idAccount: number | null;\n idBankList: number | null;\n idCurrency: number | null;\n idSociety: number;\n idBankConnection: number | null;\n synchronizationState?: StateSynchro | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n currency?: ICurrency;\n society?: ISociety;\n bankConnection?: IBankConnection;\n account?: IAccount;\n bankList?: IBankList;\n balanceBankAccounts?: IBalanceBankAccount[];\n upToDateBankAccount?: IUpToDateBankAccount;\n IStateBankAccount?: IStateBankAccount;\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ISociety } from './ISociety.js';
|
|
2
2
|
import { IUser } from './IUser.js';
|
|
3
|
-
import { ContributionType } from '../../Enum/Contribution.js';
|
|
3
|
+
import type { ContributionType } from '../../Enum/Contribution.js';
|
|
4
4
|
export declare class IBusinessPartner {
|
|
5
5
|
id?: number;
|
|
6
6
|
isPhysical: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IBusinessPartner.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBusinessPartner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"IBusinessPartner.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBusinessPartner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,qBAAa,gBAAgB;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,UAAU,EAAE,OAAO,CAAC;IAEpB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACnC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,aAAa,CAAC,EAAE,QAAQ,CAAC;CAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IBusinessPartner.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBusinessPartner.ts"],"names":[],"mappings":"AAIA,mBAAmB;AACnB,MAAM,OAAO,gBAAgB;IAC3B,EAAE,CAAU;IACZ,cAAc;IACd,UAAU,CAAU,CAAC,gEAAgE;IACrF,cAAc;IACd,UAAU,CAAU;IACpB,cAAc;IACd,MAAM,CAAU;IAChB,aAAa,CAAU;IACvB,gBAAgB,CAAU;IAC1B,eAAe,CAAU;IACzB,cAAc,CAAU;IACxB,aAAa,CAAsB;IACnC,SAAS,CAAgB;IACzB,MAAM,CAAgB;IACtB,eAAe,CAAS;IACxB,SAAS,CAAgB;IACzB,SAAS,CAAe;IACxB,SAAS,CAAe;IAExB,eAAe;IACf,OAAO,CAAY;IACnB,IAAI,CAAS;IACb,aAAa,CAAY;CAC1B","sourcesContent":["import { ISociety } from './ISociety.js';\nimport { IUser } from './IUser.js';\nimport { ContributionType } from '../../Enum/Contribution.js';\n\n// businessPartners\nexport class IBusinessPartner {\n id?: number;\n // @deprecated\n isPhysical: boolean; //TODO: devrait devenir useless -> idSociety et idUser suffisent\n // @deprecated\n sharesHeld?: number;\n // @deprecated\n reason?: string;\n reasonQuality?: string;\n identityDocument?: string;\n otherActivities?: string;\n activityBefore?: string;\n contributions?: ContributionType[];\n idSociety: number | null;\n idUser: number | null;\n idSocietyParent: number;\n idQuality: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n user?: IUser;\n societyParent?: ISociety;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IBusinessPartner.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IBusinessPartner.ts"],"names":[],"mappings":"AAIA,mBAAmB;AACnB,MAAM,OAAO,gBAAgB;IAC3B,EAAE,CAAU;IACZ,cAAc;IACd,UAAU,CAAU,CAAC,gEAAgE;IACrF,cAAc;IACd,UAAU,CAAU;IACpB,cAAc;IACd,MAAM,CAAU;IAChB,aAAa,CAAU;IACvB,gBAAgB,CAAU;IAC1B,eAAe,CAAU;IACzB,cAAc,CAAU;IACxB,aAAa,CAAsB;IACnC,SAAS,CAAgB;IACzB,MAAM,CAAgB;IACtB,eAAe,CAAS;IACxB,SAAS,CAAgB;IACzB,SAAS,CAAe;IACxB,SAAS,CAAe;IAExB,eAAe;IACf,OAAO,CAAY;IACnB,IAAI,CAAS;IACb,aAAa,CAAY;CAC1B","sourcesContent":["import { ISociety } from './ISociety.js';\nimport { IUser } from './IUser.js';\nimport type { ContributionType } from '../../Enum/Contribution.js';\n\n// businessPartners\nexport class IBusinessPartner {\n id?: number;\n // @deprecated\n isPhysical: boolean; //TODO: devrait devenir useless -> idSociety et idUser suffisent\n // @deprecated\n sharesHeld?: number;\n // @deprecated\n reason?: string;\n reasonQuality?: string;\n identityDocument?: string;\n otherActivities?: string;\n activityBefore?: string;\n contributions?: ContributionType[];\n idSociety: number | null;\n idUser: number | null;\n idSocietyParent: number;\n idQuality: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n user?: IUser;\n societyParent?: ISociety;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IDashboardLayout.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IDashboardLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"IDashboardLayout.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IDashboardLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEzE,qBAAa,gBAAgB;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,uBAAuB,EAAE,CAAC;IACtC,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IDashboardLayout.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IDashboardLayout.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,gBAAgB;IAC3B,EAAE,CAAS;IACX,MAAM,CAAS;IACf,SAAS,CAAS;IAClB,UAAU,CAA4B;IACtC,SAAS,CAAO;IAChB,SAAS,CAAO;CACjB","sourcesContent":["import { ReadDashboardLayoutItem } from '../api/DashboardLayout.js';\n\nexport class IDashboardLayout {\n id: number;\n idUser: number;\n idSociety: number;\n jsonLayout: ReadDashboardLayoutItem[];\n createdAt: Date;\n updatedAt: Date;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IDashboardLayout.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IDashboardLayout.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,gBAAgB;IAC3B,EAAE,CAAS;IACX,MAAM,CAAS;IACf,SAAS,CAAS;IAClB,UAAU,CAA4B;IACtC,SAAS,CAAO;IAChB,SAAS,CAAO;CACjB","sourcesContent":["import type { ReadDashboardLayoutItem } from '../api/DashboardLayout.js';\n\nexport class IDashboardLayout {\n id: number;\n idUser: number;\n idSociety: number;\n jsonLayout: ReadDashboardLayoutItem[];\n createdAt: Date;\n updatedAt: Date;\n}\n"]}
|
|
@@ -6,7 +6,7 @@ import { IEstimateInvoiceType } from './IEstimateInvoiceType.js';
|
|
|
6
6
|
import { ISociety } from './ISociety.js';
|
|
7
7
|
import { IFile } from './IFile.js';
|
|
8
8
|
import { IInvoiceRecurrence } from './IInvoiceRecurrence.js';
|
|
9
|
-
import { ReadEstimateInvoiceStatus } from '../api/commercialManagement/Read.js';
|
|
9
|
+
import type { ReadEstimateInvoiceStatus } from '../api/commercialManagement/Read.js';
|
|
10
10
|
import { AccountingCategoryId, InvoiceLanguage } from '../../Enum/CommercialManagement.js';
|
|
11
11
|
import { IReminder } from './IReminder.js';
|
|
12
12
|
export declare class IEstimateInvoice {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEstimateInvoice.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEstimateInvoice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"IEstimateInvoice.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEstimateInvoice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,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C,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,iCAAiC,CAAC,EAAE,gBAAgB,CAAC;IACrD,2BAA2B,CAAC,EAAE,gBAAgB,CAAC;IAC/C,4BAA4B,CAAC,EAAE,gBAAgB,CAAC;IAChD,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEstimateInvoice.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEstimateInvoice.ts"],"names":[],"mappings":"AAYA,oBAAoB;AACpB,MAAM,OAAO,gBAAgB;IAC3B,EAAE,CAAU;IACZ,KAAK,CAAgB;IACrB,OAAO,CAAgB;IACvB,SAAS,CAAgB;IACzB,aAAa,CAAS;IACtB,gBAAgB,CAAS;IACzB,gBAAgB,CAAS;IACzB,OAAO,CAAU;IACjB,OAAO,CAAc;IACrB,cAAc,CAAc;IAC5B,YAAY,CAAc;IAC1B,eAAe,CAAc;IAC7B,QAAQ,CAAc;IACtB,MAAM,CAAW;IACjB,MAAM,CAAU;IAChB,QAAQ,CAAU;IAClB,aAAa,CAAc;IAC3B,SAAS,CAAgB;IACzB,QAAQ,CAAgB;IACxB,YAAY,CAAgB;IAC5B,UAAU,CAAgB;IAC1B,QAAQ,CAAgB;IACxB,SAAS,CAAU;IACnB,WAAW,CAAgB;IAC3B,cAAc,CAAgB;IAC9B,gBAAgB,CAAgB;IAChC,eAAe,CAAc;IAC7B,SAAS,CAAU;IACnB,UAAU,CAAU;IACpB,MAAM,CAA6B;IACnC,kBAAkB,CAAuB;IACzC,sBAAsB,CAAU;IAChC,QAAQ,CAAkB;IAC1B,QAAQ,CAAiB;IACzB,MAAM,CAAiB;IACvB,gBAAgB,CAAgB;IAChC,qBAAqB,CAAoB;IACzC,WAAW,CAAgB;IAC3B,SAAS,CAAS;IAClB,YAAY,CAAS;IACrB,8BAA8B,CAAgB;IAC9C,SAAS,CAAe;IACxB,SAAS,CAAe;IACxB,SAAS,CAAe;IAExB,eAAe;IACf,QAAQ,CAAqB;IAC7B,UAAU,CAAe;IACzB,SAAS,CAAc;IACvB,IAAI,CAAwB;IAC5B,eAAe,CAA+B;IAC9C,OAAO,CAAY;IACnB,iCAAiC,CAAoB;IACrD,2BAA2B,CAAoB;IAC/C,4BAA4B,CAAoB;IAChD,SAAS,CAAoB;IAC7B,cAAc,CAAoB;IAClC,UAAU,CAAsB;IAChC,IAAI,CAAS;CACd","sourcesContent":["import { IProductInvoice } from './IProductInvoice.js';\nimport { IPaymentExpectationCustomer } from './IPaymentExpectationCustomer.js';\nimport { IThirdParty } from './IThirdParty.js';\nimport { IFrequency } from './IFrequency.js';\nimport { IEstimateInvoiceType } from './IEstimateInvoiceType.js';\nimport { ISociety } from './ISociety.js';\nimport { IFile } from './IFile.js';\nimport { IInvoiceRecurrence } from './IInvoiceRecurrence.js';\nimport { ReadEstimateInvoiceStatus } from '../api/commercialManagement/Read.js';\nimport { AccountingCategoryId, InvoiceLanguage } from '../../Enum/CommercialManagement.js';\nimport { IReminder } from './IReminder.js';\n\n// estimatesInvoices\nexport class IEstimateInvoice {\n id?: number;\n label: string | null;\n payment: string | null;\n reference: string | null;\n depositAmount: number;\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n isDraft: boolean;\n dueDate: Date | null;\n expirationDate: Date | null;\n emissionDate: Date | null;\n acceptationDate: Date | null;\n mailSent: Date | null;\n isPaid?: boolean;\n isUsed: boolean;\n isStripe: boolean;\n lastTryRepeat: Date | null;\n penalties: string | null;\n discount: string | null;\n recoveryCost: string | null;\n vatMention: string | null;\n freeText: string | null;\n greetings: boolean;\n paymentType: string | null;\n generalComment: string | null;\n generalDiscount2: number | null;\n lastRelanceDate: Date | null;\n isRefused: boolean;\n isCanceled: boolean;\n status?: ReadEstimateInvoiceStatus;\n accountingCategory: AccountingCategoryId;\n shouldPayTaxAfterDebit: boolean;\n language: InvoiceLanguage;\n template?: number | null;\n idFile?: number | null;\n idRelatedInvoice: number | null;\n idEstimateInvoiceType: number | number[];\n idFrequency: number | null;\n idSociety: number;\n idThirdParty: number;\n idEstimateInvoiceForThisRepeat: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n products?: IProductInvoice[];\n thirdParty?: IThirdParty;\n frequency?: IFrequency;\n type?: IEstimateInvoiceType;\n customerPayment?: IPaymentExpectationCustomer;\n society?: ISociety;\n assetRelatedToThisEstimateInvoice?: IEstimateInvoice;\n estimateInvoiceForThisAsset?: IEstimateInvoice;\n estimateInvoiceForThisRepeat?: IEstimateInvoice;\n reminder2?: IReminder | null;\n relatedInvoice?: IEstimateInvoice;\n recurrence?: IInvoiceRecurrence;\n file?: IFile;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IEstimateInvoice.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEstimateInvoice.ts"],"names":[],"mappings":"AAYA,oBAAoB;AACpB,MAAM,OAAO,gBAAgB;IAC3B,EAAE,CAAU;IACZ,KAAK,CAAgB;IACrB,OAAO,CAAgB;IACvB,SAAS,CAAgB;IACzB,aAAa,CAAS;IACtB,gBAAgB,CAAS;IACzB,gBAAgB,CAAS;IACzB,OAAO,CAAU;IACjB,OAAO,CAAc;IACrB,cAAc,CAAc;IAC5B,YAAY,CAAc;IAC1B,eAAe,CAAc;IAC7B,QAAQ,CAAc;IACtB,MAAM,CAAW;IACjB,MAAM,CAAU;IAChB,QAAQ,CAAU;IAClB,aAAa,CAAc;IAC3B,SAAS,CAAgB;IACzB,QAAQ,CAAgB;IACxB,YAAY,CAAgB;IAC5B,UAAU,CAAgB;IAC1B,QAAQ,CAAgB;IACxB,SAAS,CAAU;IACnB,WAAW,CAAgB;IAC3B,cAAc,CAAgB;IAC9B,gBAAgB,CAAgB;IAChC,eAAe,CAAc;IAC7B,SAAS,CAAU;IACnB,UAAU,CAAU;IACpB,MAAM,CAA6B;IACnC,kBAAkB,CAAuB;IACzC,sBAAsB,CAAU;IAChC,QAAQ,CAAkB;IAC1B,QAAQ,CAAiB;IACzB,MAAM,CAAiB;IACvB,gBAAgB,CAAgB;IAChC,qBAAqB,CAAoB;IACzC,WAAW,CAAgB;IAC3B,SAAS,CAAS;IAClB,YAAY,CAAS;IACrB,8BAA8B,CAAgB;IAC9C,SAAS,CAAe;IACxB,SAAS,CAAe;IACxB,SAAS,CAAe;IAExB,eAAe;IACf,QAAQ,CAAqB;IAC7B,UAAU,CAAe;IACzB,SAAS,CAAc;IACvB,IAAI,CAAwB;IAC5B,eAAe,CAA+B;IAC9C,OAAO,CAAY;IACnB,iCAAiC,CAAoB;IACrD,2BAA2B,CAAoB;IAC/C,4BAA4B,CAAoB;IAChD,SAAS,CAAoB;IAC7B,cAAc,CAAoB;IAClC,UAAU,CAAsB;IAChC,IAAI,CAAS;CACd","sourcesContent":["import { IProductInvoice } from './IProductInvoice.js';\nimport { IPaymentExpectationCustomer } from './IPaymentExpectationCustomer.js';\nimport { IThirdParty } from './IThirdParty.js';\nimport { IFrequency } from './IFrequency.js';\nimport { IEstimateInvoiceType } from './IEstimateInvoiceType.js';\nimport { ISociety } from './ISociety.js';\nimport { IFile } from './IFile.js';\nimport { IInvoiceRecurrence } from './IInvoiceRecurrence.js';\nimport type { ReadEstimateInvoiceStatus } from '../api/commercialManagement/Read.js';\nimport { AccountingCategoryId, InvoiceLanguage } from '../../Enum/CommercialManagement.js';\nimport { IReminder } from './IReminder.js';\n\n// estimatesInvoices\nexport class IEstimateInvoice {\n id?: number;\n label: string | null;\n payment: string | null;\n reference: string | null;\n depositAmount: number;\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n isDraft: boolean;\n dueDate: Date | null;\n expirationDate: Date | null;\n emissionDate: Date | null;\n acceptationDate: Date | null;\n mailSent: Date | null;\n isPaid?: boolean;\n isUsed: boolean;\n isStripe: boolean;\n lastTryRepeat: Date | null;\n penalties: string | null;\n discount: string | null;\n recoveryCost: string | null;\n vatMention: string | null;\n freeText: string | null;\n greetings: boolean;\n paymentType: string | null;\n generalComment: string | null;\n generalDiscount2: number | null;\n lastRelanceDate: Date | null;\n isRefused: boolean;\n isCanceled: boolean;\n status?: ReadEstimateInvoiceStatus;\n accountingCategory: AccountingCategoryId;\n shouldPayTaxAfterDebit: boolean;\n language: InvoiceLanguage;\n template?: number | null;\n idFile?: number | null;\n idRelatedInvoice: number | null;\n idEstimateInvoiceType: number | number[];\n idFrequency: number | null;\n idSociety: number;\n idThirdParty: number;\n idEstimateInvoiceForThisRepeat: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n products?: IProductInvoice[];\n thirdParty?: IThirdParty;\n frequency?: IFrequency;\n type?: IEstimateInvoiceType;\n customerPayment?: IPaymentExpectationCustomer;\n society?: ISociety;\n assetRelatedToThisEstimateInvoice?: IEstimateInvoice;\n estimateInvoiceForThisAsset?: IEstimateInvoice;\n estimateInvoiceForThisRepeat?: IEstimateInvoice;\n reminder2?: IReminder | null;\n relatedInvoice?: IEstimateInvoice;\n recurrence?: IInvoiceRecurrence;\n file?: IFile;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPrevisionalForm.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPrevisionalForm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"IPrevisionalForm.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPrevisionalForm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAE9E,qBAAa,gBAAgB;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,sBAAsB,CAAC;IAChC,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPrevisionalForm.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPrevisionalForm.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,gBAAgB;IAC3B,EAAE,CAAU;IACZ,SAAS,CAAS;IAClB,MAAM,CAAiB;IACvB,OAAO,CAAyB;IAChC,SAAS,CAAQ;IACjB,SAAS,CAAQ;IACjB,SAAS,CAAe;IAExB,eAAe;IACf,OAAO,CAAY;IACnB,IAAI,CAAS;CACd","sourcesContent":["import { IFile, ISociety, PrevisionalFormPayload } from '../../index.js';\n\nexport class IPrevisionalForm {\n id?: number;\n idSociety: number;\n idFile?: number | null;\n payload: PrevisionalFormPayload;\n createdAt?: Date;\n updatedAt?: Date;\n deletedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n file?: IFile;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IPrevisionalForm.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPrevisionalForm.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,gBAAgB;IAC3B,EAAE,CAAU;IACZ,SAAS,CAAS;IAClB,MAAM,CAAiB;IACvB,OAAO,CAAyB;IAChC,SAAS,CAAQ;IACjB,SAAS,CAAQ;IACjB,SAAS,CAAe;IAExB,eAAe;IACf,OAAO,CAAY;IACnB,IAAI,CAAS;CACd","sourcesContent":["import type { IFile, ISociety, PrevisionalFormPayload } from '../../index.js';\n\nexport class IPrevisionalForm {\n id?: number;\n idSociety: number;\n idFile?: number | null;\n payload: PrevisionalFormPayload;\n createdAt?: Date;\n updatedAt?: Date;\n deletedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n file?: IFile;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.214-esm-
|
|
3
|
+
"version": "1.3.214-esm-9",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"type": "module",
|
|
@@ -9,12 +9,36 @@
|
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
+
"browser": {
|
|
13
|
+
"development": "./dist/index.js",
|
|
14
|
+
"import": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"default": "./dist/index.js"
|
|
17
|
+
},
|
|
18
|
+
"node": {
|
|
19
|
+
"development": "./dist/index.js",
|
|
20
|
+
"import": "./dist/index.js",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"default": "./dist/index.js"
|
|
23
|
+
},
|
|
24
|
+
"development": "./dist/index.js",
|
|
12
25
|
"import": "./dist/index.js",
|
|
13
|
-
"types": "./dist/index.d.ts"
|
|
14
|
-
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"default": "./dist/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./package.json": "./package.json"
|
|
15
30
|
},
|
|
31
|
+
"browser": {
|
|
32
|
+
"debug": false
|
|
33
|
+
},
|
|
34
|
+
"resolutions": {
|
|
35
|
+
"debug": "^4.3.7"
|
|
36
|
+
},
|
|
37
|
+
"sideEffects": false,
|
|
16
38
|
"imports": {
|
|
17
|
-
"#utils/*": "./dist/utils/*"
|
|
39
|
+
"#utils/*": "./dist/utils/*",
|
|
40
|
+
"#types/*": "./dist/types/*",
|
|
41
|
+
"#api/*": "./dist/api/*"
|
|
18
42
|
},
|
|
19
43
|
"scripts": {
|
|
20
44
|
"clean": "rimraf ./es ./js ./dist",
|
|
@@ -38,9 +62,17 @@
|
|
|
38
62
|
"url": "https://gitlab.compta-clementine.fr/dev/silex-api/-/issues"
|
|
39
63
|
},
|
|
40
64
|
"engines": {
|
|
41
|
-
"node": ">=
|
|
65
|
+
"node": ">=20"
|
|
42
66
|
},
|
|
43
|
-
"keywords": [
|
|
67
|
+
"keywords": [
|
|
68
|
+
"esm",
|
|
69
|
+
"typescript",
|
|
70
|
+
"nuxt",
|
|
71
|
+
"vue",
|
|
72
|
+
"silex",
|
|
73
|
+
"accounting",
|
|
74
|
+
"api-client"
|
|
75
|
+
],
|
|
44
76
|
"author": "Silex",
|
|
45
77
|
"license": "ISC",
|
|
46
78
|
"devDependencies": {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { WCBilling } from './WCBilling.js';
|
|
2
|
-
import { WCLineItem } from './WCLineItem.js';
|
|
3
|
-
import { WCLinks } from './WCLinks.js';
|
|
4
|
-
import { WCShipping } from './WCShiping.js';
|
|
5
|
-
import { WCShippingLine } from './WCShippingLine.js';
|
|
1
|
+
import type { WCBilling } from './WCBilling.js';
|
|
2
|
+
import type { WCLineItem } from './WCLineItem.js';
|
|
3
|
+
import type { WCLinks } from './WCLinks.js';
|
|
4
|
+
import type { WCShipping } from './WCShiping.js';
|
|
5
|
+
import type { WCShippingLine } from './WCShippingLine.js';
|
|
6
6
|
|
|
7
7
|
export interface WCOrder {
|
|
8
8
|
id: number;
|
|
@@ -10,7 +10,7 @@ import { IMachineLearningResult } from './IMachineLearningResult.js';
|
|
|
10
10
|
import { IAccountsSocieties } from './IAccountsSocieties.js';
|
|
11
11
|
import { ITag } from './ITag.js';
|
|
12
12
|
import { IFecFile } from './IFecFile.js';
|
|
13
|
-
import { IAccountCentury } from './IAccountCentury.js';
|
|
13
|
+
import type { IAccountCentury } from './IAccountCentury.js';
|
|
14
14
|
|
|
15
15
|
// accounts
|
|
16
16
|
export class IAccount {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnnotationType } from '../../Enum/Annotation.js';
|
|
2
|
-
import { AnnotateAccountingTransaction } from '../api/accountingEntry/AnnotateAccountingTransaction.js';
|
|
2
|
+
import type { AnnotateAccountingTransaction } from '../api/accountingEntry/AnnotateAccountingTransaction.js';
|
|
3
3
|
import { IUser } from './IUser.js';
|
|
4
4
|
|
|
5
5
|
export class IAnnotation {
|
|
@@ -6,7 +6,7 @@ import { IBankList } from './IBankList.js';
|
|
|
6
6
|
import { IBalanceBankAccount } from './IBalanceBankAccount.js';
|
|
7
7
|
import { IUpToDateBankAccount } from './IUpToDateBankAccount.js';
|
|
8
8
|
import { StateSynchro } from '../../Enum/StateSynchro.js';
|
|
9
|
-
import { BankAccountSubType } from '../../Enum/BankAccountType.js';
|
|
9
|
+
import type { BankAccountSubType } from '../../Enum/BankAccountType.js';
|
|
10
10
|
import { IStateBankAccount } from './IStateBankAccount.js';
|
|
11
11
|
|
|
12
12
|
// bankAccounts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ISociety } from './ISociety.js';
|
|
2
2
|
import { IUser } from './IUser.js';
|
|
3
|
-
import { ContributionType } from '../../Enum/Contribution.js';
|
|
3
|
+
import type { ContributionType } from '../../Enum/Contribution.js';
|
|
4
4
|
|
|
5
5
|
// businessPartners
|
|
6
6
|
export class IBusinessPartner {
|
|
@@ -6,7 +6,7 @@ import { IEstimateInvoiceType } from './IEstimateInvoiceType.js';
|
|
|
6
6
|
import { ISociety } from './ISociety.js';
|
|
7
7
|
import { IFile } from './IFile.js';
|
|
8
8
|
import { IInvoiceRecurrence } from './IInvoiceRecurrence.js';
|
|
9
|
-
import { ReadEstimateInvoiceStatus } from '../api/commercialManagement/Read.js';
|
|
9
|
+
import type { ReadEstimateInvoiceStatus } from '../api/commercialManagement/Read.js';
|
|
10
10
|
import { AccountingCategoryId, InvoiceLanguage } from '../../Enum/CommercialManagement.js';
|
|
11
11
|
import { IReminder } from './IReminder.js';
|
|
12
12
|
|
package/tsconfig-base.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"experimentalDecorators": true,
|
|
4
4
|
"allowSyntheticDefaultImports": true,
|
|
5
5
|
"esModuleInterop": true,
|
|
6
|
-
"lib": ["
|
|
6
|
+
"lib": ["ES2022", "DOM"],
|
|
7
7
|
"emitDecoratorMetadata": true,
|
|
8
8
|
"allowJs": false,
|
|
9
9
|
"strict": true,
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"declaration": true,
|
|
15
15
|
"declarationMap": true,
|
|
16
16
|
"skipLibCheck": true,
|
|
17
|
-
"moduleResolution": "
|
|
18
|
-
"outDir": "dist"
|
|
17
|
+
"moduleResolution": "NodeNext",
|
|
18
|
+
"outDir": "dist"
|
|
19
19
|
},
|
|
20
20
|
"include": ["ts/**/*.ts"],
|
|
21
21
|
"exclude": ["dist"],
|