@silexpert/core 1.0.146 → 1.0.147

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 (220) hide show
  1. package/es/api/resources/Acceptance.d.ts +6 -0
  2. package/es/api/resources/Acceptance.d.ts.map +1 -0
  3. package/es/api/resources/Acceptance.js +7 -0
  4. package/es/api/resources/Acceptance.js.map +1 -0
  5. package/es/api/resources/CustomerActivity.d.ts +2 -1
  6. package/es/api/resources/CustomerActivity.d.ts.map +1 -1
  7. package/es/api/resources/CustomerActivity.js +3 -0
  8. package/es/api/resources/CustomerActivity.js.map +1 -1
  9. package/es/api/resources/Partner.d.ts +3 -1
  10. package/es/api/resources/Partner.d.ts.map +1 -1
  11. package/es/api/resources/Partner.js +6 -0
  12. package/es/api/resources/Partner.js.map +1 -1
  13. package/es/api/resources/Registration.d.ts +3 -1
  14. package/es/api/resources/Registration.d.ts.map +1 -1
  15. package/es/api/resources/Registration.js +6 -0
  16. package/es/api/resources/Registration.js.map +1 -1
  17. package/es/api/resources/Wallet.d.ts +2 -1
  18. package/es/api/resources/Wallet.d.ts.map +1 -1
  19. package/es/api/resources/Wallet.js +3 -0
  20. package/es/api/resources/Wallet.js.map +1 -1
  21. package/es/api/resources.d.ts +2 -0
  22. package/es/api/resources.d.ts.map +1 -1
  23. package/es/api/resources.js +2 -0
  24. package/es/api/resources.js.map +1 -1
  25. package/es/types/Enum/Acceptance.d.ts +5 -0
  26. package/es/types/Enum/Acceptance.d.ts.map +1 -0
  27. package/es/types/Enum/Acceptance.js +6 -0
  28. package/es/types/Enum/Acceptance.js.map +1 -0
  29. package/es/types/Enum/CerfaType.d.ts +5 -1
  30. package/es/types/Enum/CerfaType.d.ts.map +1 -1
  31. package/es/types/Enum/CerfaType.js +4 -0
  32. package/es/types/Enum/CerfaType.js.map +1 -1
  33. package/es/types/Enum/MailAuto.d.ts +2 -1
  34. package/es/types/Enum/MailAuto.d.ts.map +1 -1
  35. package/es/types/Enum/MailAuto.js +1 -0
  36. package/es/types/Enum/MailAuto.js.map +1 -1
  37. package/es/types/Enum/Notification.d.ts +5 -1
  38. package/es/types/Enum/Notification.d.ts.map +1 -1
  39. package/es/types/Enum/Notification.js +5 -0
  40. package/es/types/Enum/Notification.js.map +1 -1
  41. package/es/types/Enum/TaskResponseType.js +1 -1
  42. package/es/types/Enum/TaskResponseType.js.map +1 -1
  43. package/es/types/Interface/api/BasePaginate.d.ts +4 -0
  44. package/es/types/Interface/api/BasePaginate.d.ts.map +1 -1
  45. package/es/types/Interface/api/BasePaginate.js +15 -1
  46. package/es/types/Interface/api/BasePaginate.js.map +1 -1
  47. package/es/types/Interface/api/acceptance/CreateAcceptance.d.ts +7 -0
  48. package/es/types/Interface/api/acceptance/CreateAcceptance.d.ts.map +1 -0
  49. package/es/types/Interface/api/acceptance/CreateAcceptance.js +29 -0
  50. package/es/types/Interface/api/acceptance/CreateAcceptance.js.map +1 -0
  51. package/es/types/Interface/api/cerfa/2571.d.ts +92 -0
  52. package/es/types/Interface/api/cerfa/2571.d.ts.map +1 -0
  53. package/es/types/Interface/api/cerfa/2571.js +3 -0
  54. package/es/types/Interface/api/cerfa/2571.js.map +1 -0
  55. package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +1 -0
  56. package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
  57. package/es/types/Interface/api/cerfa/CreateCerfa.js +1 -0
  58. package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
  59. package/es/types/Interface/api/mail/CreateMailParams.d.ts +1 -0
  60. package/es/types/Interface/api/mail/CreateMailParams.d.ts.map +1 -1
  61. package/es/types/Interface/api/mail/CreateMailParams.js.map +1 -1
  62. package/es/types/Interface/api/partner/CreatePartner.d.ts +1 -0
  63. package/es/types/Interface/api/partner/CreatePartner.d.ts.map +1 -1
  64. package/es/types/Interface/api/partner/CreatePartner.js +4 -0
  65. package/es/types/Interface/api/partner/CreatePartner.js.map +1 -1
  66. package/es/types/Interface/api/partner/Query.d.ts +13 -0
  67. package/es/types/Interface/api/partner/Query.d.ts.map +1 -0
  68. package/es/types/Interface/api/partner/{GetPartners.js → Query.js} +26 -2
  69. package/es/types/Interface/api/partner/Query.js.map +1 -0
  70. package/es/types/Interface/api/partner/Read.d.ts +29 -0
  71. package/es/types/Interface/api/partner/Read.d.ts.map +1 -0
  72. package/es/types/Interface/api/partner/Read.js +7 -0
  73. package/es/types/Interface/api/partner/Read.js.map +1 -0
  74. package/es/types/Interface/api/partner/UpdatePartner.d.ts +1 -0
  75. package/es/types/Interface/api/partner/UpdatePartner.d.ts.map +1 -1
  76. package/es/types/Interface/api/partner/UpdatePartner.js +4 -0
  77. package/es/types/Interface/api/partner/UpdatePartner.js.map +1 -1
  78. package/es/types/Interface/api/registration/CreateRegistration.d.ts +24 -0
  79. package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  80. package/es/types/Interface/api/registration/CreateRegistration.js +62 -1
  81. package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  82. package/es/types/Interface/api/tax/CreateTax.d.ts +1 -0
  83. package/es/types/Interface/api/tax/CreateTax.d.ts.map +1 -1
  84. package/es/types/Interface/api/tax/CreateTax.js +7 -1
  85. package/es/types/Interface/api/tax/CreateTax.js.map +1 -1
  86. package/es/types/Interface/api/tax/ReadTax.d.ts +6 -0
  87. package/es/types/Interface/api/tax/ReadTax.d.ts.map +1 -1
  88. package/es/types/Interface/api/tax/ReadTax.js.map +1 -1
  89. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +6 -0
  90. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
  91. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +24 -1
  92. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  93. package/es/types/Interface/models/IAccountingStatementHistory.d.ts +18 -0
  94. package/es/types/Interface/models/IAccountingStatementHistory.d.ts.map +1 -0
  95. package/es/types/Interface/models/IAccountingStatementHistory.js +2 -0
  96. package/es/types/Interface/models/IAccountingStatementHistory.js.map +1 -0
  97. package/es/types/Interface/models/ICustomerAcceptance.d.ts +13 -0
  98. package/es/types/Interface/models/ICustomerAcceptance.d.ts.map +1 -0
  99. package/es/types/Interface/models/ICustomerAcceptance.js +2 -0
  100. package/es/types/Interface/models/ICustomerAcceptance.js.map +1 -0
  101. package/es/types/Interface/models/ICustomerIsRegime.d.ts +6 -1
  102. package/es/types/Interface/models/ICustomerIsRegime.d.ts.map +1 -1
  103. package/es/types/Interface/models/ICustomerIsRegime.js.map +1 -1
  104. package/es/types/Interface/models/IExercice.d.ts +1 -0
  105. package/es/types/Interface/models/IExercice.d.ts.map +1 -1
  106. package/es/types/Interface/models/IExercice.js.map +1 -1
  107. package/es/types/Interface/models/IRegistration.d.ts +3 -0
  108. package/es/types/Interface/models/IRegistration.d.ts.map +1 -1
  109. package/es/types/Interface/models/IRegistration.js.map +1 -1
  110. package/es/types/Interface/models/ISocietyPartner.d.ts +1 -0
  111. package/es/types/Interface/models/ISocietyPartner.d.ts.map +1 -1
  112. package/es/types/Interface/models/ISocietyPartner.js.map +1 -1
  113. package/es/types/Interface/models/IVatDeclarationSocietyDetail.d.ts +3 -1
  114. package/es/types/Interface/models/IVatDeclarationSocietyDetail.d.ts.map +1 -1
  115. package/es/types/Interface/models/IVatDeclarationSocietyDetail.js.map +1 -1
  116. package/es/types/index.d.ts +6 -2
  117. package/es/types/index.d.ts.map +1 -1
  118. package/es/types/index.js +6 -2
  119. package/es/types/index.js.map +1 -1
  120. package/js/api/resources/Acceptance.js +14 -0
  121. package/js/api/resources/Acceptance.js.map +1 -0
  122. package/js/api/resources/CustomerActivity.js +3 -0
  123. package/js/api/resources/CustomerActivity.js.map +1 -1
  124. package/js/api/resources/Partner.js +10 -0
  125. package/js/api/resources/Partner.js.map +1 -1
  126. package/js/api/resources/Registration.js +6 -0
  127. package/js/api/resources/Registration.js.map +1 -1
  128. package/js/api/resources/Wallet.js +7 -0
  129. package/js/api/resources/Wallet.js.map +1 -1
  130. package/js/api/resources.js +3 -1
  131. package/js/api/resources.js.map +1 -1
  132. package/js/types/Enum/Acceptance.js +11 -0
  133. package/js/types/Enum/Acceptance.js.map +1 -0
  134. package/js/types/Enum/CerfaType.js +4 -0
  135. package/js/types/Enum/CerfaType.js.map +1 -1
  136. package/js/types/Enum/MailAuto.js +1 -0
  137. package/js/types/Enum/MailAuto.js.map +1 -1
  138. package/js/types/Enum/Notification.js +5 -0
  139. package/js/types/Enum/Notification.js.map +1 -1
  140. package/js/types/Enum/TaskResponseType.js +1 -1
  141. package/js/types/Enum/TaskResponseType.js.map +1 -1
  142. package/js/types/Interface/api/BasePaginate.js +5 -1
  143. package/js/types/Interface/api/BasePaginate.js.map +1 -1
  144. package/js/types/Interface/api/acceptance/CreateAcceptance.js +25 -0
  145. package/js/types/Interface/api/acceptance/CreateAcceptance.js.map +1 -0
  146. package/js/types/Interface/api/cerfa/2571.js +8 -0
  147. package/js/types/Interface/api/cerfa/2571.js.map +1 -0
  148. package/js/types/Interface/api/cerfa/CreateCerfa.js +11 -1
  149. package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
  150. package/js/types/Interface/api/mail/CreateMailParams.js.map +1 -1
  151. package/js/types/Interface/api/partner/CreatePartner.js +1 -0
  152. package/js/types/Interface/api/partner/CreatePartner.js.map +1 -1
  153. package/js/types/Interface/api/partner/{GetPartners.js → Query.js} +11 -2
  154. package/js/types/Interface/api/partner/Query.js.map +1 -0
  155. package/js/types/Interface/api/partner/Read.js +12 -0
  156. package/js/types/Interface/api/partner/Read.js.map +1 -0
  157. package/js/types/Interface/api/partner/UpdatePartner.js +1 -0
  158. package/js/types/Interface/api/partner/UpdatePartner.js.map +1 -1
  159. package/js/types/Interface/api/registration/CreateRegistration.js +19 -1
  160. package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  161. package/js/types/Interface/api/tax/CreateTax.js +3 -0
  162. package/js/types/Interface/api/tax/CreateTax.js.map +1 -1
  163. package/js/types/Interface/api/tax/ReadTax.js.map +1 -1
  164. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +11 -1
  165. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  166. package/js/types/Interface/models/IAccountingStatementHistory.js +6 -0
  167. package/js/types/Interface/models/IAccountingStatementHistory.js.map +1 -0
  168. package/js/types/Interface/models/{IBalanceSheetHistory.js → ICustomerAcceptance.js} +1 -1
  169. package/js/types/Interface/models/ICustomerAcceptance.js.map +1 -0
  170. package/js/types/Interface/models/ICustomerIsRegime.js.map +1 -1
  171. package/js/types/Interface/models/IExercice.js.map +1 -1
  172. package/js/types/Interface/models/IRegistration.js.map +1 -1
  173. package/js/types/Interface/models/ISocietyPartner.js.map +1 -1
  174. package/js/types/Interface/models/IVatDeclarationSocietyDetail.js.map +1 -1
  175. package/js/types/index.js +76 -36
  176. package/js/types/index.js.map +1 -1
  177. package/package.json +1 -1
  178. package/ts/api/resources/Acceptance.ts +8 -0
  179. package/ts/api/resources/CustomerActivity.ts +7 -1
  180. package/ts/api/resources/Partner.ts +13 -0
  181. package/ts/api/resources/Registration.ts +9 -0
  182. package/ts/api/resources/Wallet.ts +10 -1
  183. package/ts/api/resources.ts +2 -0
  184. package/ts/types/Enum/Acceptance.ts +4 -0
  185. package/ts/types/Enum/CerfaType.ts +4 -0
  186. package/ts/types/Enum/MailAuto.ts +1 -0
  187. package/ts/types/Enum/Notification.ts +5 -0
  188. package/ts/types/Enum/TaskResponseType.ts +1 -1
  189. package/ts/types/Interface/api/BasePaginate.ts +13 -1
  190. package/ts/types/Interface/api/acceptance/CreateAcceptance.ts +16 -0
  191. package/ts/types/Interface/api/cerfa/2571.ts +97 -0
  192. package/ts/types/Interface/api/cerfa/CreateCerfa.ts +1 -0
  193. package/ts/types/Interface/api/mail/CreateMailParams.ts +1 -0
  194. package/ts/types/Interface/api/partner/CreatePartner.ts +2 -0
  195. package/ts/types/Interface/api/partner/Query.ts +30 -0
  196. package/ts/types/Interface/api/partner/Read.ts +31 -0
  197. package/ts/types/Interface/api/partner/UpdatePartner.ts +2 -0
  198. package/ts/types/Interface/api/registration/CreateRegistration.ts +58 -1
  199. package/ts/types/Interface/api/tax/CreateTax.ts +6 -1
  200. package/ts/types/Interface/api/tax/ReadTax.ts +8 -1
  201. package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +22 -1
  202. package/ts/types/Interface/models/IAccountingStatementHistory.ts +20 -0
  203. package/ts/types/Interface/models/ICustomerAcceptance.ts +14 -0
  204. package/ts/types/Interface/models/ICustomerIsRegime.ts +8 -1
  205. package/ts/types/Interface/models/IExercice.ts +1 -0
  206. package/ts/types/Interface/models/IRegistration.ts +3 -0
  207. package/ts/types/Interface/models/ISocietyPartner.ts +1 -0
  208. package/ts/types/Interface/models/IVatDeclarationSocietyDetail.ts +3 -1
  209. package/ts/types/index.ts +6 -2
  210. package/es/types/Interface/api/partner/GetPartners.d.ts +0 -4
  211. package/es/types/Interface/api/partner/GetPartners.d.ts.map +0 -1
  212. package/es/types/Interface/api/partner/GetPartners.js.map +0 -1
  213. package/es/types/Interface/models/IBalanceSheetHistory.d.ts +0 -10
  214. package/es/types/Interface/models/IBalanceSheetHistory.d.ts.map +0 -1
  215. package/es/types/Interface/models/IBalanceSheetHistory.js +0 -2
  216. package/es/types/Interface/models/IBalanceSheetHistory.js.map +0 -1
  217. package/js/types/Interface/api/partner/GetPartners.js.map +0 -1
  218. package/js/types/Interface/models/IBalanceSheetHistory.js.map +0 -1
  219. package/ts/types/Interface/api/partner/GetPartners.ts +0 -11
  220. package/ts/types/Interface/models/IBalanceSheetHistory.ts +0 -13
@@ -1 +1 @@
1
- {"version":3,"file":"CreateMailParams.js","names":[],"sources":["../../../../../ts/types/Interface/api/mail/CreateMailParams.ts"],"sourcesContent":["import { IMail } from '../../models/IMail';\nimport { IMailAddress } from '../../models/IMailAddress';\nimport { TFile } from '../file/TFile';\n\nexport interface CreateMailParams extends IMail{\n files?: TFile[];\n textPlain?: string;\n textHtml?: string;\n isAnswerProcessed?: boolean;\n idMailParent?: number;\n dateEvent?: Date;\n dateEventEnd?: Date;\n dayEvent?: string;\n hourEvent?: string;\n idAccountantEvent?: number;\n idReport?: number;\n idChecklist?: number;\n idLetter?: number;\n filesToken?: string[];\n}\n\nexport interface ExtendedIMailAddress extends IMailAddress { idMailAddressType?: number }\n"],"mappings":""}
1
+ {"version":3,"file":"CreateMailParams.js","names":[],"sources":["../../../../../ts/types/Interface/api/mail/CreateMailParams.ts"],"sourcesContent":["import { IMail } from '../../models/IMail';\nimport { IMailAddress } from '../../models/IMailAddress';\nimport { TFile } from '../file/TFile';\n\nexport interface CreateMailParams extends IMail{\n files?: TFile[];\n textPlain?: string;\n textHtml?: string;\n isAnswerProcessed?: boolean;\n idMailParent?: number;\n dateEvent?: Date;\n dateEventEnd?: Date;\n dayEvent?: string;\n hourEvent?: string;\n idAccountantEvent?: number;\n idReport?: number;\n idChecklist?: number;\n idLetter?: number;\n filesToken?: string[];\n idCustomerIsRegime?: number;\n}\n\nexport interface ExtendedIMailAddress extends IMailAddress { idMailAddressType?: number }\n"],"mappings":""}
@@ -23,6 +23,7 @@ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)
23
23
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], CreatePartner.prototype, "company", void 0);
24
24
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], CreatePartner.prototype, "siret", void 0);
25
25
  __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreatePartner.prototype, "fonction", void 0);
26
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreatePartner.prototype, "soldeInit", void 0);
26
27
  __decorate([(0, _utils.ApiProperty)({
27
28
  default: _.PartnerType.PHYSICAL_PARTNER,
28
29
  description: 'You can retrieve the enum Partner Type in @core'
@@ -1 +1 @@
1
- {"version":3,"file":"CreatePartner.js","names":["_utils","require","_","CreatePartner","exports","__decorate","ApiPropertyOptional","ApiProperty","default","PartnerType","PHYSICAL_PARTNER","description"],"sources":["../../../../../ts/types/Interface/api/partner/CreatePartner.ts"],"sourcesContent":["import { ApiProperty, ApiPropertyOptional, BaseEntity } from '../../../../utils';\nimport { ISocietyPartner, PartnerType } from '../../..';\n\nexport class CreatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccount' | 'idSociety' | 'account'> {\n @ApiPropertyOptional()\n firstname?: string;\n @ApiPropertyOptional()\n lastname?: string;\n @ApiPropertyOptional()\n company?: string;\n @ApiPropertyOptional()\n siret?: string;\n @ApiProperty()\n fonction: string;\n @ApiProperty({\n default: PartnerType.PHYSICAL_PARTNER,\n description: 'You can retrieve the enum Partner Type in @core',\n })\n idPartnerType: PartnerType;\n}"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,CAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,aAAa;AAgBzBC,OAAA,CAhBYD,aAAa,GAAbA,aAAa;AACxBE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,iFACH;AACnBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,gFACJ;AAClBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,+EACL;AACjBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,6EACP;AACfD,UAAA,EAAC,IAAAE,kBAAW,GAAE,E,gFACG;AACjBF,UAAA,EAAC,IAAAE,kBAAW,EAAC;EACXC,OAAO,EAAEC,aAAW,CAACC,gBAAgB;EACrCC,WAAW,EAAE;CACd,CAAC,E,qFACyB"}
1
+ {"version":3,"file":"CreatePartner.js","names":["_utils","require","_","CreatePartner","exports","__decorate","ApiPropertyOptional","ApiProperty","default","PartnerType","PHYSICAL_PARTNER","description"],"sources":["../../../../../ts/types/Interface/api/partner/CreatePartner.ts"],"sourcesContent":["import { ApiProperty, ApiPropertyOptional, BaseEntity } from '../../../../utils';\nimport { ISocietyPartner, PartnerType } from '../../..';\n\nexport class CreatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccount' | 'idSociety' | 'account'> {\n @ApiPropertyOptional()\n firstname?: string;\n @ApiPropertyOptional()\n lastname?: string;\n @ApiPropertyOptional()\n company?: string;\n @ApiPropertyOptional()\n siret?: string;\n @ApiProperty()\n fonction: string;\n @ApiProperty()\n soldeInit: number;\n @ApiProperty({\n default: PartnerType.PHYSICAL_PARTNER,\n description: 'You can retrieve the enum Partner Type in @core',\n })\n idPartnerType: PartnerType;\n}"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,CAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,aAAa;AAkBzBC,OAAA,CAlBYD,aAAa,GAAbA,aAAa;AACxBE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,iFACH;AACnBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,gFACJ;AAClBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,+EACL;AACjBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,6EACP;AACfD,UAAA,EAAC,IAAAE,kBAAW,GAAE,E,gFACG;AACjBF,UAAA,EAAC,IAAAE,kBAAW,GAAE,E,iFACI;AAClBF,UAAA,EAAC,IAAAE,kBAAW,EAAC;EACXC,OAAO,EAAEC,aAAW,CAACC,gBAAgB;EACrCC,WAAW,EAAE;CACd,CAAC,E,qFACyB"}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.GetPartners = undefined;
6
+ exports.GetPartnerSolde = exports.GetPartnersCurrentAccounts = exports.GetPartners = undefined;
7
7
  var _classValidator = require("class-validator");
8
8
  var _utils = require("../../../../utils");
9
9
  var _boolean = require("../../../../utils/transforms/boolean.transform");
@@ -20,4 +20,13 @@ var __metadata = undefined && undefined.__metadata || function (k, v) {
20
20
  class GetPartners {}
21
21
  exports.GetPartners = GetPartners;
22
22
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], GetPartners.prototype, "includeDeletedPartner", void 0);
23
- //# sourceMappingURL=GetPartners.js.map
23
+ class GetPartnersCurrentAccounts {}
24
+ exports.GetPartnersCurrentAccounts = GetPartnersCurrentAccounts;
25
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Date)], GetPartnersCurrentAccounts.prototype, "startDate", void 0);
26
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Date)], GetPartnersCurrentAccounts.prototype, "endDate", void 0);
27
+ class GetPartnerSolde {}
28
+ exports.GetPartnerSolde = GetPartnerSolde;
29
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Date)], GetPartnerSolde.prototype, "endDate", void 0);
30
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], GetPartnerSolde.prototype, "page", void 0);
31
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], GetPartnerSolde.prototype, "limit", void 0);
32
+ //# sourceMappingURL=Query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.js","names":["_classValidator","require","_utils","_boolean","GetPartners","exports","__decorate","ApiPropertyOptional","IsBoolean","ToBoolean","IsOptional","GetPartnersCurrentAccounts","ApiProperty","Date","GetPartnerSolde"],"sources":["../../../../../ts/types/Interface/api/partner/Query.ts"],"sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class GetPartners {\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n includeDeletedPartner?: boolean;\n}\n\nexport class GetPartnersCurrentAccounts {\n @ApiProperty()\n startDate!: Date;\n\n @ApiProperty()\n endDate!: Date;\n}\n\nexport class GetPartnerSolde {\n @ApiProperty()\n endDate!: Date;\n\n @ApiProperty()\n page: number;\n\n @ApiProperty()\n limit: number;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,WAAW;AAMvBC,OAAA,CANYD,WAAW,GAAXA,WAAW;AACtBE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,EACX,IAAAC,0BAAU,GAAE,E,4FACmB;AAG5B,MAAOC,0BAA0B;AAMtCN,OAAA,CANYM,0BAA0B,GAA1BA,0BAA0B;AACrCL,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,0BACFC,IAAI,E,4DAAC;AAEjBP,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,0BACJC,IAAI,E,0DAAC;AAGX,MAAOC,eAAe;AAS3BT,OAAA,CATYS,eAAe,GAAfA,eAAe;AAC1BR,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,0BACJC,IAAI,E,+CAAC;AAEfP,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,8EACD;AAEbN,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,+EACA"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ class ReadPartnersCurrentAccounts {}
7
+ exports.ReadPartnersCurrentAccounts = ReadPartnersCurrentAccounts;
8
+ class ReadPartnersCurrentAccountsTransaction {}
9
+ exports.ReadPartnersCurrentAccountsTransaction = ReadPartnersCurrentAccountsTransaction;
10
+ class ReadPartnerSolde {}
11
+ exports.ReadPartnerSolde = ReadPartnerSolde;
12
+ //# sourceMappingURL=Read.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Read.js","names":["ReadPartnersCurrentAccounts","exports","ReadPartnersCurrentAccountsTransaction","ReadPartnerSolde"],"sources":["../../../../../ts/types/Interface/api/partner/Read.ts"],"sourcesContent":["import { PartnerType } from '../../../Enum/PartnerType';\nimport { IAccountingEntry } from '../../models/IAccountingEntry';\nimport { ISocietyPartner } from '../../models/ISocietyPartner';\n\nexport class ReadPartnersCurrentAccounts {\n id: number;\n firstname: string;\n lastname: string;\n company: string;\n idPartnerType: PartnerType;\n solde: number;\n creditSolde: number;\n debitSolde: number;\n transactions: ReadPartnersCurrentAccountsTransaction[];\n}\n\nexport class ReadPartnersCurrentAccountsTransaction {\n id: number;\n amount: number;\n solde: number;\n dateValue: string;\n designation: string;\n entries: IAccountingEntry[];\n}\n\nexport class ReadPartnerSolde {\n partner: ISocietyPartner;\n solde: number;\n creditSolde: number;\n debitSolde: number;\n}"],"mappings":";;;;;AAIM,MAAOA,2BAA2B;AAUvCC,OAAA,CAVYD,2BAA2B,GAA3BA,2BAA2B;AAYlC,MAAOE,sCAAsC;AAOlDD,OAAA,CAPYC,sCAAsC,GAAtCA,sCAAsC;AAS7C,MAAOC,gBAAgB;AAK5BF,OAAA,CALYE,gBAAgB,GAAhBA,gBAAgB"}
@@ -23,6 +23,7 @@ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)
23
23
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], UpdatePartner.prototype, "company", void 0);
24
24
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], UpdatePartner.prototype, "siret", void 0);
25
25
  __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], UpdatePartner.prototype, "fonction", void 0);
26
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], UpdatePartner.prototype, "soldeInit", void 0);
26
27
  __decorate([(0, _utils.ApiProperty)({
27
28
  default: _.PartnerType.PHYSICAL_PARTNER,
28
29
  description: 'You can retrieve the enum Partner Type in @core'
@@ -1 +1 @@
1
- {"version":3,"file":"UpdatePartner.js","names":["_utils","require","_","UpdatePartner","exports","__decorate","ApiPropertyOptional","ApiProperty","default","PartnerType","PHYSICAL_PARTNER","description"],"sources":["../../../../../ts/types/Interface/api/partner/UpdatePartner.ts"],"sourcesContent":["import { ApiProperty, ApiPropertyOptional, BaseEntity } from '../../../../utils';\nimport { ISocietyPartner, PartnerType } from '../../..';\n\nexport class UpdatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccount' | 'idSociety' | 'account'> {\n @ApiPropertyOptional()\n firstname?: string;\n @ApiPropertyOptional()\n lastname?: string;\n @ApiPropertyOptional()\n company?: string;\n @ApiPropertyOptional()\n siret?: string;\n @ApiProperty()\n fonction: string;\n @ApiProperty({\n default: PartnerType.PHYSICAL_PARTNER,\n description: 'You can retrieve the enum Partner Type in @core',\n })\n idPartnerType: PartnerType;\n}"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,CAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,aAAa;AAgBzBC,OAAA,CAhBYD,aAAa,GAAbA,aAAa;AACxBE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,iFACH;AACnBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,gFACJ;AAClBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,+EACL;AACjBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,6EACP;AACfD,UAAA,EAAC,IAAAE,kBAAW,GAAE,E,gFACG;AACjBF,UAAA,EAAC,IAAAE,kBAAW,EAAC;EACXC,OAAO,EAAEC,aAAW,CAACC,gBAAgB;EACrCC,WAAW,EAAE;CACd,CAAC,E,qFACyB"}
1
+ {"version":3,"file":"UpdatePartner.js","names":["_utils","require","_","UpdatePartner","exports","__decorate","ApiPropertyOptional","ApiProperty","default","PartnerType","PHYSICAL_PARTNER","description"],"sources":["../../../../../ts/types/Interface/api/partner/UpdatePartner.ts"],"sourcesContent":["import { ApiProperty, ApiPropertyOptional, BaseEntity } from '../../../../utils';\nimport { ISocietyPartner, PartnerType } from '../../..';\n\nexport class UpdatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccount' | 'idSociety' | 'account'> {\n @ApiPropertyOptional()\n firstname?: string;\n @ApiPropertyOptional()\n lastname?: string;\n @ApiPropertyOptional()\n company?: string;\n @ApiPropertyOptional()\n siret?: string;\n @ApiProperty()\n fonction: string;\n @ApiProperty()\n soldeInit: number;\n @ApiProperty({\n default: PartnerType.PHYSICAL_PARTNER,\n description: 'You can retrieve the enum Partner Type in @core',\n })\n idPartnerType: PartnerType;\n}"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,CAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,aAAa;AAkBzBC,OAAA,CAlBYD,aAAa,GAAbA,aAAa;AACxBE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,iFACH;AACnBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,gFACJ;AAClBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,+EACL;AACjBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,6EACP;AACfD,UAAA,EAAC,IAAAE,kBAAW,GAAE,E,gFACG;AACjBF,UAAA,EAAC,IAAAE,kBAAW,GAAE,E,iFACI;AAClBF,UAAA,EAAC,IAAAE,kBAAW,EAAC;EACXC,OAAO,EAAEC,aAAW,CAACC,gBAAgB;EACrCC,WAAW,EAAE;CACd,CAAC,E,qFACyB"}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CreateRegistrationSynchronization = exports.CreateRegistration = exports.CreateRegistrationSetting = undefined;
6
+ exports.CreateRegistrationSynchronization = exports.CreateRegistration = exports.CreateRegistrationSettingFromSociety = exports.CreateRegistrationSetting = undefined;
7
7
  var _classValidator = require("class-validator");
8
8
  var _utils = require("../../../../utils");
9
9
  var _CerfaType = require("../../../Enum/CerfaType");
@@ -22,11 +22,29 @@ class CreateRegistrationSetting {}
22
22
  exports.CreateRegistrationSetting = CreateRegistrationSetting;
23
23
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSetting.prototype, "iban", void 0);
24
24
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSetting.prototype, "bic", void 0);
25
+ class CreateRegistrationSettingFromSociety {}
26
+ exports.CreateRegistrationSettingFromSociety = CreateRegistrationSettingFromSociety;
27
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSettingFromSociety.prototype, "rof", void 0);
28
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSettingFromSociety.prototype, "companyTaxRof", void 0);
29
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSettingFromSociety.prototype, "ogaName", void 0);
30
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSettingFromSociety.prototype, "ogaId", void 0);
31
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSettingFromSociety.prototype, "ogaAddressNumero", void 0);
32
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSettingFromSociety.prototype, "ogaAddressType", void 0);
33
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSettingFromSociety.prototype, "ogaAddressVoie", void 0);
34
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSettingFromSociety.prototype, "ogaAddressZipCode", void 0);
35
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSettingFromSociety.prototype, "ogaAddressCity", void 0);
36
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSettingFromSociety.prototype, "ogaReference", void 0);
37
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSettingFromSociety.prototype, "iban", void 0);
38
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateRegistrationSettingFromSociety.prototype, "bic", void 0);
25
39
  class CreateRegistration {}
26
40
  exports.CreateRegistration = CreateRegistration;
27
41
  __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsEnum)(_CerfaType.CerfaType), __metadata("design:type", Number)], CreateRegistration.prototype, "idCerfaType", void 0);
28
42
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.Min)(0), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateRegistration.prototype, "amountToPay", void 0);
43
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], CreateRegistration.prototype, "date", void 0);
29
44
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateRegistration.prototype, "isTest", void 0);
45
+ __decorate([(0, _utils.ApiPropertyOptional)({
46
+ description: 'Set values manually (not available for all cerfa)'
47
+ }), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateRegistration.prototype, "forcedValues", void 0);
30
48
  class CreateRegistrationSynchronization {}
31
49
  exports.CreateRegistrationSynchronization = CreateRegistrationSynchronization;
32
50
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], CreateRegistrationSynchronization.prototype, "forceTestMode", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"CreateRegistration.js","names":["_classValidator","require","_utils","_CerfaType","_boolean","CreateRegistrationSetting","exports","__decorate","ApiPropertyOptional","CreateRegistration","ApiProperty","IsEnum","CerfaType","IsNumber","Min","IsOptional","IsBoolean","ToBoolean","CreateRegistrationSynchronization"],"sources":["../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"sourcesContent":["import {\n IsEnum, IsOptional, IsBoolean, IsNumber, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateRegistrationSetting {\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport class CreateRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @Min(0)\n @IsOptional()\n amountToPay?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n}\n\nexport class CreateRegistrationSynchronization {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n forceTestMode?: boolean;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;;;;;;;;;;;AAEM,MAAOI,yBAAyB;AAMrCC,OAAA,CANYD,yBAAyB,GAAzBA,yBAAyB;AACpCE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,wFACD;AAErBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,uFACF;AAGhB,MAAOC,kBAAkB;AAgB9BH,OAAA,CAhBYG,kBAAkB,GAAlBA,kBAAkB;AAC7BF,UAAA,EAAC,IAAAG,kBAAW,GAAE,EACb,IAAAC,sBAAM,EAACC,oBAAS,CAAC,E,wFACE;AAEpBL,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAK,wBAAQ,GAAE,EACV,IAAAC,mBAAG,EAAC,CAAC,CAAC,EACN,IAAAC,0BAAU,GAAE,E,wFACQ;AAErBR,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAQ,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,EACX,IAAAF,0BAAU,GAAE,E,oFACI;AAGb,MAAOG,iCAAiC;AAM7CZ,OAAA,CANYY,iCAAiC,GAAjCA,iCAAiC;AAC5CX,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAO,0BAAU,GAAE,EACZ,IAAAC,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,E,0GACY"}
1
+ {"version":3,"file":"CreateRegistration.js","names":["_classValidator","require","_utils","_CerfaType","_boolean","CreateRegistrationSetting","exports","__decorate","ApiPropertyOptional","CreateRegistrationSettingFromSociety","CreateRegistration","ApiProperty","IsEnum","CerfaType","IsNumber","Min","IsOptional","IsDateString","IsBoolean","ToBoolean","description","CreateRegistrationSynchronization"],"sources":["../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"sourcesContent":["import {\n IsEnum, IsOptional, IsBoolean, IsNumber, Min, IsDateString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { Rof } from '../../../Enum/Aspone';\n\nexport class CreateRegistrationSetting {\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport class CreateRegistrationSettingFromSociety {\n @ApiPropertyOptional()\n rof: Rof | null;\n\n @ApiPropertyOptional()\n companyTaxRof: Rof | null;\n\n @ApiPropertyOptional()\n ogaName: string | null;\n\n @ApiPropertyOptional()\n ogaId: string | null;\n\n @ApiPropertyOptional()\n ogaAddressNumero: string | null;\n\n @ApiPropertyOptional()\n ogaAddressType: string | null;\n\n @ApiPropertyOptional()\n ogaAddressVoie: string | null;\n\n @ApiPropertyOptional()\n ogaAddressZipCode: string | null;\n\n @ApiPropertyOptional()\n ogaAddressCity: string | null;\n\n @ApiPropertyOptional()\n ogaReference: string | null;\n\n @ApiPropertyOptional()\n iban: string | null;\n\n @ApiPropertyOptional()\n bic: string | null;\n}\n\nexport type ForcedValues_2571 = {\n base?: number;\n regularisation?: number;\n};\n\nexport type ForcedValues = {\n cerfa2571?: ForcedValues_2571;\n};\n\nexport class CreateRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @Min(0)\n @IsOptional()\n amountToPay?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n date?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n\n @ApiPropertyOptional({ description: 'Set values manually (not available for all cerfa)' })\n @IsOptional()\n forcedValues?: ForcedValues;\n}\n\nexport class CreateRegistrationSynchronization {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n forceTestMode?: boolean;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;;;;;;;;;;;AAGM,MAAOI,yBAAyB;AAMrCC,OAAA,CANYD,yBAAyB,GAAzBA,yBAAyB;AACpCE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,wFACD;AAErBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,uFACF;AAGhB,MAAOC,oCAAoC;AAoChDH,OAAA,CApCYG,oCAAoC,GAApCA,oCAAoC;AAC/CF,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,kGACN;AAEhBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,4GACI;AAE1BD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,sGACC;AAEvBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,oGACD;AAErBD,UAAA,EAAC,IAAAC,0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-47,4 +47,7 @@ __decorate([(0, _utils.ApiProperty)({
47
47
  __decorate([(0, _utils.ApiPropertyOptional)({
48
48
  description: 'Défini l\'acompte en tant qu\'orphelin'
49
49
  }), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], CreateTax.prototype, "isOrphan", void 0);
50
+ __decorate([(0, _utils.ApiPropertyOptional)({
51
+ description: 'Acceptance id mail'
52
+ }), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateTax.prototype, "idMail", void 0);
50
53
  //# sourceMappingURL=CreateTax.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateTax.js","names":["_classValidator","require","_utils","_Tax","_boolean","CreateTax","exports","__decorate","ApiProperty","description","enum","TaxType","TaxState","IsBoolean","ToBoolean","TaxCredit","ApiPropertyOptional"],"sources":["../../../../../ts/types/Interface/api/tax/CreateTax.ts"],"sourcesContent":["import { IsBoolean } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TaxType, TaxState, TaxCredit } from '../../../Enum/Tax';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateTax {\n @ApiProperty({ description: 'Montant de l\\'impôt' })\n amount: number;\n\n @ApiProperty({ description: 'Date de l\\'impôt' })\n dateIs: string;\n\n @ApiProperty({ description: 'Type d\\'impôt', enum: TaxType })\n type: TaxType;\n\n @ApiProperty({ description: 'État', enum: TaxState })\n state: TaxState;\n\n @ApiProperty({ description: 'Défini l\\'acompte comme un solde' })\n @IsBoolean()\n @ToBoolean()\n solde: boolean;\n\n @ApiProperty({ description: 'Montant du crédit d\\'impôt' })\n balance: number | null;\n\n @ApiProperty({ description: 'État du crédit d\\'impôt', enum: TaxCredit })\n creditRefunded: TaxCredit;\n\n @ApiPropertyOptional({ description: 'Défini l\\'acompte en tant qu\\'orphelin' })\n @IsBoolean()\n @ToBoolean()\n isOrphan?: boolean;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,IAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;;;;;;;;;;;AAEM,MAAOI,SAAS;AA4BrBC,OAAA,CA5BYD,SAAS,GAATA,SAAS;AACpBE,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAAqB,CAAE,CAAC,E,0EACrC;AAEfF,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAAkB,CAAE,CAAC,E,0EAClC;AAEfF,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE,eAAe;EAAEC,IAAI,EAAEC;AAAO,CAAE,CAAC,E,wEAC/C;AAEdJ,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE,MAAM;EAAEC,IAAI,EAAEE;AAAQ,CAAE,CAAC,E,yEACrC;AAEhBL,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAAkC,CAAE,CAAC,EAChE,IAAAI,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,E,0EACG;AAEfP,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAA4B,CAAE,CAAC,E,2EACpC;AAEvBF,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE,yBAAyB;EAAEC,IAAI,EAAEK;AAAS,CAAE,CAAC,E,kFAC/C;AAE1BR,UAAA,EAAC,IAAAS,0BAAmB,EAAC;EAAEP,WAAW,EAAE;AAAwC,CAAE,CAAC,EAC9E,IAAAI,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,E,6EACO"}
1
+ {"version":3,"file":"CreateTax.js","names":["_classValidator","require","_utils","_Tax","_boolean","CreateTax","exports","__decorate","ApiProperty","description","enum","TaxType","TaxState","IsBoolean","ToBoolean","TaxCredit","ApiPropertyOptional","IsNumber","IsOptional"],"sources":["../../../../../ts/types/Interface/api/tax/CreateTax.ts"],"sourcesContent":["import { IsBoolean, IsNumber, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TaxType, TaxState, TaxCredit } from '../../../Enum/Tax';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateTax {\n @ApiProperty({ description: 'Montant de l\\'impôt' })\n amount: number;\n\n @ApiProperty({ description: 'Date de l\\'impôt' })\n dateIs: string;\n\n @ApiProperty({ description: 'Type d\\'impôt', enum: TaxType })\n type: TaxType;\n\n @ApiProperty({ description: 'État', enum: TaxState })\n state: TaxState;\n\n @ApiProperty({ description: 'Défini l\\'acompte comme un solde' })\n @IsBoolean()\n @ToBoolean()\n solde: boolean;\n\n @ApiProperty({ description: 'Montant du crédit d\\'impôt' })\n balance: number | null;\n\n @ApiProperty({ description: 'État du crédit d\\'impôt', enum: TaxCredit })\n creditRefunded: TaxCredit;\n\n @ApiPropertyOptional({ description: 'Défini l\\'acompte en tant qu\\'orphelin' })\n @IsBoolean()\n @ToBoolean()\n isOrphan?: boolean;\n\n @ApiPropertyOptional({ description: 'Acceptance id mail' })\n @IsNumber()\n @IsOptional()\n idMail?: number | null;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,IAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;;;;;;;;;;;AAEM,MAAOI,SAAS;AAiCrBC,OAAA,CAjCYD,SAAS,GAATA,SAAS;AACpBE,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAAqB,CAAE,CAAC,E,0EACrC;AAEfF,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAAkB,CAAE,CAAC,E,0EAClC;AAEfF,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE,eAAe;EAAEC,IAAI,EAAEC;AAAO,CAAE,CAAC,E,wEAC/C;AAEdJ,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE,MAAM;EAAEC,IAAI,EAAEE;AAAQ,CAAE,CAAC,E,yEACrC;AAEhBL,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAAkC,CAAE,CAAC,EAChE,IAAAI,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,E,0EACG;AAEfP,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAA4B,CAAE,CAAC,E,2EACpC;AAEvBF,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE,yBAAyB;EAAEC,IAAI,EAAEK;AAAS,CAAE,CAAC,E,kFAC/C;AAE1BR,UAAA,EAAC,IAAAS,0BAAmB,EAAC;EAAEP,WAAW,EAAE;AAAwC,CAAE,CAAC,EAC9E,IAAAI,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,E,6EACO;AAEnBP,UAAA,EAAC,IAAAS,0BAAmB,EAAC;EAAEP,WAAW,EAAE;AAAoB,CAAE,CAAC,EAC1D,IAAAQ,wBAAQ,GAAE,EACV,IAAAC,0BAAU,GAAE,E,0EACU"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadTax.js","names":[],"sources":["../../../../../ts/types/Interface/api/tax/ReadTax.ts"],"sourcesContent":["import { ICustomerIsRegime } from '../../models/ICustomerIsRegime';\n\nexport interface ReadAmountBase {\n amount: number;\n isFirstExercice: boolean;\n}\n\ninterface Tax extends TaxDate {\n tax: ICustomerIsRegime | null;\n}\n\nexport type ReadTax = ReadTaxAndData & {\n amountBase: ReadAmountBase | null;\n};\n\nexport type TaxAndDataWithExercise = { idExercice: number } & ReadTaxAndData;\n\nexport interface ReadTaxAndData {\n taxes: Tax[],\n others: ICustomerIsRegime[]\n}\n\nexport interface TaxDate {\n date: string;\n required: boolean;\n isBalance: boolean;\n}\n\nexport type ReadVatAmountDetail = { idVat: number; real: number; collected: number; };\n\nexport type ReadVatAmount = {\n isBalanced: boolean;\n details: ReadVatAmountDetail[];\n};"],"mappings":""}
1
+ {"version":3,"file":"ReadTax.js","names":[],"sources":["../../../../../ts/types/Interface/api/tax/ReadTax.ts"],"sourcesContent":["import { BasePaginate, IExercice, ISociety } from '../../..';\nimport { ICustomerIsRegime } from '../../models/ICustomerIsRegime';\n\nexport interface ReadAmountBase {\n amount: number;\n isFirstExercice: boolean;\n}\n\ninterface Tax extends TaxDate {\n tax: ICustomerIsRegime | null;\n}\n\nexport type ReadTax = ReadTaxAndData & {\n amountBase: ReadAmountBase | null;\n};\n\nexport type TaxAndDataWithExercise = { idExercice: number } & ReadTaxAndData;\n\nexport interface ReadTaxAndData {\n taxes: Tax[],\n others: ICustomerIsRegime[]\n}\n\nexport interface TaxDate {\n date: string;\n required: boolean;\n isBalance: boolean;\n}\n\nexport type ReadVatAmountDetail = { idVat: number; real: number; collected: number; };\n\nexport type ReadVatAmount = {\n isBalanced: boolean;\n details: ReadVatAmountDetail[];\n};\n\nexport type ReadCompanyTaxWallet = BasePaginate<IExercice & {\n society: ISociety;\n taxes: ReadTaxAndData[];\n amountBase: ReadAmountBase;\n}>;"],"mappings":""}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.QueryTaxDeadlineStatistics = exports.QueryTaxDeadline = undefined;
6
+ exports.QueryCompanyTaxesByCollaborater = exports.QueryTaxDeadlineStatistics = exports.QueryTaxDeadline = undefined;
7
7
  var _classValidator = require("class-validator");
8
8
  var _utils = require("../../../../utils");
9
9
  var _ = require("../../..");
@@ -121,4 +121,14 @@ __decorate([(0, _utils.ApiPropertyOptional)({
121
121
  __decorate([(0, _utils.ApiPropertyOptional)({
122
122
  description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\'aujourd\'hui'
123
123
  }), __metadata("design:type", String)], QueryTaxDeadlineStatistics.prototype, "additionalMonths", void 0);
124
+ class QueryCompanyTaxesByCollaborater {}
125
+ exports.QueryCompanyTaxesByCollaborater = QueryCompanyTaxesByCollaborater;
126
+ __decorate([(0, _utils.ApiProperty)({
127
+ description: 'Id collaborater'
128
+ }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryCompanyTaxesByCollaborater.prototype, "idUser", void 0);
129
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryCompanyTaxesByCollaborater.prototype, "startDate", void 0);
130
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryCompanyTaxesByCollaborater.prototype, "endDate", void 0);
131
+ __decorate([(0, _utils.ApiPropertyOptional)({
132
+ description: 'Company key word'
133
+ }), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryCompanyTaxesByCollaborater.prototype, "search", void 0);
124
134
  //# sourceMappingURL=QueryTaxDeadline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryTaxDeadline.js","names":["_classValidator","require","_utils","_","_ComptaType","_TaxSystem","_Supervision","_BalanceSheet","QueryTaxDeadline","exports","__decorate","ApiProperty","description","ApiPropertyOptional","enum","VatRegime","ComptaType","TaxSystem","BalanceSheetState","Supervision","BankCollectingState","IsOptional","IsEnum","ToDoOrDone","IsArray","IsString","each","QueryTaxDeadlineStatistics"],"sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"sourcesContent":["import { IsOptional, IsEnum, IsArray, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport {\n VatRegime, ToDoOrDone, BankCollectingState,\n} from '../../..';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { BalanceSheetState } from '../../../Enum/BalanceSheet';\n\nexport class QueryTaxDeadline {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM)' })\n closingDate?: string | string[];\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: number;\n\n @ApiPropertyOptional({ description: 'Date de clôture supérieure ou égale à (format YYYY-MM-DD)' })\n minimalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' })\n maximalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'État de la supervision', enum: Supervision })\n idSupervisionState?: Supervision;\n\n @ApiPropertyOptional({ description: 'État de l encaissement', enum: BankCollectingState })\n bankCollectingState?: BankCollectingState[];\n\n @ApiPropertyOptional({ description: 'Statuts de l\\'IS/IR' })\n @IsOptional()\n @IsEnum(ToDoOrDone)\n idTaxStatus?: ToDoOrDone;\n\n @ApiPropertyOptional({ description: 'Forme juridique' })\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n idLegalForm?: string | string[];\n}\n\nexport class QueryTaxDeadlineStatistics {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM-DD)' })\n closingDate?: string;\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,CAAA,GAAAF,OAAA;AAGA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;;;;;;;;;;;AAEM,MAAOO,gBAAgB;AA0D5BC,OAAA,CA1DYD,gBAAgB,GAAhBA,gBAAgB;AAC3BE,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAA8B,CAAE,CAAC,E,iFACnC;AAE1BF,UAAA,EAA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0BAAmB,EAAC;EAAED,WAAW,EAAE,eAAe;EAAEE,IAAI,EAAEI;AAAiB,CAAE,CAAC,E,wGACjB;AAE9DR,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE;AAAgC,CAAE,CAAC,E,gGAClD;AAErBF,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE;AAAgC,CAAE,CAAC,E,yFAC9C;AAEzBF,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE;AAAiC,CAAE,CAAC,E,2FACxD;AAEhBF,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE;AAA8F,CAAE,CAAC,E,qGAC3G"}
1
+ {"version":3,"file":"QueryTaxDeadline.js","names":["_classValidator","require","_utils","_","_ComptaType","_TaxSystem","_Supervision","_BalanceSheet","QueryTaxDeadline","exports","__decorate","ApiProperty","description","ApiPropertyOptional","enum","VatRegime","ComptaType","TaxSystem","BalanceSheetState","Supervision","BankCollectingState","IsOptional","IsEnum","ToDoOrDone","IsArray","IsString","each","QueryTaxDeadlineStatistics","QueryCompanyTaxesByCollaborater","IsNumber","IsDateString"],"sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"sourcesContent":["import {\n IsOptional, IsEnum, IsNumber, IsDateString, IsString, IsArray,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport {\n VatRegime, ToDoOrDone, BankCollectingState,\n} from '../../..';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { BalanceSheetState } from '../../../Enum/BalanceSheet';\n\nexport class QueryTaxDeadline {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM)' })\n closingDate?: string | string[];\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: number;\n\n @ApiPropertyOptional({ description: 'Date de clôture supérieure ou égale à (format YYYY-MM-DD)' })\n minimalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' })\n maximalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'État de la supervision', enum: Supervision })\n idSupervisionState?: Supervision;\n\n @ApiPropertyOptional({ description: 'État de l encaissement', enum: BankCollectingState })\n bankCollectingState?: BankCollectingState[];\n\n @ApiPropertyOptional({ description: 'Statuts de l\\'IS/IR' })\n @IsOptional()\n @IsEnum(ToDoOrDone)\n idTaxStatus?: ToDoOrDone;\n\n @ApiPropertyOptional({ description: 'Forme juridique' })\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n idLegalForm?: string | string[];\n}\n\nexport class QueryTaxDeadlineStatistics {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM-DD)' })\n closingDate?: string;\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: string;\n}\n\nexport class QueryCompanyTaxesByCollaborater {\n @ApiProperty({ description: 'Id collaborater' })\n @IsNumber()\n idUser: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional({ description: 'Company key word' })\n @IsString()\n @IsOptional()\n search?: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,CAAA,GAAAF,OAAA;AAGA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;;;;;;;;;;;AAEM,MAAOO,gBAAgB;AA0D5BC,OAAA,CA1DYD,gBAAgB,GAAhBA,gBAAgB;AAC3BE,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WA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;AAAS,CAAE,CAAC,E,gGACrC;AAEtCP,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE,eAAe;EAAEE,IAAI,EAAEI;AAAiB,CAAE,CAAC,E,wGACjB;AAE9DR,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE;AAAgC,CAAE,CAAC,E,gGAClD;AAErBF,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE;AAAgC,CAAE,CAAC,E,yFAC9C;AAEzBF,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE;AAAiC,CAAE,CAAC,E,2FACxD;AAEhBF,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE;AAA8F,CAAE,CAAC,E,qGAC3G;AAGtB,MAAOgB,+BAA+B;AAiB3CnB,OAAA,CAjBYmB,+BAA+B,GAA/BA,+BAA+B;AAC1ClB,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAAiB,CAAE,CAAC,EAC/C,IAAAiB,wBAAQ,GAAE,E,gGACI;AAEfnB,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAmB,4BAAY,GAAE,E,mGACG;AAElBpB,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAmB,4BAAY,GAAE,E,iGACC;AAEhBpB,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE;AAAkB,CAAE,CAAC,EACxD,IAAAa,wBAAQ,GAAE,EACV,IAAAJ,0BAAU,GAAE,E,gGACG"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=IAccountingStatementHistory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAccountingStatementHistory.js","names":[],"sources":["../../../../ts/types/Interface/models/IAccountingStatementHistory.ts"],"sourcesContent":["import { IUser } from '../..';\nimport { IBalanceSheet } from './IBalanceSheet';\nimport { ICustomerIsRegime } from './ICustomerIsRegime';\n\nexport interface IAccountingStatementHistory {\n id?: number;\n idState: number;\n idUser: number | null;\n idBalanceSheet: number | null;\n idCustomerIsRegime: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n balanceSheet?: IBalanceSheet | null;\n balanceSheetLiquidation?: IBalanceSheet | null;\n balanceSheetPartial?: IBalanceSheet | null;\n customerIsRegime?: ICustomerIsRegime | null;\n user?: IUser | null;\n}\n"],"mappings":""}
@@ -3,4 +3,4 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- //# sourceMappingURL=IBalanceSheetHistory.js.map
6
+ //# sourceMappingURL=ICustomerAcceptance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ICustomerAcceptance.js","names":[],"sources":["../../../../ts/types/Interface/models/ICustomerAcceptance.ts"],"sourcesContent":["import { ICustomerIsRegime } from './ICustomerIsRegime';\n\nexport interface ICustomerAcceptance {\n id?: number;\n state: number;\n comment: string | null;\n idCustomerIsRegime?: number | null;\n idCustomerVat?: number | null;\n idBalanceSheet?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n customerIsRegime?: ICustomerIsRegime | null;\n}"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"ICustomerIsRegime.js","names":[],"sources":["../../../../ts/types/Interface/models/ICustomerIsRegime.ts"],"sourcesContent":["import { IExercice } from './IExercice';\nimport { TaxState, TaxType } from '../..';\n\n// customersIsRegimes\nexport interface ICustomerIsRegime {\n id?: number;\n amount: number;\n stateAmount?: number; // Encore utilisé ?\n state: TaxState;\n type: TaxType;\n balance: number | null;\n creditRefunded: number;\n solde: number;\n idExercice: number;\n dateIs: Date | null;\n isOrphan: boolean;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n exercice?: IExercice;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"ICustomerIsRegime.js","names":[],"sources":["../../../../ts/types/Interface/models/ICustomerIsRegime.ts"],"sourcesContent":["import { IExercice } from './IExercice';\nimport {\n IAccountingStatementHistory, IMail, IRegistration, TaxState, TaxType,\n} from '../..';\n\n// customersIsRegimes\nexport interface ICustomerIsRegime {\n id?: number;\n amount: number;\n stateAmount?: number; // Encore utilisé ?\n state: TaxState;\n type: TaxType;\n balance: number | null;\n creditRefunded: number;\n solde: number;\n idExercice: number;\n dateIs: Date | null;\n token?: string | null;\n isOrphan: boolean;\n idMail?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n exercice?: IExercice;\n mail?: IMail | null;\n registrations?: IRegistration[];\n accountingStatementHistory?: IAccountingStatementHistory[];\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"IExercice.js","names":[],"sources":["../../../../ts/types/Interface/models/IExercice.ts"],"sourcesContent":["import { ISupervision } from './ISupervision';\nimport { IChecklist } from './IChecklist';\nimport { ICustomerTva } from './ICustomerTva';\nimport { ICustomerIsRegime } from './ICustomerIsRegime';\nimport { IBalanceSheet } from './IBalanceSheet';\nimport { IAdditionalBalance } from './IAdditionalBalance';\nimport { ISocietyApproval } from './ISocietyApproval';\nimport { IPrestation } from './IPrestation';\nimport { IExercicePrestation } from './IExercicePrestation';\nimport { IFile } from './IFile';\nimport { ISociety } from './ISociety';\nimport { IExerciceDetail } from './IExerciceDetail';\n\n// exercices\nexport interface IExercice {\n id?: number;\n startDate: Date | null;\n endDate: Date | null;\n turnover?: number | null;\n invoicePurchase?: number | null;\n invoiceSales?: number | null;\n isBack: boolean;\n close: boolean;\n allAnnote: boolean;\n current: boolean;\n deliveryDate?: Date | null;\n employeesNumber?: number | null;\n rentsNumber?: number | null;\n withApproval: boolean;\n reviewGuide: boolean;\n summaryNote: boolean;\n labKeeping: number;\n receiptJeDeclare: boolean;\n annualFolderEdition: boolean;\n turnoverDone: number;\n turnoverMax?: number;\n processClossingExercice: boolean;\n idFilePaymentSchedule?: number | null;\n isDefault: boolean;\n idSociety?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n notes?: string;\n\n // Associations\n supervision?: ISupervision;\n checklists?: IChecklist[];\n exerciceCustomerTvas?: ICustomerTva[];\n exerciceCustomersIsRegimes?: ICustomerIsRegime[];\n exerciceBalanceSheet?: IBalanceSheet;\n exerciceAdditionnalBalance?: IAdditionalBalance;\n exerciceApprovals?: ISocietyApproval;\n prestations?: IPrestation[];\n exercicesToPrestations?: IExercicePrestation[];\n file?: IFile;\n society?: ISociety;\n exerciceDetail?: IExerciceDetail;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"IExercice.js","names":[],"sources":["../../../../ts/types/Interface/models/IExercice.ts"],"sourcesContent":["import { ISupervision } from './ISupervision';\nimport { IChecklist } from './IChecklist';\nimport { ICustomerTva } from './ICustomerTva';\nimport { ICustomerIsRegime } from './ICustomerIsRegime';\nimport { IBalanceSheet } from './IBalanceSheet';\nimport { IAdditionalBalance } from './IAdditionalBalance';\nimport { ISocietyApproval } from './ISocietyApproval';\nimport { IPrestation } from './IPrestation';\nimport { IExercicePrestation } from './IExercicePrestation';\nimport { IFile } from './IFile';\nimport { ISociety } from './ISociety';\nimport { IExerciceDetail } from './IExerciceDetail';\n\n// exercices\nexport interface IExercice {\n id?: number;\n startDate: Date | null;\n endDate: Date | null;\n turnover?: number | null;\n invoicePurchase?: number | null;\n invoiceSales?: number | null;\n isBack: boolean;\n close: boolean;\n allAnnote: boolean;\n current: boolean;\n deliveryDate?: Date | null;\n employeesNumber?: number | null;\n rentsNumber?: number | null;\n withApproval: boolean;\n reviewGuide: boolean;\n summaryNote: boolean;\n labKeeping: number;\n receiptJeDeclare: boolean;\n annualFolderEdition: boolean;\n turnoverDone: number;\n turnoverMax?: number;\n benefit: number | null;\n processClossingExercice: boolean;\n idFilePaymentSchedule?: number | null;\n isDefault: boolean;\n idSociety?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n notes?: string;\n\n // Associations\n supervision?: ISupervision;\n checklists?: IChecklist[];\n exerciceCustomerTvas?: ICustomerTva[];\n exerciceCustomersIsRegimes?: ICustomerIsRegime[];\n exerciceBalanceSheet?: IBalanceSheet;\n exerciceAdditionnalBalance?: IAdditionalBalance;\n exerciceApprovals?: ISocietyApproval;\n prestations?: IPrestation[];\n exercicesToPrestations?: IExercicePrestation[];\n file?: IFile;\n society?: ISociety;\n exerciceDetail?: IExerciceDetail;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"IRegistration.js","names":[],"sources":["../../../../ts/types/Interface/models/IRegistration.ts"],"sourcesContent":["import { IExercice } from './IExercice';\nimport { ISociety } from './ISociety';\nimport { IFile } from './IFile';\n\nexport interface IRegistration {\n id?: number;\n payload: any;\n amountToPay?: number | null;\n response: any | null;\n sendAt: Date | null;\n isComplete: boolean;\n idCerfaType: number;\n idDeposit: string | null;\n idExercice: number;\n idFile?: number | null;\n idSociety: number;\n updatedAt?: Date | null;\n createdAt?: Date | null;\n\n // Associations\n exercice?: IExercice;\n society?: ISociety;\n file?: IFile;\n}"],"mappings":""}
1
+ {"version":3,"file":"IRegistration.js","names":[],"sources":["../../../../ts/types/Interface/models/IRegistration.ts"],"sourcesContent":["import { IExercice } from './IExercice';\nimport { ISociety } from './ISociety';\nimport { IFile } from './IFile';\nimport { ICustomerIsRegime } from './ICustomerIsRegime';\n\nexport interface IRegistration {\n id?: number;\n payload: any;\n amountToPay?: number | null;\n response: any | null;\n sendAt: Date | null;\n isComplete: boolean;\n idCerfaType: number;\n idDeposit: string | null;\n idExercice: number;\n idFile?: number | null;\n idCustomerIsRegime?: number | null;\n idSociety: number;\n updatedAt?: Date | null;\n createdAt?: Date | null;\n\n // Associations\n exercice?: IExercice;\n customerIsRegime?: ICustomerIsRegime;\n society?: ISociety;\n file?: IFile;\n}"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"ISocietyPartner.js","names":[],"sources":["../../../../ts/types/Interface/models/ISocietyPartner.ts"],"sourcesContent":["import { IAccount } from './IAccount';\nimport { ISociety, PartnerType } from '../..';\n\n// societyPartner\nexport interface ISocietyPartner {\n id?: number;\n firstname?: string;\n lastname?: string;\n company?: string;\n siret?: string;\n fonction: string;\n idAccount: number;\n idSociety: number;\n idPartnerType: PartnerType\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n account: IAccount;\n society?: ISociety\n}\n"],"mappings":""}
1
+ {"version":3,"file":"ISocietyPartner.js","names":[],"sources":["../../../../ts/types/Interface/models/ISocietyPartner.ts"],"sourcesContent":["import { IAccount } from './IAccount';\nimport { ISociety, PartnerType } from '../..';\n\n// societyPartner\nexport interface ISocietyPartner {\n id?: number;\n firstname?: string;\n lastname?: string;\n company?: string;\n siret?: string;\n fonction: string;\n soldeInit: number;\n idAccount: number;\n idSociety: number;\n idPartnerType: PartnerType\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n account: IAccount;\n society?: ISociety\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"IVatDeclarationSocietyDetail.js","names":[],"sources":["../../../../ts/types/Interface/models/IVatDeclarationSocietyDetail.ts"],"sourcesContent":["import { ISociety } from './ISociety';\n\n// vatDeclarationSocietyDetail\nexport interface IVatDeclarationSocietyDetail {\n id?: number;\n rof: string | null;\n ogaName: string | null;\n ogaId: string | null;\n ogaAddressNumero: string | null;\n ogaAddressType: string | null;\n ogaAddressVoie: string | null;\n ogaAddressZipCode: string | null;\n ogaAddressCity: string | null;\n ogaReference: string | null;\n iban: string | null;\n bic: string | null;\n idSociety: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society: ISociety;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"IVatDeclarationSocietyDetail.js","names":[],"sources":["../../../../ts/types/Interface/models/IVatDeclarationSocietyDetail.ts"],"sourcesContent":["import { Rof } from '../../Enum/Aspone';\nimport { ISociety } from './ISociety';\n\n// vatDeclarationSocietyDetail\nexport interface IVatDeclarationSocietyDetail {\n id?: number;\n companyTaxRof: Rof | null;\n rof: Rof | null;\n ogaName: string | null;\n ogaId: string | null;\n ogaAddressNumero: string | null;\n ogaAddressType: string | null;\n ogaAddressVoie: string | null;\n ogaAddressZipCode: string | null;\n ogaAddressCity: string | null;\n ogaReference: string | null;\n iban: string | null;\n bic: string | null;\n idSociety: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society: ISociety;\n}\n"],"mappings":""}
package/js/types/index.js CHANGED
@@ -293,13 +293,13 @@ Object.keys(_IBalanceSheet).forEach(function (key) {
293
293
  }
294
294
  });
295
295
  });
296
- var _IBalanceSheetHistory = require("./Interface/models/IBalanceSheetHistory");
297
- Object.keys(_IBalanceSheetHistory).forEach(function (key) {
296
+ var _IAccountingStatementHistory = require("./Interface/models/IAccountingStatementHistory");
297
+ Object.keys(_IAccountingStatementHistory).forEach(function (key) {
298
298
  if (key === "default" || key === "__esModule") return;
299
299
  Object.defineProperty(exports, key, {
300
300
  enumerable: true,
301
301
  get: function () {
302
- return _IBalanceSheetHistory[key];
302
+ return _IAccountingStatementHistory[key];
303
303
  }
304
304
  });
305
305
  });
@@ -3253,6 +3253,16 @@ Object.keys(_IVatRegimeHistory).forEach(function (key) {
3253
3253
  }
3254
3254
  });
3255
3255
  });
3256
+ var _ICustomerAcceptance = require("./Interface/models/ICustomerAcceptance");
3257
+ Object.keys(_ICustomerAcceptance).forEach(function (key) {
3258
+ if (key === "default" || key === "__esModule") return;
3259
+ Object.defineProperty(exports, key, {
3260
+ enumerable: true,
3261
+ get: function () {
3262
+ return _ICustomerAcceptance[key];
3263
+ }
3264
+ });
3265
+ });
3256
3266
  var _FormAuthenticate = require("./Form/FormAuthenticate");
3257
3267
  Object.keys(_FormAuthenticate).forEach(function (key) {
3258
3268
  if (key === "default" || key === "__esModule") return;
@@ -3273,6 +3283,16 @@ Object.keys(_FormConnector).forEach(function (key) {
3273
3283
  }
3274
3284
  });
3275
3285
  });
3286
+ var _Acceptance = require("./Enum/Acceptance");
3287
+ Object.keys(_Acceptance).forEach(function (key) {
3288
+ if (key === "default" || key === "__esModule") return;
3289
+ Object.defineProperty(exports, key, {
3290
+ enumerable: true,
3291
+ get: function () {
3292
+ return _Acceptance[key];
3293
+ }
3294
+ });
3295
+ });
3276
3296
  var _FolderFile = require("./Enum/FolderFile");
3277
3297
  Object.keys(_FolderFile).forEach(function (key) {
3278
3298
  if (key === "default" || key === "__esModule") return;
@@ -6513,13 +6533,13 @@ Object.keys(_CreatePartner).forEach(function (key) {
6513
6533
  }
6514
6534
  });
6515
6535
  });
6516
- var _GetPartners = require("./Interface/api/partner/GetPartners");
6517
- Object.keys(_GetPartners).forEach(function (key) {
6536
+ var _Query2 = require("./Interface/api/partner/Query");
6537
+ Object.keys(_Query2).forEach(function (key) {
6518
6538
  if (key === "default" || key === "__esModule") return;
6519
6539
  Object.defineProperty(exports, key, {
6520
6540
  enumerable: true,
6521
6541
  get: function () {
6522
- return _GetPartners[key];
6542
+ return _Query2[key];
6523
6543
  }
6524
6544
  });
6525
6545
  });
@@ -6533,6 +6553,16 @@ Object.keys(_UpdatePartner).forEach(function (key) {
6533
6553
  }
6534
6554
  });
6535
6555
  });
6556
+ var _Read = require("./Interface/api/partner/Read");
6557
+ Object.keys(_Read).forEach(function (key) {
6558
+ if (key === "default" || key === "__esModule") return;
6559
+ Object.defineProperty(exports, key, {
6560
+ enumerable: true,
6561
+ get: function () {
6562
+ return _Read[key];
6563
+ }
6564
+ });
6565
+ });
6536
6566
  var _CreateFecFile = require("./Interface/api/fecFile/CreateFecFile");
6537
6567
  Object.keys(_CreateFecFile).forEach(function (key) {
6538
6568
  if (key === "default" || key === "__esModule") return;
@@ -7303,13 +7333,13 @@ Object.keys(_UpdateBudgetPermanentToken).forEach(function (key) {
7303
7333
  }
7304
7334
  });
7305
7335
  });
7306
- var _Read = require("./Interface/api/budgetInsight/Read");
7307
- Object.keys(_Read).forEach(function (key) {
7336
+ var _Read2 = require("./Interface/api/budgetInsight/Read");
7337
+ Object.keys(_Read2).forEach(function (key) {
7308
7338
  if (key === "default" || key === "__esModule") return;
7309
7339
  Object.defineProperty(exports, key, {
7310
7340
  enumerable: true,
7311
7341
  get: function () {
7312
- return _Read[key];
7342
+ return _Read2[key];
7313
7343
  }
7314
7344
  });
7315
7345
  });
@@ -7323,13 +7353,13 @@ Object.keys(_Create2).forEach(function (key) {
7323
7353
  }
7324
7354
  });
7325
7355
  });
7326
- var _Query2 = require("./Interface/api/budgetInsight/Query");
7327
- Object.keys(_Query2).forEach(function (key) {
7356
+ var _Query3 = require("./Interface/api/budgetInsight/Query");
7357
+ Object.keys(_Query3).forEach(function (key) {
7328
7358
  if (key === "default" || key === "__esModule") return;
7329
7359
  Object.defineProperty(exports, key, {
7330
7360
  enumerable: true,
7331
7361
  get: function () {
7332
- return _Query2[key];
7362
+ return _Query3[key];
7333
7363
  }
7334
7364
  });
7335
7365
  });
@@ -8003,23 +8033,23 @@ Object.keys(_readAllCalendarEvent).forEach(function (key) {
8003
8033
  }
8004
8034
  });
8005
8035
  });
8006
- var _Read2 = require("./Interface/api/checklist/Read");
8007
- Object.keys(_Read2).forEach(function (key) {
8036
+ var _Read3 = require("./Interface/api/checklist/Read");
8037
+ Object.keys(_Read3).forEach(function (key) {
8008
8038
  if (key === "default" || key === "__esModule") return;
8009
8039
  Object.defineProperty(exports, key, {
8010
8040
  enumerable: true,
8011
8041
  get: function () {
8012
- return _Read2[key];
8042
+ return _Read3[key];
8013
8043
  }
8014
8044
  });
8015
8045
  });
8016
- var _Query3 = require("./Interface/api/checklist/Query");
8017
- Object.keys(_Query3).forEach(function (key) {
8046
+ var _Query4 = require("./Interface/api/checklist/Query");
8047
+ Object.keys(_Query4).forEach(function (key) {
8018
8048
  if (key === "default" || key === "__esModule") return;
8019
8049
  Object.defineProperty(exports, key, {
8020
8050
  enumerable: true,
8021
8051
  get: function () {
8022
- return _Query3[key];
8052
+ return _Query4[key];
8023
8053
  }
8024
8054
  });
8025
8055
  });
@@ -8263,13 +8293,13 @@ Object.keys(_CreateCustomerActivityReport).forEach(function (key) {
8263
8293
  }
8264
8294
  });
8265
8295
  });
8266
- var _Query4 = require("./Interface/api/customerActivity/Query");
8267
- Object.keys(_Query4).forEach(function (key) {
8296
+ var _Query5 = require("./Interface/api/customerActivity/Query");
8297
+ Object.keys(_Query5).forEach(function (key) {
8268
8298
  if (key === "default" || key === "__esModule") return;
8269
8299
  Object.defineProperty(exports, key, {
8270
8300
  enumerable: true,
8271
8301
  get: function () {
8272
- return _Query4[key];
8302
+ return _Query5[key];
8273
8303
  }
8274
8304
  });
8275
8305
  });
@@ -8303,23 +8333,23 @@ Object.keys(_Create4).forEach(function (key) {
8303
8333
  }
8304
8334
  });
8305
8335
  });
8306
- var _Read3 = require("./Interface/api/commercialManagement/Read");
8307
- Object.keys(_Read3).forEach(function (key) {
8336
+ var _Read4 = require("./Interface/api/commercialManagement/Read");
8337
+ Object.keys(_Read4).forEach(function (key) {
8308
8338
  if (key === "default" || key === "__esModule") return;
8309
8339
  Object.defineProperty(exports, key, {
8310
8340
  enumerable: true,
8311
8341
  get: function () {
8312
- return _Read3[key];
8342
+ return _Read4[key];
8313
8343
  }
8314
8344
  });
8315
8345
  });
8316
- var _Query5 = require("./Interface/api/commercialManagement/Query");
8317
- Object.keys(_Query5).forEach(function (key) {
8346
+ var _Query6 = require("./Interface/api/commercialManagement/Query");
8347
+ Object.keys(_Query6).forEach(function (key) {
8318
8348
  if (key === "default" || key === "__esModule") return;
8319
8349
  Object.defineProperty(exports, key, {
8320
8350
  enumerable: true,
8321
8351
  get: function () {
8322
- return _Query5[key];
8352
+ return _Query6[key];
8323
8353
  }
8324
8354
  });
8325
8355
  });
@@ -8373,13 +8403,13 @@ Object.keys(_ReadConnectionState).forEach(function (key) {
8373
8403
  }
8374
8404
  });
8375
8405
  });
8376
- var _Query6 = require("./Interface/api/qonto/Query");
8377
- Object.keys(_Query6).forEach(function (key) {
8406
+ var _Query7 = require("./Interface/api/qonto/Query");
8407
+ Object.keys(_Query7).forEach(function (key) {
8378
8408
  if (key === "default" || key === "__esModule") return;
8379
8409
  Object.defineProperty(exports, key, {
8380
8410
  enumerable: true,
8381
8411
  get: function () {
8382
- return _Query6[key];
8412
+ return _Query7[key];
8383
8413
  }
8384
8414
  });
8385
8415
  });
@@ -8463,13 +8493,13 @@ Object.keys(_Create6).forEach(function (key) {
8463
8493
  }
8464
8494
  });
8465
8495
  });
8466
- var _Read4 = require("./Interface/api/file/Read");
8467
- Object.keys(_Read4).forEach(function (key) {
8496
+ var _Read5 = require("./Interface/api/file/Read");
8497
+ Object.keys(_Read5).forEach(function (key) {
8468
8498
  if (key === "default" || key === "__esModule") return;
8469
8499
  Object.defineProperty(exports, key, {
8470
8500
  enumerable: true,
8471
8501
  get: function () {
8472
- return _Read4[key];
8502
+ return _Read5[key];
8473
8503
  }
8474
8504
  });
8475
8505
  });
@@ -8633,13 +8663,13 @@ Object.keys(_CreateFileToSign).forEach(function (key) {
8633
8663
  }
8634
8664
  });
8635
8665
  });
8636
- var _Query7 = require("./Interface/api/rule/Query");
8637
- Object.keys(_Query7).forEach(function (key) {
8666
+ var _Query8 = require("./Interface/api/rule/Query");
8667
+ Object.keys(_Query8).forEach(function (key) {
8638
8668
  if (key === "default" || key === "__esModule") return;
8639
8669
  Object.defineProperty(exports, key, {
8640
8670
  enumerable: true,
8641
8671
  get: function () {
8642
- return _Query7[key];
8672
+ return _Query8[key];
8643
8673
  }
8644
8674
  });
8645
8675
  });
@@ -8653,6 +8683,16 @@ Object.keys(_PostRevive).forEach(function (key) {
8653
8683
  }
8654
8684
  });
8655
8685
  });
8686
+ var _CreateAcceptance = require("./Interface/api/acceptance/CreateAcceptance");
8687
+ Object.keys(_CreateAcceptance).forEach(function (key) {
8688
+ if (key === "default" || key === "__esModule") return;
8689
+ Object.defineProperty(exports, key, {
8690
+ enumerable: true,
8691
+ get: function () {
8692
+ return _CreateAcceptance[key];
8693
+ }
8694
+ });
8695
+ });
8656
8696
  var _Util4 = require("./Interface/enum/Util");
8657
8697
  Object.keys(_Util4).forEach(function (key) {
8658
8698
  if (key === "default" || key === "__esModule") return;