@silexpert/core 0.4.11 → 0.4.13

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.
Files changed (95) hide show
  1. package/es/api/resources/FecFile.d.ts +8 -0
  2. package/es/api/resources/FecFile.d.ts.map +1 -0
  3. package/es/api/resources/FecFile.js +13 -0
  4. package/es/api/resources/FecFile.js.map +1 -0
  5. package/es/api/resources/Immobilization.d.ts +2 -1
  6. package/es/api/resources/Immobilization.d.ts.map +1 -1
  7. package/es/api/resources/Immobilization.js.map +1 -1
  8. package/es/api/resources.d.ts +2 -0
  9. package/es/api/resources.d.ts.map +1 -1
  10. package/es/api/resources.js +2 -0
  11. package/es/api/resources.js.map +1 -1
  12. package/es/types/Enum/FecFileDelimiter.d.ts +6 -0
  13. package/es/types/Enum/FecFileDelimiter.d.ts.map +1 -0
  14. package/es/types/Enum/FecFileDelimiter.js +7 -0
  15. package/es/types/Enum/FecFileDelimiter.js.map +1 -0
  16. package/es/types/Enum/ThirdPartyType.js.map +1 -1
  17. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +1 -0
  18. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
  19. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js +4 -0
  20. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
  21. package/es/types/Interface/api/fecFile/CreateFecFile.d.ts +11 -0
  22. package/es/types/Interface/api/fecFile/CreateFecFile.d.ts.map +1 -0
  23. package/es/types/Interface/api/fecFile/CreateFecFile.js +28 -0
  24. package/es/types/Interface/api/fecFile/CreateFecFile.js.map +1 -0
  25. package/es/types/Interface/api/fecFile/ReadFecFile.d.ts +23 -0
  26. package/es/types/Interface/api/fecFile/ReadFecFile.d.ts.map +1 -0
  27. package/es/types/Interface/api/fecFile/ReadFecFile.js +2 -0
  28. package/es/types/Interface/api/fecFile/ReadFecFile.js.map +1 -0
  29. package/es/types/Interface/api/file/TFile.d.ts +10 -0
  30. package/es/types/Interface/api/file/TFile.d.ts.map +1 -0
  31. package/es/types/Interface/api/file/TFile.js +2 -0
  32. package/es/types/Interface/api/file/TFile.js.map +1 -0
  33. package/es/types/Interface/models/IAccount.d.ts +20 -20
  34. package/es/types/Interface/models/IAccount.d.ts.map +1 -1
  35. package/es/types/Interface/models/IAccount.js.map +1 -1
  36. package/es/types/Interface/models/IAccountingEntry.d.ts +3 -3
  37. package/es/types/Interface/models/IAccountingEntry.d.ts.map +1 -1
  38. package/es/types/Interface/models/IAccountingEntry.js.map +1 -1
  39. package/es/types/Interface/models/IAccountingTransaction.d.ts +25 -24
  40. package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
  41. package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
  42. package/es/types/Interface/models/IApiError.d.ts +2 -1
  43. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  44. package/es/types/Interface/models/IApiError.js +2 -0
  45. package/es/types/Interface/models/IApiError.js.map +1 -1
  46. package/es/types/Interface/models/IFecFile.d.ts +14 -0
  47. package/es/types/Interface/models/IFecFile.d.ts.map +1 -0
  48. package/es/types/Interface/models/IFecFile.js +2 -0
  49. package/es/types/Interface/models/IFecFile.js.map +1 -0
  50. package/es/types/Interface/models/IThirdParty.d.ts +5 -6
  51. package/es/types/Interface/models/IThirdParty.d.ts.map +1 -1
  52. package/es/types/Interface/models/IThirdParty.js.map +1 -1
  53. package/es/types/index.d.ts +5 -0
  54. package/es/types/index.d.ts.map +1 -1
  55. package/es/types/index.js +5 -0
  56. package/es/types/index.js.map +1 -1
  57. package/js/api/resources/FecFile.js +26 -0
  58. package/js/api/resources/FecFile.js.map +1 -0
  59. package/js/api/resources/Immobilization.js.map +1 -1
  60. package/js/api/resources.js +3 -0
  61. package/js/api/resources.js.map +1 -1
  62. package/js/types/Enum/FecFileDelimiter.js +13 -0
  63. package/js/types/Enum/FecFileDelimiter.js.map +1 -0
  64. package/js/types/Enum/ThirdPartyType.js.map +1 -1
  65. package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js +2 -0
  66. package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
  67. package/js/types/Interface/api/fecFile/CreateFecFile.js +37 -0
  68. package/js/types/Interface/api/fecFile/CreateFecFile.js.map +1 -0
  69. package/js/types/Interface/api/fecFile/ReadFecFile.js +6 -0
  70. package/js/types/Interface/api/fecFile/ReadFecFile.js.map +1 -0
  71. package/js/types/Interface/api/file/TFile.js +6 -0
  72. package/js/types/Interface/api/file/TFile.js.map +1 -0
  73. package/js/types/Interface/models/IApiError.js +3 -1
  74. package/js/types/Interface/models/IApiError.js.map +1 -1
  75. package/js/types/Interface/models/IFecFile.js +6 -0
  76. package/js/types/Interface/models/IFecFile.js.map +1 -0
  77. package/js/types/index.js +60 -0
  78. package/js/types/index.js.map +1 -1
  79. package/package.json +1 -1
  80. package/ts/api/resources/FecFile.ts +21 -0
  81. package/ts/api/resources/Immobilization.ts +1 -1
  82. package/ts/api/resources.ts +2 -0
  83. package/ts/types/Enum/FecFileDelimiter.ts +5 -0
  84. package/ts/types/Enum/ThirdPartyType.ts +1 -1
  85. package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +2 -0
  86. package/ts/types/Interface/api/fecFile/CreateFecFile.ts +15 -0
  87. package/ts/types/Interface/api/fecFile/ReadFecFile.ts +25 -0
  88. package/ts/types/Interface/api/file/TFile.ts +8 -0
  89. package/ts/types/Interface/models/IAccount.ts +20 -20
  90. package/ts/types/Interface/models/IAccountingEntry.ts +3 -3
  91. package/ts/types/Interface/models/IAccountingTransaction.ts +25 -24
  92. package/ts/types/Interface/models/IApiError.ts +3 -0
  93. package/ts/types/Interface/models/IFecFile.ts +17 -0
  94. package/ts/types/Interface/models/IThirdParty.ts +5 -6
  95. package/ts/types/index.ts +6 -0
@@ -0,0 +1,8 @@
1
+ import { Resource } from '../Resource';
2
+ import { CreateFecFile, ReadFecFile, IFecFile, CreateMappingFecFile } from '../../types';
3
+ export declare class FecFile extends Resource {
4
+ get(): Promise<IFecFile>;
5
+ create(params: CreateFecFile): Promise<ReadFecFile>;
6
+ map(params: CreateMappingFecFile): Promise<IFecFile>;
7
+ }
8
+ //# sourceMappingURL=FecFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FecFile.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/FecFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,aAAa,EACb,WAAW,EACX,QAAQ,EACR,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAErB,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,GAAG,IAAI,OAAO,CAAC,QAAQ,CAAC;IAIxB,MAAM,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,WAAW,CAAC;IAInD,GAAG,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC;CAGrD"}
@@ -0,0 +1,13 @@
1
+ import { Resource } from '../Resource';
2
+ export class FecFile extends Resource {
3
+ get() {
4
+ return this.axios.$get('fecFile');
5
+ }
6
+ create(params) {
7
+ return this.axios.$post('fecFile', params);
8
+ }
9
+ map(params) {
10
+ return this.axios.$post('fecFile/mapping', params);
11
+ }
12
+ }
13
+ //# sourceMappingURL=FecFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FecFile.js","sourceRoot":"","sources":["../../../ts/api/resources/FecFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAQvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,GAAG;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACpC,CAAC;IAED,MAAM,CAAC,MAAqB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC7C,CAAC;IAED,GAAG,CAAC,MAA4B;QAC9B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;IACrD,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateFecFile,\n ReadFecFile,\n IFecFile,\n CreateMappingFecFile,\n} from '../../types';\n\nexport class FecFile extends Resource {\n get(): Promise<IFecFile> {\n return this.axios.$get('fecFile');\n }\n\n create(params: CreateFecFile): Promise<ReadFecFile> {\n return this.axios.$post('fecFile', params);\n }\n\n map(params: CreateMappingFecFile): Promise<IFecFile> {\n return this.axios.$post('fecFile/mapping', params);\n }\n}"]}
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import { Resource } from '../Resource';
2
3
  import { ReadFormattedImmobilizationsByAccount, ReadHydratedImmobilization } from '../../types';
3
4
  export declare class Immobilization extends Resource {
@@ -6,7 +7,7 @@ export declare class Immobilization extends Resource {
6
7
  }): Promise<ReadFormattedImmobilizationsByAccount | Error>;
7
8
  getImmobilizationsInventoryPdf(params: {
8
9
  idExercice: number;
9
- }): Promise<void>;
10
+ }): Promise<Buffer>;
10
11
  getImmobilizations(params: {
11
12
  idSociety: number;
12
13
  }): Promise<ReadHydratedImmobilization[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"Immobilization.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Immobilization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,qCAAqC,EAAE,0BAA0B,EAClE,MAAM,aAAa,CAAC;AAErB,qBAAa,cAAe,SAAQ,QAAQ;IAC1C,2BAA2B,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,qCAAqC,GAAG,KAAK,CAAC;IAInH,8BAA8B,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAS7E,kBAAkB,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC;CAGzF"}
1
+ {"version":3,"file":"Immobilization.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Immobilization.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,qCAAqC,EAAE,0BAA0B,EAClE,MAAM,aAAa,CAAC;AAErB,qBAAa,cAAe,SAAQ,QAAQ;IAC1C,2BAA2B,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,qCAAqC,GAAG,KAAK,CAAC;IAInH,8BAA8B,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,CAAC;IAS/E,kBAAkB,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC;CAGzF"}
@@ -1 +1 @@
1
- {"version":3,"file":"Immobilization.js","sourceRoot":"","sources":["../../../ts/api/resources/Immobilization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,cAAe,SAAQ,QAAQ;IAC1C,2BAA2B,CAAC,MAA8B;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,MAAM,CAAC,UAAU,2BAA2B,EAAE,EAAE,CAAC,CAAC;IACxF,CAAC;IAED,8BAA8B,CAAC,MAA8B;QAC3D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,MAAM,CAAC,UAAU,+BAA+B,EAAE;YACpF,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,kBAAkB,CAAC,MAA6B;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,kBAAkB,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n ReadFormattedImmobilizationsByAccount, ReadHydratedImmobilization,\n} from '../../types';\n\nexport class Immobilization extends Resource {\n getImmobilizationsInventory(params: { idExercice: number }): Promise<ReadFormattedImmobilizationsByAccount | Error> {\n return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory`, {});\n }\n\n getImmobilizationsInventoryPdf(params: { idExercice: number }): Promise<void> {\n return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory/pdf`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getImmobilizations(params: { idSociety: number }): Promise<ReadHydratedImmobilization[]> {\n return this.axios.$get(`/society/${params.idSociety}/immobilizations`, {});\n }\n}\n"]}
1
+ {"version":3,"file":"Immobilization.js","sourceRoot":"","sources":["../../../ts/api/resources/Immobilization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,cAAe,SAAQ,QAAQ;IAC1C,2BAA2B,CAAC,MAA8B;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,MAAM,CAAC,UAAU,2BAA2B,EAAE,EAAE,CAAC,CAAC;IACxF,CAAC;IAED,8BAA8B,CAAC,MAA8B;QAC3D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,MAAM,CAAC,UAAU,+BAA+B,EAAE;YACpF,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,kBAAkB,CAAC,MAA6B;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,kBAAkB,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n ReadFormattedImmobilizationsByAccount, ReadHydratedImmobilization,\n} from '../../types';\n\nexport class Immobilization extends Resource {\n getImmobilizationsInventory(params: { idExercice: number }): Promise<ReadFormattedImmobilizationsByAccount | Error> {\n return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory`, {});\n }\n\n getImmobilizationsInventoryPdf(params: { idExercice: number }): Promise<Buffer> {\n return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory/pdf`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getImmobilizations(params: { idSociety: number }): Promise<ReadHydratedImmobilization[]> {\n return this.axios.$get(`/society/${params.idSociety}/immobilizations`, {});\n }\n}\n"]}
@@ -12,6 +12,7 @@ import { Society } from './resources/Society';
12
12
  import { Partner } from './resources/Partner';
13
13
  import { GeneralLedger } from './resources/GeneralLedger';
14
14
  import { IncomeStatement } from './resources/IncomeStatement';
15
+ import { FecFile } from './resources/FecFile';
15
16
  export declare const resources: {
16
17
  simulation: typeof Simulation;
17
18
  country: typeof Country;
@@ -25,6 +26,7 @@ export declare const resources: {
25
26
  firstStep: typeof FirstStep;
26
27
  society: typeof Society;
27
28
  partner: typeof Partner;
29
+ fecFile: typeof FecFile;
28
30
  generalLedger: typeof GeneralLedger;
29
31
  incomeStatement: typeof IncomeStatement;
30
32
  };
@@ -1 +1 @@
1
- {"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF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AM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAgBrB,CAAC"}
@@ -12,6 +12,7 @@ import { Society } from './resources/Society';
12
12
  import { Partner } from './resources/Partner';
13
13
  import { GeneralLedger } from './resources/GeneralLedger';
14
14
  import { IncomeStatement } from './resources/IncomeStatement';
15
+ import { FecFile } from './resources/FecFile';
15
16
  export const resources = {
16
17
  simulation: Simulation,
17
18
  country: Country,
@@ -25,6 +26,7 @@ export const resources = {
25
26
  firstStep: FirstStep,
26
27
  society: Society,
27
28
  partner: Partner,
29
+ fecFile: FecFile,
28
30
  generalLedger: GeneralLedger,
29
31
  incomeStatement: IncomeStatement,
30
32
  };
@@ -1 +1 @@
1
- {"version":3,"file":"resources.js","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,UAAU,EAAE,UAAU;IACtB,OAAO,EAAE,OAAO;IAChB,0BAA0B,EAAE,0BAA0B;IACtD,cAAc,EAAE,cAAc;IAC9B,WAAW,EAAE,WAAW;IACxB,WAAW,EAAE,WAAW;IACxB,OAAO,EAAE,OAAO;IAChB,IAAI,EAAE,IAAI;IACV,MAAM,EAAE,MAAM;IACd,SAAS,EAAE,SAAS;IACpB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,OAAO;IAChB,aAAa,EAAE,aAAa;IAC5B,eAAe,EAAE,eAAe;CACjC,CAAC","sourcesContent":["import { Country } from './resources/Country';\nimport { Simulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { IncomeStatement } from './resources/IncomeStatement';\n\nexport const resources = {\n simulation: Simulation,\n country: Country,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n user: User,\n survey: Survey,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n generalLedger: GeneralLedger,\n incomeStatement: IncomeStatement,\n};\n"]}
1
+ {"version":3,"file":"resources.js","sourceRoot":"","sources":["../../ts/api/resources.ts"],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ulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { IncomeStatement } from './resources/IncomeStatement';\nimport { FecFile } from './resources/FecFile';\n\nexport const resources = {\n simulation: Simulation,\n country: Country,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n user: User,\n survey: Survey,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n fecFile: FecFile,\n generalLedger: GeneralLedger,\n incomeStatement: IncomeStatement,\n};\n"]}
@@ -0,0 +1,6 @@
1
+ export declare enum FecFileDelimiter {
2
+ PIPE = "|",
3
+ SEMI_COLON = ";",
4
+ TAB = "\t"
5
+ }
6
+ //# sourceMappingURL=FecFileDelimiter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FecFileDelimiter.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/FecFileDelimiter.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,IAAI,MAAM;IACV,UAAU,MAAM;IAChB,GAAG,OAAO;CACX"}
@@ -0,0 +1,7 @@
1
+ export var FecFileDelimiter;
2
+ (function (FecFileDelimiter) {
3
+ FecFileDelimiter["PIPE"] = "|";
4
+ FecFileDelimiter["SEMI_COLON"] = ";";
5
+ FecFileDelimiter["TAB"] = "\t";
6
+ })(FecFileDelimiter || (FecFileDelimiter = {}));
7
+ //# sourceMappingURL=FecFileDelimiter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FecFileDelimiter.js","sourceRoot":"","sources":["../../../ts/types/Enum/FecFileDelimiter.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,8BAAU,CAAA;IACV,oCAAgB,CAAA;IAChB,8BAAU,CAAA;AACZ,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B","sourcesContent":["export enum FecFileDelimiter {\n PIPE = '|',\n SEMI_COLON = ';',\n TAB = '\\t',\n}"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ThirdPartyType.js","sourceRoot":"","sources":["../../../ts/types/Enum/ThirdPartyType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,2DAAY,CAAA;IACZ,2DAAY,CAAA;AACd,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB","sourcesContent":["export enum ThirdPartyType{\n CUSTOMER = 1,\n PROVIDER = 2,\n}"]}
1
+ {"version":3,"file":"ThirdPartyType.js","sourceRoot":"","sources":["../../../ts/types/Enum/ThirdPartyType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,2DAAY,CAAA;IACZ,2DAAY,CAAA;AACd,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB","sourcesContent":["export enum ThirdPartyType {\n CUSTOMER = 1,\n PROVIDER = 2,\n}"]}
@@ -17,6 +17,7 @@ export declare type AnnotateAccountingTransaction = FormEntry[];
17
17
  export declare class UpdateAccountingTransaction {
18
18
  entries?: FormEntry[];
19
19
  comment?: string;
20
+ idSocietyPartner?: number;
20
21
  exported?: Date | null;
21
22
  }
22
23
  export interface ReadFormattedAccountingTransaction extends IAccountingTransaction {
@@ -1 +1 @@
1
- {"version":3,"file":"AnnotateAccountingTransaction.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGnE,oBAAY,kBAAkB,GAAG,eAAe,CAAC;AAEjD,qBAAa,SAAS;IACpB,GAAG,CAAC,EAAG,MAAM,GAAG;QACd,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IACJ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAGD,oBAAY,6BAA6B,GAAG,SAAS,EAAE,CAAC;AAExD,qBAAa,2BAA2B;IAGtC,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC;IAEtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB;AAGD,MAAM,WAAW,kCAAmC,SAAQ,sBAAsB;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,6BAA6B,CAAC;CACzC"}
1
+ {"version":3,"file":"AnnotateAccountingTransaction.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGnE,oBAAY,kBAAkB,GAAG,eAAe,CAAC;AAEjD,qBAAa,SAAS;IACpB,GAAG,CAAC,EAAG,MAAM,GAAG;QACd,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IACJ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAGD,oBAAY,6BAA6B,GAAG,SAAS,EAAE,CAAC;AAExD,qBAAa,2BAA2B;IAGtC,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC;IAEtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB;AAGD,MAAM,WAAW,kCAAmC,SAAQ,sBAAsB;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,6BAA6B,CAAC;CACzC"}
@@ -20,6 +20,10 @@ __decorate([
20
20
  ApiPropertyOptional(),
21
21
  __metadata("design:type", String)
22
22
  ], UpdateAccountingTransaction.prototype, "comment", void 0);
23
+ __decorate([
24
+ ApiPropertyOptional(),
25
+ __metadata("design:type", Number)
26
+ ], UpdateAccountingTransaction.prototype, "idSocietyPartner", void 0);
23
27
  __decorate([
24
28
  ApiPropertyOptional(),
25
29
  __metadata("design:type", Object)
@@ -1 +1 @@
1
- {"version":3,"file":"AnnotateAccountingTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAIxD,MAAM,OAAO,SAAS;CAYrB;AAKD,MAAM,OAAO,2BAA2B;CAQvC;AALC;IAFC,mBAAmB,EAAE;;4DAEA;AAEtB;IADC,mBAAmB,EAAE;;4DACL;AAEjB;IADC,mBAAmB,EAAE;;6DACC","sourcesContent":["import { IAccountingTransaction, IImmobilization } from '../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport type FormImmobilization = IImmobilization;\n\nexport class FormEntry {\n vat? : number | {\n idVat: number;\n amount: number;\n }[];\n idAccount?: number;\n idThirdParty?: number;\n amountAllTaxIncludedPurchase?: number;\n designation?: string;\n amountAllTaxIncluded?: number;\n immobilization?: FormImmobilization; // pour la création d'une immo\n idImmobilization?: number; //\n}\n\n// Permet d'annoté une transaction bancaire Split, Marge, Intracom, Immo etc...\nexport type AnnotateAccountingTransaction = FormEntry[];\n\nexport class UpdateAccountingTransaction {\n @ApiPropertyOptional()\n // @Type(() => FormEntry)\n entries?: FormEntry[];\n @ApiPropertyOptional()\n comment?: string;\n @ApiPropertyOptional()\n exported?: Date | null;\n}\n\n// Permet d'afficher une transaction bancaire avec les informations de base ainsi que les informations d'annotations\nexport interface ReadFormattedAccountingTransaction extends IAccountingTransaction {\n amount: number;\n comment: string | null;\n designation: string | null;\n debit: number;\n credit: number;\n autoAnnotateWithML: boolean;\n entries?: AnnotateAccountingTransaction;\n}\n"]}
1
+ {"version":3,"file":"AnnotateAccountingTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAIxD,MAAM,OAAO,SAAS;CAYrB;AAKD,MAAM,OAAO,2BAA2B;CAUvC;AAPC;IAFC,mBAAmB,EAAE;;4DAEA;AAEtB;IADC,mBAAmB,EAAE;;4DACL;AAEjB;IADC,mBAAmB,EAAE;;qEACI;AAE1B;IADC,mBAAmB,EAAE;;6DACC","sourcesContent":["import { IAccountingTransaction, IImmobilization } from '../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport type FormImmobilization = IImmobilization;\n\nexport class FormEntry {\n vat? : number | {\n idVat: number;\n amount: number;\n }[];\n idAccount?: number;\n idThirdParty?: number;\n amountAllTaxIncludedPurchase?: number;\n designation?: string;\n amountAllTaxIncluded?: number;\n immobilization?: FormImmobilization; // pour la création d'une immo\n idImmobilization?: number; //\n}\n\n// Permet d'annoté une transaction bancaire Split, Marge, Intracom, Immo etc...\nexport type AnnotateAccountingTransaction = FormEntry[];\n\nexport class UpdateAccountingTransaction {\n @ApiPropertyOptional()\n // @Type(() => FormEntry)\n entries?: FormEntry[];\n @ApiPropertyOptional()\n comment?: string;\n @ApiPropertyOptional()\n idSocietyPartner?: number;\n @ApiPropertyOptional()\n exported?: Date | null;\n}\n\n// Permet d'afficher une transaction bancaire avec les informations de base ainsi que les informations d'annotations\nexport interface ReadFormattedAccountingTransaction extends IAccountingTransaction {\n amount: number;\n comment: string | null;\n designation: string | null;\n debit: number;\n credit: number;\n autoAnnotateWithML: boolean;\n entries?: AnnotateAccountingTransaction;\n}\n"]}
@@ -0,0 +1,11 @@
1
+ import { FecFileDelimiter } from '../../../Enum/FecFileDelimiter';
2
+ import { TFile } from '../file/TFile';
3
+ import { MappingFecFile } from './ReadFecFile';
4
+ export declare class CreateFecFile {
5
+ file?: TFile;
6
+ delimiter: FecFileDelimiter;
7
+ }
8
+ export declare class CreateMappingFecFile {
9
+ mapping?: MappingFecFile;
10
+ }
11
+ //# sourceMappingURL=CreateFecFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFecFile.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/fecFile/CreateFecFile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,qBAAa,aAAa;IAExB,IAAI,CAAC,EAAE,KAAK,CAAC;IAEb,SAAS,EAAE,gBAAgB,CAAC;CAC7B;AACD,qBAAa,oBAAoB;IAE/B,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B"}
@@ -0,0 +1,28 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { ApiProperty } from '../../../../utils';
11
+ import { FecFileDelimiter } from '../../../Enum/FecFileDelimiter';
12
+ export class CreateFecFile {
13
+ }
14
+ __decorate([
15
+ ApiProperty(),
16
+ __metadata("design:type", Object)
17
+ ], CreateFecFile.prototype, "file", void 0);
18
+ __decorate([
19
+ ApiProperty(),
20
+ __metadata("design:type", String)
21
+ ], CreateFecFile.prototype, "delimiter", void 0);
22
+ export class CreateMappingFecFile {
23
+ }
24
+ __decorate([
25
+ ApiProperty(),
26
+ __metadata("design:type", Object)
27
+ ], CreateMappingFecFile.prototype, "mapping", void 0);
28
+ //# sourceMappingURL=CreateFecFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFecFile.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/fecFile/CreateFecFile.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAIlE,MAAM,OAAO,aAAa;CAKzB;AAHC;IADC,WAAW,EAAE;;2CACD;AAEb;IADC,WAAW,EAAE;;gDACc;AAE9B,MAAM,OAAO,oBAAoB;CAGhC;AADC;IADC,WAAW,EAAE;;qDACW","sourcesContent":["import { ApiProperty } from '../../../../utils';\nimport { FecFileDelimiter } from '../../../Enum/FecFileDelimiter';\nimport { TFile } from '../file/TFile';\nimport { MappingFecFile } from './ReadFecFile';\n\nexport class CreateFecFile {\n @ApiProperty()\n file?: TFile;\n @ApiProperty()\n delimiter: FecFileDelimiter;\n}\nexport class CreateMappingFecFile {\n @ApiProperty()\n mapping?: MappingFecFile;\n}"]}
@@ -0,0 +1,23 @@
1
+ import { IFecFile } from '../../models/IFecFile';
2
+ export interface AccountToMap {
3
+ number: number;
4
+ name: string;
5
+ suggestedIdAccount?: number | null;
6
+ targetIdAccount?: number | null;
7
+ }
8
+ export interface JournalToMap {
9
+ alias: string;
10
+ name: string;
11
+ suggestedIdAccountingJournal?: number | null;
12
+ targetIdAccountingJournal?: number | null;
13
+ }
14
+ export interface ReadFecFile {
15
+ fecFile: IFecFile;
16
+ accountsToMap: AccountToMap[];
17
+ journalsToMap: JournalToMap[];
18
+ }
19
+ export interface MappingFecFile {
20
+ accountsToMap: AccountToMap[];
21
+ journalsToMap: JournalToMap[];
22
+ }
23
+ //# sourceMappingURL=ReadFecFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadFecFile.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/fecFile/ReadFecFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,4BAA4B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3C;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,QAAQ,CAAC;IAClB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,aAAa,EAAE,YAAY,EAAE,CAAC;CAC/B;AACD,MAAM,WAAW,cAAc;IAC7B,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,aAAa,EAAE,YAAY,EAAE,CAAC;CAC/B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ReadFecFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadFecFile.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/fecFile/ReadFecFile.ts"],"names":[],"mappings":"","sourcesContent":["import { IFecFile } from '../../models/IFecFile';\n\nexport interface AccountToMap {\n number: number,\n name: string,\n suggestedIdAccount?: number | null,\n targetIdAccount?: number | null,\n}\n\nexport interface JournalToMap {\n alias: string,\n name: string,\n suggestedIdAccountingJournal?: number | null,\n targetIdAccountingJournal?: number | null,\n}\n\nexport interface ReadFecFile {\n fecFile: IFecFile,\n accountsToMap: AccountToMap[],\n journalsToMap: JournalToMap[],\n}\nexport interface MappingFecFile {\n accountsToMap: AccountToMap[],\n journalsToMap: JournalToMap[],\n}"]}
@@ -0,0 +1,10 @@
1
+ /// <reference types="node" />
2
+ export declare type TFile = {
3
+ buffer: Buffer;
4
+ encoding?: string;
5
+ fieldname: string;
6
+ mimetype?: string;
7
+ originalname: string;
8
+ size?: number;
9
+ };
10
+ //# sourceMappingURL=TFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TFile.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/file/TFile.ts"],"names":[],"mappings":";AAAA,oBAAY,KAAK,GAAG;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TFile.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/file/TFile.ts"],"names":[],"mappings":"","sourcesContent":["export type TFile = {\n buffer: Buffer,\n encoding?: string,\n fieldname: string,\n mimetype?: string,\n originalname: string,\n size?: number\n};"]}
@@ -10,28 +10,28 @@ export interface IAccount {
10
10
  id?: number;
11
11
  number: number;
12
12
  name: string;
13
- originalName: string | null;
14
- forceVat: boolean;
15
- blockVat: boolean;
16
- forceFile: boolean;
17
- isHidden: boolean;
18
- isImmo: boolean;
19
- isCorporal: boolean;
20
- icone: string | null;
21
- iconePNG: string | null;
22
- color: string | null;
23
- isOnlyTreso: boolean;
24
- isOnlyEnga: boolean;
25
- isGeneric: boolean;
26
- forClient: boolean;
27
- forFournisseur: boolean;
28
- juridicalSociety: number | null;
13
+ originalName?: string | null;
14
+ forceVat?: boolean;
15
+ blockVat?: boolean;
16
+ forceFile?: boolean;
17
+ isHidden?: boolean;
18
+ isImmo?: boolean;
19
+ isCorporal?: boolean;
20
+ icone?: string | null;
21
+ iconePNG?: string | null;
22
+ color?: string | null;
23
+ isOnlyTreso?: boolean;
24
+ isOnlyEnga?: boolean;
25
+ isGeneric?: boolean;
26
+ forClient?: boolean;
27
+ forFournisseur?: boolean;
28
+ juridicalSociety?: number | null;
29
29
  idNature: number;
30
30
  idAccountType: number;
31
- idVat: number | null;
32
- idRegisterCategorie: number | null;
33
- idSector: number | null;
34
- idParentAccount: number | null;
31
+ idVat?: number | null;
32
+ idRegisterCategorie?: number | null;
33
+ idSector?: number | null;
34
+ idParentAccount?: number | null;
35
35
  createdAt?: Date | null;
36
36
  updatedAt?: Date | null;
37
37
  deletedAt?: Date | null;
@@ -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,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,QAAQ;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE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I,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,cAAc,CAAC,EAAE,cAAc,EAAE,CAAC;IAClC,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IAccount.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"","sourcesContent":["import { INature } from './INature';\nimport { IAccountType } from './IAccountType';\nimport { IVat } from './IVat';\nimport { IRegisterCategory } from './IRegisterCategory';\nimport { ISector } from './ISector';\nimport { IAccountHelp } from './IAccountHelp';\nimport { IAccountDetail } from './IAccountDetail';\nimport { ISociety } from './ISociety';\n\n// accounts\nexport interface 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 forClient: boolean;\n forFournisseur: boolean;\n juridicalSociety: number | null;\n idNature: number;\n idAccountType: number;\n idVat: 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 sector?: ISector;\n accountHelp?: IAccountHelp;\n accountDetails?: IAccountDetail[];\n societies?: ISociety[];\n}\n"]}
1
+ {"version":3,"file":"IAccount.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"","sourcesContent":["import { INature } from './INature';\nimport { IAccountType } from './IAccountType';\nimport { IVat } from './IVat';\nimport { IRegisterCategory } from './IRegisterCategory';\nimport { ISector } from './ISector';\nimport { IAccountHelp } from './IAccountHelp';\nimport { IAccountDetail } from './IAccountDetail';\nimport { ISociety } from './ISociety';\n\n// accounts\nexport interface 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 forClient?: boolean;\n forFournisseur?: boolean;\n juridicalSociety?: number | null;\n idNature: number;\n idAccountType: number;\n idVat?: 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 sector?: ISector;\n accountHelp?: IAccountHelp;\n accountDetails?: IAccountDetail[];\n societies?: ISociety[];\n}\n"]}
@@ -9,11 +9,11 @@ export interface IAccountingEntry {
9
9
  master: boolean;
10
10
  dateValue: Date;
11
11
  designation: string;
12
- comment: string | null;
12
+ comment?: string | null;
13
13
  debit: number;
14
14
  credit: number;
15
- isPerso: boolean;
16
- autoAnnotate: boolean;
15
+ isPerso?: boolean;
16
+ autoAnnotate?: boolean;
17
17
  idInherit: number | null;
18
18
  idAccount: number | null;
19
19
  idThirdParty: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"IAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ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IACnC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,qBAAqB,CAAC,EAAE,sBAAsB,CAAC;IAC/C,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,WAAW,CAAC,EAAE,WAAW,EAAE,CAAC;CAC7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"IAccountingEntry.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccount } from './IAccount';\nimport { IThirdParty } from './IThirdParty';\nimport { IAccountingTransaction } from './IAccountingTransaction';\nimport { IVat } from './IVat';\nimport { IImmobilization } from './IImmobilization';\nimport { ISuggestion } from './ISuggestion';\n\n// accountingEntries\nexport interface IAccountingEntry {\n id?: number;\n master: boolean;\n dateValue: Date;\n designation: string;\n comment: string | null;\n debit: number;\n credit: number;\n isPerso: boolean;\n autoAnnotate: boolean;\n idInherit: number | null;\n idAccount: number | null;\n idThirdParty: number | null;\n idAccountingTransaction: number;\n idVat?: number | null;\n idImmobilization?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n account?: IAccount;\n thirdParty?: IThirdParty;\n accountingEntry?: IAccountingEntry;\n childTva?: IAccountingEntry;\n accountingTransaction?: IAccountingTransaction;\n vat?: IVat;\n immobilization?: IImmobilization;\n suggestions?: ISuggestion[];\n}\n"]}
1
+ {"version":3,"file":"IAccountingEntry.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccount } from './IAccount';\nimport { IThirdParty } from './IThirdParty';\nimport { IAccountingTransaction } from './IAccountingTransaction';\nimport { IVat } from './IVat';\nimport { IImmobilization } from './IImmobilization';\nimport { ISuggestion } from './ISuggestion';\n\n// accountingEntries\nexport interface IAccountingEntry {\n id?: number;\n master: boolean;\n dateValue: Date;\n designation: string;\n comment?: string | null;\n debit: number;\n credit: number;\n isPerso?: boolean;\n autoAnnotate?: boolean;\n idInherit: number | null;\n idAccount: number | null;\n idThirdParty: number | null;\n idAccountingTransaction: number;\n idVat?: number | null;\n idImmobilization?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n account?: IAccount;\n thirdParty?: IThirdParty;\n accountingEntry?: IAccountingEntry;\n childTva?: IAccountingEntry;\n accountingTransaction?: IAccountingTransaction;\n vat?: IVat;\n immobilization?: IImmobilization;\n suggestions?: ISuggestion[];\n}\n"]}
@@ -17,36 +17,37 @@ export interface IAccountingTransaction {
17
17
  invoiceNumber: string | null;
18
18
  budgeaTransactionId: string | null;
19
19
  dateValue: Date;
20
- dateLocked: Date | null;
21
- dateVerified: Date | null;
20
+ dateLocked?: Date | null;
21
+ dateVerified?: Date | null;
22
22
  originalValue?: number | null;
23
- idUser: number | null;
24
- isBlocked: boolean;
25
- isMerged: boolean;
26
- isAsset: boolean;
27
- isPayPerso: boolean;
23
+ idUser?: number | null;
24
+ isBlocked?: boolean;
25
+ isMerged?: boolean;
26
+ isAsset?: boolean;
27
+ isPayPerso?: boolean;
28
+ isFecImport?: boolean;
28
29
  exported: Date | null;
29
- kilometers: number | null;
30
- purchaseTtc: number | null;
31
- internComment: string | null;
32
- isReadMobile: boolean;
33
- invoiceRequested: boolean;
34
- isLockedMobile: boolean;
35
- isAlreadyProcessByOcr: boolean | null;
30
+ kilometers?: number | null;
31
+ purchaseTtc?: number | null;
32
+ internComment?: string | null;
33
+ isReadMobile?: boolean;
34
+ invoiceRequested?: boolean;
35
+ isLockedMobile?: boolean;
36
+ isAlreadyProcessByOcr?: boolean | null;
36
37
  idBankAccount: number | null;
37
38
  idSociety: number;
38
39
  idCurrency?: number | null;
39
- idPaymentMethod: number | null;
40
- idSocietyVehicle: number | null;
41
- idSocietyPartner: number | null;
42
- idRule: number | null;
43
- idLettering: number | null;
40
+ idPaymentMethod?: number | null;
41
+ idSocietyVehicle?: number | null;
42
+ idSocietyPartner?: number | null;
43
+ idRule?: number | null;
44
+ idLettering?: number | null;
44
45
  idAccountingJournal: number;
45
- idTypeCompta: number | null;
46
- idEstimateInvoice: number | null;
47
- idFile: number | null;
48
- idEBT: number | null;
49
- idEAF: number | null;
46
+ idTypeCompta?: number | null;
47
+ idEstimateInvoice?: number | null;
48
+ idFile?: number | null;
49
+ idEBT?: number | null;
50
+ idEAF?: number | null;
50
51
  createdAt?: Date | null;
51
52
  updatedAt?: Date | null;
52
53
  deletedAt?: Date | null;
@@ -1 +1 @@
1
- {"version":3,"file":"IAccountingTransaction.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,MAAM,WAAW,sBAAsB;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,mBAAmB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AE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACvC,eAAe,CAAC,EAAE,eAAe,EAAE,CAAC;IACpC,iBAAiB,CAAC,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,mBAAmB,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACjD"}
1
+ {"version":3,"file":"IAccountingTransaction.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,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AC;CACjD"}
@@ -1 +1 @@
1
- {"version":3,"file":"IAccountingTransaction.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingTransaction.ts"],"names":[],"mappings":"","sourcesContent":["import { IBankAccount } from './IBankAccount';\nimport { IAccountingEntry } from './IAccountingEntry';\nimport { IAccountingFile } from './IAccountingFile';\nimport { IAccountingJournal } from './IAccountingJournal';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\nimport { IRule } from './IRule';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IFile } from './IFile';\nimport { IComptaType } from './IComptaType';\nimport { ILettering } from './ILettering';\nimport { IPartnerTransaction } from './IPartnerTransaction';\nimport { ICurrency } from './ICurrency';\n\n// accountingTransactions\nexport interface IAccountingTransaction {\n id?: number;\n label: string | null;\n invoiceNumber: string | null;\n budgeaTransactionId: string | null;\n dateValue: Date;\n dateLocked: Date | null;\n dateVerified: Date | null;\n originalValue?: number | null;\n idUser: number | null;\n isBlocked: boolean;\n isMerged: boolean;\n isAsset: boolean;\n isPayPerso: boolean;\n exported: Date | null;\n kilometers: number | null;\n purchaseTtc: number | null;\n internComment: string | null;\n isReadMobile: boolean;\n invoiceRequested: boolean;\n isLockedMobile: boolean;\n isAlreadyProcessByOcr: boolean | null;\n idBankAccount: number | null;\n idSociety: number;\n idCurrency?: number | null;\n idPaymentMethod: number | null;\n idSocietyVehicle: number | null;\n idSocietyPartner: number | null;\n idRule: number | null;\n idLettering: number | null;\n idAccountingJournal: number;\n idTypeCompta: number | null;\n idEstimateInvoice: number | null;\n idFile: number | null;\n idEBT: number | null;\n idEAF: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n bankAccount?: IBankAccount;\n accountingEntries?: IAccountingEntry[];\n accountingFiles?: IAccountingFile[];\n accountingJournal?: IAccountingJournal;\n currency?: ICurrency;\n society?: ISociety;\n user?: IUser;\n rule?: IRule;\n estimatesInvoice?: IEstimateInvoice;\n file?: IFile;\n typeComptum?: IComptaType;\n lettering?: ILettering;\n partnersTransaction: IPartnerTransaction | null;\n}\n"]}
1
+ {"version":3,"file":"IAccountingTransaction.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingTransaction.ts"],"names":[],"mappings":"","sourcesContent":["import { IBankAccount } from './IBankAccount';\nimport { IAccountingEntry } from './IAccountingEntry';\nimport { IAccountingFile } from './IAccountingFile';\nimport { IAccountingJournal } from './IAccountingJournal';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\nimport { IRule } from './IRule';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IFile } from './IFile';\nimport { IComptaType } from './IComptaType';\nimport { ILettering } from './ILettering';\nimport { IPartnerTransaction } from './IPartnerTransaction';\nimport { ICurrency } from './ICurrency';\n\n// accountingTransactions\nexport interface IAccountingTransaction {\n id?: number;\n label: string | null;\n invoiceNumber: string | null;\n budgeaTransactionId: string | null;\n dateValue: Date;\n dateLocked?: Date | null;\n dateVerified?: Date | null;\n originalValue?: number | null;\n idUser?: number | null;\n isBlocked?: boolean;\n isMerged?: boolean;\n isAsset?: boolean;\n isPayPerso?: boolean;\n isFecImport?: boolean;\n exported: Date | null;\n kilometers?: number | null;\n purchaseTtc?: number | null;\n internComment?: string | null;\n isReadMobile?: boolean;\n invoiceRequested?: boolean;\n isLockedMobile?: boolean;\n isAlreadyProcessByOcr?: boolean | null;\n idBankAccount: number | null;\n idSociety: number;\n idCurrency?: number | null;\n idPaymentMethod?: number | null;\n idSocietyVehicle?: number | null;\n idSocietyPartner?: number | null;\n idRule?: number | null;\n idLettering?: number | null;\n idAccountingJournal: number;\n idTypeCompta?: number | null;\n idEstimateInvoice?: number | null;\n idFile?: number | null;\n idEBT?: number | null;\n idEAF?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n bankAccount?: IBankAccount;\n accountingEntries?: IAccountingEntry[];\n accountingFiles?: IAccountingFile[];\n accountingJournal?: IAccountingJournal;\n currency?: ICurrency;\n society?: ISociety;\n user?: IUser;\n rule?: IRule;\n estimatesInvoice?: IEstimateInvoice;\n file?: IFile;\n typeComptum?: IComptaType;\n lettering?: ILettering;\n partnersTransaction: IPartnerTransaction | null;\n}\n"]}
@@ -39,7 +39,8 @@ export declare enum Code {
39
39
  emailNotFound = "email_not_found",
40
40
  missingParamAccountNumber = "missing_param_account_number",
41
41
  accountNumberParamNotFound = "account_number_param_not_found",
42
- invalidIncomeStatementList = "invalid_income_statement_list"
42
+ invalidIncomeStatementList = "invalid_income_statement_list",
43
+ insertAccountingTransactionFailed = "insert_accounting_transaction_failed"
43
44
  }
44
45
  export interface IApiError {
45
46
  type: ErrorType;
@@ -1 +1 @@
1
- {"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,QAAQ,cAAc;IACtB,SAAS,yBAAyB;IAClC,aAAa,cAAc;CAC5B;AAED,oBAAY,IAAI;IAEd,YAAY,iCAAiC;IAC7C,qBAAqB,uCAAuC;IAC5D,QAAQ,uBAAuB;IAC/B,eAAe,8BAA8B;IAC7C,eAAe,8BAA8B;IAC7C,UAAU,iBAAiB;IAC3B,mBAAmB,0BAA0B;IAC7C,kBAAkB,sBAAsB;IAGxC,kBAAkB,yBAAyB;IAC3C,+BAA+B,2CAA2C;IAC1E,6BAA6B,yCAAyC;IACtE,uDAAuD,yEAAyE;IAChI,iBAAiB,wBAAwB;IACzC,mCAAmC,6CAA6C;IAChF,+BAA+B,0CAA0C;IACzE,+BAA+B,2CAA2C;IAC1E,6BAA6B,wCAAwC;IACrE,8BAA8B,wCAAwC;IACtE,4BAA4B,oCAAoC;IAChE,oBAAoB,6BAA6B;IACjD,iBAAiB,yBAAyB;IAC1C,uCAAuC,kDAAkD;IACzF,kCAAkC,6CAA6C;IAC/E,uCAAuC,kDAAkD;IACzF,gCAAgC,yCAAyC;IACzE,6CA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IACpG,gDAAgD,4DAA4D;IAC5G,wDAAwD,oEAAoE;IAG5H,WAAW,iBAAiB;IAG5B,iBAAiB,wBAAwB;IACzC,8BAA8B,uCAAuC;IACrE,0BAA0B,mCAAmC;IAC7D,aAAa,oBAAoB;IAGjC,yBAAyB,iCAAiC;IAC1D,0BAA0B,mCAAmC;IAG7D,0BAA0B,kCAAkC;IAG5D,iCAAiC,yCAAyC;CAC3E;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -48,5 +48,7 @@ export var Code;
48
48
  Code["accountNumberParamNotFound"] = "account_number_param_not_found";
49
49
  // Income statement
50
50
  Code["invalidIncomeStatementList"] = "invalid_income_statement_list";
51
+ // FecFile
52
+ Code["insertAccountingTransactionFailed"] = "insert_accounting_transaction_failed";
51
53
  })(Code || (Code = {}));
52
54
  //# sourceMappingURL=IApiError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,wCAA2B,CAAA;AAC7B,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAED,MAAM,CAAN,IAAY,IAgDX;AAhDD,WAAY,IAAI;IACd,aAAa;IACb,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,uCAA+B,CAAA;IAC/B,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAC7C,gDAAwC,CAAA;IAExC,mBAAmB;IACnB,mDAA2C,CAAA;IAC3C,kFAA0E,CAAA;IAC1E,8EAAsE,CAAA;IACtE,wIAAgI,CAAA;IAChI,iDAAyC,CAAA;IACzC,wFAAgF,CAAA;IAChF,iFAAyE,CAAA;IACzE,kFAA0E,CAAA;IAC1E,6EAAqE,CAAA;IACrE,8EAAsE,CAAA;IACtE,wEAAgE,CAAA;IAChE,yDAAiD,CAAA;IACjD,kDAA0C,CAAA;IAC1C,iGAAyF,CAAA;IACzF,uFAA+E,CAAA;IAC/E,iGAAyF,CAAA;IACzF,iFAAyE,CAAA;IACzE,4GAAoG,CAAA;IACpG,oHAA4G,CAAA;IAC5G,oIAA4H,CAAA;IAE5H,YAAY;IACZ,oCAA4B,CAAA;IAE5B,cAAc;IACd,iDAAyC,CAAA;IACzC,6EAAqE,CAAA;IACrE,qEAA6D,CAAA;IAC7D,yCAAiC,CAAA;IAEjC,cAAc;IACd,kEAA0D,CAAA;IAC1D,qEAA6D,CAAA;IAE7D,mBAAmB;IACnB,oEAA4D,CAAA;AAC9D,CAAC,EAhDW,IAAI,KAAJ,IAAI,QAgDf","sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n\n // PDF error\n mergeFailed = 'merge_failed',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
1
+ {"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,wCAA2B,CAAA;AAC7B,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAED,MAAM,CAAN,IAAY,IAmDX;AAnDD,WAAY,IAAI;IACd,aAAa;IACb,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,uCAA+B,CAAA;IAC/B,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAC7C,gDAAwC,CAAA;IAExC,mBAAmB;IACnB,mDAA2C,CAAA;IAC3C,kFAA0E,CAAA;IAC1E,8EAAsE,CAAA;IACtE,wIAAgI,CAAA;IAChI,iDAAyC,CAAA;IACzC,wFAAgF,CAAA;IAChF,iFAAyE,CAAA;IACzE,kFAA0E,CAAA;IAC1E,6EAAqE,CAAA;IACrE,8EAAsE,CAAA;IACtE,wEAAgE,CAAA;IAChE,yDAAiD,CAAA;IACjD,kDAA0C,CAAA;IAC1C,iGAAyF,CAAA;IACzF,uFAA+E,CAAA;IAC/E,iGAAyF,CAAA;IACzF,iFAAyE,CAAA;IACzE,4GAAoG,CAAA;IACpG,oHAA4G,CAAA;IAC5G,oIAA4H,CAAA;IAE5H,YAAY;IACZ,oCAA4B,CAAA;IAE5B,cAAc;IACd,iDAAyC,CAAA;IACzC,6EAAqE,CAAA;IACrE,qEAA6D,CAAA;IAC7D,yCAAiC,CAAA;IAEjC,cAAc;IACd,kEAA0D,CAAA;IAC1D,qEAA6D,CAAA;IAE7D,mBAAmB;IACnB,oEAA4D,CAAA;IAE5D,UAAU;IACV,kFAA0E,CAAA;AAC5E,CAAC,EAnDW,IAAI,KAAJ,IAAI,QAmDf","sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n\n // PDF error\n mergeFailed = 'merge_failed',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
@@ -0,0 +1,14 @@
1
+ import { ISociety } from './ISociety';
2
+ import { IFile } from './IFile';
3
+ export interface IFecFile {
4
+ id?: number;
5
+ importComplete: boolean;
6
+ delimiter: string;
7
+ idFile: number;
8
+ idSociety: number;
9
+ createdAt?: Date | null;
10
+ updatedAt?: Date | null;
11
+ file?: IFile;
12
+ society?: ISociety;
13
+ }
14
+ //# sourceMappingURL=IFecFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IFecFile.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IFecFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,QAAQ;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IFecFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IFecFile.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IFecFile.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IFile } from './IFile';\n\n// files\nexport interface IFecFile {\n id?: number;\n importComplete: boolean;\n delimiter: string;\n idFile: number;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n file?: IFile;\n society?: ISociety;\n}\n"]}