@silexpert/core 1.3.148 → 1.3.149

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 (85) hide show
  1. package/dist/cjs/api/resources/Echo.d.ts +3 -3
  2. package/dist/cjs/api/resources/Echo.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Echo.js +3 -3
  4. package/dist/cjs/api/resources/Echo.js.map +1 -1
  5. package/dist/cjs/api/resources/LegalNotice.d.ts +7 -2
  6. package/dist/cjs/api/resources/LegalNotice.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/LegalNotice.js +14 -0
  8. package/dist/cjs/api/resources/LegalNotice.js.map +1 -1
  9. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +1 -1
  10. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  11. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  12. package/dist/cjs/types/Interface/api/echo/CreateOrder.d.ts +10 -19
  13. package/dist/cjs/types/Interface/api/echo/CreateOrder.d.ts.map +1 -1
  14. package/dist/cjs/types/Interface/api/echo/CreateOrder.js +0 -90
  15. package/dist/cjs/types/Interface/api/echo/CreateOrder.js.map +1 -1
  16. package/dist/cjs/types/Interface/api/echo/Estimate.d.ts +33 -0
  17. package/dist/cjs/types/Interface/api/echo/Estimate.d.ts.map +1 -0
  18. package/dist/cjs/types/Interface/api/echo/Estimate.js +3 -0
  19. package/dist/cjs/types/Interface/api/echo/Estimate.js.map +1 -0
  20. package/dist/cjs/types/Interface/api/echo/EstimatePayload.d.ts +6 -0
  21. package/dist/cjs/types/Interface/api/echo/EstimatePayload.d.ts.map +1 -0
  22. package/dist/cjs/types/Interface/api/echo/EstimatePayload.js +3 -0
  23. package/dist/cjs/types/Interface/api/echo/EstimatePayload.js.map +1 -0
  24. package/dist/cjs/types/Interface/api/echo/Mission.d.ts +4 -1
  25. package/dist/cjs/types/Interface/api/echo/Mission.d.ts.map +1 -1
  26. package/dist/cjs/types/Interface/api/echo/Mission.js.map +1 -1
  27. package/dist/cjs/types/Interface/api/echo/Order.d.ts +29 -8
  28. package/dist/cjs/types/Interface/api/echo/Order.d.ts.map +1 -1
  29. package/dist/cjs/types/Interface/api/echo/Order.js.map +1 -1
  30. package/dist/cjs/types/Interface/api/legalNotice/QueryLegalNotice.d.ts +10 -0
  31. package/dist/cjs/types/Interface/api/legalNotice/QueryLegalNotice.d.ts.map +1 -0
  32. package/dist/cjs/types/Interface/api/legalNotice/QueryLegalNotice.js +58 -0
  33. package/dist/cjs/types/Interface/api/legalNotice/QueryLegalNotice.js.map +1 -0
  34. package/dist/cjs/types/index.d.ts +3 -0
  35. package/dist/cjs/types/index.d.ts.map +1 -1
  36. package/dist/cjs/types/index.js +3 -0
  37. package/dist/cjs/types/index.js.map +1 -1
  38. package/dist/mjs/api/resources/Echo.d.ts +3 -3
  39. package/dist/mjs/api/resources/Echo.d.ts.map +1 -1
  40. package/dist/mjs/api/resources/Echo.js +3 -3
  41. package/dist/mjs/api/resources/Echo.js.map +1 -1
  42. package/dist/mjs/api/resources/LegalNotice.d.ts +7 -2
  43. package/dist/mjs/api/resources/LegalNotice.d.ts.map +1 -1
  44. package/dist/mjs/api/resources/LegalNotice.js +14 -0
  45. package/dist/mjs/api/resources/LegalNotice.js.map +1 -1
  46. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +1 -1
  47. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  48. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  49. package/dist/mjs/types/Interface/api/echo/CreateOrder.d.ts +10 -19
  50. package/dist/mjs/types/Interface/api/echo/CreateOrder.d.ts.map +1 -1
  51. package/dist/mjs/types/Interface/api/echo/CreateOrder.js +1 -100
  52. package/dist/mjs/types/Interface/api/echo/CreateOrder.js.map +1 -1
  53. package/dist/mjs/types/Interface/api/echo/Estimate.d.ts +33 -0
  54. package/dist/mjs/types/Interface/api/echo/Estimate.d.ts.map +1 -0
  55. package/dist/mjs/types/Interface/api/echo/Estimate.js +2 -0
  56. package/dist/mjs/types/Interface/api/echo/Estimate.js.map +1 -0
  57. package/dist/mjs/types/Interface/api/echo/EstimatePayload.d.ts +6 -0
  58. package/dist/mjs/types/Interface/api/echo/EstimatePayload.d.ts.map +1 -0
  59. package/dist/mjs/types/Interface/api/echo/EstimatePayload.js +2 -0
  60. package/dist/mjs/types/Interface/api/echo/EstimatePayload.js.map +1 -0
  61. package/dist/mjs/types/Interface/api/echo/Mission.d.ts +4 -1
  62. package/dist/mjs/types/Interface/api/echo/Mission.d.ts.map +1 -1
  63. package/dist/mjs/types/Interface/api/echo/Mission.js.map +1 -1
  64. package/dist/mjs/types/Interface/api/echo/Order.d.ts +29 -8
  65. package/dist/mjs/types/Interface/api/echo/Order.d.ts.map +1 -1
  66. package/dist/mjs/types/Interface/api/echo/Order.js.map +1 -1
  67. package/dist/mjs/types/Interface/api/legalNotice/QueryLegalNotice.d.ts +10 -0
  68. package/dist/mjs/types/Interface/api/legalNotice/QueryLegalNotice.d.ts.map +1 -0
  69. package/dist/mjs/types/Interface/api/legalNotice/QueryLegalNotice.js +60 -0
  70. package/dist/mjs/types/Interface/api/legalNotice/QueryLegalNotice.js.map +1 -0
  71. package/dist/mjs/types/index.d.ts +3 -0
  72. package/dist/mjs/types/index.d.ts.map +1 -1
  73. package/dist/mjs/types/index.js +3 -0
  74. package/dist/mjs/types/index.js.map +1 -1
  75. package/package.json +1 -1
  76. package/ts/api/resources/Echo.ts +6 -6
  77. package/ts/api/resources/LegalNotice.ts +19 -2
  78. package/ts/types/Interface/api/config/ConfigType.ts +3 -1
  79. package/ts/types/Interface/api/echo/CreateOrder.ts +10 -61
  80. package/ts/types/Interface/api/echo/Estimate.ts +33 -0
  81. package/ts/types/Interface/api/echo/EstimatePayload.ts +5 -0
  82. package/ts/types/Interface/api/echo/Mission.ts +5 -1
  83. package/ts/types/Interface/api/echo/Order.ts +29 -8
  84. package/ts/types/Interface/api/legalNotice/QueryLegalNotice.ts +38 -0
  85. package/ts/types/index.ts +3 -0
@@ -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"]}
@@ -186,7 +186,7 @@ interface Brevo {
186
186
  }
187
187
  interface Echo {
188
188
  url: string;
189
- accountid: string;
189
+ token: string;
190
190
  }
191
191
  export {};
192
192
  //# 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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,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,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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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;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}\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 //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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EstimatePayload.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/EstimatePayload.ts"],"names":[],"mappings":"","sourcesContent":["export interface EstimatePayload {\n departmentCode: string;\n legalNoticeTypeId: string;\n content?: string;\n}"]}
@@ -1,5 +1,8 @@
1
1
  export type Mission = {
2
- id: number;
2
+ id: string;
3
3
  name: string;
4
4
  };
5
+ export interface MissionsResponse {
6
+ legalNoticeTypes: Mission[];
7
+ }
5
8
  //# sourceMappingURL=Mission.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Mission.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Mission.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"Mission.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Mission.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC/B,gBAAgB,EAAE,OAAO,EAAE,CAAC;CAC7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"Mission.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Mission.ts"],"names":[],"mappings":"","sourcesContent":["export type Mission = {\n id: number;\n name: string;\n};\n"]}
1
+ {"version":3,"file":"Mission.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Mission.ts"],"names":[],"mappings":"","sourcesContent":["export type Mission = {\n id: string;\n name: string;\n};\n\nexport interface MissionsResponse {\n legalNoticeTypes: Mission[];\n}\n"]}
@@ -1,9 +1,30 @@
1
- export type EchoOrder = {
2
- id: string;
3
- newspaper_name: string;
4
- price_total_excl_tax: string;
5
- publication_closing_datetime: string;
6
- publication_date: string;
7
- specimen_url: string;
8
- };
1
+ export interface EchoOrder {
2
+ customerReference: string;
3
+ status: string;
4
+ reference: string;
5
+ content: string;
6
+ header: string | null;
7
+ withLogo: boolean;
8
+ publicationDate: string;
9
+ publicationClosingDatetime: string | null;
10
+ publicationProofUrl: string | null;
11
+ price: {
12
+ totalExcludingTax: number;
13
+ total: number;
14
+ };
15
+ department: {
16
+ code: string;
17
+ name: string;
18
+ };
19
+ newspaper: {
20
+ id: string;
21
+ name: string;
22
+ };
23
+ type: {
24
+ id: string;
25
+ name: string;
26
+ };
27
+ hasBodacc: boolean;
28
+ documents: any[];
29
+ }
9
30
  //# sourceMappingURL=Order.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Order.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,4BAA4B,EAAE,MAAM,CAAC;IACrC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Order.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,KAAK,EAAE;QACL,iBAAiB,EAAE,MAAM,CAAC;QAC1B,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,SAAS,EAAE;QACT,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,GAAG,EAAE,CAAC;CAClB"}
@@ -1 +1 @@
1
- {"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Order.ts"],"names":[],"mappings":"","sourcesContent":["export type EchoOrder = {\n id: string;\n newspaper_name: string;\n price_total_excl_tax: string;\n publication_closing_datetime: string;\n publication_date: string;\n specimen_url: string;\n};\n"]}
1
+ {"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Order.ts"],"names":[],"mappings":"","sourcesContent":["export interface EchoOrder {\n customerReference: string;\n status: string;\n reference: string;\n content: string;\n header: string | null;\n withLogo: boolean;\n publicationDate: string;\n publicationClosingDatetime: string | null;\n publicationProofUrl: string | null;\n price: {\n totalExcludingTax: number;\n total: number;\n };\n department: {\n code: string;\n name: string;\n };\n newspaper: {\n id: string;\n name: string;\n };\n type: {\n id: string;\n name: string;\n };\n hasBodacc: boolean;\n documents: any[];\n}\n"]}
@@ -0,0 +1,10 @@
1
+ import { RequiredQueryPaginate } from '../BasePaginate';
2
+ export declare class QueryPaginatedLegalNotice extends RequiredQueryPaginate {
3
+ year?: number | null;
4
+ quarter?: number | null;
5
+ idJuriste?: number[];
6
+ processed?: boolean | null;
7
+ search?: string;
8
+ include?: string[];
9
+ }
10
+ //# sourceMappingURL=QueryLegalNotice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryLegalNotice.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/legalNotice/QueryLegalNotice.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,qBAAa,yBAA0B,SAAQ,qBAAqB;IAIlE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAMrB,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAK3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB"}
@@ -0,0 +1,58 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.QueryPaginatedLegalNotice = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const utils_1 = require("../../../../utils");
15
+ const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
16
+ const BasePaginate_1 = require("../BasePaginate");
17
+ class QueryPaginatedLegalNotice extends BasePaginate_1.RequiredQueryPaginate {
18
+ }
19
+ exports.QueryPaginatedLegalNotice = QueryPaginatedLegalNotice;
20
+ __decorate([
21
+ (0, utils_1.ApiPropertyOptional)(),
22
+ (0, class_validator_1.IsOptional)(),
23
+ (0, class_validator_1.IsInt)(),
24
+ __metadata("design:type", Object)
25
+ ], QueryPaginatedLegalNotice.prototype, "year", void 0);
26
+ __decorate([
27
+ (0, utils_1.ApiPropertyOptional)(),
28
+ (0, class_validator_1.IsOptional)(),
29
+ (0, class_validator_1.IsInt)(),
30
+ __metadata("design:type", Object)
31
+ ], QueryPaginatedLegalNotice.prototype, "quarter", void 0);
32
+ __decorate([
33
+ (0, utils_1.ApiPropertyOptional)(),
34
+ (0, class_validator_1.IsOptional)(),
35
+ (0, class_validator_1.IsArray)(),
36
+ __metadata("design:type", Array)
37
+ ], QueryPaginatedLegalNotice.prototype, "idJuriste", void 0);
38
+ __decorate([
39
+ (0, utils_1.ApiPropertyOptional)(),
40
+ (0, class_validator_1.IsOptional)(),
41
+ (0, class_validator_1.IsBoolean)(),
42
+ (0, boolean_transform_1.ToBoolean)(),
43
+ __metadata("design:type", Object)
44
+ ], QueryPaginatedLegalNotice.prototype, "processed", 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", String)
50
+ ], QueryPaginatedLegalNotice.prototype, "search", void 0);
51
+ __decorate([
52
+ (0, class_validator_1.IsOptional)(),
53
+ (0, class_validator_1.IsString)({
54
+ each: true,
55
+ }),
56
+ __metadata("design:type", Array)
57
+ ], QueryPaginatedLegalNotice.prototype, "include", void 0);
58
+ //# sourceMappingURL=QueryLegalNotice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryLegalNotice.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/legalNotice/QueryLegalNotice.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkF;AAClF,6CAAwD;AACxD,sFAA2E;AAC3E,kDAAwD;AAExD,MAAa,yBAA0B,SAAQ,oCAAqB;CAgCnE;AAhCD,8DAgCC;AA5BC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;uDACa;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0DACgB;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;4DACW;AAMrB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;4DACe;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACG;AAMhB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;;0DACiB","sourcesContent":["import { IsArray, IsBoolean, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryPaginatedLegalNotice extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n quarter?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idJuriste?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n processed?: boolean | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @IsOptional()\n @IsString({\n each: true,\n })\n include?: string[];\n}\n"]}
@@ -1007,6 +1007,7 @@ export * from './Interface/api/prestation/BodyCreatePrestationSocieties';
1007
1007
  export * from './Interface/api/prestation/QueryGetPaginatedSocietiesFromPrestation';
1008
1008
  export * from './Interface/api/paymentExpectation/QueryPaymentExpectation';
1009
1009
  export * from './Interface/api/legalNotice/UpdateLegalNotice';
1010
+ export * from './Interface/api/legalNotice/QueryLegalNotice';
1010
1011
  export * from './Interface/api/wallet/QueryWallet';
1011
1012
  export * from './Interface/api/terminationList/QueryTerminationList';
1012
1013
  export * from './Interface/api/terminationList/DestroyTerminationList';
@@ -1079,6 +1080,8 @@ export * from './Interface/api/echo/Mission';
1079
1080
  export * from './Interface/api/echo/CreateOrder';
1080
1081
  export * from './Interface/api/echo/NewsPaper';
1081
1082
  export * from './Interface/api/echo/Order';
1083
+ export * from './Interface/api/echo/Estimate';
1084
+ export * from './Interface/api/echo/EstimatePayload';
1082
1085
  export * from './Interface/api/userTimeSlot/QueryUserTimeSlot';
1083
1086
  export * from './Interface/api/workingSchedule/QueryAvailableTimeSlot';
1084
1087
  export * from './Interface/api/workingSchedule/Query';