@silexpert/core 1.3.148 → 1.3.150-levy-1

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 (160) hide show
  1. package/dist/cjs/api/resources/DashboardLayout.d.ts +4 -3
  2. package/dist/cjs/api/resources/DashboardLayout.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/DashboardLayout.js +3 -0
  4. package/dist/cjs/api/resources/DashboardLayout.js.map +1 -1
  5. package/dist/cjs/api/resources/Echo.d.ts +3 -3
  6. package/dist/cjs/api/resources/Echo.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Echo.js +3 -3
  8. package/dist/cjs/api/resources/Echo.js.map +1 -1
  9. package/dist/cjs/api/resources/LegalNotice.d.ts +7 -2
  10. package/dist/cjs/api/resources/LegalNotice.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/LegalNotice.js +14 -0
  12. package/dist/cjs/api/resources/LegalNotice.js.map +1 -1
  13. package/dist/cjs/api/resources/StripeCustomer.d.ts +6 -0
  14. package/dist/cjs/api/resources/StripeCustomer.d.ts.map +1 -0
  15. package/dist/cjs/api/resources/StripeCustomer.js +11 -0
  16. package/dist/cjs/api/resources/StripeCustomer.js.map +1 -0
  17. package/dist/cjs/types/Enum/VisualizedInformation.d.ts +2 -1
  18. package/dist/cjs/types/Enum/VisualizedInformation.d.ts.map +1 -1
  19. package/dist/cjs/types/Enum/VisualizedInformation.js +1 -0
  20. package/dist/cjs/types/Enum/VisualizedInformation.js.map +1 -1
  21. package/dist/cjs/types/Interface/api/DashboardLayout.d.ts +3 -11
  22. package/dist/cjs/types/Interface/api/DashboardLayout.d.ts.map +1 -1
  23. package/dist/cjs/types/Interface/api/DashboardLayout.js.map +1 -1
  24. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts +1 -0
  25. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  26. package/dist/cjs/types/Interface/api/balanceSheet/Query.js +8 -0
  27. package/dist/cjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  28. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +7 -2
  29. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  30. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  31. package/dist/cjs/types/Interface/api/echo/CreateOrder.d.ts +10 -19
  32. package/dist/cjs/types/Interface/api/echo/CreateOrder.d.ts.map +1 -1
  33. package/dist/cjs/types/Interface/api/echo/CreateOrder.js +0 -90
  34. package/dist/cjs/types/Interface/api/echo/CreateOrder.js.map +1 -1
  35. package/dist/cjs/types/Interface/api/echo/Estimate.d.ts +33 -0
  36. package/dist/cjs/types/Interface/api/echo/Estimate.d.ts.map +1 -0
  37. package/dist/cjs/types/Interface/api/echo/Estimate.js +3 -0
  38. package/dist/cjs/types/Interface/api/echo/Estimate.js.map +1 -0
  39. package/dist/cjs/types/Interface/api/echo/EstimatePayload.d.ts +6 -0
  40. package/dist/cjs/types/Interface/api/echo/EstimatePayload.d.ts.map +1 -0
  41. package/dist/cjs/types/Interface/api/echo/EstimatePayload.js +3 -0
  42. package/dist/cjs/types/Interface/api/echo/EstimatePayload.js.map +1 -0
  43. package/dist/cjs/types/Interface/api/echo/Mission.d.ts +4 -1
  44. package/dist/cjs/types/Interface/api/echo/Mission.d.ts.map +1 -1
  45. package/dist/cjs/types/Interface/api/echo/Mission.js.map +1 -1
  46. package/dist/cjs/types/Interface/api/echo/Order.d.ts +29 -8
  47. package/dist/cjs/types/Interface/api/echo/Order.d.ts.map +1 -1
  48. package/dist/cjs/types/Interface/api/echo/Order.js.map +1 -1
  49. package/dist/cjs/types/Interface/api/legalNotice/QueryLegalNotice.d.ts +10 -0
  50. package/dist/cjs/types/Interface/api/legalNotice/QueryLegalNotice.d.ts.map +1 -0
  51. package/dist/cjs/types/Interface/api/legalNotice/QueryLegalNotice.js +58 -0
  52. package/dist/cjs/types/Interface/api/legalNotice/QueryLegalNotice.js.map +1 -0
  53. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +3 -0
  54. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  55. package/dist/cjs/types/Interface/api/stripe/Create.js +11 -1
  56. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  57. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +5 -0
  58. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  59. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +20 -1
  60. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  61. package/dist/cjs/types/Interface/models/IDashboardLayout.d.ts +10 -0
  62. package/dist/cjs/types/Interface/models/IDashboardLayout.d.ts.map +1 -0
  63. package/dist/cjs/types/Interface/models/IDashboardLayout.js +3 -0
  64. package/dist/cjs/types/Interface/models/IDashboardLayout.js.map +1 -0
  65. package/dist/cjs/types/index.d.ts +4 -0
  66. package/dist/cjs/types/index.d.ts.map +1 -1
  67. package/dist/cjs/types/index.js +4 -0
  68. package/dist/cjs/types/index.js.map +1 -1
  69. package/dist/cjs/utils/brands.d.ts.map +1 -1
  70. package/dist/cjs/utils/brands.js.map +1 -1
  71. package/dist/mjs/api/resources/DashboardLayout.d.ts +4 -3
  72. package/dist/mjs/api/resources/DashboardLayout.d.ts.map +1 -1
  73. package/dist/mjs/api/resources/DashboardLayout.js +3 -0
  74. package/dist/mjs/api/resources/DashboardLayout.js.map +1 -1
  75. package/dist/mjs/api/resources/Echo.d.ts +3 -3
  76. package/dist/mjs/api/resources/Echo.d.ts.map +1 -1
  77. package/dist/mjs/api/resources/Echo.js +3 -3
  78. package/dist/mjs/api/resources/Echo.js.map +1 -1
  79. package/dist/mjs/api/resources/LegalNotice.d.ts +7 -2
  80. package/dist/mjs/api/resources/LegalNotice.d.ts.map +1 -1
  81. package/dist/mjs/api/resources/LegalNotice.js +14 -0
  82. package/dist/mjs/api/resources/LegalNotice.js.map +1 -1
  83. package/dist/mjs/api/resources/StripeCustomer.d.ts +6 -0
  84. package/dist/mjs/api/resources/StripeCustomer.d.ts.map +1 -0
  85. package/dist/mjs/api/resources/StripeCustomer.js +7 -0
  86. package/dist/mjs/api/resources/StripeCustomer.js.map +1 -0
  87. package/dist/mjs/types/Enum/VisualizedInformation.d.ts +2 -1
  88. package/dist/mjs/types/Enum/VisualizedInformation.d.ts.map +1 -1
  89. package/dist/mjs/types/Enum/VisualizedInformation.js +1 -0
  90. package/dist/mjs/types/Enum/VisualizedInformation.js.map +1 -1
  91. package/dist/mjs/types/Interface/api/DashboardLayout.d.ts +3 -11
  92. package/dist/mjs/types/Interface/api/DashboardLayout.d.ts.map +1 -1
  93. package/dist/mjs/types/Interface/api/DashboardLayout.js.map +1 -1
  94. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts +1 -0
  95. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  96. package/dist/mjs/types/Interface/api/balanceSheet/Query.js +10 -1
  97. package/dist/mjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  98. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +7 -2
  99. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  100. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  101. package/dist/mjs/types/Interface/api/echo/CreateOrder.d.ts +10 -19
  102. package/dist/mjs/types/Interface/api/echo/CreateOrder.d.ts.map +1 -1
  103. package/dist/mjs/types/Interface/api/echo/CreateOrder.js +1 -100
  104. package/dist/mjs/types/Interface/api/echo/CreateOrder.js.map +1 -1
  105. package/dist/mjs/types/Interface/api/echo/Estimate.d.ts +33 -0
  106. package/dist/mjs/types/Interface/api/echo/Estimate.d.ts.map +1 -0
  107. package/dist/mjs/types/Interface/api/echo/Estimate.js +2 -0
  108. package/dist/mjs/types/Interface/api/echo/Estimate.js.map +1 -0
  109. package/dist/mjs/types/Interface/api/echo/EstimatePayload.d.ts +6 -0
  110. package/dist/mjs/types/Interface/api/echo/EstimatePayload.d.ts.map +1 -0
  111. package/dist/mjs/types/Interface/api/echo/EstimatePayload.js +2 -0
  112. package/dist/mjs/types/Interface/api/echo/EstimatePayload.js.map +1 -0
  113. package/dist/mjs/types/Interface/api/echo/Mission.d.ts +4 -1
  114. package/dist/mjs/types/Interface/api/echo/Mission.d.ts.map +1 -1
  115. package/dist/mjs/types/Interface/api/echo/Mission.js.map +1 -1
  116. package/dist/mjs/types/Interface/api/echo/Order.d.ts +29 -8
  117. package/dist/mjs/types/Interface/api/echo/Order.d.ts.map +1 -1
  118. package/dist/mjs/types/Interface/api/echo/Order.js.map +1 -1
  119. package/dist/mjs/types/Interface/api/legalNotice/QueryLegalNotice.d.ts +10 -0
  120. package/dist/mjs/types/Interface/api/legalNotice/QueryLegalNotice.d.ts.map +1 -0
  121. package/dist/mjs/types/Interface/api/legalNotice/QueryLegalNotice.js +60 -0
  122. package/dist/mjs/types/Interface/api/legalNotice/QueryLegalNotice.js.map +1 -0
  123. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +3 -0
  124. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  125. package/dist/mjs/types/Interface/api/stripe/Create.js +10 -0
  126. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  127. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +5 -0
  128. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  129. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +21 -0
  130. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  131. package/dist/mjs/types/Interface/models/IDashboardLayout.d.ts +10 -0
  132. package/dist/mjs/types/Interface/models/IDashboardLayout.d.ts.map +1 -0
  133. package/dist/mjs/types/Interface/models/IDashboardLayout.js +2 -0
  134. package/dist/mjs/types/Interface/models/IDashboardLayout.js.map +1 -0
  135. package/dist/mjs/types/index.d.ts +4 -0
  136. package/dist/mjs/types/index.d.ts.map +1 -1
  137. package/dist/mjs/types/index.js +4 -0
  138. package/dist/mjs/types/index.js.map +1 -1
  139. package/dist/mjs/utils/brands.d.ts.map +1 -1
  140. package/dist/mjs/utils/brands.js.map +1 -1
  141. package/package.json +1 -1
  142. package/ts/api/resources/DashboardLayout.ts +7 -3
  143. package/ts/api/resources/Echo.ts +6 -6
  144. package/ts/api/resources/LegalNotice.ts +19 -2
  145. package/ts/api/resources/StripeCustomer.ts +8 -0
  146. package/ts/types/Enum/VisualizedInformation.ts +1 -0
  147. package/ts/types/Interface/api/DashboardLayout.ts +3 -12
  148. package/ts/types/Interface/api/balanceSheet/Query.ts +8 -1
  149. package/ts/types/Interface/api/config/ConfigType.ts +7 -2
  150. package/ts/types/Interface/api/echo/CreateOrder.ts +10 -61
  151. package/ts/types/Interface/api/echo/Estimate.ts +33 -0
  152. package/ts/types/Interface/api/echo/EstimatePayload.ts +5 -0
  153. package/ts/types/Interface/api/echo/Mission.ts +5 -1
  154. package/ts/types/Interface/api/echo/Order.ts +29 -8
  155. package/ts/types/Interface/api/legalNotice/QueryLegalNotice.ts +38 -0
  156. package/ts/types/Interface/api/stripe/Create.ts +8 -0
  157. package/ts/types/Interface/api/stripe/QueryStripe.ts +15 -0
  158. package/ts/types/Interface/models/IDashboardLayout.ts +10 -0
  159. package/ts/types/index.ts +4 -0
  160. package/ts/utils/brands.ts +0 -1
@@ -1,9 +1,10 @@
1
- import { DashboardBlock, IDashboardLayoutItem } from '../../types';
1
+ import { DashboardBlock, ReadDashboardLayoutItem, IDashboardLayout } from '../../types';
2
2
  import { Resource } from '../Resource';
3
3
  export declare class DashboardLayout extends Resource {
4
- createOrUpdate(idSociety: number, jsonLayout: IDashboardLayoutItem[]): Promise<DashboardLayout>;
5
- findOneByUserAndSociety(idSociety: number): Promise<IDashboardLayoutItem[]>;
4
+ createOrUpdate(idSociety: number, jsonLayout: ReadDashboardLayoutItem[]): Promise<IDashboardLayout>;
5
+ findOneByUserAndSociety(idSociety: number): Promise<ReadDashboardLayoutItem[]>;
6
6
  deleteByUserAndSociety(idSociety: number): Promise<true>;
7
7
  getAvailableDashboardBlocks(idSociety: number): Promise<DashboardBlock[]>;
8
+ createDefaultLayout(idSociety: number): Promise<ReadDashboardLayoutItem[]>;
8
9
  }
9
10
  //# sourceMappingURL=DashboardLayout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardLayout.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/DashboardLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,eAAgB,SAAQ,QAAQ;IAC3C,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,oBAAoB,EAAE,GAAG,OAAO,CAAC,eAAe,CAAC;IAI/F,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;IAI3E,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxD,2BAA2B,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;CAG1E"}
1
+ {"version":3,"file":"DashboardLayout.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/DashboardLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACxF,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,eAAgB,SAAQ,QAAQ;IAC3C,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,uBAAuB,EAAE,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAInG,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC;IAI9E,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxD,2BAA2B,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAIzE,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC;CAG3E"}
@@ -15,6 +15,9 @@ class DashboardLayout extends Resource_1.Resource {
15
15
  getAvailableDashboardBlocks(idSociety) {
16
16
  return this.axios.$get(`/societies/${idSociety}/dashboards/features`);
17
17
  }
18
+ createDefaultLayout(idSociety) {
19
+ return this.axios.$post(`/societies/${idSociety}/dashboards/layouts/default`);
20
+ }
18
21
  }
19
22
  exports.DashboardLayout = DashboardLayout;
20
23
  //# sourceMappingURL=DashboardLayout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardLayout.js","sourceRoot":"","sources":["../../../../ts/api/resources/DashboardLayout.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,eAAgB,SAAQ,mBAAQ;IAC3C,cAAc,CAAC,SAAiB,EAAE,UAAkC;QAClE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,qBAAqB,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC;IACxF,CAAC;IAED,uBAAuB,CAAC,SAAiB;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,qBAAqB,CAAC,CAAC;IACvE,CAAC;IAED,sBAAsB,CAAC,SAAiB;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,SAAS,qBAAqB,CAAC,CAAC;IAC1E,CAAC;IAED,2BAA2B,CAAC,SAAiB;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,sBAAsB,CAAC,CAAC;IACxE,CAAC;CACF;AAhBD,0CAgBC","sourcesContent":["import { DashboardBlock, IDashboardLayoutItem } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class DashboardLayout extends Resource {\n createOrUpdate(idSociety: number, jsonLayout: IDashboardLayoutItem[]): Promise<DashboardLayout> {\n return this.axios.$post(`/societies/${idSociety}/dashboards/layouts`, { jsonLayout });\n }\n\n findOneByUserAndSociety(idSociety: number): Promise<IDashboardLayoutItem[]> {\n return this.axios.$get(`/societies/${idSociety}/dashboards/layouts`);\n }\n\n deleteByUserAndSociety(idSociety: number): Promise<true> {\n return this.axios.$delete(`/societies/${idSociety}/dashboards/layouts`);\n }\n\n getAvailableDashboardBlocks(idSociety: number): Promise<DashboardBlock[]> {\n return this.axios.$get(`/societies/${idSociety}/dashboards/features`);\n }\n}\n"]}
1
+ {"version":3,"file":"DashboardLayout.js","sourceRoot":"","sources":["../../../../ts/api/resources/DashboardLayout.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,eAAgB,SAAQ,mBAAQ;IAC3C,cAAc,CAAC,SAAiB,EAAE,UAAqC;QACrE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,qBAAqB,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC;IACxF,CAAC;IAED,uBAAuB,CAAC,SAAiB;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,qBAAqB,CAAC,CAAC;IACvE,CAAC;IAED,sBAAsB,CAAC,SAAiB;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,SAAS,qBAAqB,CAAC,CAAC;IAC1E,CAAC;IAED,2BAA2B,CAAC,SAAiB;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,sBAAsB,CAAC,CAAC;IACxE,CAAC;IAED,mBAAmB,CAAC,SAAiB;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,6BAA6B,CAAC,CAAC;IAChF,CAAC;CACF;AApBD,0CAoBC","sourcesContent":["import { DashboardBlock, ReadDashboardLayoutItem, IDashboardLayout } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class DashboardLayout extends Resource {\n createOrUpdate(idSociety: number, jsonLayout: ReadDashboardLayoutItem[]): Promise<IDashboardLayout> {\n return this.axios.$post(`/societies/${idSociety}/dashboards/layouts`, { jsonLayout });\n }\n\n findOneByUserAndSociety(idSociety: number): Promise<ReadDashboardLayoutItem[]> {\n return this.axios.$get(`/societies/${idSociety}/dashboards/layouts`);\n }\n\n deleteByUserAndSociety(idSociety: number): Promise<true> {\n return this.axios.$delete(`/societies/${idSociety}/dashboards/layouts`);\n }\n\n getAvailableDashboardBlocks(idSociety: number): Promise<DashboardBlock[]> {\n return this.axios.$get(`/societies/${idSociety}/dashboards/features`);\n }\n\n createDefaultLayout(idSociety: number): Promise<ReadDashboardLayoutItem[]> {\n return this.axios.$post(`/societies/${idSociety}/dashboards/layouts/default`);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { CreateEchoOrder, DepartmentCode, EchoOrder, Mission, NewsPaper } from '../../types';
1
+ import { CreateOrder, EchoEstimateResponse, EchoOrder, EstimatePayload, Mission } from '../../types';
2
2
  import { Resource } from '../Resource';
3
3
  export declare class Echo extends Resource {
4
4
  getMissions(): Promise<Mission[]>;
5
- getNewsPapers(zoneCode: DepartmentCode): Promise<NewsPaper[]>;
6
- createOrder(params: CreateEchoOrder): Promise<EchoOrder>;
5
+ createOrder(params: CreateOrder): Promise<EchoOrder>;
6
+ getEstimate(params: EstimatePayload): Promise<EchoEstimateResponse>;
7
7
  }
8
8
  //# sourceMappingURL=Echo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Echo.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Echo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7F,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,IAAK,SAAQ,QAAQ;IACzB,WAAW,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;IAIjC,aAAa,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAI7D,WAAW,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,SAAS,CAAC;CAGhE"}
1
+ {"version":3,"file":"Echo.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Echo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,SAAS,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACrG,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,IAAK,SAAQ,QAAQ;IACzB,WAAW,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;IAIjC,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC;IAIpD,WAAW,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAG3E"}
@@ -6,12 +6,12 @@ class Echo extends Resource_1.Resource {
6
6
  getMissions() {
7
7
  return this.axios.$get('echo/missions');
8
8
  }
9
- getNewsPapers(zoneCode) {
10
- return this.axios.$get(`echo/${zoneCode}/newspapers`);
11
- }
12
9
  createOrder(params) {
13
10
  return this.axios.$post('echo/order', params);
14
11
  }
12
+ getEstimate(params) {
13
+ return this.axios.$post('echo/estimate', params);
14
+ }
15
15
  }
16
16
  exports.Echo = Echo;
17
17
  //# sourceMappingURL=Echo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Echo.js","sourceRoot":"","sources":["../../../../ts/api/resources/Echo.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,IAAK,SAAQ,mBAAQ;IACzB,WAAW;QAChB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAC1C,CAAC;IAEM,aAAa,CAAC,QAAwB;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,QAAQ,aAAa,CAAC,CAAC;IACxD,CAAC;IAEM,WAAW,CAAC,MAAuB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC;CACF;AAZD,oBAYC","sourcesContent":["import { CreateEchoOrder, DepartmentCode, EchoOrder, Mission, NewsPaper } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Echo extends Resource {\n public getMissions(): Promise<Mission[]> {\n return this.axios.$get('echo/missions');\n }\n\n public getNewsPapers(zoneCode: DepartmentCode): Promise<NewsPaper[]> {\n return this.axios.$get(`echo/${zoneCode}/newspapers`);\n }\n\n public createOrder(params: CreateEchoOrder): Promise<EchoOrder> {\n return this.axios.$post('echo/order', params);\n }\n}\n"]}
1
+ {"version":3,"file":"Echo.js","sourceRoot":"","sources":["../../../../ts/api/resources/Echo.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,IAAK,SAAQ,mBAAQ;IACzB,WAAW;QAChB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAC1C,CAAC;IAEM,WAAW,CAAC,MAAmB;QACpC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC;IAEM,WAAW,CAAC,MAAuB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC;CACF;AAZD,oBAYC","sourcesContent":["import { CreateOrder, EchoEstimateResponse, EchoOrder, EstimatePayload, Mission } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Echo extends Resource {\n public getMissions(): Promise<Mission[]> {\n return this.axios.$get('echo/missions');\n }\n\n public createOrder(params: CreateOrder): Promise<EchoOrder> {\n return this.axios.$post('echo/order', params);\n }\n\n public getEstimate(params: EstimatePayload): Promise<EchoEstimateResponse> {\n return this.axios.$post('echo/estimate', params);\n }\n}"]}
@@ -1,8 +1,13 @@
1
- import { CreatePrestation, ILegalNotice, UpdateLegalNotice } from '../../types';
1
+ import { BasePaginate, CreateOrder, CreatePrestation, ILegalNotice, QueryPaginatedLegalNotice, UpdateLegalNotice } from '../../types';
2
2
  import { Resource } from '../Resource';
3
3
  export declare class LegalNotice extends Resource {
4
- create(payload: ILegalNotice): Promise<ILegalNotice>;
4
+ create(payload: CreateOrder): Promise<ILegalNotice>;
5
5
  update(idLegalNotice: number, params: CreatePrestation): Promise<UpdateLegalNotice>;
6
6
  updateWithOptions(id: number, payload: ILegalNotice): Promise<ILegalNotice>;
7
+ getPaginated(params: QueryPaginatedLegalNotice): Promise<BasePaginate<ILegalNotice>>;
8
+ delete(id: number): Promise<{
9
+ success: boolean;
10
+ }>;
11
+ getPdf(id: number): Promise<Buffer>;
7
12
  }
8
13
  //# sourceMappingURL=LegalNotice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LegalNotice.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/LegalNotice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,WAAY,SAAQ,QAAQ;IAChC,MAAM,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAI3D,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAI5E,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;CAGnF"}
1
+ {"version":3,"file":"LegalNotice.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/LegalNotice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,YAAY,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACtI,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,WAAY,SAAQ,QAAQ;IAChC,MAAM,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,YAAY,CAAC;IAI1D,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAI5E,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAI3E,YAAY,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;IAIpF,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC;IAIjD,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAQ3C"}
@@ -12,6 +12,20 @@ class LegalNotice extends Resource_1.Resource {
12
12
  updateWithOptions(id, payload) {
13
13
  return this.axios.$put(`/legal-notices/${id}`, payload);
14
14
  }
15
+ getPaginated(params) {
16
+ return this.axios.$get('/legal-notices/paginated', { params });
17
+ }
18
+ delete(id) {
19
+ return this.axios.$delete(`/legal-notices/${id}`);
20
+ }
21
+ getPdf(id) {
22
+ return this.axios.$get(`/legal-notices/${id}/pdf`, {
23
+ responseType: 'arraybuffer',
24
+ headers: {
25
+ Accept: 'application/pdf',
26
+ }
27
+ });
28
+ }
15
29
  }
16
30
  exports.LegalNotice = LegalNotice;
17
31
  //# sourceMappingURL=LegalNotice.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LegalNotice.js","sourceRoot":"","sources":["../../../../ts/api/resources/LegalNotice.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,WAAY,SAAQ,mBAAQ;IAChC,MAAM,CAAC,OAAqB;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED,MAAM,CAAC,aAAqB,EAAE,MAAwB;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,kBAAkB,aAAa,cAAc,EAAE,MAAM,CAAC,CAAC;IACjF,CAAC;IAEM,iBAAiB,CAAC,EAAU,EAAE,OAAqB;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;CACF;AAZD,kCAYC","sourcesContent":["import { CreatePrestation, ILegalNotice, UpdateLegalNotice } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class LegalNotice extends Resource {\n public create(payload: ILegalNotice): Promise<ILegalNotice> {\n return this.axios.$post('/legal-notices', payload);\n }\n\n update(idLegalNotice: number, params: CreatePrestation): Promise<UpdateLegalNotice> {\n return this.axios.$post(`/legal-notices/${idLegalNotice}/prestations`, params);\n }\n\n public updateWithOptions(id: number, payload: ILegalNotice): Promise<ILegalNotice> {\n return this.axios.$put(`/legal-notices/${id}`, payload);\n }\n}\n"]}
1
+ {"version":3,"file":"LegalNotice.js","sourceRoot":"","sources":["../../../../ts/api/resources/LegalNotice.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,WAAY,SAAQ,mBAAQ;IAChC,MAAM,CAAC,OAAoB;QAChC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED,MAAM,CAAC,aAAqB,EAAE,MAAwB;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,kBAAkB,aAAa,cAAc,EAAE,MAAM,CAAC,CAAC;IACjF,CAAC;IAEM,iBAAiB,CAAC,EAAU,EAAE,OAAqB;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAEM,YAAY,CAAC,MAAiC;QACnD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;IAEM,MAAM,CAAC,EAAU;QACtB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;IACpD,CAAC;IAEM,MAAM,CAAC,EAAU;QACtB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE;YACjD,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF;AA7BD,kCA6BC","sourcesContent":["import { BasePaginate, CreateOrder, CreatePrestation, ILegalNotice, QueryPaginatedLegalNotice, UpdateLegalNotice } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class LegalNotice extends Resource {\n public create(payload: CreateOrder): Promise<ILegalNotice> {\n return this.axios.$post('/legal-notices', payload);\n }\n\n update(idLegalNotice: number, params: CreatePrestation): Promise<UpdateLegalNotice> {\n return this.axios.$post(`/legal-notices/${idLegalNotice}/prestations`, params);\n }\n\n public updateWithOptions(id: number, payload: ILegalNotice): Promise<ILegalNotice> {\n return this.axios.$put(`/legal-notices/${id}`, payload);\n }\n\n public getPaginated(params: QueryPaginatedLegalNotice): Promise<BasePaginate<ILegalNotice>> {\n return this.axios.$get('/legal-notices/paginated', { params });\n }\n\n public delete(id: number): Promise<{ success: boolean }> {\n return this.axios.$delete(`/legal-notices/${id}`);\n }\n\n public getPdf(id: number): Promise<Buffer> {\n return this.axios.$get(`/legal-notices/${id}/pdf`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n }\n });\n }\n}\n"]}
@@ -0,0 +1,6 @@
1
+ import { CreateCustomerPaymentMethodPortal } from '../../types';
2
+ import { Resource } from '../Resource';
3
+ export declare class StripeCustomer extends Resource {
4
+ configurePaymentMethods(payload: CreateCustomerPaymentMethodPortal): Promise<string>;
5
+ }
6
+ //# sourceMappingURL=StripeCustomer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StripeCustomer.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/StripeCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,cAAe,SAAQ,QAAQ;IAC1C,uBAAuB,CAAC,OAAO,EAAE,iCAAiC,GAAG,OAAO,CAAC,MAAM,CAAC;CAGrF"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StripeCustomer = void 0;
4
+ const Resource_1 = require("../Resource");
5
+ class StripeCustomer extends Resource_1.Resource {
6
+ configurePaymentMethods(payload) {
7
+ return this.axios.post('connector/stripe/customers/configure-payment-methods', payload);
8
+ }
9
+ }
10
+ exports.StripeCustomer = StripeCustomer;
11
+ //# sourceMappingURL=StripeCustomer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StripeCustomer.js","sourceRoot":"","sources":["../../../../ts/api/resources/StripeCustomer.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,cAAe,SAAQ,mBAAQ;IAC1C,uBAAuB,CAAC,OAA0C;QAChE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sDAAsD,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;CACF;AAJD,wCAIC","sourcesContent":["import { CreateCustomerPaymentMethodPortal } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class StripeCustomer extends Resource {\n configurePaymentMethods(payload: CreateCustomerPaymentMethodPortal): Promise<string> {\n return this.axios.post('connector/stripe/customers/configure-payment-methods', payload);\n }\n}\n"]}
@@ -1,5 +1,6 @@
1
1
  export declare enum VisualizedInformationState {
2
2
  CANCELED = 0,
3
- APPROVED = 1
3
+ APPROVED = 1,
4
+ PENDING = 2
4
5
  }
5
6
  //# sourceMappingURL=VisualizedInformation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VisualizedInformation.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/VisualizedInformation.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,QAAQ,IAAI;IACZ,QAAQ,IAAI;CACb"}
1
+ {"version":3,"file":"VisualizedInformation.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/VisualizedInformation.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,QAAQ,IAAI;IACZ,QAAQ,IAAI;IACZ,OAAO,IAAI;CACZ"}
@@ -5,5 +5,6 @@ var VisualizedInformationState;
5
5
  (function (VisualizedInformationState) {
6
6
  VisualizedInformationState[VisualizedInformationState["CANCELED"] = 0] = "CANCELED";
7
7
  VisualizedInformationState[VisualizedInformationState["APPROVED"] = 1] = "APPROVED";
8
+ VisualizedInformationState[VisualizedInformationState["PENDING"] = 2] = "PENDING";
8
9
  })(VisualizedInformationState || (exports.VisualizedInformationState = VisualizedInformationState = {}));
9
10
  //# sourceMappingURL=VisualizedInformation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VisualizedInformation.js","sourceRoot":"","sources":["../../../../ts/types/Enum/VisualizedInformation.ts"],"names":[],"mappings":";;;AAAA,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,mFAAY,CAAA;IACZ,mFAAY,CAAA;AACd,CAAC,EAHW,0BAA0B,0CAA1B,0BAA0B,QAGrC","sourcesContent":["export enum VisualizedInformationState {\n CANCELED = 0,\n APPROVED = 1,\n}\n"]}
1
+ {"version":3,"file":"VisualizedInformation.js","sourceRoot":"","sources":["../../../../ts/types/Enum/VisualizedInformation.ts"],"names":[],"mappings":";;;AAAA,IAAY,0BAIX;AAJD,WAAY,0BAA0B;IACpC,mFAAY,CAAA;IACZ,mFAAY,CAAA;IACZ,iFAAW,CAAA;AACb,CAAC,EAJW,0BAA0B,0CAA1B,0BAA0B,QAIrC","sourcesContent":["export enum VisualizedInformationState {\n CANCELED = 0,\n APPROVED = 1,\n PENDING = 2,\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { DashboardBlock } from '../../Enum/DashboardBlock';
2
- export interface IDashboardLayoutItem {
2
+ export interface ReadDashboardLayoutItem {
3
3
  x: number;
4
4
  y: number;
5
5
  w: number;
@@ -8,17 +8,9 @@ export interface IDashboardLayoutItem {
8
8
  metadata?: Record<string, any>;
9
9
  }
10
10
  export interface ICreateDashboardLayoutRequest {
11
- jsonLayout: IDashboardLayoutItem[];
11
+ jsonLayout: ReadDashboardLayoutItem[];
12
12
  }
13
13
  export interface IUpdateDashboardLayoutRequest {
14
- jsonLayout: IDashboardLayoutItem[];
15
- }
16
- export interface IDashboardLayoutResponse {
17
- id: number;
18
- idUser: number;
19
- idSociety: number;
20
- jsonLayout: IDashboardLayoutItem[];
21
- createdAt: Date;
22
- updatedAt: Date;
14
+ jsonLayout: ReadDashboardLayoutItem[];
23
15
  }
24
16
  //# sourceMappingURL=DashboardLayout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardLayout.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/DashboardLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,WAAW,oBAAoB;IACnC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,cAAc,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,6BAA6B;IAC5C,UAAU,EAAE,oBAAoB,EAAE,CAAC;CACpC;AAED,MAAM,WAAW,6BAA6B;IAC5C,UAAU,EAAE,oBAAoB,EAAE,CAAC;CACpC;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,oBAAoB,EAAE,CAAC;IACnC,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
1
+ {"version":3,"file":"DashboardLayout.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/DashboardLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,WAAW,uBAAuB;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,cAAc,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,6BAA6B;IAC5C,UAAU,EAAE,uBAAuB,EAAE,CAAC;CACvC;AAED,MAAM,WAAW,6BAA6B;IAC5C,UAAU,EAAE,uBAAuB,EAAE,CAAC;CACvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardLayout.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/DashboardLayout.ts"],"names":[],"mappings":"","sourcesContent":["import { DashboardBlock } from '../../Enum/DashboardBlock';\n\nexport interface IDashboardLayoutItem {\n x: number;\n y: number;\n w: number;\n h: number;\n i: DashboardBlock;\n metadata?: Record<string, any>;\n}\n\nexport interface ICreateDashboardLayoutRequest {\n jsonLayout: IDashboardLayoutItem[];\n}\n\nexport interface IUpdateDashboardLayoutRequest {\n jsonLayout: IDashboardLayoutItem[];\n}\n\nexport interface IDashboardLayoutResponse {\n id: number;\n idUser: number;\n idSociety: number;\n jsonLayout: IDashboardLayoutItem[];\n createdAt: Date;\n updatedAt: Date;\n}\n"]}
1
+ {"version":3,"file":"DashboardLayout.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/DashboardLayout.ts"],"names":[],"mappings":"","sourcesContent":["import { DashboardBlock } from '../../Enum/DashboardBlock';\n\nexport interface ReadDashboardLayoutItem {\n x: number;\n y: number;\n w: number;\n h: number;\n i: DashboardBlock;\n metadata?: Record<string, any>;\n}\n\nexport interface ICreateDashboardLayoutRequest {\n jsonLayout: ReadDashboardLayoutItem[];\n}\n\nexport interface IUpdateDashboardLayoutRequest {\n jsonLayout: ReadDashboardLayoutItem[];\n}\n"]}
@@ -8,6 +8,7 @@ export declare class QueryBalanceSheetGenerateUnpaid {
8
8
  }
9
9
  export declare class QueryBalanceSheetMonthlyStatistic {
10
10
  date: string;
11
+ isYearly?: boolean;
11
12
  }
12
13
  export declare class QueryBalanceSheetSupervisedStatistic {
13
14
  date: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/Query.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,0BAA0B;IAGrC,IAAI,EAAE,MAAM,CAAC;IAKb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,+BAA+B;IAI1C,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,iCAAiC;IAG5C,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,oCAAoC;IAG/C,IAAI,EAAE,MAAM,CAAC;IAKb,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CA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iBAAiB,CAAC,EAAE,MAAM,CAAC;IAI3B,SAAS,EAAE,MAAM,CAAC;IAKlB,MAAM,EAAE,MAAM,CAAC;IAIf,aAAa,EAAE,MAAM,CAAC;IAatB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,iCAAiC;IAE5C,IAAI,EAAE,KAAK,CAAC;CACb"}
@@ -13,6 +13,7 @@ exports.QueryValidateBalanceSheetByImport = exports.CreateBalanceSheetAttestatio
13
13
  const utils_1 = require("../../../../utils");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const Supervision_1 = require("../../../Enum/Supervision");
16
+ const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
16
17
  class QueryBalanceSheetStatistic {
17
18
  }
18
19
  exports.QueryBalanceSheetStatistic = QueryBalanceSheetStatistic;
@@ -44,6 +45,13 @@ __decorate([
44
45
  (0, class_validator_1.IsDateString)(),
45
46
  __metadata("design:type", String)
46
47
  ], QueryBalanceSheetMonthlyStatistic.prototype, "date", void 0);
48
+ __decorate([
49
+ (0, utils_1.ApiPropertyOptional)(),
50
+ (0, class_validator_1.IsOptional)(),
51
+ (0, class_validator_1.IsBoolean)(),
52
+ (0, boolean_transform_1.ToBoolean)(),
53
+ __metadata("design:type", Boolean)
54
+ ], QueryBalanceSheetMonthlyStatistic.prototype, "isYearly", void 0);
47
55
  class QueryBalanceSheetSupervisedStatistic {
48
56
  }
49
57
  exports.QueryBalanceSheetSupervisedStatistic = QueryBalanceSheetSupervisedStatistic;
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,qDAAqF;AACrF,2DAAwD;AAGxD,MAAa,0BAA0B;CAStC;AATD,gEASC;AANC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;wDACF;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAA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rB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACE;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oEACW;AAatB;IAXC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC;QACJ,yBAAW,CAAC,QAAQ;QACpB,yBAAW,CAAC,cAAc;QAC1B,yBAAW,CAAC,6BAA6B;QACzC,yBAAW,CAAC,cAAc;QAC1B,yBAAW,CAAC,wBAAwB;QACpC,yBAAW,CAAC,6BAA6B;QACzC,yBAAW,CAAC,uBAAuB;KACpC,CAAC;;4DACY;AAGhB,MAAa,iCAAiC;CAG7C;AAHD,8EAGC;AADC;IADC,IAAA,mBAAW,GAAE;;+DACF","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsDateString, IsIn, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { TFile } from '../file/TFile';\n\nexport class QueryBalanceSheetStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idUser: number;\n}\n\nexport class QueryBalanceSheetGenerateUnpaid {\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}\n\nexport class QueryBalanceSheetMonthlyStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n}\n\nexport class QueryBalanceSheetSupervisedStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endDate?: string;\n}\n\nexport class QueryBalanceSheetAttestation {\n @ApiProperty()\n @IsNumber()\n idState: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsNumber()\n idBalanceSheet: number;\n\n @ApiProperty()\n @IsNumber()\n idExercice: number;\n\n @ApiProperty()\n @IsNumber()\n idExpertAccountant: number;\n}\n\nexport class CreateBalanceSheetAttestation {\n @ApiProperty()\n @IsString()\n attestation: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n attestationDetail?: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idFile: number;\n\n @ApiProperty()\n @IsNumber()\n idSupervision: number;\n\n @ApiProperty()\n @IsNumber()\n @IsIn([\n Supervision.ATTESTED,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_WITH_OBSERVATIONS,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED_OFFENCES,\n ])\n state: number;\n}\n\nexport class QueryValidateBalanceSheetByImport {\n @ApiProperty()\n file: TFile;\n}\n"]}
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,qDAAgG;AAChG,2DAAwD;AAExD,sFAA2E;AAE3E,MAAa,0BAA0B;CAStC;AATD,gEASC;AANC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;wDACF;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACE;AAGjB,MAAa,+BAA+B;CAK3C;AALD,0EAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACK;AAGpB,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAPC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACF;AAMb;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAA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AAC,QAAQ;QACpB,yBAAW,CAAC,cAAc;QAC1B,yBAAW,CAAC,6BAA6B;QACzC,yBAAW,CAAC,cAAc;QAC1B,yBAAW,CAAC,wBAAwB;QACpC,yBAAW,CAAC,6BAA6B;QACzC,yBAAW,CAAC,uBAAuB;KACpC,CAAC;;4DACY;AAGhB,MAAa,iCAAiC;CAG7C;AAHD,8EAGC;AADC;IADC,IAAA,mBAAW,GAAE;;+DACF","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsBoolean, IsDateString, IsIn, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryBalanceSheetStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idUser: number;\n}\n\nexport class QueryBalanceSheetGenerateUnpaid {\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}\n\nexport class QueryBalanceSheetMonthlyStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryBalanceSheetSupervisedStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endDate?: string;\n}\n\nexport class QueryBalanceSheetAttestation {\n @ApiProperty()\n @IsNumber()\n idState: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsNumber()\n idBalanceSheet: number;\n\n @ApiProperty()\n @IsNumber()\n idExercice: number;\n\n @ApiProperty()\n @IsNumber()\n idExpertAccountant: number;\n}\n\nexport class CreateBalanceSheetAttestation {\n @ApiProperty()\n @IsString()\n attestation: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n attestationDetail?: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idFile: number;\n\n @ApiProperty()\n @IsNumber()\n idSupervision: number;\n\n @ApiProperty()\n @IsNumber()\n @IsIn([\n Supervision.ATTESTED,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_WITH_OBSERVATIONS,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED_OFFENCES,\n ])\n state: number;\n}\n\nexport class QueryValidateBalanceSheetByImport {\n @ApiProperty()\n file: TFile;\n}\n"]}
@@ -33,6 +33,9 @@ export interface ConfigType {
33
33
  sharper: LambdaInfos;
34
34
  chartizer: LambdaInfos;
35
35
  authentication?: Authentication;
36
+ powens: {
37
+ url: string;
38
+ };
36
39
  }
37
40
  interface Authentication {
38
41
  token: string;
@@ -69,6 +72,7 @@ interface Caarl {
69
72
  }
70
73
  interface Yousign {
71
74
  workspaceId: string;
75
+ url: string;
72
76
  }
73
77
  export type BucketName = 'resources-local-dev' | 'resources-anytime' | 'resources-comptalib' | 'resources-eunomia' | 'resources-legalstart' | 'resources-pourcentage' | 'resources-statuts-express' | 'resources-clementine' | 'resources-comptalib-staging' | 'clementine-website' | 'resources-internal' | 'sales-contract';
74
78
  interface AwsClementine {
@@ -174,7 +178,8 @@ interface IDocus {
174
178
  callbackurl: string;
175
179
  }
176
180
  interface Inpi {
177
- username: string;
181
+ admin: string;
182
+ user: string;
178
183
  }
179
184
  interface Brevo {
180
185
  lists: {
@@ -186,7 +191,7 @@ interface Brevo {
186
191
  }
187
192
  interface Echo {
188
193
  url: string;
189
- accountid: string;
194
+ token: string;
190
195
  }
191
196
  export {};
192
197
  //# sourceMappingURL=ConfigType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigType.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,EAAE,CAAC;IACP,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,aAAa,CAAC;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,WAAW,CAAC;IACnB,GAAG,EAAE,GAAG,CAAC;IACT,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,WAAW,CAAC;IACrB,eAAe,EAAE,eAAe,CAAC;IACjC,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,WAAW,CAAC;IACvB,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC;AAED,UAAU,cAAc;IACtB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,WAAW;IACnB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,OAAO;IACf,QAA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CAAC;CACb;AAED,UAAU,SAAS;IACjB,MAAM,EAAE,OAAO,EAAE,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,UAAU,OAAO;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,UAAU,IAAI;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,UAAU,IAAI;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,KAAK,CAAC;CACb;AAED,UAAU,KAAK;IACb,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,OAAO;IACf,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,MAAM;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,IAAI;IACZ,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,KAAK;IACb,KAAK,EAAE;QACL,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH;AAED,UAAU,IAAI;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"ConfigType.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,EAAE,CAAC;IACP,MAAM,EAAE,MAAM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AAED,UAAU,OAAO;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,UAAU,IAAI;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,UAAU,IAAI;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,KAAK,CAAC;CACb;AAED,UAAU,KAAK;IACb,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,OAAO;IACf,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,MAAM;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,IAAI;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,KAAK;IACb,KAAK,EAAE;QACL,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH;AAED,UAAU,IAAI;IACZ,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigType.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"","sourcesContent":["export interface ConfigType {\n port: number;\n db: Db;\n hostS3: string;\n redis: Redis;\n redisPrimary: RedisPrimary;\n caarl: Caarl;\n yousign: Yousign;\n awsClementine: AwsClementine;\n mail: Mail;\n client: Client;\n twilio: Twilio;\n pappers: Pappers;\n shine: Shine;\n defaultPermissions: DefaultPermissions;\n crisp: Crisp;\n brand: ConfigBrand;\n ocr: Ocr;\n jeDeclare: JeDeclare;\n pdfizer: Pdfizer;\n iDocus: IDocus;\n imageMagick: { url: string };\n inpi: Inpi;\n brevo: Brevo;\n tinyurl: LambdaInfos;\n machineLearning: MachineLearning;\n echo: Echo;\n compressPdf: LambdaInfos;\n mongodb: Mongodb;\n pdftkizer: LambdaInfos;\n sharper: LambdaInfos;\n chartizer: LambdaInfos;\n authentication?: Authentication;\n}\n\ninterface Authentication {\n token: string;\n}\n\ninterface LambdaInfos {\n url: string;\n}\n\ninterface Mongodb {\n username: string;\n password: string;\n host: string;\n}\n\ninterface MachineLearning {\n transactionAnnotation: string;\n}\n\ninterface Db {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\ninterface Redis {\n host: string;\n port: number;\n}\n\ninterface RedisPrimary {\n replicationGroupId: string;\n}\n\ninterface Caarl {\n api: string;\n bundle: string;\n}\n\ninterface Yousign {\n workspaceId: string;\n}\n\nexport type BucketName =\n | 'resources-local-dev'\n | 'resources-anytime'\n | 'resources-comptalib'\n | 'resources-eunomia'\n | 'resources-legalstart'\n | 'resources-pourcentage'\n | 'resources-statuts-express'\n | 'resources-clementine'\n | 'resources-comptalib-staging'\n | 'clementine-website'\n | 'resources-internal'\n | 'sales-contract';\n\ninterface AwsClementine {\n accessKeyId: string;\n secretAccessKey: string;\n clementineBucketName: BucketName;\n apiVersion: string;\n}\n\ninterface Mail {\n user: string;\n password: string;\n host: string;\n port: number;\n tls: boolean;\n}\n\ninterface Client {\n host: string;\n hostFull: string;\n}\n\ninterface Twilio {\n accountSID: string;\n number: string;\n}\n\nexport interface Access {\n login: string;\n password: string;\n}\n\ninterface Pappers {\n token: string;\n url: string;\n}\n\ninterface Shine {\n host: string;\n hostV3: string;\n leadHost: string;\n publicHost: string;\n clientId: string;\n sendLeadClientId: string;\n updateLeadClientId: string;\n redirect_uris: string[];\n status: string;\n scope: string;\n}\n\ninterface DefaultPermissions {\n gescom: boolean;\n compta: boolean;\n stats: boolean;\n docTreso: boolean;\n services: boolean;\n social: boolean;\n tva: boolean;\n simulation: boolean;\n simulationMultiple: boolean;\n balanceSheet: boolean;\n setting: boolean;\n purchase: boolean;\n}\n\ninterface Crisp {\n identifier: string;\n}\n\ninterface ConfigBrand {\n name: string;\n api: string;\n api2: string;\n api2Clementine: string;\n api2Legalstart: string;\n}\n\nexport interface Ocr {\n URL: string;\n}\n\ninterface JeDeclare {\n access: Access2[];\n serviceVersion: string;\n}\n\ninterface Access2 {\n name: string;\n test: Test;\n production: Production;\n}\n\ninterface Test {\n login: string;\n editor: string;\n software: string;\n wsdl: Wsdl;\n}\n\ninterface Wsdl {\n url: string;\n}\n\ninterface Production {\n login: string;\n editor: string;\n software: string;\n wsdl: Wsdl2;\n}\n\ninterface Wsdl2 {\n url: string;\n}\n\ninterface Pdfizer {\n url: string;\n}\n\ninterface IDocus {\n baseUrl: string;\n callbackurl: string;\n}\n\ninterface Inpi {\n username: string;\n}\n\ninterface Brevo {\n lists: {\n hot: number;\n paying: number;\n cold: number;\n churned: number;\n };\n}\n\ninterface Echo {\n url: string;\n accountid: string;\n}\n"]}
1
+ {"version":3,"file":"ConfigType.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"","sourcesContent":["export interface ConfigType {\n port: number;\n db: Db;\n hostS3: string;\n redis: Redis;\n redisPrimary: RedisPrimary;\n caarl: Caarl;\n yousign: Yousign;\n awsClementine: AwsClementine;\n mail: Mail;\n client: Client;\n twilio: Twilio;\n pappers: Pappers;\n shine: Shine;\n defaultPermissions: DefaultPermissions;\n crisp: Crisp;\n brand: ConfigBrand;\n ocr: Ocr;\n jeDeclare: JeDeclare;\n pdfizer: Pdfizer;\n iDocus: IDocus;\n imageMagick: { url: string };\n inpi: Inpi;\n brevo: Brevo;\n tinyurl: LambdaInfos;\n machineLearning: MachineLearning;\n echo: Echo;\n compressPdf: LambdaInfos;\n mongodb: Mongodb;\n pdftkizer: LambdaInfos;\n sharper: LambdaInfos;\n chartizer: LambdaInfos;\n authentication?: Authentication;\n powens: { url: string };\n}\n\ninterface Authentication {\n token: string;\n}\n\ninterface LambdaInfos {\n url: string;\n}\n\ninterface Mongodb {\n username: string;\n password: string;\n host: string;\n}\n\ninterface MachineLearning {\n transactionAnnotation: string;\n}\n\ninterface Db {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\ninterface Redis {\n host: string;\n port: number;\n}\n\ninterface RedisPrimary {\n replicationGroupId: string;\n}\n\ninterface Caarl {\n api: string;\n bundle: string;\n}\n\ninterface Yousign {\n workspaceId: string;\n url: string;\n}\n\nexport type BucketName =\n | 'resources-local-dev'\n | 'resources-anytime'\n | 'resources-comptalib'\n | 'resources-eunomia'\n | 'resources-legalstart'\n | 'resources-pourcentage'\n | 'resources-statuts-express'\n | 'resources-clementine'\n | 'resources-comptalib-staging'\n | 'clementine-website'\n | 'resources-internal'\n | 'sales-contract';\n\ninterface AwsClementine {\n accessKeyId: string;\n secretAccessKey: string;\n clementineBucketName: BucketName;\n apiVersion: string;\n}\n\ninterface Mail {\n user: string;\n password: string;\n host: string;\n port: number;\n tls: boolean;\n}\n\ninterface Client {\n host: string;\n hostFull: string;\n}\n\ninterface Twilio {\n accountSID: string;\n number: string;\n}\n\nexport interface Access {\n login: string;\n password: string;\n}\n\ninterface Pappers {\n token: string;\n url: string;\n}\n\ninterface Shine {\n host: string;\n hostV3: string;\n leadHost: string;\n publicHost: string;\n clientId: string;\n sendLeadClientId: string;\n updateLeadClientId: string;\n redirect_uris: string[];\n status: string;\n scope: string;\n}\n\ninterface DefaultPermissions {\n gescom: boolean;\n compta: boolean;\n stats: boolean;\n docTreso: boolean;\n services: boolean;\n social: boolean;\n tva: boolean;\n simulation: boolean;\n simulationMultiple: boolean;\n balanceSheet: boolean;\n setting: boolean;\n purchase: boolean;\n}\n\ninterface Crisp {\n identifier: string;\n}\n\ninterface ConfigBrand {\n name: string;\n api: string;\n api2: string;\n api2Clementine: string;\n api2Legalstart: string;\n}\n\nexport interface Ocr {\n URL: string;\n}\n\ninterface JeDeclare {\n access: Access2[];\n serviceVersion: string;\n}\n\ninterface Access2 {\n name: string;\n test: Test;\n production: Production;\n}\n\ninterface Test {\n login: string;\n editor: string;\n software: string;\n wsdl: Wsdl;\n}\n\ninterface Wsdl {\n url: string;\n}\n\ninterface Production {\n login: string;\n editor: string;\n software: string;\n wsdl: Wsdl2;\n}\n\ninterface Wsdl2 {\n url: string;\n}\n\ninterface Pdfizer {\n url: string;\n}\n\ninterface IDocus {\n baseUrl: string;\n callbackurl: string;\n}\n\ninterface Inpi {\n admin: string;\n user: string;\n}\n\ninterface Brevo {\n lists: {\n hot: number;\n paying: number;\n cold: number;\n churned: number;\n };\n}\n\ninterface Echo {\n url: string;\n //accountid: string;\n //apikey: string;\n token: string;\n}\n"]}
@@ -1,22 +1,13 @@
1
- import { DepartmentCode } from '../../../Enum/ZoneCode';
2
- export declare class PublicationContent {
3
- text_html: string;
4
- }
5
- export declare class Publication {
6
- ad_type_id: string;
7
- content: PublicationContent;
1
+ export interface CreateOrder {
2
+ departmentCode: string;
3
+ legalNoticeTypeId: string;
4
+ content: string;
8
5
  header: string;
9
- legal_name: string;
10
- logo_base_64?: string | null;
11
- }
12
- export declare class CreateEchoOrder {
13
- departement: DepartmentCode;
14
- newspaper_id: string;
15
- paper_proof_qty: number;
16
- publication: Publication;
17
- publishing_date_from: string;
18
- publishing_date_to: string;
19
- selection_mode: string;
20
- type: string;
6
+ logo: string;
7
+ customerReference: string;
8
+ publicationDate: string;
9
+ newspaperId: string;
10
+ supportingDocumentQuantity: number;
11
+ hasBodacc: boolean;
21
12
  }
22
13
  //# sourceMappingURL=CreateOrder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateOrder.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/CreateOrder.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,qBAAa,kBAAkB;IAG7B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,WAAW;IAGtB,UAAU,EAAE,MAAM,CAAC;IAGnB,OAAO,EAAE,kBAAkB,CAAC;IAI5B,MAAM,EAAE,MAAM,CAAC;IAIf,UAAU,EAAE,MAAM,CAAC;IAKnB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AACD,qBAAa,eAAe;IAE1B,WAAW,EAAE,cAAc,CAAC;IAI5B,YAAY,EAAE,MAAM,CAAC;IAIrB,eAAe,EAAE,MAAM,CAAC;IAGxB,WAAW,EAAE,WAAW,CAAC;IAIzB,oBAAoB,EAAE,MAAM,CAAC;IAI7B,kBAAkB,EAAE,MAAM,CAAC;IAI3B,cAAc,EAAE,MAAM,CAAC;IAKvB,IAAI,EAAE,MAAM,CAAC;CACd"}
1
+ {"version":3,"file":"CreateOrder.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/CreateOrder.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,0BAA0B,EAAE,MAAM,CAAC;IACnC,SAAS,EAAE,OAAO,CAAC;CACpB"}
@@ -1,93 +1,3 @@
1
1
  "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- 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;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
2
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreateEchoOrder = exports.Publication = exports.PublicationContent = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const utils_1 = require("../../../../utils");
15
- class PublicationContent {
16
- }
17
- exports.PublicationContent = PublicationContent;
18
- __decorate([
19
- (0, utils_1.ApiProperty)(),
20
- (0, class_validator_1.IsString)(),
21
- __metadata("design:type", String)
22
- ], PublicationContent.prototype, "text_html", void 0);
23
- class Publication {
24
- }
25
- exports.Publication = Publication;
26
- __decorate([
27
- (0, utils_1.ApiProperty)(),
28
- (0, class_validator_1.IsString)(),
29
- __metadata("design:type", String)
30
- ], Publication.prototype, "ad_type_id", void 0);
31
- __decorate([
32
- (0, utils_1.ApiProperty)(),
33
- __metadata("design:type", PublicationContent)
34
- ], Publication.prototype, "content", void 0);
35
- __decorate([
36
- (0, utils_1.ApiProperty)(),
37
- (0, class_validator_1.IsString)(),
38
- __metadata("design:type", String)
39
- ], Publication.prototype, "header", void 0);
40
- __decorate([
41
- (0, utils_1.ApiProperty)(),
42
- (0, class_validator_1.IsString)(),
43
- __metadata("design:type", String)
44
- ], Publication.prototype, "legal_name", void 0);
45
- __decorate([
46
- (0, utils_1.ApiPropertyOptional)(),
47
- (0, class_validator_1.IsString)(),
48
- (0, class_validator_1.IsOptional)(),
49
- __metadata("design:type", Object)
50
- ], Publication.prototype, "logo_base_64", void 0);
51
- class CreateEchoOrder {
52
- }
53
- exports.CreateEchoOrder = CreateEchoOrder;
54
- __decorate([
55
- (0, utils_1.ApiProperty)(),
56
- __metadata("design:type", String)
57
- ], CreateEchoOrder.prototype, "departement", void 0);
58
- __decorate([
59
- (0, utils_1.ApiProperty)(),
60
- (0, class_validator_1.IsString)(),
61
- __metadata("design:type", String)
62
- ], CreateEchoOrder.prototype, "newspaper_id", void 0);
63
- __decorate([
64
- (0, utils_1.ApiProperty)(),
65
- (0, class_validator_1.IsInt)(),
66
- __metadata("design:type", Number)
67
- ], CreateEchoOrder.prototype, "paper_proof_qty", void 0);
68
- __decorate([
69
- (0, utils_1.ApiProperty)(),
70
- __metadata("design:type", Publication)
71
- ], CreateEchoOrder.prototype, "publication", void 0);
72
- __decorate([
73
- (0, utils_1.ApiProperty)(),
74
- (0, class_validator_1.IsString)(),
75
- __metadata("design:type", String)
76
- ], CreateEchoOrder.prototype, "publishing_date_from", void 0);
77
- __decorate([
78
- (0, utils_1.ApiProperty)(),
79
- (0, class_validator_1.IsString)(),
80
- __metadata("design:type", String)
81
- ], CreateEchoOrder.prototype, "publishing_date_to", void 0);
82
- __decorate([
83
- (0, utils_1.ApiProperty)(),
84
- (0, class_validator_1.IsString)(),
85
- __metadata("design:type", String)
86
- ], CreateEchoOrder.prototype, "selection_mode", void 0);
87
- __decorate([
88
- (0, utils_1.ApiProperty)(),
89
- (0, class_validator_1.IsString)(),
90
- (0, class_validator_1.IsIn)(['simulation', 'order']),
91
- __metadata("design:type", String)
92
- ], CreateEchoOrder.prototype, "type", void 0);
93
3
  //# sourceMappingURL=CreateOrder.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateOrder.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/CreateOrder.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoE;AACpE,6CAAqE;AAGrE,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACO;AAGpB,MAAa,WAAW;CAoBvB;AApBD,kCAoBC;AAjBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;+CACQ;AAGnB;IADC,IAAA,mBAAW,GAAE;8BACL,kBAAkB;4CAAC;AAI5B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;2CACI;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;+CACQ;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACgB;AAE/B,MAAa,eAAe;CA+B3B;AA/BD,0CA+BC;AA7BC;IADC,IAAA,mBAAW,GAAE;;oDACc;AAI5B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACU;AAIrB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACgB;AAGxB;IADC,IAAA,mBAAW,GAAE;8BACD,WAAW;oDAAC;AAIzB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACkB;AAI7B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;2DACgB;AAI3B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;uDACY;AAKvB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;;6CACjB","sourcesContent":["import { IsIn, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { DepartmentCode } from '../../../Enum/ZoneCode';\n\nexport class PublicationContent {\n @ApiProperty()\n @IsString()\n text_html: string;\n}\n\nexport class Publication {\n @ApiProperty()\n @IsString()\n ad_type_id: string;\n\n @ApiProperty()\n content: PublicationContent;\n\n @ApiProperty()\n @IsString()\n header: string;\n\n @ApiProperty()\n @IsString()\n legal_name: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n logo_base_64?: string | null;\n}\nexport class CreateEchoOrder {\n @ApiProperty()\n departement: DepartmentCode;\n\n @ApiProperty()\n @IsString()\n newspaper_id: string;\n\n @ApiProperty()\n @IsInt()\n paper_proof_qty: number;\n\n @ApiProperty()\n publication: Publication;\n\n @ApiProperty()\n @IsString()\n publishing_date_from: string;\n\n @ApiProperty()\n @IsString()\n publishing_date_to: string;\n\n @ApiProperty()\n @IsString()\n selection_mode: string;\n\n @ApiProperty()\n @IsString()\n @IsIn(['simulation', 'order'])\n type: string;\n}\n"]}
1
+ {"version":3,"file":"CreateOrder.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/CreateOrder.ts"],"names":[],"mappings":"","sourcesContent":["export interface CreateOrder {\n departmentCode: string;\n legalNoticeTypeId: string;\n content: string;\n header: string;\n logo: string; // base64 string: \"data:image/jpeg;base64,<data>\"\n customerReference: string;\n publicationDate: string; // format: \"YYYY-MM-DD\"\n newspaperId: string;\n supportingDocumentQuantity: number;\n hasBodacc: boolean;\n}\n"]}
@@ -0,0 +1,33 @@
1
+ export interface EchoEstimateResponse {
2
+ estimates: EchoEstimate[];
3
+ }
4
+ export interface EchoEstimate {
5
+ newspaper: {
6
+ id: string;
7
+ name: string;
8
+ medium: string;
9
+ recommended: boolean;
10
+ hasDigitalSupportingDocument: boolean;
11
+ hasSupportingDocument: boolean;
12
+ };
13
+ acceptLogo: boolean;
14
+ publicationDate: string;
15
+ publicationClosingDatetime: string;
16
+ price: {
17
+ taxRate: number;
18
+ legalNoticeExcludingTax: number;
19
+ supportingDocumentExcludingTax: number;
20
+ supportingDocumentDiscount: number;
21
+ logoAndHeaderExcludingTax: number;
22
+ logoAndHeaderDiscount: number;
23
+ totalExcludingTax: number;
24
+ totalTax: number;
25
+ total: number;
26
+ };
27
+ supportingDocument: {
28
+ cost: number;
29
+ shippingCost: number;
30
+ maxCopies: number;
31
+ };
32
+ }
33
+ //# sourceMappingURL=Estimate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Estimate.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Estimate.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,YAAY,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE;QACT,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,OAAO,CAAC;QACrB,4BAA4B,EAAE,OAAO,CAAC;QACtC,qBAAqB,EAAE,OAAO,CAAC;KAChC,CAAC;IACF,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,CAAC;IACnC,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,CAAC;QAChB,uBAAuB,EAAE,MAAM,CAAC;QAChC,8BAA8B,EAAE,MAAM,CAAC;QACvC,0BAA0B,EAAE,MAAM,CAAC;QACnC,yBAAyB,EAAE,MAAM,CAAC;QAClC,qBAAqB,EAAE,MAAM,CAAC;QAC9B,iBAAiB,EAAE,MAAM,CAAC;QAC1B,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,kBAAkB,EAAE;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Estimate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Estimate.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Estimate.ts"],"names":[],"mappings":"","sourcesContent":["export interface EchoEstimateResponse {\n estimates: EchoEstimate[];\n}\n\nexport interface EchoEstimate {\n newspaper: {\n id: string;\n name: string;\n medium: string;\n recommended: boolean;\n hasDigitalSupportingDocument: boolean;\n hasSupportingDocument: boolean;\n };\n acceptLogo: boolean;\n publicationDate: string; // ISO date string\n publicationClosingDatetime: string; // ISO datetime string\n price: {\n taxRate: number;\n legalNoticeExcludingTax: number;\n supportingDocumentExcludingTax: number;\n supportingDocumentDiscount: number;\n logoAndHeaderExcludingTax: number;\n logoAndHeaderDiscount: number;\n totalExcludingTax: number;\n totalTax: number;\n total: number;\n };\n supportingDocument: {\n cost: number;\n shippingCost: number;\n maxCopies: number;\n };\n}"]}
@@ -0,0 +1,6 @@
1
+ export interface EstimatePayload {
2
+ departmentCode: string;
3
+ legalNoticeTypeId: string;
4
+ content?: string;
5
+ }
6
+ //# sourceMappingURL=EstimatePayload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EstimatePayload.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/EstimatePayload.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=EstimatePayload.js.map