@silexpert/core 0.1.0 → 0.1.2

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 (84) hide show
  1. package/README.md +2 -2
  2. package/es/api/resources/PaymentExpectationCustomer.d.ts +6 -2
  3. package/es/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
  4. package/es/api/resources/PaymentExpectationCustomer.js +14 -0
  5. package/es/api/resources/PaymentExpectationCustomer.js.map +1 -1
  6. package/es/types/Enum/AccountingJournal.d.ts +10 -0
  7. package/es/types/Enum/AccountingJournal.d.ts.map +1 -0
  8. package/es/types/Enum/AccountingJournal.js +11 -0
  9. package/es/types/Enum/AccountingJournal.js.map +1 -0
  10. package/es/types/Interface/api/accountingEntry/CreateAccountingEntry.d.ts +1 -1
  11. package/es/types/Interface/api/accountingEntry/CreateAccountingEntry.d.ts.map +1 -1
  12. package/es/types/Interface/api/accountingEntry/CreateAccountingEntry.js.map +1 -1
  13. package/es/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.d.ts +16 -0
  14. package/es/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.d.ts.map +1 -0
  15. package/es/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.js +3 -0
  16. package/es/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.js.map +1 -0
  17. package/es/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.d.ts +12 -1
  18. package/es/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.d.ts.map +1 -1
  19. package/es/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js +4 -0
  20. package/es/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js.map +1 -1
  21. package/es/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.d.ts +14 -0
  22. package/es/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.d.ts.map +1 -1
  23. package/es/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.js.map +1 -1
  24. package/es/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.d.ts +27 -0
  25. package/es/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.d.ts.map +1 -0
  26. package/es/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.js +5 -0
  27. package/es/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.js.map +1 -0
  28. package/es/types/Interface/models/IAccount.d.ts +11 -11
  29. package/es/types/Interface/models/IAccount.d.ts.map +1 -1
  30. package/es/types/Interface/models/IAccount.js.map +1 -1
  31. package/es/types/Interface/models/IAccountingEntry.d.ts +3 -0
  32. package/es/types/Interface/models/IAccountingEntry.d.ts.map +1 -1
  33. package/es/types/Interface/models/IAccountingEntry.js.map +1 -1
  34. package/es/types/Interface/models/IAccountingFile.d.ts +12 -10
  35. package/es/types/Interface/models/IAccountingFile.d.ts.map +1 -1
  36. package/es/types/Interface/models/IAccountingFile.js.map +1 -1
  37. package/es/types/Interface/models/IApiError.d.ts +12 -1
  38. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  39. package/es/types/Interface/models/IApiError.js +13 -0
  40. package/es/types/Interface/models/IApiError.js.map +1 -1
  41. package/es/types/Interface/models/IFile.d.ts +6 -6
  42. package/es/types/Interface/models/IFile.d.ts.map +1 -1
  43. package/es/types/Interface/models/IFile.js.map +1 -1
  44. package/es/types/Interface/models/ISocietyConfig.d.ts +10 -8
  45. package/es/types/Interface/models/ISocietyConfig.d.ts.map +1 -1
  46. package/es/types/Interface/models/ISocietyConfig.js.map +1 -1
  47. package/es/types/Interface/models/IThirdParty.d.ts +23 -23
  48. package/es/types/Interface/models/IThirdParty.d.ts.map +1 -1
  49. package/es/types/Interface/models/IThirdParty.js.map +1 -1
  50. package/es/types/index.d.ts +3 -0
  51. package/es/types/index.d.ts.map +1 -1
  52. package/es/types/index.js +3 -0
  53. package/es/types/index.js.map +1 -1
  54. package/js/api/resources/PaymentExpectationCustomer.js +18 -0
  55. package/js/api/resources/PaymentExpectationCustomer.js.map +1 -1
  56. package/js/types/Enum/AccountingJournal.js +17 -0
  57. package/js/types/Enum/AccountingJournal.js.map +1 -0
  58. package/js/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.js +10 -0
  59. package/js/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.js.map +1 -0
  60. package/js/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js +8 -0
  61. package/js/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js.map +1 -1
  62. package/js/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.js +14 -0
  63. package/js/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.js.map +1 -0
  64. package/js/types/Interface/models/IApiError.js +14 -1
  65. package/js/types/Interface/models/IApiError.js.map +1 -1
  66. package/js/types/index.js +36 -0
  67. package/js/types/index.js.map +1 -1
  68. package/package.json +24 -24
  69. package/ts/api/resources/PaymentExpectationCustomer.ts +16 -2
  70. package/ts/types/Enum/AccountingJournal.ts +9 -0
  71. package/ts/types/Interface/api/accountingEntry/CreateAccountingEntry.ts +1 -1
  72. package/ts/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.ts +18 -0
  73. package/ts/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.ts +23 -1
  74. package/ts/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.ts +15 -0
  75. package/ts/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.ts +32 -0
  76. package/ts/types/Interface/models/IAccount.ts +11 -11
  77. package/ts/types/Interface/models/IAccountingEntry.ts +3 -0
  78. package/ts/types/Interface/models/IAccountingFile.ts +12 -10
  79. package/ts/types/Interface/models/IApiError.ts +16 -1
  80. package/ts/types/Interface/models/IFile.ts +6 -6
  81. package/ts/types/Interface/models/ISocietyConfig.ts +12 -8
  82. package/ts/types/Interface/models/IThirdParty.ts +23 -23
  83. package/ts/types/index.ts +3 -0
  84. package/yarn-error.log +5882 -0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <h1 align="center">Welcome to @silex/core 👋</h1>
1
+ <h1 align="center">Welcome to @silexpert/core 👋</h1>
2
2
  <p>
3
3
  <img alt="Version" src="https://img.shields.io/badge/version-0.0.1-blue.svg?cacheSeconds=2592000" />
4
4
  <img src="https://img.shields.io/badge/node-%3E%3D12.15.0-blue.svg" />
@@ -45,7 +45,7 @@ Une version du CORE local sera ainsi déployé, en simulant un déploiement npm.
45
45
  Pour pouvoir utiliser le core dans l'API/APP, il faut se rendre dans les dossiers des applications respectifs et saisir la commande:<br>
46
46
 
47
47
  ```sh
48
- yalc link @silex/core
48
+ yalc link @silexpert/core
49
49
  ```
50
50
 
51
51
  Un lien symbolique vers le repository local est créé.<br><br>
@@ -1,9 +1,13 @@
1
1
  import { Resource } from '../Resource';
2
- import { QueryGetPaymentExpectationCustomer, IPaymentExpectationCustomer, QueryPayPaymentExpectationCustomer, QueryConfirmPaymentExpectationCustomer, QueryGetSocietyPaymentsExpectationsCustomers } from '../../types';
2
+ import { QueryGetPaymentExpectationCustomer, IPaymentExpectationCustomer, QueryPayPaymentExpectationCustomer, QueryConfirmPaymentExpectationCustomer, QueryGetSocietyPaymentsExpectationsCustomers, QueryDeleteSocietyPaymentExpectationCustomer, BasePaginate, UpdateRefundSocietyPaymentExpectationCustomer, CreateSocietyPaymentExpectationCustomer, ReadPaymentExpectationCustomerStat, QueryGetSocietyPaymentsExpectationsCustomersStats } from '../../types';
3
3
  export declare class PaymentExpectationCustomer extends Resource {
4
4
  getPaymentExpectationCustomer(params: QueryGetPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer>;
5
- getSocietyPaymentsExpectationsCustomers(params: QueryGetSocietyPaymentsExpectationsCustomers): Promise<IPaymentExpectationCustomer[]>;
5
+ getSocietyPaymentsExpectationsCustomers(params: QueryGetSocietyPaymentsExpectationsCustomers): Promise<BasePaginate<IPaymentExpectationCustomer>>;
6
+ getSocietyPaymentsExpectationsCustomersStats(params: QueryGetSocietyPaymentsExpectationsCustomersStats): Promise<ReadPaymentExpectationCustomerStat>;
6
7
  pay(params: QueryPayPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer>;
7
8
  confirm(params: QueryConfirmPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer>;
9
+ delete(params: QueryDeleteSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer>;
10
+ refund(params: UpdateRefundSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer>;
11
+ create(params: CreateSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer>;
8
12
  }
9
13
  //# sourceMappingURL=PaymentExpectationCustomer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/PaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,kCAAkC,EAAE,2BAA2B,EAAE,kCAAkC,EAAE,sCAAsC,EAAE,4CAA4C,EAAE,MAAM,aAAa,CAAC;AAExN,qBAAa,0BAA2B,SAAQ,QAAQ;IACtD,6BAA6B,CAAC,MAAM,EAAE,kCAAkC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAG/G,uCAAuC,CAAC,MAAM,EAAE,4CAA4C,GAAG,OAAO,CAAC,2BAA2B,EAAE,CAAC;IAKrI,GAAG,CAAC,MAAM,EAAE,kCAAkC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAGrF,OAAO,CAAC,MAAM,EAAE,sCAAsC,GAAG,OAAO,CAAC,2BAA2B,CAAC;CAG9F"}
1
+ {"version":3,"file":"PaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/PaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,kCAAkC,EAAE,2BAA2B,EAAE,kCAAkC,EAAE,sCAAsC,EAAE,4CAA4C,EAAE,4CAA4C,EAAE,YAAY,EAAE,6CAA6C,EAAE,uCAAuC,EAAE,kCAAkC,EAAE,iDAAiD,EAAE,MAAM,aAAa,CAAC;AAEnc,qBAAa,0BAA2B,SAAQ,QAAQ;IACtD,6BAA6B,CAAC,MAAM,EAAE,kCAAkC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAG/G,uCAAuC,CAAC,MAAM,EAAE,4CAA4C,GAAG,OAAO,CAAC,YAAY,CAAC,2BAA2B,CAAC,CAAC;IAKjJ,4CAA4C,CAAC,MAAM,EAAE,iDAAiD,GAAG,OAAO,CAAC,kCAAkC,CAAC;IAKpJ,GAAG,CAAC,MAAM,EAAE,kCAAkC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAGrF,OAAO,CAAC,MAAM,EAAE,sCAAsC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAG7F,MAAM,CAAC,MAAM,EAAE,4CAA4C,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAGlG,MAAM,CAAC,MAAM,EAAE,6CAA6C,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAGnG,MAAM,CAAC,MAAM,EAAE,uCAAuC,GAAG,OAAO,CAAC,2BAA2B,CAAC;CAG9F"}
@@ -8,11 +8,25 @@ export class PaymentExpectationCustomer extends Resource {
8
8
  params
9
9
  });
10
10
  }
11
+ getSocietyPaymentsExpectationsCustomersStats(params) {
12
+ return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers/stats`, {
13
+ params
14
+ });
15
+ }
11
16
  pay(params) {
12
17
  return this.axios.$post('/paymentExpectationCustomer/pay', params);
13
18
  }
14
19
  confirm(params) {
15
20
  return this.axios.$post('/paymentExpectationCustomer/confirm', params);
16
21
  }
22
+ delete(params) {
23
+ return this.axios.$delete(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`);
24
+ }
25
+ refund(params) {
26
+ return this.axios.$put(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`, params);
27
+ }
28
+ create(params) {
29
+ return this.axios.$post(`/society/${params.idSociety}/paymentExpectationCustomer`, params);
30
+ }
17
31
  }
18
32
  //# sourceMappingURL=PaymentExpectationCustomer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../ts/api/resources/PaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,0BAA2B,SAAQ,QAAQ;IACtD,6BAA6B,CAAC,MAA0C;QACtE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,uCAAuC,CAAC,MAAoD;QAC1F,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,gCAAgC,EAAE;YACnF,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IACD,GAAG,CAAC,MAA0C;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,iCAAiC,EAAE,MAAM,CAAC,CAAC;IACrE,CAAC;IACD,OAAO,CAAC,MAA8C;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,qCAAqC,EAAE,MAAM,CAAC,CAAC;IACzE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { QueryGetPaymentExpectationCustomer, IPaymentExpectationCustomer, QueryPayPaymentExpectationCustomer, QueryConfirmPaymentExpectationCustomer, QueryGetSocietyPaymentsExpectationsCustomers } from '../../types';\n\nexport class PaymentExpectationCustomer extends Resource {\n getPaymentExpectationCustomer(params: QueryGetPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params }); \n }\n getSocietyPaymentsExpectationsCustomers(params: QueryGetSocietyPaymentsExpectationsCustomers): Promise<IPaymentExpectationCustomer[]> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers`, { \n params\n }); \n }\n pay(params: QueryPayPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(params: QueryConfirmPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n}"]}
1
+ {"version":3,"file":"PaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../ts/api/resources/PaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,0BAA2B,SAAQ,QAAQ;IACtD,6BAA6B,CAAC,MAA0C;QACtE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,uCAAuC,CAAC,MAAoD;QAC1F,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,gCAAgC,EAAE;YACnF,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IACD,4CAA4C,CAAC,MAAyD;QACpG,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,sCAAsC,EAAE;YACzF,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IACD,GAAG,CAAC,MAA0C;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,iCAAiC,EAAE,MAAM,CAAC,CAAC;IACrE,CAAC;IACD,OAAO,CAAC,MAA8C;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,qCAAqC,EAAE,MAAM,CAAC,CAAC;IACzE,CAAC;IACD,MAAM,CAAC,MAAoD;QACzD,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,MAAM,CAAC,SAAS,kCAAkC,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC;IACvG,CAAC;IACD,MAAM,CAAC,MAAqD;QAC1D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,kCAAkC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACnH,CAAC;IACD,MAAM,CAAC,MAA+C;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,SAAS,6BAA6B,EAAE,MAAM,CAAC,CAAC;IAC7F,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { QueryGetPaymentExpectationCustomer, IPaymentExpectationCustomer, QueryPayPaymentExpectationCustomer, QueryConfirmPaymentExpectationCustomer, QueryGetSocietyPaymentsExpectationsCustomers, QueryDeleteSocietyPaymentExpectationCustomer, BasePaginate, UpdateRefundSocietyPaymentExpectationCustomer, CreateSocietyPaymentExpectationCustomer, ReadPaymentExpectationCustomerStat, QueryGetSocietyPaymentsExpectationsCustomersStats } from '../../types';\n\nexport class PaymentExpectationCustomer extends Resource {\n getPaymentExpectationCustomer(params: QueryGetPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params }); \n }\n getSocietyPaymentsExpectationsCustomers(params: QueryGetSocietyPaymentsExpectationsCustomers): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers`, { \n params\n }); \n }\n getSocietyPaymentsExpectationsCustomersStats(params: QueryGetSocietyPaymentsExpectationsCustomersStats): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers/stats`, { \n params\n }); \n }\n pay(params: QueryPayPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(params: QueryConfirmPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(params: QueryDeleteSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`);\n }\n refund(params: UpdateRefundSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`, params);\n }\n create(params: CreateSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(`/society/${params.idSociety}/paymentExpectationCustomer`, params);\n }\n}"]}
@@ -0,0 +1,10 @@
1
+ export declare enum AccountingJournal {
2
+ BQ = 1,
3
+ AC = 2,
4
+ VE = 3,
5
+ CAI = 4,
6
+ PER = 5,
7
+ AN = 6,
8
+ OD = 7
9
+ }
10
+ //# sourceMappingURL=AccountingJournal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountingJournal.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/AccountingJournal.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,EAAE,IAAE;IACJ,EAAE,IAAE;IACJ,EAAE,IAAE;IACJ,GAAG,IAAE;IACL,GAAG,IAAE;IACL,EAAE,IAAE;IACJ,EAAE,IAAE;CACL"}
@@ -0,0 +1,11 @@
1
+ export var AccountingJournal;
2
+ (function (AccountingJournal) {
3
+ AccountingJournal[AccountingJournal["BQ"] = 1] = "BQ";
4
+ AccountingJournal[AccountingJournal["AC"] = 2] = "AC";
5
+ AccountingJournal[AccountingJournal["VE"] = 3] = "VE";
6
+ AccountingJournal[AccountingJournal["CAI"] = 4] = "CAI";
7
+ AccountingJournal[AccountingJournal["PER"] = 5] = "PER";
8
+ AccountingJournal[AccountingJournal["AN"] = 6] = "AN";
9
+ AccountingJournal[AccountingJournal["OD"] = 7] = "OD";
10
+ })(AccountingJournal || (AccountingJournal = {}));
11
+ //# sourceMappingURL=AccountingJournal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountingJournal.js","sourceRoot":"","sources":["../../../ts/types/Enum/AccountingJournal.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,qDAAI,CAAA;IACJ,qDAAI,CAAA;IACJ,qDAAI,CAAA;IACJ,uDAAK,CAAA;IACL,uDAAK,CAAA;IACL,qDAAI,CAAA;IACJ,qDAAI,CAAA;AACN,CAAC,EARW,iBAAiB,KAAjB,iBAAiB,QAQ5B","sourcesContent":["export enum AccountingJournal {\n BQ=1,\n AC=2,\n VE=3,\n CAI=4,\n PER=5,\n AN=6,\n OD=7\n}"]}
@@ -2,7 +2,7 @@ export interface FormEntries {
2
2
  vat?: number | {
3
3
  idVat: number;
4
4
  amount: number;
5
- };
5
+ }[];
6
6
  idAccount?: number;
7
7
  idThirdParty?: number;
8
8
  amountAllTaxIncludedPurchase?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/CreateAccountingEntry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAG,MAAM,GAAG;QACd,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,CAAA;IACD,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,CAAA;CAC9B;AAID,oBAAY,qBAAqB,GAAG,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"CreateAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/CreateAccountingEntry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,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,CAAA;CAC9B;AAID,oBAAY,qBAAqB,GAAG,WAAW,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CreateAccountingEntry.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/CreateAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["export interface FormEntries {\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}\n\n\n\nexport type CreateAccountingEntry = FormEntries[];"]}
1
+ {"version":3,"file":"CreateAccountingEntry.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/CreateAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["export interface FormEntries {\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}\n\n\n\nexport type CreateAccountingEntry = FormEntries[];"]}
@@ -0,0 +1,16 @@
1
+ import { IPaymentExpectationCustomer } from '../../models/IPaymentExpectationCustomer';
2
+ export declare class CreateSocietyPaymentExpectationCustomer implements Partial<Omit<IPaymentExpectationCustomer, 'paymentExpectationEstimateInvoice' | 'thirdParty'>> {
3
+ email?: string | null;
4
+ emailBcc?: string | null;
5
+ amount: number | null;
6
+ label?: string | null;
7
+ paid: boolean | null;
8
+ refund: boolean | null;
9
+ key?: string | null;
10
+ token?: string | null;
11
+ sendingDate?: Date | null;
12
+ idThirdParty?: number;
13
+ idEstimateInvoice?: number | null | undefined;
14
+ idSociety: number;
15
+ }
16
+ //# sourceMappingURL=CreatePaymentExpectationCustomer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatePaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAEvF,qBAAa,uCAAwC,YAAW,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,mCAAmC,GAAG,YAAY,CAAC,CAAC;IAE5J,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAE9C,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,3 @@
1
+ export class CreateSocietyPaymentExpectationCustomer {
2
+ }
3
+ //# sourceMappingURL=CreatePaymentExpectationCustomer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatePaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,uCAAuC;CAenD","sourcesContent":["import { IPaymentExpectationCustomer } from '../../models/IPaymentExpectationCustomer';\n\nexport class CreateSocietyPaymentExpectationCustomer implements Partial<Omit<IPaymentExpectationCustomer, 'paymentExpectationEstimateInvoice' | 'thirdParty'>>{\n \n email?: string | null;\n emailBcc?: string | null;\n amount: number | null;\n label?: string | null;\n paid: boolean | null;\n refund: boolean | null;\n key?: string | null;\n token?: string | null;\n sendingDate?: Date | null;\n idThirdParty?: number;\n idEstimateInvoice?: number | null | undefined;\n\n idSociety: number;\n}"]}
@@ -8,11 +8,18 @@ export declare class QueryPaymentExpectationCustomer {
8
8
  export declare class QueryGetPaymentExpectationCustomer {
9
9
  token: string;
10
10
  }
11
+ export declare class QueryGetSocietyPaymentsExpectationsCustomersStats {
12
+ idSociety: number;
13
+ }
11
14
  export declare class QueryGetSocietyPaymentsExpectationsCustomers implements QueryPaginate, Order {
12
15
  idSociety: number;
16
+ status?: string | null;
17
+ dateStart?: string | null;
18
+ search?: string | null;
19
+ dateEnd?: string | null;
13
20
  page: number;
14
21
  limit: number;
15
- orderBy?: string;
22
+ order?: string;
16
23
  descending?: boolean;
17
24
  }
18
25
  export declare class QueryPayPaymentExpectationCustomer {
@@ -23,4 +30,8 @@ export declare class QueryConfirmPaymentExpectationCustomer {
23
30
  idPaymentIntent: string;
24
31
  token: string;
25
32
  }
33
+ export declare class QueryDeleteSocietyPaymentExpectationCustomer {
34
+ idSociety: number;
35
+ id: number;
36
+ }
26
37
  //# sourceMappingURL=QueryPaymentExpectationCustomer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,qBAAa,+BAA+B;IAG1C,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,EAAE,MAAM,CAAC;IAGf,YAAY,CAAC,EAAE,MAAM,CAAC;CAEvB;AAED,qBAAa,kCAAkC;IAG7C,KAAK,EAAE,MAAM,CAAC;CAEf;AAGD,qBAAa,4CAA6C,YAAW,aAAa,EAAE,KAAK;IAGvF,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,MAAM,CAAC;IAEd,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,UAAU,CAAC,EAAE,OAAO,CAAC;CAEtB;AAED,qBAAa,kCAAkC;IAG7C,eAAe,EAAE,MAAM,CAAC;IAGxB,KAAK,EAAE,MAAM,CAAC;CAEf;AAED,qBAAa,sCAAsC;IAGjD,eAAe,EAAE,MAAM,CAAC;IAGxB,KAAK,EAAE,MAAM,CAAC;CAEf"}
1
+ {"version":3,"file":"QueryPaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,qBAAa,+BAA+B;IAG1C,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,EAAE,MAAM,CAAC;IAGf,YAAY,CAAC,EAAE,MAAM,CAAC;CAEvB;AAED,qBAAa,kCAAkC;IAG7C,KAAK,EAAE,MAAM,CAAC;CAEf;AACD,qBAAa,iDAAiD;IAG5D,SAAS,EAAE,MAAM,CAAC;CAEnB;AAGD,qBAAa,4CAA6C,YAAW,aAAa,EAAE,KAAK;IAGvF,SAAS,EAAE,MAAM,CAAC;IAElB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,UAAU,CAAC,EAAE,OAAO,CAAC;CAEtB;AAED,qBAAa,kCAAkC;IAG7C,eAAe,EAAE,MAAM,CAAC;IAGxB,KAAK,EAAE,MAAM,CAAC;CAEf;AAED,qBAAa,sCAAsC;IAGjD,eAAe,EAAE,MAAM,CAAC;IAGxB,KAAK,EAAE,MAAM,CAAC;CAEf;AAED,qBAAa,4CAA4C;IAEvD,SAAS,EAAE,MAAM,CAAC;IAElB,EAAE,EAAE,MAAM,CAAC;CAEZ"}
@@ -2,10 +2,14 @@ export class QueryPaymentExpectationCustomer {
2
2
  }
3
3
  export class QueryGetPaymentExpectationCustomer {
4
4
  }
5
+ export class QueryGetSocietyPaymentsExpectationsCustomersStats {
6
+ }
5
7
  export class QueryGetSocietyPaymentsExpectationsCustomers {
6
8
  }
7
9
  export class QueryPayPaymentExpectationCustomer {
8
10
  }
9
11
  export class QueryConfirmPaymentExpectationCustomer {
10
12
  }
13
+ export class QueryDeleteSocietyPaymentExpectationCustomer {
14
+ }
11
15
  //# sourceMappingURL=QueryPaymentExpectationCustomer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,+BAA+B;CAW3C;AAED,MAAM,OAAO,kCAAkC;CAK9C;AAGD,MAAM,OAAO,4CAA4C;CAaxD;AAED,MAAM,OAAO,kCAAkC;CAQ9C;AAED,MAAM,OAAO,sCAAsC;CAQlD","sourcesContent":["import { QueryPaginate } from '../BasePaginate';\nimport { Order } from '../BaseRequest';\n\nexport class QueryPaymentExpectationCustomer {\n\n // @ApiProperty()\n label?: string;\n\n // @ApiProperty()\n amount: number;\n\n // @ApiProperty()\n idThirdParty?: number;\n\n}\n\nexport class QueryGetPaymentExpectationCustomer {\n\n // @ApiProperty()\n token: string;\n\n}\n\n\nexport class QueryGetSocietyPaymentsExpectationsCustomers implements QueryPaginate, Order {\n\n // @ApiProperty()\n idSociety: number;\n\n page: number;\n\n limit: number;\n\n orderBy?: string;\n\n descending?: boolean;\n\n}\n\nexport class QueryPayPaymentExpectationCustomer {\n\n // @ApiProperty()\n idPaymentMethod: string;\n\n // @ApiProperty()\n token: string;\n\n}\n\nexport class QueryConfirmPaymentExpectationCustomer {\n\n // @ApiProperty()\n idPaymentIntent: string;\n\n // @ApiProperty()\n token: string;\n\n}\n"]}
1
+ {"version":3,"file":"QueryPaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,+BAA+B;CAW3C;AAED,MAAM,OAAO,kCAAkC;CAK9C;AACD,MAAM,OAAO,iDAAiD;CAK7D;AAGD,MAAM,OAAO,4CAA4C;CAqBxD;AAED,MAAM,OAAO,kCAAkC;CAQ9C;AAED,MAAM,OAAO,sCAAsC;CAQlD;AAED,MAAM,OAAO,4CAA4C;CAMxD","sourcesContent":["import { QueryPaginate } from '../BasePaginate';\nimport { Order } from '../BaseRequest';\n\nexport class QueryPaymentExpectationCustomer {\n\n // @ApiProperty()\n label?: string;\n\n // @ApiProperty()\n amount: number;\n\n // @ApiProperty()\n idThirdParty?: number;\n\n}\n\nexport class QueryGetPaymentExpectationCustomer {\n\n // @ApiProperty()\n token: string;\n\n}\nexport class QueryGetSocietyPaymentsExpectationsCustomersStats {\n\n // @ApiProperty()\n idSociety: number;\n\n}\n\n\nexport class QueryGetSocietyPaymentsExpectationsCustomers implements QueryPaginate, Order {\n\n // @ApiProperty()\n idSociety: number;\n\n status?: string | null;\n\n dateStart?: string | null;\n\n search?: string | null;\n\n dateEnd?: string | null;\n\n page: number;\n\n limit: number;\n\n order?: string;\n\n descending?: boolean;\n\n}\n\nexport class QueryPayPaymentExpectationCustomer {\n\n // @ApiProperty()\n idPaymentMethod: string;\n\n // @ApiProperty()\n token: string;\n\n}\n\nexport class QueryConfirmPaymentExpectationCustomer {\n\n // @ApiProperty()\n idPaymentIntent: string;\n\n // @ApiProperty()\n token: string;\n\n}\n\nexport class QueryDeleteSocietyPaymentExpectationCustomer {\n\n idSociety: number;\n\n id: number;\n\n}\n"]}
@@ -4,4 +4,18 @@ export interface ReadPaymentIntent {
4
4
  success?: boolean;
5
5
  error?: string;
6
6
  }
7
+ export interface ReadPaymentExpectationCustomerStat {
8
+ total: {
9
+ sum: number;
10
+ count: number;
11
+ };
12
+ paid: {
13
+ sum: number;
14
+ count: number;
15
+ };
16
+ waiting: {
17
+ sum: number;
18
+ count: number;
19
+ };
20
+ }
7
21
  //# sourceMappingURL=ReadPaymentExpectationCustomer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadPaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"ReadPaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kCAAkC;IACjD,KAAK,EAAE;QACL,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,IAAI,EAAE;QACJ,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadPaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.ts"],"names":[],"mappings":"","sourcesContent":["export interface ReadPaymentIntent {\n requiresAction?: boolean;\n paymentIntentClientSecret?: string;\n success?: boolean;\n error?: string;\n}"]}
1
+ {"version":3,"file":"ReadPaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.ts"],"names":[],"mappings":"","sourcesContent":["export interface ReadPaymentIntent {\n requiresAction?: boolean;\n paymentIntentClientSecret?: string;\n success?: boolean;\n error?: string;\n}\n\nexport interface ReadPaymentExpectationCustomerStat {\n total: {\n sum: number;\n count: number;\n };\n paid: {\n sum: number;\n count: number;\n };\n waiting: {\n sum: number;\n count: number;\n };\n}"]}
@@ -0,0 +1,27 @@
1
+ import { IPaymentExpectationCustomer } from '../../models/IPaymentExpectationCustomer';
2
+ import { IEstimateInvoice } from '../../models/IEstimateInvoice';
3
+ import { IThirdParty } from '../../models/IThirdParty';
4
+ export declare class UpdateSocietyPaymentExpectationCustomer implements Omit<IPaymentExpectationCustomer, 'paymentExpectationEstimateInvoice' | 'thirdParty'> {
5
+ email: string | null;
6
+ emailBcc: string | null;
7
+ amount: number | null;
8
+ label: string | null;
9
+ paid: boolean | null;
10
+ refund: boolean | null;
11
+ key: string | null;
12
+ token: string | null;
13
+ sendingDate: Date | null;
14
+ idThirdParty?: number | null | undefined;
15
+ idEstimateInvoice?: number | null | undefined;
16
+ createdAt?: Date | null | undefined;
17
+ updatedAt?: Date | null | undefined;
18
+ paymentExpectationEstimateInvoice: IEstimateInvoice;
19
+ thirdParty: IThirdParty;
20
+ idSociety: number;
21
+ id: number;
22
+ }
23
+ export declare class UpdateRefundSocietyPaymentExpectationCustomer {
24
+ idSociety: number;
25
+ id: number;
26
+ }
27
+ //# sourceMappingURL=UpdatePaymentExpectationCustomer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdatePaymentExpectationCustomer.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,qBAAa,uCAAwC,YAAW,IAAI,CAAC,2BAA2B,EAAE,mCAAmC,GAAG,YAAY,CAAC;IAEnJ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,iCAAiC,EAAE,gBAAgB,CAAC;IACpD,UAAU,EAAE,WAAW,CAAC;IAExB,SAAS,EAAE,MAAM,CAAC;IAElB,EAAE,EAAE,MAAM,CAAC;CAEZ;AAED,qBAAa,6CAA6C;IACxD,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -0,0 +1,5 @@
1
+ export class UpdateSocietyPaymentExpectationCustomer {
2
+ }
3
+ export class UpdateRefundSocietyPaymentExpectationCustomer {
4
+ }
5
+ //# sourceMappingURL=UpdatePaymentExpectationCustomer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdatePaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,uCAAuC;CAsBnD;AAED,MAAM,OAAO,6CAA6C;CAGzD","sourcesContent":["import { IPaymentExpectationCustomer } from '../../models/IPaymentExpectationCustomer';\nimport { IEstimateInvoice } from '../../models/IEstimateInvoice';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport class UpdateSocietyPaymentExpectationCustomer implements Omit<IPaymentExpectationCustomer, 'paymentExpectationEstimateInvoice' | 'thirdParty'>{\n \n email: string | null;\n emailBcc: string | null;\n amount: number | null;\n label: string | null;\n paid: boolean | null;\n refund: boolean | null;\n key: string | null;\n token: string | null;\n sendingDate: Date | null;\n idThirdParty?: number | null | undefined;\n idEstimateInvoice?: number | null | undefined;\n createdAt?: Date | null | undefined;\n updatedAt?: Date | null | undefined;\n paymentExpectationEstimateInvoice: IEstimateInvoice;\n thirdParty: IThirdParty;\n\n idSociety: number;\n\n id: number;\n\n}\n\nexport class UpdateRefundSocietyPaymentExpectationCustomer {\n idSociety: number;\n id: number;\n}"]}
@@ -11,8 +11,8 @@ export interface IAccount {
11
11
  number: number;
12
12
  name: string;
13
13
  originalName: string | null;
14
- forceTva: boolean;
15
- blockTva: boolean;
14
+ forceVat: boolean;
15
+ blockVat: boolean;
16
16
  forceFile: boolean;
17
17
  isHidden: boolean;
18
18
  isImmo: boolean;
@@ -28,20 +28,20 @@ export interface IAccount {
28
28
  juridicalSociety: number | null;
29
29
  idNature: number;
30
30
  idTypeAccount: number;
31
- idTva: number | null;
31
+ idVat: number | null;
32
32
  idRegisterCategorie: number | null;
33
33
  idSector: number | null;
34
34
  idParentAccount: number | null;
35
35
  createdAt?: Date | null;
36
36
  updatedAt?: Date | null;
37
37
  deletedAt?: Date | null;
38
- nature: INature;
39
- typeAccount: IAccountType;
40
- tva: IVat;
41
- registerCategorie: IRegisterCategory;
42
- sector: ISector;
43
- accountHelp: IAccountHelp;
44
- accountDetails: IAccountDetail[];
45
- societies: ISociety[];
38
+ nature?: INature;
39
+ typeAccount?: IAccountType;
40
+ tva?: IVat;
41
+ registerCategorie?: IRegisterCategory;
42
+ sector?: ISector;
43
+ accountHelp?: IAccountHelp;
44
+ accountDetails?: IAccountDetail[];
45
+ societies?: ISociety[];
46
46
  }
47
47
  //# sourceMappingURL=IAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAccount.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"AACA,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,EAA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,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,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":["\nimport { 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 forceTva: boolean;\n blockTva: 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 idTypeAccount: number;\n idTva: 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 typeAccount: 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":["\nimport { 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 idTypeAccount: 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 typeAccount?: IAccountType;\n tva?: IVat;\n registerCategorie?: IRegisterCategory;\n sector?: ISector;\n accountHelp?: IAccountHelp;\n accountDetails?: IAccountDetail[];\n societies?: ISociety[];\n}\n"]}
@@ -1,6 +1,7 @@
1
1
  import { IAccount } from './IAccount';
2
2
  import { IThirdParty } from './IThirdParty';
3
3
  import { IAccountingTransaction } from './IAccountingTransaction';
4
+ import { IVat } from './IVat';
4
5
  export interface IAccountingEntry {
5
6
  id?: number;
6
7
  master: boolean;
@@ -15,6 +16,7 @@ export interface IAccountingEntry {
15
16
  idAccount: number | null;
16
17
  idThirdParty: number | null;
17
18
  idAccountingTransaction: number;
19
+ idVat?: number;
18
20
  createdAt?: Date | null;
19
21
  updatedAt?: Date | null;
20
22
  account?: IAccount;
@@ -22,5 +24,6 @@ export interface IAccountingEntry {
22
24
  accountingEntry?: IAccountingEntry;
23
25
  childTva?: IAccountingEntry;
24
26
  accountingTransaction?: IAccountingTransaction;
27
+ vat?: IVat;
25
28
  }
26
29
  //# sourceMappingURL=IAccountingEntry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingEntry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,O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AM,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,qBAAqB,CAAC,EAAE,sBAAsB,CAAC;IAC/C,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ"}
@@ -1 +1 @@
1
- {"version":3,"file":"IAccountingEntry.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IAccount } from './IAccount';\nimport { IThirdParty } from './IThirdParty';\nimport { IAccountingTransaction } from './IAccountingTransaction';\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 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}\n"]}
1
+ {"version":3,"file":"IAccountingEntry.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IAccount } from './IAccount';\nimport { IThirdParty } from './IThirdParty';\nimport { IAccountingTransaction } from './IAccountingTransaction';\nimport {IVat} from './IVat';\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;\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}\n"]}
@@ -3,28 +3,30 @@ import { IEstimateInvoice } from './IEstimateInvoice';
3
3
  import { IFileType } from './IFileType';
4
4
  import { IFile } from './IFile';
5
5
  import { ISociety } from './ISociety';
6
+ import { IAccountingFileType } from './IAccountingFileType';
6
7
  export interface IAccountingFile {
7
8
  id?: number;
8
- idUser: number | null;
9
+ idUser?: number | null;
9
10
  isMerged: boolean;
10
11
  budgeaDocumentid?: number | null;
11
12
  bankFileid?: string | null;
12
- emissionDate: Date | null;
13
+ emissionDate?: Date | null;
13
14
  isMobile: boolean;
14
15
  isDownload: boolean;
15
- idAccountingTransaction: number | null;
16
- idEstimateInvoice: number | null;
16
+ idAccountingTransaction?: number | null;
17
+ idEstimateInvoice?: number | null;
17
18
  idTypeAccountingFile: number;
18
19
  idSociety: number;
19
20
  idFile: number;
20
21
  createdAt?: Date | null;
21
22
  updatedAt?: Date | null;
22
23
  deletedAt?: Date | null;
23
- idFileType: number | null;
24
- accountingTransaction: IAccountingTransaction;
25
- estimatesInvoice: IEstimateInvoice;
26
- fileType: IFileType;
27
- file: IFile;
28
- society: ISociety;
24
+ idFileType?: number | null;
25
+ accountingTransaction?: IAccountingTransaction;
26
+ estimatesInvoice?: IEstimateInvoice;
27
+ accountingFileType?: IAccountingFileType;
28
+ fileType?: IFileType;
29
+ file?: IFile;
30
+ society?: ISociety;
29
31
  }
30
32
  //# sourceMappingURL=IAccountingFile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAccountingFile.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingFile.ts"],"names":[],"mappings":"AACA,OAAO,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O,CAAC,EAAE,QAAQ,CAAC;CACpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IAccountingFile.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingFile.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IAccountingTransaction } from './IAccountingTransaction';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IFileType } from './IFileType';\nimport { IFile } from './IFile';\nimport { ISociety } from './ISociety';\n\n// accountingFile\nexport interface IAccountingFile {\n id?: number;\n idUser: number | null;\n isMerged: boolean;\n budgeaDocumentid?: number | null;\n bankFileid?: string | null;\n emissionDate: Date | null;\n isMobile: boolean;\n isDownload: boolean;\n idAccountingTransaction: number | null;\n idEstimateInvoice: number | null;\n idTypeAccountingFile: number;\n idSociety: number;\n idFile: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n idFileType: number | null;\n\n // Associations\n accountingTransaction: IAccountingTransaction;\n estimatesInvoice: IEstimateInvoice;\n fileType: IFileType;\n file: IFile;\n society: ISociety;\n}\n"]}
1
+ {"version":3,"file":"IAccountingFile.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingFile.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IAccountingTransaction } from './IAccountingTransaction';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IFileType } from './IFileType';\nimport { IFile } from './IFile';\nimport { ISociety } from './ISociety';\nimport { IAccountingFileType } from './IAccountingFileType';\n\n// accountingFile\nexport interface IAccountingFile {\n id?: number;\n idUser?: number | null;\n isMerged: boolean;\n budgeaDocumentid?: number | null;\n bankFileid?: string | null;\n emissionDate?: Date | null;\n isMobile: boolean;\n isDownload: boolean;\n idAccountingTransaction?: number | null;\n idEstimateInvoice?: number | null;\n idTypeAccountingFile: number;\n idSociety: number;\n idFile: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n idFileType?: number | null;\n\n // Associations\n accountingTransaction?: IAccountingTransaction;\n estimatesInvoice?: IEstimateInvoice;\n accountingFileType?: IAccountingFileType;\n fileType?: IFileType;\n file?: IFile;\n society?: ISociety;\n}\n"]}
@@ -11,7 +11,18 @@ export declare enum Code {
11
11
  constraintError = "resource_constraint_error",
12
12
  outOfRange = "resource_ofr",
13
13
  internalServerError = "internal_server_error",
14
- constraintKeyError = "resource_fk_error"
14
+ constraintKeyError = "resource_fk_error",
15
+ failedCheckBalance = "failed_check_balance",
16
+ vatIntracomCanOnlyBeSetForDebit = "vat_intracom_can_only_be_set_for_debit",
17
+ vatMargeCanOnlyBeSetForCredit = "vat_marge_can_only_be_set_for_credit",
18
+ vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = "vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set",
19
+ missingParamSplit = "missing_param_split",
20
+ totalAmountSplitNotEqualTransaction = "total_amount_split_not_equal_transaction",
21
+ vatManuelIsSetWithNegativeValue = "vat_manuel_is_set_with_negative_value",
22
+ vatManuelIsNotSetWithSpecialVat = "vat_manuel_is_not_set_with_special_vat",
23
+ vatManuelCannotBeSetWithSplit = "vat_manuel_cannot_be_set_with_split",
24
+ vatNotAuthorizeWithThisAccount = "vat_not_authorize_with_this_account",
25
+ transactionIsAlreadyExported = "transaction_is_already_exported"
15
26
  }
16
27
  export interface IApiError {
17
28
  type: Type;
@@ -1 +1 @@
1
- {"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,IAAI;IACd,QAAQ,cAAc;IACtB,SAAS,yBAAyB;IAClC,aAAa,cAAc;CAC5B;AAED,oBAAY,IAAI;IACd,YAAY,iCAAiC;IAC7C,qBAAqB,uCAAuC;IAC5D,QAAQ,uBAAuB;IAC/B,eAAe,8BAA8B;IAC7C,eAAe,8BAA8B;IAC7C,UAAU,iBAAiB;IAC3B,mBAAmB,0BAA0B;IAC7C,kBAAkB,sBAAsB;CACzC;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,IAAI;IACd,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;CAEjE;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -6,6 +6,7 @@ export var Type;
6
6
  })(Type || (Type = {}));
7
7
  export var Code;
8
8
  (function (Code) {
9
+ // HTTP Error
9
10
  Code["tokenFailure"] = "token_authentication_failure";
10
11
  Code["authenticationFailure"] = "authentication_credentials_failure";
11
12
  Code["notFound"] = "resource_not_found";
@@ -14,5 +15,17 @@ export var Code;
14
15
  Code["outOfRange"] = "resource_ofr";
15
16
  Code["internalServerError"] = "internal_server_error";
16
17
  Code["constraintKeyError"] = "resource_fk_error";
18
+ // Custom Service Error
19
+ Code["failedCheckBalance"] = "failed_check_balance";
20
+ Code["vatIntracomCanOnlyBeSetForDebit"] = "vat_intracom_can_only_be_set_for_debit";
21
+ Code["vatMargeCanOnlyBeSetForCredit"] = "vat_marge_can_only_be_set_for_credit";
22
+ Code["vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet"] = "vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set";
23
+ Code["missingParamSplit"] = "missing_param_split";
24
+ Code["totalAmountSplitNotEqualTransaction"] = "total_amount_split_not_equal_transaction";
25
+ Code["vatManuelIsSetWithNegativeValue"] = "vat_manuel_is_set_with_negative_value";
26
+ Code["vatManuelIsNotSetWithSpecialVat"] = "vat_manuel_is_not_set_with_special_vat";
27
+ Code["vatManuelCannotBeSetWithSplit"] = "vat_manuel_cannot_be_set_with_split";
28
+ Code["vatNotAuthorizeWithThisAccount"] = "vat_not_authorize_with_this_account";
29
+ Code["transactionIsAlreadyExported"] = "transaction_is_already_exported";
17
30
  })(Code || (Code = {}));
18
31
  //# 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,IAIX;AAJD,WAAY,IAAI;IACd,8BAAsB,CAAA;IACtB,0CAAkC,CAAA;IAClC,mCAA2B,CAAA;AAC7B,CAAC,EAJW,IAAI,KAAJ,IAAI,QAIf;AAED,MAAM,CAAN,IAAY,IASX;AATD,WAAY,IAAI;IACd,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;AAC1C,CAAC,EATW,IAAI,KAAJ,IAAI,QASf","sourcesContent":["export enum Type {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error'\n}\n\nexport enum Code {\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\nexport interface IApiError {\n type: Type;\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,IAIX;AAJD,WAAY,IAAI;IACd,8BAAsB,CAAA;IACtB,0CAAkC,CAAA;IAClC,mCAA2B,CAAA;AAC7B,CAAC,EAJW,IAAI,KAAJ,IAAI,QAIf;AAED,MAAM,CAAN,IAAY,IAwBX;AAxBD,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,uBAAuB;IACvB,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;AAElE,CAAC,EAxBW,IAAI,KAAJ,IAAI,QAwBf","sourcesContent":["export enum Type {\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 // Custom Service 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\n}\n\nexport interface IApiError {\n type: Type;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
@@ -3,15 +3,15 @@ import { IFolderFile } from './IFolderFile';
3
3
  import { IFileType } from './IFileType';
4
4
  export interface IFile {
5
5
  id?: number;
6
- name: string;
7
- token: string;
6
+ name?: string;
7
+ token?: string;
8
8
  idFolderFile: number;
9
- idSociety: number | null;
9
+ idSociety?: number | null;
10
10
  idFileType: number | null;
11
11
  createdAt?: Date | null;
12
12
  updatedAt?: Date | null;
13
- attachmentFile: IAttachmentFile;
14
- folderFile: IFolderFile;
15
- fileType: IFileType;
13
+ attachmentFile?: IAttachmentFile;
14
+ folderFile?: IFolderFile;
15
+ fileType?: IFileType;
16
16
  }
17
17
  //# sourceMappingURL=IFile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IFile.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IFile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,cAAc,EAAE,eAAe,CAAC;IAChC,UAAU,EAAE,WAAW,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB"}
1
+ {"version":3,"file":"IFile.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IFile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IFile.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IAttachmentFile } from './IAttachmentFile';\nimport { IFolderFile } from './IFolderFile';\nimport { IFileType } from './IFileType';\n\n// files\nexport interface IFile {\n id?: number;\n name: string;\n token: string;\n idFolderFile: number;\n idSociety: number | null;\n idFileType: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n attachmentFile: IAttachmentFile;\n folderFile: IFolderFile;\n fileType: IFileType;\n}\n"]}
1
+ {"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IFile.ts"],"names":[],"mappings":"","sourcesContent":["\nimport { IAttachmentFile } from './IAttachmentFile';\nimport { IFolderFile } from './IFolderFile';\nimport { IFileType } from './IFileType';\n\n// files\nexport interface IFile {\n id?: number;\n name?: string;\n token?: string;\n idFolderFile: number;\n idSociety?: number | null;\n idFileType: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n attachmentFile?: IAttachmentFile;\n folderFile?: IFolderFile;\n fileType?: IFileType;\n}\n"]}