@silexpert/core 1.1.113 → 1.1.115

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 (272) hide show
  1. package/es/api/resources/Authenticate.d.ts +1 -1
  2. package/es/api/resources/Checklist.d.ts +3 -3
  3. package/es/api/resources/Checklist.d.ts.map +1 -1
  4. package/es/api/resources/Checklist.js +4 -4
  5. package/es/api/resources/Checklist.js.map +1 -1
  6. package/es/api/resources/Commercial.d.ts +4 -4
  7. package/es/api/resources/Commercial.d.ts.map +1 -1
  8. package/es/api/resources/Commercial.js +8 -8
  9. package/es/api/resources/Commercial.js.map +1 -1
  10. package/es/api/resources/CommercialDocument.d.ts +1 -1
  11. package/es/api/resources/CommercialDocument.d.ts.map +1 -1
  12. package/es/api/resources/CommercialDocument.js +2 -2
  13. package/es/api/resources/CommercialDocument.js.map +1 -1
  14. package/es/api/resources/Employee.d.ts +1 -1
  15. package/es/api/resources/Employee.d.ts.map +1 -1
  16. package/es/api/resources/Employee.js +2 -2
  17. package/es/api/resources/Employee.js.map +1 -1
  18. package/es/api/resources/Facturation.d.ts +2 -2
  19. package/es/api/resources/Facturation.d.ts.map +1 -1
  20. package/es/api/resources/Facturation.js +4 -4
  21. package/es/api/resources/Facturation.js.map +1 -1
  22. package/es/api/resources/Fusion.d.ts +1 -1
  23. package/es/api/resources/Invoice.d.ts +2 -2
  24. package/es/api/resources/Invoice.d.ts.map +1 -1
  25. package/es/api/resources/Invoice.js +4 -4
  26. package/es/api/resources/Invoice.js.map +1 -1
  27. package/es/api/resources/Mail.d.ts +16 -16
  28. package/es/api/resources/Mail.d.ts.map +1 -1
  29. package/es/api/resources/Mail.js +32 -32
  30. package/es/api/resources/Mail.js.map +1 -1
  31. package/es/api/resources/PartneredAccountant.d.ts +3 -3
  32. package/es/api/resources/PartneredAccountant.d.ts.map +1 -1
  33. package/es/api/resources/PartneredAccountant.js +6 -6
  34. package/es/api/resources/PartneredAccountant.js.map +1 -1
  35. package/es/api/resources/PaymentExpectationCustomer.d.ts +1 -1
  36. package/es/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
  37. package/es/api/resources/PaymentExpectationCustomer.js +2 -2
  38. package/es/api/resources/PaymentExpectationCustomer.js.map +1 -1
  39. package/es/api/resources/Product.d.ts +1 -1
  40. package/es/api/resources/Product.d.ts.map +1 -1
  41. package/es/api/resources/Product.js +2 -2
  42. package/es/api/resources/Product.js.map +1 -1
  43. package/es/api/resources/Regulate.d.ts +1 -1
  44. package/es/api/resources/Regulate.d.ts.map +1 -1
  45. package/es/api/resources/Regulate.js +2 -2
  46. package/es/api/resources/Regulate.js.map +1 -1
  47. package/es/api/resources/Report.d.ts +3 -3
  48. package/es/api/resources/Report.d.ts.map +1 -1
  49. package/es/api/resources/Report.js +6 -6
  50. package/es/api/resources/Report.js.map +1 -1
  51. package/es/api/resources/Revision.d.ts +1 -1
  52. package/es/api/resources/Revision.d.ts.map +1 -1
  53. package/es/api/resources/Revision.js +2 -2
  54. package/es/api/resources/Revision.js.map +1 -1
  55. package/es/api/resources/SalesContract.d.ts +13 -0
  56. package/es/api/resources/SalesContract.d.ts.map +1 -0
  57. package/es/api/resources/SalesContract.js +45 -0
  58. package/es/api/resources/SalesContract.js.map +1 -0
  59. package/es/api/resources/SheetMonthSchedule.d.ts +1 -1
  60. package/es/api/resources/SheetMonthSchedule.d.ts.map +1 -1
  61. package/es/api/resources/SheetMonthSchedule.js +2 -2
  62. package/es/api/resources/SheetMonthSchedule.js.map +1 -1
  63. package/es/api/resources/Society.d.ts +2 -2
  64. package/es/api/resources/Society.d.ts.map +1 -1
  65. package/es/api/resources/Society.js +2 -2
  66. package/es/api/resources/Society.js.map +1 -1
  67. package/es/api/resources/TaxDeadline.d.ts +3 -3
  68. package/es/api/resources/TaxDeadline.d.ts.map +1 -1
  69. package/es/api/resources/TaxDeadline.js +6 -6
  70. package/es/api/resources/TaxDeadline.js.map +1 -1
  71. package/es/api/resources/TextMessage.d.ts +3 -3
  72. package/es/api/resources/TextMessage.d.ts.map +1 -1
  73. package/es/api/resources/TextMessage.js +6 -6
  74. package/es/api/resources/TextMessage.js.map +1 -1
  75. package/es/api/resources/ThirdParty.d.ts +1 -1
  76. package/es/api/resources/ThirdParty.d.ts.map +1 -1
  77. package/es/api/resources/ThirdParty.js +2 -2
  78. package/es/api/resources/ThirdParty.js.map +1 -1
  79. package/es/api/resources/User.d.ts +1 -1
  80. package/es/api/resources/User.d.ts.map +1 -1
  81. package/es/api/resources/User.js.map +1 -1
  82. package/es/api/resources/Wallet.d.ts +2 -2
  83. package/es/api/resources/Wallet.d.ts.map +1 -1
  84. package/es/api/resources/Wallet.js +4 -4
  85. package/es/api/resources/Wallet.js.map +1 -1
  86. package/es/api/resources/prestation.d.ts +2 -2
  87. package/es/api/resources/prestation.d.ts.map +1 -1
  88. package/es/api/resources/prestation.js +4 -4
  89. package/es/api/resources/prestation.js.map +1 -1
  90. package/es/api/resources/statistic/CustomerSuccess.d.ts +1 -1
  91. package/es/api/resources/statistic/CustomerSuccess.d.ts.map +1 -1
  92. package/es/api/resources/statistic/CustomerSuccess.js +2 -2
  93. package/es/api/resources/statistic/CustomerSuccess.js.map +1 -1
  94. package/es/api/resources.d.ts +2 -0
  95. package/es/api/resources.d.ts.map +1 -1
  96. package/es/api/resources.js +2 -0
  97. package/es/api/resources.js.map +1 -1
  98. package/es/types/Enum/BrandClementine.d.ts +109 -0
  99. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  100. package/es/types/Enum/BrandClementine.js +361 -0
  101. package/es/types/Enum/BrandClementine.js.map +1 -1
  102. package/es/types/Enum/BrandPourcentage.d.ts +27 -0
  103. package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
  104. package/es/types/Enum/BrandPourcentage.js +173 -0
  105. package/es/types/Enum/BrandPourcentage.js.map +1 -1
  106. package/es/types/Enum/CustomerSignature.d.ts +39 -0
  107. package/es/types/Enum/CustomerSignature.d.ts.map +1 -0
  108. package/es/types/Enum/CustomerSignature.js +41 -0
  109. package/es/types/Enum/CustomerSignature.js.map +1 -0
  110. package/es/types/Enum/JobTitle.js +5 -5
  111. package/es/types/Enum/JobTitle.js.map +1 -1
  112. package/es/types/Enum/Notification.d.ts +47 -1
  113. package/es/types/Enum/Notification.d.ts.map +1 -1
  114. package/es/types/Enum/Notification.js +273 -1
  115. package/es/types/Enum/Notification.js.map +1 -1
  116. package/es/types/Enum/PrestationType.d.ts +1 -0
  117. package/es/types/Enum/PrestationType.d.ts.map +1 -1
  118. package/es/types/Enum/PrestationType.js +20 -5
  119. package/es/types/Enum/PrestationType.js.map +1 -1
  120. package/es/types/Enum/SalesContractConfig.d.ts +29 -0
  121. package/es/types/Enum/SalesContractConfig.d.ts.map +1 -0
  122. package/es/types/Enum/SalesContractConfig.js +2 -0
  123. package/es/types/Enum/SalesContractConfig.js.map +1 -0
  124. package/es/types/Enum/SendMethod.d.ts +5 -0
  125. package/es/types/Enum/SendMethod.d.ts.map +1 -0
  126. package/es/types/Enum/SendMethod.js +6 -0
  127. package/es/types/Enum/SendMethod.js.map +1 -0
  128. package/es/types/Interface/api/salesContract/GenerateSalesContractParams.d.ts +4 -0
  129. package/es/types/Interface/api/salesContract/GenerateSalesContractParams.d.ts.map +1 -0
  130. package/es/types/Interface/api/salesContract/GenerateSalesContractParams.js +19 -0
  131. package/es/types/Interface/api/salesContract/GenerateSalesContractParams.js.map +1 -0
  132. package/es/types/Interface/api/salesContract/SendSalesContractParams.d.ts +8 -0
  133. package/es/types/Interface/api/salesContract/SendSalesContractParams.d.ts.map +1 -0
  134. package/es/types/Interface/api/salesContract/SendSalesContractParams.js +38 -0
  135. package/es/types/Interface/api/salesContract/SendSalesContractParams.js.map +1 -0
  136. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +1 -0
  137. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
  138. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +6 -0
  139. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  140. package/es/types/index.d.ts +4 -0
  141. package/es/types/index.d.ts.map +1 -1
  142. package/es/types/index.js +4 -0
  143. package/es/types/index.js.map +1 -1
  144. package/es/utils/index.d.ts +2 -0
  145. package/es/utils/index.d.ts.map +1 -1
  146. package/es/utils/index.js +2 -0
  147. package/es/utils/index.js.map +1 -1
  148. package/es/utils/isHtml.d.ts +7 -0
  149. package/es/utils/isHtml.d.ts.map +1 -0
  150. package/es/utils/isHtml.js +10 -0
  151. package/es/utils/isHtml.js.map +1 -0
  152. package/es/utils/isUrl.d.ts +7 -0
  153. package/es/utils/isUrl.d.ts.map +1 -0
  154. package/es/utils/isUrl.js +16 -0
  155. package/es/utils/isUrl.js.map +1 -0
  156. package/js/api/resources/Checklist.js +8 -4
  157. package/js/api/resources/Checklist.js.map +1 -1
  158. package/js/api/resources/Commercial.js +16 -8
  159. package/js/api/resources/Commercial.js.map +1 -1
  160. package/js/api/resources/CommercialDocument.js +4 -2
  161. package/js/api/resources/CommercialDocument.js.map +1 -1
  162. package/js/api/resources/Employee.js +4 -2
  163. package/js/api/resources/Employee.js.map +1 -1
  164. package/js/api/resources/Facturation.js +8 -4
  165. package/js/api/resources/Facturation.js.map +1 -1
  166. package/js/api/resources/Invoice.js +8 -4
  167. package/js/api/resources/Invoice.js.map +1 -1
  168. package/js/api/resources/Mail.js +64 -32
  169. package/js/api/resources/Mail.js.map +1 -1
  170. package/js/api/resources/PartneredAccountant.js +13 -7
  171. package/js/api/resources/PartneredAccountant.js.map +1 -1
  172. package/js/api/resources/PaymentExpectationCustomer.js +4 -2
  173. package/js/api/resources/PaymentExpectationCustomer.js.map +1 -1
  174. package/js/api/resources/Product.js +4 -2
  175. package/js/api/resources/Product.js.map +1 -1
  176. package/js/api/resources/Regulate.js +4 -2
  177. package/js/api/resources/Regulate.js.map +1 -1
  178. package/js/api/resources/Report.js +12 -6
  179. package/js/api/resources/Report.js.map +1 -1
  180. package/js/api/resources/Revision.js +4 -2
  181. package/js/api/resources/Revision.js.map +1 -1
  182. package/js/api/resources/SalesContract.js +70 -0
  183. package/js/api/resources/SalesContract.js.map +1 -0
  184. package/js/api/resources/SheetMonthSchedule.js +4 -2
  185. package/js/api/resources/SheetMonthSchedule.js.map +1 -1
  186. package/js/api/resources/Society.js +4 -2
  187. package/js/api/resources/Society.js.map +1 -1
  188. package/js/api/resources/TaxDeadline.js +12 -6
  189. package/js/api/resources/TaxDeadline.js.map +1 -1
  190. package/js/api/resources/TextMessage.js +12 -6
  191. package/js/api/resources/TextMessage.js.map +1 -1
  192. package/js/api/resources/ThirdParty.js +4 -2
  193. package/js/api/resources/ThirdParty.js.map +1 -1
  194. package/js/api/resources/User.js.map +1 -1
  195. package/js/api/resources/Wallet.js +8 -4
  196. package/js/api/resources/Wallet.js.map +1 -1
  197. package/js/api/resources/prestation.js +8 -4
  198. package/js/api/resources/prestation.js.map +1 -1
  199. package/js/api/resources/statistic/CustomerSuccess.js +4 -2
  200. package/js/api/resources/statistic/CustomerSuccess.js.map +1 -1
  201. package/js/api/resources.js +2 -0
  202. package/js/api/resources.js.map +1 -1
  203. package/js/types/Enum/BrandClementine.js +328 -3
  204. package/js/types/Enum/BrandClementine.js.map +1 -1
  205. package/js/types/Enum/BrandPourcentage.js +158 -1
  206. package/js/types/Enum/BrandPourcentage.js.map +1 -1
  207. package/js/types/Enum/CustomerSignature.js +46 -0
  208. package/js/types/Enum/CustomerSignature.js.map +1 -0
  209. package/js/types/Enum/JobTitle.js +7 -5
  210. package/js/types/Enum/JobTitle.js.map +1 -1
  211. package/js/types/Enum/Notification.js +273 -1
  212. package/js/types/Enum/Notification.js.map +1 -1
  213. package/js/types/Enum/PrestationType.js +7 -5
  214. package/js/types/Enum/PrestationType.js.map +1 -1
  215. package/js/types/Enum/SalesContractConfig.js +6 -0
  216. package/js/types/Enum/SalesContractConfig.js.map +1 -0
  217. package/js/types/Enum/SendMethod.js +11 -0
  218. package/js/types/Enum/SendMethod.js.map +1 -0
  219. package/js/types/Interface/api/salesContract/GenerateSalesContractParams.js +22 -0
  220. package/js/types/Interface/api/salesContract/GenerateSalesContractParams.js.map +1 -0
  221. package/js/types/Interface/api/salesContract/SendSalesContractParams.js +26 -0
  222. package/js/types/Interface/api/salesContract/SendSalesContractParams.js.map +1 -0
  223. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +3 -0
  224. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  225. package/js/types/index.js +40 -0
  226. package/js/types/index.js.map +1 -1
  227. package/js/utils/index.js +20 -0
  228. package/js/utils/index.js.map +1 -1
  229. package/js/utils/isHtml.js +16 -0
  230. package/js/utils/isHtml.js.map +1 -0
  231. package/js/utils/isUrl.js +21 -0
  232. package/js/utils/isUrl.js.map +1 -0
  233. package/package.json +2 -2
  234. package/ts/api/resources/Checklist.ts +4 -2
  235. package/ts/api/resources/Commercial.ts +24 -8
  236. package/ts/api/resources/CommercialDocument.ts +2 -0
  237. package/ts/api/resources/Employee.ts +2 -0
  238. package/ts/api/resources/Facturation.ts +12 -4
  239. package/ts/api/resources/Invoice.ts +4 -2
  240. package/ts/api/resources/Mail.ts +32 -16
  241. package/ts/api/resources/PartneredAccountant.ts +9 -4
  242. package/ts/api/resources/PaymentExpectationCustomer.ts +2 -0
  243. package/ts/api/resources/Product.ts +2 -0
  244. package/ts/api/resources/Regulate.ts +6 -2
  245. package/ts/api/resources/Report.ts +6 -6
  246. package/ts/api/resources/Revision.ts +6 -2
  247. package/ts/api/resources/SalesContract.ts +54 -0
  248. package/ts/api/resources/SheetMonthSchedule.ts +2 -0
  249. package/ts/api/resources/Society.ts +3 -2
  250. package/ts/api/resources/TaxDeadline.ts +6 -3
  251. package/ts/api/resources/TextMessage.ts +18 -6
  252. package/ts/api/resources/ThirdParty.ts +2 -0
  253. package/ts/api/resources/User.ts +1 -1
  254. package/ts/api/resources/Wallet.ts +4 -2
  255. package/ts/api/resources/prestation.ts +4 -3
  256. package/ts/api/resources/statistic/CustomerSuccess.ts +6 -2
  257. package/ts/api/resources.ts +2 -0
  258. package/ts/types/Enum/BrandClementine.ts +362 -0
  259. package/ts/types/Enum/BrandPourcentage.ts +174 -0
  260. package/ts/types/Enum/CustomerSignature.ts +40 -0
  261. package/ts/types/Enum/JobTitle.ts +5 -5
  262. package/ts/types/Enum/Notification.ts +286 -2
  263. package/ts/types/Enum/PrestationType.ts +21 -5
  264. package/ts/types/Enum/SalesContractConfig.ts +37 -0
  265. package/ts/types/Enum/SendMethod.ts +4 -0
  266. package/ts/types/Interface/api/salesContract/GenerateSalesContractParams.ts +8 -0
  267. package/ts/types/Interface/api/salesContract/SendSalesContractParams.ts +23 -0
  268. package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +6 -0
  269. package/ts/types/index.ts +4 -0
  270. package/ts/utils/index.ts +3 -1
  271. package/ts/utils/isHtml.ts +9 -0
  272. package/ts/utils/isUrl.ts +14 -0
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=SalesContractConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SalesContractConfig.js","names":[],"sources":["../../../ts/types/Enum/SalesContractConfig.ts"],"sourcesContent":["import { PrestationType } from './PrestationType';\n\n// Config in the Brand enum\nexport type SalesContractConfigType = {\n label: string,\n name: string,\n urlBgImage?: string,\n needBgImage?: boolean,\n idPrestationType: PrestationType[],\n versionable?: boolean,\n keyName?: string\n condition: (...args: (string | number)[]) => boolean\n};\n\n// Content of a config in the s3 file\nexport type SalesContractContent = {\n name: string;\n content: string;\n};\n\n// Config send from the front\nexport type SalesContractConfig = {\n name: string;\n content: string;\n css?: string;\n};\n\n// List of version for a config\nexport type SalesContractConfigVersion = {\n versionId: string;\n name: string;\n};\n\nexport type ParamsPreviewContract = {\n idPrestationList: number;\n versionId?: string;\n};\n"],"mappings":""}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var SendMethod = exports.SendMethod = undefined;
7
+ (function (SendMethod) {
8
+ SendMethod[SendMethod["SMS"] = 1] = "SMS";
9
+ SendMethod[SendMethod["EMAIL"] = 2] = "EMAIL";
10
+ })(SendMethod || (exports.SendMethod = SendMethod = {}));
11
+ //# sourceMappingURL=SendMethod.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SendMethod.js","names":["SendMethod","exports","undefined"],"sources":["../../../ts/types/Enum/SendMethod.ts"],"sourcesContent":["export enum SendMethod {\n SMS = 1,\n EMAIL = 2,\n}\n"],"mappings":";;;;;AAAA,IAAYA,UAGX,GAAAC,OAAA,CAHWD,UAGX,GAAAE,SAAA;AAHD,WAAYF,UAAU;EACpBA,UAAA,CAAAA,UAAA,oBAAO;EACPA,UAAA,CAAAA,UAAA,wBAAS;AACX,CAAC,EAHWA,UAAU,KAAAC,OAAA,CAAVD,UAGX,GAHWA,UAAU"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.GenerateSalesContractParams = undefined;
7
+ var _classValidator = require("class-validator");
8
+ var _decorators = require("../../../../utils/decorators");
9
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10
+ var c = arguments.length,
11
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
12
+ d;
13
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
14
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
15
+ };
16
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
17
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
18
+ };
19
+ class GenerateSalesContractParams {}
20
+ exports.GenerateSalesContractParams = GenerateSalesContractParams;
21
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GenerateSalesContractParams.prototype, "idPrestation", void 0);
22
+ //# sourceMappingURL=GenerateSalesContractParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenerateSalesContractParams.js","names":["_classValidator","require","_decorators","GenerateSalesContractParams","exports","__decorate","ApiProperty","IsInt"],"sources":["../../../../../ts/types/Interface/api/salesContract/GenerateSalesContractParams.ts"],"sourcesContent":["import { IsInt } from 'class-validator';\nimport { ApiProperty } from '../../../../utils/decorators';\n\nexport class GenerateSalesContractParams {\n @ApiProperty()\n @IsInt()\n idPrestation: number;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,2BAA2B;AAIvCC,OAAA,CAJYD,2BAA2B,GAA3BA,2BAA2B;AACtCE,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAC,qBAAK,GAAE,E,kGACe"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SendSalesContractParams = undefined;
7
+ var _classValidator = require("class-validator");
8
+ var _decorators = require("../../../../utils/decorators");
9
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10
+ var c = arguments.length,
11
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
12
+ d;
13
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
14
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
15
+ };
16
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
17
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
18
+ };
19
+ class SendSalesContractParams {}
20
+ exports.SendSalesContractParams = SendSalesContractParams;
21
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], SendSalesContractParams.prototype, "idPrestation", void 0);
22
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], SendSalesContractParams.prototype, "price", void 0);
23
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], SendSalesContractParams.prototype, "startText", void 0);
24
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], SendSalesContractParams.prototype, "endText", void 0);
25
+ __decorate([(0, _decorators.ApiPropertyOptional)(), __metadata("design:type", Array)], SendSalesContractParams.prototype, "files", void 0);
26
+ //# sourceMappingURL=SendSalesContractParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SendSalesContractParams.js","names":["_classValidator","require","_decorators","SendSalesContractParams","exports","__decorate","ApiProperty","IsInt","IsString","ApiPropertyOptional"],"sources":["../../../../../ts/types/Interface/api/salesContract/SendSalesContractParams.ts"],"sourcesContent":["import { IsInt, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class SendSalesContractParams {\n @ApiProperty()\n @IsInt()\n idPrestation: number;\n\n @ApiProperty()\n @IsInt()\n price: number;\n\n @ApiProperty()\n @IsString()\n startText: string;\n\n @ApiProperty()\n @IsString()\n endText: string;\n\n @ApiPropertyOptional()\n files?: File[];\n}\n"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,uBAAuB;AAmBnCC,OAAA,CAnBYD,uBAAuB,GAAvBA,uBAAuB;AAClCE,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAC,qBAAK,GAAE,E,8FACe;AAEvBF,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAC,qBAAK,GAAE,E,uFACQ;AAEhBF,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAE,wBAAQ,GAAE,E,2FACS;AAEpBH,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAE,wBAAQ,GAAE,E,yFACO;AAElBH,UAAA,EAAC,IAAAI,+BAAmB,GAAE,E,sFACL"}
@@ -86,6 +86,9 @@ __decorate([(0, _utils.ApiPropertyOptional)({
86
86
  __decorate([(0, _utils.ApiPropertyOptional)({
87
87
  description: 'Exercice cloturé ou non'
88
88
  }), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), __metadata("design:type", Boolean)], QueryTaxDeadline.prototype, "isClosed", void 0);
89
+ __decorate([(0, _utils.ApiPropertyOptional)({
90
+ description: 'Récupérer uniquement les exercices back ou uniquement les non back'
91
+ }), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), __metadata("design:type", Boolean)], QueryTaxDeadline.prototype, "isBack", void 0);
89
92
  class QueryTaxDeadlineStatistics {}
90
93
  exports.QueryTaxDeadlineStatistics = QueryTaxDeadlineStatistics;
91
94
  __decorate([(0, _utils.ApiProperty)({
@@ -1 +1 @@
1
- {"version":3,"file":"QueryTaxDeadline.js","names":["_classValidator","require","_utils","_","_ComptaType","_TaxSystem","_Supervision","_BalanceSheet","_boolean","QueryTaxDeadline","exports","__decorate","ApiProperty","description","ApiPropertyOptional","enum","VatRegime","ComptaType","TaxSystem","BalanceSheetState","Supervision","BankCollectingState","IsOptional","IsEnum","ToDoOrDone","IsArray","IsString","each","IsBoolean","QueryTaxDeadlineStatistics","QueryCompanyTaxesByCollaborater","IsDateString","IsNumber","QueryVatDeadline","RequiredQueryPaginate","describe","ToBoolean","QueryVatDeadlineByCollaborator"],"sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"sourcesContent":["import {\n IsOptional, IsEnum, IsDateString, IsString, IsArray, IsBoolean, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport {\n VatRegime, ToDoOrDone, BankCollectingState, RequiredQueryPaginate, TaxState,\n} from '../../..';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { BalanceSheetState } from '../../../Enum/BalanceSheet';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\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 @ApiPropertyOptional({ description: 'Exercice cloturé ou non' })\n @IsOptional()\n @IsBoolean()\n isClosed?: boolean;\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 idUser: number | 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\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idState?: TaxState;\n}\n\nexport class QueryVatDeadline extends RequiredQueryPaginate {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idComptaType?: ComptaType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n vatUploadDay?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idState?: TaxState[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idVatRegime?: VatRegime[];\n\n @ApiPropertyOptional()\n @IsOptional()\n annotationRange?: { min: number; max: number; };\n\n @ApiPropertyOptional({ describe: 'set to true if you want retrieve the ca12' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isCA12?: boolean;\n}\n\nexport class QueryVatDeadlineByCollaborator extends QueryVatDeadline {\n @ApiProperty({ description: 'collaborator id' })\n idUser: number;\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;AACA,IAAAO,QAAA,GAAAP,OAAA;;;;;;;;;;;AAEM,MAAOQ,gBAAgB;AA+D5BC,OAAA,CA/DYD,gBAAgB,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/B"}
1
+ {"version":3,"file":"QueryTaxDeadline.js","names":["_classValidator","require","_utils","_","_ComptaType","_TaxSystem","_Supervision","_BalanceSheet","_boolean","QueryTaxDeadline","exports","__decorate","ApiProperty","description","ApiPropertyOptional","enum","VatRegime","ComptaType","TaxSystem","BalanceSheetState","Supervision","BankCollectingState","IsOptional","IsEnum","ToDoOrDone","IsArray","IsString","each","IsBoolean","QueryTaxDeadlineStatistics","QueryCompanyTaxesByCollaborater","IsDateString","IsNumber","QueryVatDeadline","RequiredQueryPaginate","describe","ToBoolean","QueryVatDeadlineByCollaborator"],"sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"sourcesContent":["import {\n IsOptional, IsEnum, IsDateString, IsString, IsArray, IsBoolean, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport {\n VatRegime, ToDoOrDone, BankCollectingState, RequiredQueryPaginate, TaxState,\n} from '../../..';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { BalanceSheetState } from '../../../Enum/BalanceSheet';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\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 @ApiPropertyOptional({ description: 'Exercice cloturé ou non' })\n @IsOptional()\n @IsBoolean()\n isClosed?: boolean;\n\n @ApiPropertyOptional({ description: 'Récupérer uniquement les exercices back ou uniquement les non back' })\n @IsOptional()\n @IsBoolean()\n isBack?: boolean;\n\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 idUser: number | 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\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idState?: TaxState;\n}\n\nexport class QueryVatDeadline extends RequiredQueryPaginate {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idComptaType?: ComptaType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n vatUploadDay?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idState?: TaxState[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idVatRegime?: VatRegime[];\n\n @ApiPropertyOptional()\n @IsOptional()\n annotationRange?: { min: number; max: number; };\n\n @ApiPropertyOptional({ describe: 'set to true if you want retrieve the ca12' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isCA12?: boolean;\n}\n\nexport class QueryVatDeadlineByCollaborator extends QueryVatDeadline {\n @ApiProperty({ description: 'collaborator id' })\n idUser: number;\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;AACA,IAAAO,QAAA,GAAAP,OAAA;;;;;;;;;;;AAEM,MAAOQ,gBAAgB;AAqE5BC,OAAA,CArEYD,gBAAgB,GAAhBA,gBAAgB;AAC3BE,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAA8B,CAAE,CAAC,E,iFACjC;AAE5BF,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE;AAA0C,CAAE,CAAC,E,0FACtD;AAE3BF,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE;AAA0C,CAAE,CAAC,E,0FACtD;AAE3BF,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE,eAAe;EAAEE,IAAI,EAAEC;AAAS,CAAE,CAAC,E,sFAC/B;AAExCL,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE,sBAAsB;EAAEE,IAAI,EAAEE;AAAU,CAAE,CAAC,E,uFACpC;AAE3CN,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE,mBAAmB;EAAEE,IAAI,EAAEG;AAAS,CAAE,CAAC,E,sFACnC;AAExCP,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE,eAAe;EAAEE,IAAI,EAAEI;AAAiB,CAAE,CAAC,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AE1Bd,UAAA,EAAC,IAAAG,0BAAmB,GAAE,EACrB,IAAAQ,0BAAU,GAAE,EACZ,IAAAG,uBAAO,GAAE,E,iFACa;AAEvBd,UAAA,EAAC,IAAAG,0BAAmB,GAAE,EACrB,IAAAQ,0BAAU,GAAE,EACZ,IAAAG,uBAAO,GAAE,E,qFACkB;AAE5Bd,UAAA,EAAC,IAAAG,0BAAmB,GAAE,EACrB,IAAAQ,0BAAU,GAAE,E,0FACqC;AAElDX,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAEqB,QAAQ,EAAE;AAA2C,CAAE,CAAC,EAC9E,IAAAP,yBAAS,GAAE,EACX,IAAAQ,kBAAS,GAAE,EACX,IAAAd,0BAAU,GAAE,E,kFACM;AAGf,MAAOe,8BAA+B,SAAQJ,gBAAgB;AAGnEvB,OAAA,CAHY2B,8BAA+B,GAA/BA,8BAA+B;AAC1C1B,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAAiB,CAAE,CAAC,E,+FAC/B"}
package/js/types/index.js CHANGED
@@ -3363,6 +3363,16 @@ Object.keys(_TimeCounterType).forEach(function (key) {
3363
3363
  }
3364
3364
  });
3365
3365
  });
3366
+ var _CustomerSignature = require("./Enum/CustomerSignature");
3367
+ Object.keys(_CustomerSignature).forEach(function (key) {
3368
+ if (key === "default" || key === "__esModule") return;
3369
+ Object.defineProperty(exports, key, {
3370
+ enumerable: true,
3371
+ get: function () {
3372
+ return _CustomerSignature[key];
3373
+ }
3374
+ });
3375
+ });
3366
3376
  var _MailAuto = require("./Enum/MailAuto");
3367
3377
  Object.keys(_MailAuto).forEach(function (key) {
3368
3378
  if (key === "default" || key === "__esModule") return;
@@ -3763,6 +3773,16 @@ Object.keys(_TaxSystem).forEach(function (key) {
3763
3773
  }
3764
3774
  });
3765
3775
  });
3776
+ var _SalesContractConfig = require("./Enum/SalesContractConfig");
3777
+ Object.keys(_SalesContractConfig).forEach(function (key) {
3778
+ if (key === "default" || key === "__esModule") return;
3779
+ Object.defineProperty(exports, key, {
3780
+ enumerable: true,
3781
+ get: function () {
3782
+ return _SalesContractConfig[key];
3783
+ }
3784
+ });
3785
+ });
3766
3786
  var _FiscalRegime = require("./Enum/FiscalRegime");
3767
3787
  Object.keys(_FiscalRegime).forEach(function (key) {
3768
3788
  if (key === "default" || key === "__esModule") return;
@@ -6333,6 +6353,26 @@ Object.keys(_ReadSocietyTransactionCount).forEach(function (key) {
6333
6353
  }
6334
6354
  });
6335
6355
  });
6356
+ var _SendSalesContractParams = require("./Interface/api/salesContract/SendSalesContractParams");
6357
+ Object.keys(_SendSalesContractParams).forEach(function (key) {
6358
+ if (key === "default" || key === "__esModule") return;
6359
+ Object.defineProperty(exports, key, {
6360
+ enumerable: true,
6361
+ get: function () {
6362
+ return _SendSalesContractParams[key];
6363
+ }
6364
+ });
6365
+ });
6366
+ var _GenerateSalesContractParams = require("./Interface/api/salesContract/GenerateSalesContractParams");
6367
+ Object.keys(_GenerateSalesContractParams).forEach(function (key) {
6368
+ if (key === "default" || key === "__esModule") return;
6369
+ Object.defineProperty(exports, key, {
6370
+ enumerable: true,
6371
+ get: function () {
6372
+ return _GenerateSalesContractParams[key];
6373
+ }
6374
+ });
6375
+ });
6336
6376
  var _CreateMailFromLambda = require("./Interface/api/webmail/CreateMailFromLambda");
6337
6377
  Object.keys(_CreateMailFromLambda).forEach(function (key) {
6338
6378
  if (key === "default" || key === "__esModule") return;