@silexpert/core 1.1.192 → 1.1.194

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 (114) hide show
  1. package/dist/cjs/api/resources/ThirdParty.d.ts +2 -1
  2. package/dist/cjs/api/resources/ThirdParty.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/ThirdParty.js +10 -0
  4. package/dist/cjs/api/resources/ThirdParty.js.map +1 -1
  5. package/dist/cjs/types/Enum/CommercialOfferType.d.ts +13 -0
  6. package/dist/cjs/types/Enum/CommercialOfferType.d.ts.map +1 -1
  7. package/dist/cjs/types/Enum/CommercialOfferType.js +11 -1
  8. package/dist/cjs/types/Enum/CommercialOfferType.js.map +1 -1
  9. package/dist/cjs/types/Enum/EquipmentType.d.ts +9 -1
  10. package/dist/cjs/types/Enum/EquipmentType.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/EquipmentType.js +10 -0
  12. package/dist/cjs/types/Enum/EquipmentType.js.map +1 -1
  13. package/dist/cjs/types/Enum/PriceGridLegalstart.d.ts +32 -2
  14. package/dist/cjs/types/Enum/PriceGridLegalstart.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/PriceGridLegalstart.js +52 -0
  16. package/dist/cjs/types/Enum/PriceGridLegalstart.js.map +1 -1
  17. package/dist/cjs/types/Enum/Room.d.ts +41 -0
  18. package/dist/cjs/types/Enum/Room.d.ts.map +1 -1
  19. package/dist/cjs/types/Enum/Room.js +55 -2
  20. package/dist/cjs/types/Enum/Room.js.map +1 -1
  21. package/dist/cjs/types/Interface/api/equipment/Query.d.ts +1 -0
  22. package/dist/cjs/types/Interface/api/equipment/Query.d.ts.map +1 -1
  23. package/dist/cjs/types/Interface/api/equipment/Query.js +6 -0
  24. package/dist/cjs/types/Interface/api/equipment/Query.js.map +1 -1
  25. package/dist/cjs/types/Interface/api/prestation/Query.d.ts +7 -0
  26. package/dist/cjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  27. package/dist/cjs/types/Interface/api/prestation/Query.js +14 -0
  28. package/dist/cjs/types/Interface/api/prestation/Query.js.map +1 -1
  29. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +2 -0
  30. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  31. package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  32. package/dist/cjs/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts +5 -1
  33. package/dist/cjs/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts.map +1 -1
  34. package/dist/cjs/types/Interface/api/thirdParty/CreateThirdPartyForm.js +12 -1
  35. package/dist/cjs/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -1
  36. package/dist/cjs/types/Interface/api/userRoomEquipment/Query.d.ts +2 -0
  37. package/dist/cjs/types/Interface/api/userRoomEquipment/Query.d.ts.map +1 -1
  38. package/dist/cjs/types/Interface/api/userRoomEquipment/Query.js +8 -0
  39. package/dist/cjs/types/Interface/api/userRoomEquipment/Query.js.map +1 -1
  40. package/dist/cjs/types/Interface/models/IApiError.d.ts +2 -1
  41. package/dist/cjs/types/Interface/models/IApiError.d.ts.map +1 -1
  42. package/dist/cjs/types/Interface/models/IApiError.js +1 -0
  43. package/dist/cjs/types/Interface/models/IApiError.js.map +1 -1
  44. package/dist/cjs/types/Interface/models/IPrestation.d.ts +2 -0
  45. package/dist/cjs/types/Interface/models/IPrestation.d.ts.map +1 -1
  46. package/dist/cjs/types/Interface/models/IPrestation.js.map +1 -1
  47. package/dist/cjs/utils/prestation.d.ts +8 -1
  48. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  49. package/dist/cjs/utils/prestation.js +2 -1
  50. package/dist/cjs/utils/prestation.js.map +1 -1
  51. package/dist/mjs/api/resources/ThirdParty.d.ts +2 -1
  52. package/dist/mjs/api/resources/ThirdParty.d.ts.map +1 -1
  53. package/dist/mjs/api/resources/ThirdParty.js +10 -0
  54. package/dist/mjs/api/resources/ThirdParty.js.map +1 -1
  55. package/dist/mjs/types/Enum/CommercialOfferType.d.ts +13 -0
  56. package/dist/mjs/types/Enum/CommercialOfferType.d.ts.map +1 -1
  57. package/dist/mjs/types/Enum/CommercialOfferType.js +11 -1
  58. package/dist/mjs/types/Enum/CommercialOfferType.js.map +1 -1
  59. package/dist/mjs/types/Enum/EquipmentType.d.ts +9 -1
  60. package/dist/mjs/types/Enum/EquipmentType.d.ts.map +1 -1
  61. package/dist/mjs/types/Enum/EquipmentType.js +10 -0
  62. package/dist/mjs/types/Enum/EquipmentType.js.map +1 -1
  63. package/dist/mjs/types/Enum/PriceGridLegalstart.d.ts +32 -2
  64. package/dist/mjs/types/Enum/PriceGridLegalstart.d.ts.map +1 -1
  65. package/dist/mjs/types/Enum/PriceGridLegalstart.js +52 -0
  66. package/dist/mjs/types/Enum/PriceGridLegalstart.js.map +1 -1
  67. package/dist/mjs/types/Enum/Room.d.ts +41 -0
  68. package/dist/mjs/types/Enum/Room.d.ts.map +1 -1
  69. package/dist/mjs/types/Enum/Room.js +54 -1
  70. package/dist/mjs/types/Enum/Room.js.map +1 -1
  71. package/dist/mjs/types/Interface/api/equipment/Query.d.ts +1 -0
  72. package/dist/mjs/types/Interface/api/equipment/Query.d.ts.map +1 -1
  73. package/dist/mjs/types/Interface/api/equipment/Query.js +7 -0
  74. package/dist/mjs/types/Interface/api/equipment/Query.js.map +1 -1
  75. package/dist/mjs/types/Interface/api/prestation/Query.d.ts +7 -0
  76. package/dist/mjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  77. package/dist/mjs/types/Interface/api/prestation/Query.js +16 -0
  78. package/dist/mjs/types/Interface/api/prestation/Query.js.map +1 -1
  79. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +2 -0
  80. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  81. package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  82. package/dist/mjs/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts +5 -1
  83. package/dist/mjs/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts.map +1 -1
  84. package/dist/mjs/types/Interface/api/thirdParty/CreateThirdPartyForm.js +12 -0
  85. package/dist/mjs/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -1
  86. package/dist/mjs/types/Interface/api/userRoomEquipment/Query.d.ts +2 -0
  87. package/dist/mjs/types/Interface/api/userRoomEquipment/Query.d.ts.map +1 -1
  88. package/dist/mjs/types/Interface/api/userRoomEquipment/Query.js +10 -1
  89. package/dist/mjs/types/Interface/api/userRoomEquipment/Query.js.map +1 -1
  90. package/dist/mjs/types/Interface/models/IApiError.d.ts +2 -1
  91. package/dist/mjs/types/Interface/models/IApiError.d.ts.map +1 -1
  92. package/dist/mjs/types/Interface/models/IApiError.js +1 -0
  93. package/dist/mjs/types/Interface/models/IApiError.js.map +1 -1
  94. package/dist/mjs/types/Interface/models/IPrestation.d.ts +2 -0
  95. package/dist/mjs/types/Interface/models/IPrestation.d.ts.map +1 -1
  96. package/dist/mjs/types/Interface/models/IPrestation.js.map +1 -1
  97. package/dist/mjs/utils/prestation.d.ts +8 -1
  98. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  99. package/dist/mjs/utils/prestation.js +1 -1
  100. package/dist/mjs/utils/prestation.js.map +1 -1
  101. package/package.json +1 -1
  102. package/ts/api/resources/ThirdParty.ts +14 -0
  103. package/ts/types/Enum/CommercialOfferType.ts +11 -1
  104. package/ts/types/Enum/EquipmentType.ts +10 -0
  105. package/ts/types/Enum/PriceGridLegalstart.ts +52 -0
  106. package/ts/types/Enum/Room.ts +57 -2
  107. package/ts/types/Interface/api/equipment/Query.ts +5 -0
  108. package/ts/types/Interface/api/prestation/Query.ts +18 -0
  109. package/ts/types/Interface/api/society/ReadSociety.ts +3 -0
  110. package/ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts +9 -1
  111. package/ts/types/Interface/api/userRoomEquipment/Query.ts +9 -1
  112. package/ts/types/Interface/models/IApiError.ts +2 -0
  113. package/ts/types/Interface/models/IPrestation.ts +2 -0
  114. package/ts/utils/prestation.ts +1 -1
@@ -1,11 +1,12 @@
1
1
  import { CancelToken } from 'axios';
2
2
  import { Resource } from '../Resource';
3
- import { QueryPaginate, BasePaginate, IThirdParty, QueryThirdParty, UpdateThirdPartyForm, CreateThirdPartyForm } from '../../types';
3
+ import { QueryPaginate, BasePaginate, IThirdParty, QueryThirdParty, UpdateThirdPartyForm, CreateThirdPartyForm, ImportThirdParty } from '../../types';
4
4
  export declare class ThirdParty extends Resource {
5
5
  getAll(): Promise<Array<IThirdParty>>;
6
6
  getPaginated(pagination: QueryPaginate, query?: QueryThirdParty, cancelToken?: CancelToken, signal?: AbortSignal): Promise<BasePaginate<IThirdParty>>;
7
7
  update(idThirdParty: number, payload: UpdateThirdPartyForm): Promise<IThirdParty>;
8
8
  createForSociety(idSociety: number, payload: CreateThirdPartyForm): Promise<IThirdParty>;
9
9
  delete(idThirdParty: number): Promise<true>;
10
+ import(idSociety: number, params: ImportThirdParty): Promise<IThirdParty[]>;
10
11
  }
11
12
  //# sourceMappingURL=ThirdParty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThirdParty.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/ThirdParty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,aAAa,EACb,YAAY,EACZ,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAErB,qBAAa,UAAW,SAAQ,QAAQ;IACtC,MAAM,IAAI,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IAIrC,YAAY,CACV,UAAU,EAAE,aAAa,EACzB,KAAK,CAAC,EAAE,eAAe,EACvB,WAAW,CAAC,EAAE,WAAW,EACzB,MAAM,CAAC,EAAE,WAAW,G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WAAW,EAAE,CAAC;CAY5E"}
@@ -18,6 +18,16 @@ class ThirdParty extends Resource_1.Resource {
18
18
  delete(idThirdParty) {
19
19
  return this.axios.$delete(`/third-parties/${idThirdParty}`);
20
20
  }
21
+ import(idSociety, params) {
22
+ const formData = new FormData();
23
+ // @ts-ignore
24
+ formData.append('file', params.file);
25
+ // @ts-ignore
26
+ formData.append('idThirdPartyType', params.idThirdPartyType);
27
+ return this.axios.$post(`/societies/${idSociety}/third-parties/csv`, formData, {
28
+ headers: { 'Content-Type': 'multipart/form-data' },
29
+ });
30
+ }
21
31
  }
22
32
  exports.ThirdParty = ThirdParty;
23
33
  //# sourceMappingURL=ThirdParty.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThirdParty.js","sourceRoot":"","sources":["../../../../ts/api/resources/ThirdParty.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAUvC,MAAa,UAAW,SAAQ,mBAAQ;IACtC,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC3C,CAAC;IAED,YAAY,CACV,UAAyB,EACzB,KAAuB,EACvB,WAAyB,EACzB,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,yBAAyB,gDAC3C,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,GACpC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KAC7B,MAAM,kCACD,UAAU,GACV,KAAK,KAEV,CAAC;IACL,CAAC;IAED,MAAM,CACJ,YAAoB,EACpB,OAA6B;QAE7B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,kBAAkB,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED,gBAAgB,CAAC,SAAiB,EAAE,OAA6B;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,gBAAgB,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED,MAAM,CAAC,YAAoB;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,kBAAkB,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF;AAnCD,gCAmCC","sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryPaginate,\n BasePaginate,\n IThirdParty,\n QueryThirdParty,\n UpdateThirdPartyForm,\n CreateThirdPartyForm,\n} from '../../types';\n\nexport class ThirdParty extends Resource {\n getAll(): Promise<Array<IThirdParty>> {\n return this.axios.$get('/third-parties');\n }\n\n getPaginated(\n pagination: QueryPaginate,\n query?: QueryThirdParty,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IThirdParty>> {\n return this.axios.$get('/third-parties/paginate', {\n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params: {\n ...pagination,\n ...query,\n },\n });\n }\n\n update(\n idThirdParty: number,\n payload: UpdateThirdPartyForm,\n ): Promise<IThirdParty> {\n return this.axios.$put(`/third-parties/${idThirdParty}`, payload);\n }\n\n createForSociety(idSociety: number, payload: CreateThirdPartyForm): Promise<IThirdParty> {\n return this.axios.$post(`/societies/${idSociety}/third-parties`, payload);\n }\n\n delete(idThirdParty: number): Promise<true> {\n return this.axios.$delete(`/third-parties/${idThirdParty}`);\n }\n}\n"]}
1
+ {"version":3,"file":"ThirdParty.js","sourceRoot":"","sources":["../../../../ts/api/resources/ThirdParty.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAWvC,MAAa,UAAW,SAAQ,mBAAQ;IACtC,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC3C,CAAC;IAED,YAAY,CACV,UAAyB,EACzB,KAAuB,EACvB,WAAyB,EACzB,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,yBAAyB,gDAC3C,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,GACpC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KAC7B,MAAM,kCACD,UAAU,GACV,KAAK,KAEV,CAAC;IACL,CAAC;IAED,MAAM,CACJ,YAAoB,EACpB,OAA6B;QAE7B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,kBAAkB,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED,gBAAgB,CAAC,SAAiB,EAAE,OAA6B;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,gBAAgB,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED,MAAM,CAAC,YAAoB;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,kBAAkB,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED,MAAM,CAAC,SAAiB,EAAE,MAAwB;QAChD,MAAM,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAChC,aAAa;QACb,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;QACrC,aAAa;QACb,QAAQ,CAAC,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,gBAAgB,CAAC,CAAC;QAE7D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,oBAAoB,EAAE,QAAQ,EAAE;YAC7E,OAAO,EAAE,EAAE,cAAc,EAAE,qBAAqB,EAAE;SACnD,CAAC,CAAC;IACL,CAAC;CAEF;AAhDD,gCAgDC","sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryPaginate,\n BasePaginate,\n IThirdParty,\n QueryThirdParty,\n UpdateThirdPartyForm,\n CreateThirdPartyForm,\n ImportThirdParty,\n} from '../../types';\n\nexport class ThirdParty extends Resource {\n getAll(): Promise<Array<IThirdParty>> {\n return this.axios.$get('/third-parties');\n }\n\n getPaginated(\n pagination: QueryPaginate,\n query?: QueryThirdParty,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IThirdParty>> {\n return this.axios.$get('/third-parties/paginate', {\n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params: {\n ...pagination,\n ...query,\n },\n });\n }\n\n update(\n idThirdParty: number,\n payload: UpdateThirdPartyForm,\n ): Promise<IThirdParty> {\n return this.axios.$put(`/third-parties/${idThirdParty}`, payload);\n }\n\n createForSociety(idSociety: number, payload: CreateThirdPartyForm): Promise<IThirdParty> {\n return this.axios.$post(`/societies/${idSociety}/third-parties`, payload);\n }\n\n delete(idThirdParty: number): Promise<true> {\n return this.axios.$delete(`/third-parties/${idThirdParty}`);\n }\n\n import(idSociety: number, params: ImportThirdParty): Promise<IThirdParty[]> {\n const formData = new FormData();\n // @ts-ignore\n formData.append('file', params.file);\n // @ts-ignore\n formData.append('idThirdPartyType', params.idThirdPartyType);\n\n return this.axios.$post(`/societies/${idSociety}/third-parties/csv`, formData, { \n headers: { 'Content-Type': 'multipart/form-data' }, \n });\n }\n\n}\n"]}
@@ -92,6 +92,19 @@ export declare const CommercialOfferTypeDetail: {
92
92
  isCatalog: null;
93
93
  isBack: null;
94
94
  };
95
+ PERCENTAGE_OFFERED: {
96
+ id: number;
97
+ label: string;
98
+ text: string;
99
+ amountType: {
100
+ id: number;
101
+ label: string;
102
+ };
103
+ idPrestationList: never[];
104
+ isComptable: null;
105
+ isCatalog: null;
106
+ isBack: null;
107
+ };
95
108
  };
96
109
  export {};
97
110
  //# sourceMappingURL=CommercialOfferType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommercialOfferType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/CommercialOfferType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,KAAK,yBAAyB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,yBAAyB,CAAC;IACtC,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;CAarC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDrC,CAAC"}
1
+ {"version":3,"file":"CommercialOfferType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/CommercialOfferType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,KAAK,yBAAyB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,yBAAyB,CAAC;IACtC,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;CAarC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DrC,CAAC"}
@@ -20,7 +20,7 @@ exports.CommercialOfferTypeDetail = {
20
20
  RECOVERY_MONTH: {
21
21
  id: 1,
22
22
  label: '% de reprise sur les mois',
23
- text: '%value% % offert, valable jusqu\'au %dateEnd%.',
23
+ text: '%value% % offert sur les mois de reprise, valable jusqu\'au %dateEnd%.',
24
24
  amountType: exports.CommercialOfferAmountType.PERCENTAGE,
25
25
  idPrestationList: [],
26
26
  isComptable: true,
@@ -67,5 +67,15 @@ exports.CommercialOfferTypeDetail = {
67
67
  isCatalog: null,
68
68
  isBack: null,
69
69
  },
70
+ PERCENTAGE_OFFERED: {
71
+ id: 6,
72
+ label: '% offert',
73
+ text: '%value% % offert sur l\'année, valable jusqu\'au %dateEnd%.',
74
+ amountType: exports.CommercialOfferAmountType.PERCENTAGE,
75
+ idPrestationList: [],
76
+ isComptable: null,
77
+ isCatalog: null,
78
+ isBack: null,
79
+ },
70
80
  };
71
81
  //# sourceMappingURL=CommercialOfferType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommercialOfferType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/CommercialOfferType.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAiBrC,QAAA,yBAAyB,GAAG;IACvC,UAAU,EAAE;QACV,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,GAAG;KACX;IACD,KAAK,EAAE;QACL,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,MAAM;KACd;IACD,KAAK,EAAE;QACL,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,GAAG;KACX;CACF,CAAC;AAEW,QAAA,yBAAyB,GAAG;IACvC,cAAc,EAAG;QACf,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,2BAA2B;QAClC,IAAI,EAAE,gDAAgD;QACtD,UAAU,EAAE,iCAAyB,CAAC,UAAU;QAChD,gBAAgB,EAAE,EAAE;QACpB,WAAW,EAAE,IAAI;QACjB,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE,KAAK;KACd;IACD,aAAa,EAAG;QACd,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,mBAAmB;QAC1B,IAAI,EAAE,mDAAmD;QACzD,UAAU,EAAE,iCAAyB,CAAC,KAAK;QAC3C,gBAAgB,EAAE,EAAE;QACpB,WAAW,EAAE,IAAI;QACjB,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE,IAAI;KACb;IACD,cAAc,EAAG;QACf,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,gBAAgB;QACvB,IAAI,EAAE,oDAAoD;QAC1D,UAAU,EAAE,iCAAyB,CAAC,KAAK;QAC3C,gBAAgB,EAAE,EAAE;QACpB,WAAW,EAAE,IAAI;QACjB,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE,KAAK;KACd;IACD,WAAW,EAAG;QACZ,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,YAAY;QACnB,IAAI,EAAE,2DAA2D;QACjE,UAAU,EAAE,iCAAyB,CAAC,KAAK;QAC3C,gBAAgB,EAAE,EAAE;QACpB,WAAW,EAAE,IAAI;QACjB,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE,IAAI;KACb;IACD,aAAa,EAAE;QACb,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,gCAAgC;QACvC,IAAI,EAAE,gDAAgD;QACtD,UAAU,EAAE,iCAAyB,CAAC,UAAU;QAChD,gBAAgB,EAAE,CAAC,+BAAc,CAAC,gBAAgB,CAAC;QACnD,WAAW,EAAE,IAAI;QACjB,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,IAAI;KACb;CACF,CAAC","sourcesContent":["import { PrestationType } from './PrestationType';\n\ntype commercialOfferTypeAmount = {\n id: number;\n label: string;\n};\n\nexport type CommercialOfferTypeType = {\n id: number;\n label: string;\n amountType: commercialOfferTypeAmount;\n idPrestationList: number[];\n isComptable: boolean | null;\n isCatalog: boolean | null;\n isBack: boolean | null;\n};\n\nexport const CommercialOfferAmountType = {\n PERCENTAGE: {\n id: 1,\n label: '%',\n },\n MONTH: {\n id: 2,\n label: 'Mois',\n },\n MONEY: {\n id: 3,\n label: '€',\n },\n};\n\nexport const CommercialOfferTypeDetail = {\n RECOVERY_MONTH : {\n id: 1,\n label: '% de reprise sur les mois',\n text: '%value% % offert, valable jusqu\\'au %dateEnd%.',\n amountType: CommercialOfferAmountType.PERCENTAGE,\n idPrestationList: [],\n isComptable: true,\n isCatalog: false,\n isBack: false,\n },\n MONTH_OFFERED : {\n id: 2,\n label: 'Nb de mois offert',\n text: '%value% mois offert, valable jusqu\\'au %dateEnd%.',\n amountType: CommercialOfferAmountType.MONTH,\n idPrestationList: [],\n isComptable: true,\n isCatalog: false,\n isBack: null,\n },\n AMOUNT_OFFERED : {\n id: 3,\n label: 'Montant offert',\n text: '%value% euros offert, valable jusqu\\'au %dateEnd%.',\n amountType: CommercialOfferAmountType.MONEY,\n idPrestationList: [],\n isComptable: true,\n isCatalog: false,\n isBack: false,\n },\n SPONSORSHIP : {\n id: 4,\n label: 'Parrainage',\n text: '%value% euros de parrainage, valable jusqu\\'au %dateEnd%.',\n amountType: CommercialOfferAmountType.MONEY,\n idPrestationList: [],\n isComptable: true,\n isCatalog: false,\n isBack: null,\n },\n COMPANY_SETUP: {\n id: 5,\n label: '% de la création d\\'entreprise',\n text: 'Création offerte, valable jusqu\\'au %dateEnd%.',\n amountType: CommercialOfferAmountType.PERCENTAGE,\n idPrestationList: [PrestationType.CREATION_SOCIETE],\n isComptable: null,\n isCatalog: null,\n isBack: null,\n },\n};"]}
1
+ {"version":3,"file":"CommercialOfferType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/CommercialOfferType.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAiBrC,QAAA,yBAAyB,GAAG;IACvC,UAAU,EAAE;QACV,EAAE,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AE,gDAAgD;QACtD,UAAU,EAAE,iCAAyB,CAAC,UAAU;QAChD,gBAAgB,EAAE,CAAC,+BAAc,CAAC,gBAAgB,CAAC;QACnD,WAAW,EAAE,IAAI;QACjB,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,IAAI;KACb;IACD,kBAAkB,EAAG;QACnB,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,6DAA6D;QACnE,UAAU,EAAE,iCAAyB,CAAC,UAAU;QAChD,gBAAgB,EAAE,EAAE;QACpB,WAAW,EAAE,IAAI;QACjB,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,IAAI;KACb;CACF,CAAC","sourcesContent":["import { PrestationType } from './PrestationType';\n\ntype commercialOfferTypeAmount = {\n id: number;\n label: string;\n};\n\nexport type CommercialOfferTypeType = {\n id: number;\n label: string;\n amountType: commercialOfferTypeAmount;\n idPrestationList: number[];\n isComptable: boolean | null;\n isCatalog: boolean | null;\n isBack: boolean | null;\n};\n\nexport const CommercialOfferAmountType = {\n PERCENTAGE: {\n id: 1,\n label: '%',\n },\n MONTH: {\n id: 2,\n label: 'Mois',\n },\n MONEY: {\n id: 3,\n label: '€',\n },\n};\n\nexport const CommercialOfferTypeDetail = {\n RECOVERY_MONTH : {\n id: 1,\n label: '% de reprise sur les mois',\n text: '%value% % offert sur les mois de reprise, valable jusqu\\'au %dateEnd%.',\n amountType: CommercialOfferAmountType.PERCENTAGE,\n idPrestationList: [],\n isComptable: true,\n isCatalog: false,\n isBack: false,\n },\n MONTH_OFFERED : {\n id: 2,\n label: 'Nb de mois offert',\n text: '%value% mois offert, valable jusqu\\'au %dateEnd%.',\n amountType: CommercialOfferAmountType.MONTH,\n idPrestationList: [],\n isComptable: true,\n isCatalog: false,\n isBack: null,\n },\n AMOUNT_OFFERED : {\n id: 3,\n label: 'Montant offert',\n text: '%value% euros offert, valable jusqu\\'au %dateEnd%.',\n amountType: CommercialOfferAmountType.MONEY,\n idPrestationList: [],\n isComptable: true,\n isCatalog: false,\n isBack: false,\n },\n SPONSORSHIP : {\n id: 4,\n label: 'Parrainage',\n text: '%value% euros de parrainage, valable jusqu\\'au %dateEnd%.',\n amountType: CommercialOfferAmountType.MONEY,\n idPrestationList: [],\n isComptable: true,\n isCatalog: false,\n isBack: null,\n },\n COMPANY_SETUP: {\n id: 5,\n label: '% de la création d\\'entreprise',\n text: 'Création offerte, valable jusqu\\'au %dateEnd%.',\n amountType: CommercialOfferAmountType.PERCENTAGE,\n idPrestationList: [PrestationType.CREATION_SOCIETE],\n isComptable: null,\n isCatalog: null,\n isBack: null,\n },\n PERCENTAGE_OFFERED : {\n id: 6,\n label: '% offert',\n text: '%value% % offert sur l\\'année, valable jusqu\\'au %dateEnd%.',\n amountType: CommercialOfferAmountType.PERCENTAGE,\n idPrestationList: [],\n isComptable: null,\n isCatalog: null,\n isBack: null,\n },\n};"]}
@@ -9,7 +9,9 @@ export declare enum EquipmentType {
9
9
  ADAPTER = 8,
10
10
  WIRELESS_HEADPHONE = 9,
11
11
  POCKET = 10,
12
- BADGE = 11
12
+ BADGE = 11,
13
+ CALCULATOR = 12,
14
+ USB_HUB = 13
13
15
  }
14
16
  export declare const EquipmentTypeDetail: readonly [{
15
17
  readonly id: EquipmentType.LAPTOP;
@@ -44,5 +46,11 @@ export declare const EquipmentTypeDetail: readonly [{
44
46
  }, {
45
47
  readonly id: EquipmentType.BADGE;
46
48
  readonly label: "Badge";
49
+ }, {
50
+ readonly id: EquipmentType.CALCULATOR;
51
+ readonly label: "Calculatrice";
52
+ }, {
53
+ readonly id: EquipmentType.USB_HUB;
54
+ readonly label: "Hub USB";
47
55
  }];
48
56
  //# sourceMappingURL=EquipmentType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EquipmentType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/EquipmentType.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,MAAM,IAAI;IACV,OAAO,IAAI;IACX,KAAK,IAAI;IACT,QAAQ,IAAI;IACZ,KAAK,IAAI;IACT,MAAM,IAAI;IACV,SAAS,IAAI;IACb,OAAO,IAAI;IACX,kBAAkB,IAAI;IACtB,MAAM,KAAK;IACX,KAAK,KAAK;CACX;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6CtB,CAAC"}
1
+ {"version":3,"file":"EquipmentType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/EquipmentType.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,MAAM,IAAI;IACV,OAAO,IAAI;IACX,KAAK,IAAI;IACT,QAAQ,IAAI;IACZ,KAAK,IAAI;IACT,MAAM,IAAI;IACV,SAAS,IAAI;IACb,OAAO,IAAI;IACX,kBAAkB,IAAI;IACtB,MAAM,KAAK;IACX,KAAK,KAAK;IACV,UAAU,KAAK;IACf,OAAO,KAAK;CACb;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqDtB,CAAC"}
@@ -14,6 +14,8 @@ var EquipmentType;
14
14
  EquipmentType[EquipmentType["WIRELESS_HEADPHONE"] = 9] = "WIRELESS_HEADPHONE";
15
15
  EquipmentType[EquipmentType["POCKET"] = 10] = "POCKET";
16
16
  EquipmentType[EquipmentType["BADGE"] = 11] = "BADGE";
17
+ EquipmentType[EquipmentType["CALCULATOR"] = 12] = "CALCULATOR";
18
+ EquipmentType[EquipmentType["USB_HUB"] = 13] = "USB_HUB";
17
19
  })(EquipmentType = exports.EquipmentType || (exports.EquipmentType = {}));
18
20
  exports.EquipmentTypeDetail = [
19
21
  {
@@ -60,5 +62,13 @@ exports.EquipmentTypeDetail = [
60
62
  id: EquipmentType.BADGE,
61
63
  label: 'Badge',
62
64
  },
65
+ {
66
+ id: EquipmentType.CALCULATOR,
67
+ label: 'Calculatrice',
68
+ },
69
+ {
70
+ id: EquipmentType.USB_HUB,
71
+ label: 'Hub USB',
72
+ },
63
73
  ];
64
74
  //# sourceMappingURL=EquipmentType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EquipmentType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/EquipmentType.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAYX;AAZD,WAAY,aAAa;IACvB,qDAAU,CAAA;IACV,uDAAW,CAAA;IACX,mDAAS,CAAA;IACT,yDAAY,CAAA;IACZ,mDAAS,CAAA;IACT,qDAAU,CAAA;IACV,2DAAa,CAAA;IACb,uDAAW,CAAA;IACX,6EAAsB,CAAA;IACtB,sDAAW,CAAA;IACX,oDAAU,CAAA;AACZ,CAAC,EAZW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAYxB;AAEY,QAAA,mBAAmB,GAAG;IACjC;QACE,EAAE,EAAE,aAAa,CAAC,MAAM;QACxB,KAAK,EAAE,qBAAqB;KAC7B;IACD;QACE,EAAE,EAAE,aAAa,CAAC,OAAO;QACzB,KAAK,EAAE,YAAY;KACpB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,KAAK;QACvB,KAAK,EAAE,WAAW;KACnB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,QAAQ;QAC1B,KAAK,EAAE,SAAS;KACjB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,KAAK;QACvB,KAAK,EAAE,QAAQ;KAChB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,MAAM;QACxB,KAAK,EAAE,OAAO;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,SAAS;QAC3B,KAAK,EAAE,QAAQ;KAChB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,OAAO;QACzB,KAAK,EAAE,YAAY;KACpB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,kBAAkB;QACpC,KAAK,EAAE,iBAAiB;KACzB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,MAAM;QACxB,KAAK,EAAE,UAAU;KAClB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,KAAK;QACvB,KAAK,EAAE,OAAO;KACf;CACO,CAAC","sourcesContent":["export enum EquipmentType {\n LAPTOP = 1,\n PRINTER = 2,\n PHONE = 3,\n KEYBOARD = 4,\n MOUSE = 5,\n SCREEN = 6,\n HEADPHONE = 7,\n ADAPTER = 8,\n WIRELESS_HEADPHONE = 9,\n POCKET = 10,\n BADGE = 11,\n}\n\nexport const EquipmentTypeDetail = [\n {\n id: EquipmentType.LAPTOP,\n label: 'Ordinateur portable',\n },\n {\n id: EquipmentType.PRINTER,\n label: 'Imprimante',\n },\n {\n id: EquipmentType.PHONE,\n label: 'Téléphone',\n },\n {\n id: EquipmentType.KEYBOARD,\n label: 'Clavier',\n },\n {\n id: EquipmentType.MOUSE,\n label: 'Souris',\n },\n {\n id: EquipmentType.SCREEN,\n label: 'Écran',\n },\n {\n id: EquipmentType.HEADPHONE,\n label: 'Casque',\n },\n {\n id: EquipmentType.ADAPTER,\n label: 'Adaptateur',\n },\n {\n id: EquipmentType.WIRELESS_HEADPHONE,\n label: 'Casque sans fil',\n },\n {\n id: EquipmentType.POCKET,\n label: 'Pochette',\n },\n {\n id: EquipmentType.BADGE,\n label: 'Badge',\n },\n] as const;"]}
1
+ {"version":3,"file":"EquipmentType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/EquipmentType.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAcX;AAdD,WAAY,aAAa;IACvB,qDAAU,CAAA;IACV,uDAAW,CAAA;IACX,mDAAS,CAAA;IACT,yDAAY,CAAA;IACZ,mDAAS,CAAA;IACT,qDAAU,CAAA;IACV,2DAAa,CAAA;IACb,uDAAW,CAAA;IACX,6EAAsB,CAAA;IACtB,sDAAW,CAAA;IACX,oDAAU,CAAA;IACV,8DAAe,CAAA;IACf,wDAAY,CAAA;AACd,CAAC,EAdW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAcxB;AAEY,QAAA,mBAAmB,GAAG;IACjC;QACE,EAAE,EAAE,aAAa,CAAC,MAAM;QACxB,KAAK,EAAE,qBAAqB;KAC7B;IACD;QACE,EAAE,EAAE,aAAa,CAAC,OAAO;QACzB,KAAK,EAAE,YAAY;KACpB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,KAAK;QACvB,KAAK,EAAE,WAAW;KACnB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,QAAQ;QAC1B,KAAK,EAAE,SAAS;KACjB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,KAAK;QACvB,KAAK,EAAE,QAAQ;KAChB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,MAAM;QACxB,KAAK,EAAE,OAAO;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,SAAS;QAC3B,KAAK,EAAE,QAAQ;KAChB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,OAAO;QACzB,KAAK,EAAE,YAAY;KACpB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,kBAAkB;QACpC,KAAK,EAAE,iBAAiB;KACzB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,MAAM;QACxB,KAAK,EAAE,UAAU;KAClB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,KAAK;QACvB,KAAK,EAAE,OAAO;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,UAAU;QAC5B,KAAK,EAAE,cAAc;KACtB;IACD;QACE,EAAE,EAAE,aAAa,CAAC,OAAO;QACzB,KAAK,EAAE,SAAS;KACjB;CACO,CAAC","sourcesContent":["export enum EquipmentType {\n LAPTOP = 1,\n PRINTER = 2,\n PHONE = 3,\n KEYBOARD = 4,\n MOUSE = 5,\n SCREEN = 6,\n HEADPHONE = 7,\n ADAPTER = 8,\n WIRELESS_HEADPHONE = 9,\n POCKET = 10,\n BADGE = 11,\n CALCULATOR = 12,\n USB_HUB = 13,\n}\n\nexport const EquipmentTypeDetail = [\n {\n id: EquipmentType.LAPTOP,\n label: 'Ordinateur portable',\n },\n {\n id: EquipmentType.PRINTER,\n label: 'Imprimante',\n },\n {\n id: EquipmentType.PHONE,\n label: 'Téléphone',\n },\n {\n id: EquipmentType.KEYBOARD,\n label: 'Clavier',\n },\n {\n id: EquipmentType.MOUSE,\n label: 'Souris',\n },\n {\n id: EquipmentType.SCREEN,\n label: 'Écran',\n },\n {\n id: EquipmentType.HEADPHONE,\n label: 'Casque',\n },\n {\n id: EquipmentType.ADAPTER,\n label: 'Adaptateur',\n },\n {\n id: EquipmentType.WIRELESS_HEADPHONE,\n label: 'Casque sans fil',\n },\n {\n id: EquipmentType.POCKET,\n label: 'Pochette',\n },\n {\n id: EquipmentType.BADGE,\n label: 'Badge',\n },\n {\n id: EquipmentType.CALCULATOR,\n label: 'Calculatrice',\n },\n {\n id: EquipmentType.USB_HUB,\n label: 'Hub USB',\n },\n] as const;"]}
@@ -3,7 +3,7 @@ import { ClosingType } from './ClosingType';
3
3
  import { PrestationType } from './PrestationType';
4
4
  export declare const PriceGridLegalstart: {
5
5
  idTypeBrand: number;
6
- price: {
6
+ price: ({
7
7
  idPrestationList: PrestationType[];
8
8
  minimumMonthlyPayment: {
9
9
  id: ClosingType;
@@ -29,6 +29,36 @@ export declare const PriceGridLegalstart: {
29
29
  type: VatRegime;
30
30
  price: number;
31
31
  }[];
32
- }[];
32
+ partner?: undefined;
33
+ employee?: undefined;
34
+ } | {
35
+ idPrestationList: PrestationType[];
36
+ partner: {
37
+ amountMinimum: number;
38
+ amountMaximum: number;
39
+ price: number;
40
+ }[];
41
+ minimumMonthlyPayment?: undefined;
42
+ maximumMonthlyPayment?: undefined;
43
+ turnoverMonthly?: undefined;
44
+ turnoverYearlyy?: undefined;
45
+ vatRegimeMonthly?: undefined;
46
+ vatRegimeYearly?: undefined;
47
+ employee?: undefined;
48
+ } | {
49
+ idPrestationList: PrestationType[];
50
+ employee: {
51
+ amountMinimum: number;
52
+ amountMaximum: number;
53
+ price: number;
54
+ }[];
55
+ minimumMonthlyPayment?: undefined;
56
+ maximumMonthlyPayment?: undefined;
57
+ turnoverMonthly?: undefined;
58
+ turnoverYearlyy?: undefined;
59
+ vatRegimeMonthly?: undefined;
60
+ vatRegimeYearly?: undefined;
61
+ partner?: undefined;
62
+ })[];
33
63
  }[];
34
64
  //# sourceMappingURL=PriceGridLegalstart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PriceGridLegalstart.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PriceGridLegalstart.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+F/B,CAAC"}
1
+ {"version":3,"file":"PriceGridLegalstart.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PriceGridLegalstart.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmJ/B,CAAC"}
@@ -97,6 +97,58 @@ exports.PriceGridLegalstart = [
97
97
  },
98
98
  ],
99
99
  },
100
+ {
101
+ /* Gestion Juridique */
102
+ idPrestationList: [PrestationType_1.PrestationType.GESTION_JURIDIQUE],
103
+ partner: [
104
+ {
105
+ amountMinimum: 1,
106
+ amountMaximum: 1,
107
+ price: 249,
108
+ },
109
+ {
110
+ amountMinimum: 2,
111
+ amountMaximum: 4,
112
+ price: 299,
113
+ },
114
+ {
115
+ amountMinimum: 5,
116
+ amountMaximum: 1000000,
117
+ price: 399,
118
+ },
119
+ ],
120
+ },
121
+ {
122
+ /* Social */
123
+ idPrestationList: [PrestationType_1.PrestationType.SOCIAL],
124
+ employee: [
125
+ {
126
+ amountMinimum: 1,
127
+ amountMaximum: 1,
128
+ price: 33,
129
+ },
130
+ {
131
+ amountMinimum: 2,
132
+ amountMaximum: 5,
133
+ price: 30,
134
+ },
135
+ {
136
+ amountMinimum: 6,
137
+ amountMaximum: 20,
138
+ price: 28,
139
+ },
140
+ {
141
+ amountMinimum: 21,
142
+ amountMaximum: 50,
143
+ price: 27,
144
+ },
145
+ {
146
+ amountMinimum: 50,
147
+ amountMaximum: 1000000,
148
+ price: 25,
149
+ },
150
+ ],
151
+ },
100
152
  ],
101
153
  },
102
154
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"PriceGridLegalstart.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PriceGridLegalstart.ts"],"names":[],"mappings":";;;AAAA,2CAAwC;AACxC,+CAA4C;AAC5C,qDAAkD;AAErC,QAAA,mBAAmB,GAAG;IACjC;QACE,gBAAgB;QAChB,WAAW,EAAE,CAAC;QACd,KAAK,EAAE;YACL;gBACE,gBAAgB;gBAChB,gBAAgB,EAAE,CAAC,+BAAc,CAAC,sBAAsB,EAAE,+BAAc,CAAC,8BAA8B,CAAC;gBACxG,qBAAqB,EAAE;oBACrB;wBACE,EAAE,EAAE,yBAAW,CAAC,WAAW;wBAC3B,KAAK,EAAE,CAAC;qBACT;oBACD;wBACE,EAAE,EAAE,yBAAW,CAAC,QAAQ;wBACxB,KAAK,EAAE,EAAE;qBACV;iBACF;gBACD,qBAAqB,EAAE;oBACrB;wBACE,EAAE,EAAE,yBAAW,CAAC,WAAW;wBAC3B,KAAK,EAAE,EAAE;qBACV;oBACD;wBACE,EAAE,EAAE,yBAAW,CAAC,QAAQ;wBACxB,KAAK,EAAE,EAAE;qBACV;iBACF;gBACD,eAAe,EAAE;oBACf;wBACE,aAAa,EAAE,KAAK;wBACpB,KAAK,EAAE,EAAE;qBACV;oBACD;wBACE,aAAa,EAAE,MAAM;wBACrB,KAAK,EAAE,EAAE;qBACV;oBACD;wBACE,aAAa,EAAE,MAAM;wBACrB,KAAK,EAAE,EAAE;qBACV;iBACF;gBACD,eAAe,EAAE;oBACf;wBACE,aAAa,EAAE,KAAK;wBACpB,KAAK,EAAE,GAAG;qBACX;oBACD;wBACE,aAAa,EAAE,MAAM;wBACrB,KAAK,EAAE,GAAG;qBACX;oBACD;wBACE,aAAa,EAAE,MAAM;wBACrB,KAAK,EAAE,GAAG;qBACX;iBACF;gBACD,gBAAgB,EAAE;oBAChB;wBACE,IAAI,EAAE,qBAAS,CAAC,cAAc;wBAC9B,KAAK,EAAE,CAAC;qBACT;oBACD;wBACE,IAAI,EAAE,qBAAS,CAAC,UAAU;wBAC1B,KAAK,EAAE,EAAE;qBACV;oBACD;wBACE,IAAI,EAAE,qBAAS,CAAC,SAAS;wBACzB,KAAK,EAAE,EAAE;qBACV;oBACD;wBACE,IAAI,EAAE,qBAAS,CAAC,OAAO;wBACvB,KAAK,EAAE,EAAE;qBACV;iBACF;gBACD,eAAe,EAAE;oBACf;wBACE,IAAI,EAAE,qBAAS,CAAC,cAAc;wBAC9B,KAAK,EAAE,CAAC;qBACT;oBACD;wBACE,IAAI,EAAE,qBAAS,CAAC,UAAU;wBAC1B,KAAK,EAAE,GAAG;qBACX;oBACD;wBACE,IAAI,EAAE,qBAAS,CAAC,SAAS;wBACzB,KAAK,EAAE,GAAG;qBACX;oBACD;wBACE,IAAI,EAAE,qBAAS,CAAC,OAAO;wBACvB,KAAK,EAAE,GAAG;qBACX;iBACF;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["import { VatRegime } from './VatRegime';\nimport { ClosingType } from './ClosingType';\nimport { PrestationType } from './PrestationType';\n\nexport const PriceGridLegalstart = [\n {\n /* LegalStart */\n idTypeBrand: 1,\n price: [\n {\n /* Compta Pro */\n idPrestationList: [PrestationType.COMPTA_PRO_COMPTASTART, PrestationType.COMPTA_PRO_COMPTASTART_EXPRESS],\n minimumMonthlyPayment: [\n {\n id: ClosingType.IN_PROGRESS,\n month: 9,\n },\n {\n id: ClosingType.OUTDATED,\n month: 12,\n },\n ],\n maximumMonthlyPayment: [\n {\n id: ClosingType.IN_PROGRESS,\n month: 23,\n },\n {\n id: ClosingType.OUTDATED,\n month: 23,\n },\n ],\n turnoverMonthly: [\n {\n turnoverValue: 50000,\n price: 60,\n },\n {\n turnoverValue: 150000,\n price: 75,\n },\n {\n turnoverValue: 234000,\n price: 90,\n },\n ],\n turnoverYearlyy: [\n {\n turnoverValue: 50000,\n price: 600,\n },\n {\n turnoverValue: 150000,\n price: 750,\n },\n {\n turnoverValue: 234000,\n price: 900,\n },\n ],\n vatRegimeMonthly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 20,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 30,\n },\n {\n type: VatRegime.MONTHLY,\n price: 40,\n },\n ],\n vatRegimeYearly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 200,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 300,\n },\n {\n type: VatRegime.MONTHLY,\n price: 400,\n },\n ],\n },\n ],\n },\n];"]}
1
+ {"version":3,"file":"PriceGridLegalstart.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PriceGridLegalstart.ts"],"names":[],"mappings":";;;AAAA,2CAAwC;AACxC,+CAA4C;AAC5C,qDAAkD;AAErC,QAAA,mBAAmB,GAAG;IACjC;QACE,gBAAgB;QAChB,WAAW,EAAE,CAAC;QACd,KAAK,EAAE;YACL;gBACE,gBAAgB;gBAChB,gBAAgB,EAAE,CAAC,+BAAc,CAAC,sBAAsB,EAAE,+BAAc,CAAC,8BAA8B,CAAC;gBACxG,qBAAqB,EAAE;oBACrB;wBACE,EAAE,EAAE,yBAAW,CAAC,WAAW;wBAC3B,KAAK,EAAE,CAAC;qBACT;oBACD;wBACE,EAAE,EAAE,yBAAW,CAAC,QAAQ;wBACxB,KAAK,EAAE,EAA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,KAAK,EAAE,GAAG;qBACX;iBACF;aACF;YACD;gBACE,uBAAuB;gBACvB,gBAAgB,EAAE,CAAC,+BAAc,CAAC,iBAAiB,CAAC;gBACpD,OAAO,EAAE;oBACP;wBACE,aAAa,EAAE,CAAC;wBAChB,aAAa,EAAE,CAAC;wBAChB,KAAK,EAAE,GAAG;qBACX;oBACD;wBACE,aAAa,EAAE,CAAC;wBAChB,aAAa,EAAE,CAAC;wBAChB,KAAK,EAAE,GAAG;qBACX;oBACD;wBACE,aAAa,EAAE,CAAC;wBAChB,aAAa,EAAE,OAAO;wBACtB,KAAK,EAAE,GAAG;qBACX;iBACF;aACF;YACD;gBACE,YAAY;gBACZ,gBAAgB,EAAE,CAAC,+BAAc,CAAC,MAAM,CAAC;gBACzC,QAAQ,EAAE;oBACR;wBACE,aAAa,EAAE,CAAC;wBAChB,aAAa,EAAE,CAAC;wBAChB,KAAK,EAAE,EAAE;qBACV;oBACD;wBACE,aAAa,EAAE,CAAC;wBAChB,aAAa,EAAE,CAAC;wBAChB,KAAK,EAAE,EAAE;qBACV;oBACD;wBACE,aAAa,EAAE,CAAC;wBAChB,aAAa,EAAE,EAAE;wBACjB,KAAK,EAAE,EAAE;qBACV;oBACD;wBACE,aAAa,EAAE,EAAE;wBACjB,aAAa,EAAE,EAAE;wBACjB,KAAK,EAAE,EAAE;qBACV;oBACD;wBACE,aAAa,EAAE,EAAE;wBACjB,aAAa,EAAE,OAAO;wBACtB,KAAK,EAAE,EAAE;qBACV;iBACF;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["import { VatRegime } from './VatRegime';\nimport { ClosingType } from './ClosingType';\nimport { PrestationType } from './PrestationType';\n\nexport const PriceGridLegalstart = [\n {\n /* LegalStart */\n idTypeBrand: 1,\n price: [\n {\n /* Compta Pro */\n idPrestationList: [PrestationType.COMPTA_PRO_COMPTASTART, PrestationType.COMPTA_PRO_COMPTASTART_EXPRESS],\n minimumMonthlyPayment: [\n {\n id: ClosingType.IN_PROGRESS,\n month: 9,\n },\n {\n id: ClosingType.OUTDATED,\n month: 12,\n },\n ],\n maximumMonthlyPayment: [\n {\n id: ClosingType.IN_PROGRESS,\n month: 23,\n },\n {\n id: ClosingType.OUTDATED,\n month: 23,\n },\n ],\n turnoverMonthly: [\n {\n turnoverValue: 50000,\n price: 60,\n },\n {\n turnoverValue: 150000,\n price: 75,\n },\n {\n turnoverValue: 234000,\n price: 90,\n },\n ],\n turnoverYearlyy: [\n {\n turnoverValue: 50000,\n price: 600,\n },\n {\n turnoverValue: 150000,\n price: 750,\n },\n {\n turnoverValue: 234000,\n price: 900,\n },\n ],\n vatRegimeMonthly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 20,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 30,\n },\n {\n type: VatRegime.MONTHLY,\n price: 40,\n },\n ],\n vatRegimeYearly: [\n {\n type: VatRegime.NOT_ATTRIBUTED,\n price: 0,\n },\n {\n type: VatRegime.SIMPLIFIED,\n price: 200,\n },\n {\n type: VatRegime.QUARTERLY,\n price: 300,\n },\n {\n type: VatRegime.MONTHLY,\n price: 400,\n },\n ],\n },\n {\n /* Gestion Juridique */\n idPrestationList: [PrestationType.GESTION_JURIDIQUE],\n partner: [\n {\n amountMinimum: 1,\n amountMaximum: 1,\n price: 249,\n },\n {\n amountMinimum: 2,\n amountMaximum: 4,\n price: 299,\n },\n {\n amountMinimum: 5,\n amountMaximum: 1000000,\n price: 399,\n },\n ],\n },\n {\n /* Social */\n idPrestationList: [PrestationType.SOCIAL],\n employee: [\n {\n amountMinimum: 1,\n amountMaximum: 1,\n price: 33,\n },\n {\n amountMinimum: 2,\n amountMaximum: 5,\n price: 30,\n },\n {\n amountMinimum: 6,\n amountMaximum: 20,\n price: 28,\n },\n {\n amountMinimum: 21,\n amountMaximum: 50,\n price: 27,\n },\n {\n amountMinimum: 50,\n amountMaximum: 1000000,\n price: 25,\n },\n ],\n },\n ],\n },\n];"]}
@@ -1,3 +1,44 @@
1
1
  export declare enum Room {
2
+ LA1 = 1,
3
+ LA2 = 2,
4
+ LA3 = 3,
5
+ LA4 = 4,
6
+ LA5 = 5,
7
+ LB1 = 6,
8
+ LB2 = 7,
9
+ LB3 = 8,
10
+ LB4 = 9,
11
+ LB5 = 10
2
12
  }
13
+ export declare const RoomDetail: readonly [{
14
+ readonly id: Room.LA1;
15
+ readonly name: "Laxou A1";
16
+ }, {
17
+ readonly id: Room.LA2;
18
+ readonly name: "Laxou A2";
19
+ }, {
20
+ readonly id: Room.LA3;
21
+ readonly name: "Laxou A3";
22
+ }, {
23
+ readonly id: Room.LA4;
24
+ readonly name: "Laxou A4";
25
+ }, {
26
+ readonly id: Room.LA5;
27
+ readonly name: "Laxou A5";
28
+ }, {
29
+ readonly id: Room.LB1;
30
+ readonly name: "Laxou B1";
31
+ }, {
32
+ readonly id: Room.LB2;
33
+ readonly name: "Laxou B2";
34
+ }, {
35
+ readonly id: Room.LB3;
36
+ readonly name: "Laxou B3";
37
+ }, {
38
+ readonly id: Room.LB4;
39
+ readonly name: "Laxou B4";
40
+ }, {
41
+ readonly id: Room.LB5;
42
+ readonly name: "Laxou B5";
43
+ }];
3
44
  //# sourceMappingURL=Room.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Room.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Room.ts"],"names":[],"mappings":"AAAA,oBAAY,IAAI;CAEf"}
1
+ {"version":3,"file":"Room.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Room.ts"],"names":[],"mappings":"AAGA,oBAAY,IAAI;IACd,GAAG,IAAI;IACP,GAAG,IAAI;IACP,GAAG,IAAI;IACP,GAAG,IAAI;IACP,GAAG,IAAI;IACP,GAAG,IAAI;IACP,GAAG,IAAI;IACP,GAAG,IAAI;IACP,GAAG,IAAI;IACP,GAAG,KAAK;CACT;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCb,CAAC"}
@@ -1,8 +1,61 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Room = void 0;
3
+ exports.RoomDetail = exports.Room = void 0;
4
+ // L = Laxou, M = Marseille, N = Nice, P = Paris
5
+ // A = Rez de chaussée, B = 1er étage etc...
4
6
  var Room;
5
7
  (function (Room) {
6
- // TODO: Add rooms
8
+ Room[Room["LA1"] = 1] = "LA1";
9
+ Room[Room["LA2"] = 2] = "LA2";
10
+ Room[Room["LA3"] = 3] = "LA3";
11
+ Room[Room["LA4"] = 4] = "LA4";
12
+ Room[Room["LA5"] = 5] = "LA5";
13
+ Room[Room["LB1"] = 6] = "LB1";
14
+ Room[Room["LB2"] = 7] = "LB2";
15
+ Room[Room["LB3"] = 8] = "LB3";
16
+ Room[Room["LB4"] = 9] = "LB4";
17
+ Room[Room["LB5"] = 10] = "LB5";
7
18
  })(Room = exports.Room || (exports.Room = {}));
19
+ exports.RoomDetail = [
20
+ {
21
+ id: Room.LA1,
22
+ name: 'Laxou A1',
23
+ },
24
+ {
25
+ id: Room.LA2,
26
+ name: 'Laxou A2',
27
+ },
28
+ {
29
+ id: Room.LA3,
30
+ name: 'Laxou A3',
31
+ },
32
+ {
33
+ id: Room.LA4,
34
+ name: 'Laxou A4',
35
+ },
36
+ {
37
+ id: Room.LA5,
38
+ name: 'Laxou A5',
39
+ },
40
+ {
41
+ id: Room.LB1,
42
+ name: 'Laxou B1',
43
+ },
44
+ {
45
+ id: Room.LB2,
46
+ name: 'Laxou B2',
47
+ },
48
+ {
49
+ id: Room.LB3,
50
+ name: 'Laxou B3',
51
+ },
52
+ {
53
+ id: Room.LB4,
54
+ name: 'Laxou B4',
55
+ },
56
+ {
57
+ id: Room.LB5,
58
+ name: 'Laxou B5',
59
+ },
60
+ ];
8
61
  //# sourceMappingURL=Room.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Room.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Room.ts"],"names":[],"mappings":";;;AAAA,IAAY,IAEX;AAFD,WAAY,IAAI;IACd,kBAAkB;AACpB,CAAC,EAFW,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAEf","sourcesContent":["export enum Room {\n // TODO: Add rooms\n}"]}
1
+ {"version":3,"file":"Room.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Room.ts"],"names":[],"mappings":";;;AACA,gDAAgD;AAChD,4CAA4C;AAC5C,IAAY,IAWX;AAXD,WAAY,IAAI;IACd,6BAAO,CAAA;IACP,6BAAO,CAAA;IACP,6BAAO,CAAA;IACP,6BAAO,CAAA;IACP,6BAAO,CAAA;IACP,6BAAO,CAAA;IACP,6BAAO,CAAA;IACP,6BAAO,CAAA;IACP,6BAAO,CAAA;IACP,8BAAQ,CAAA;AACV,CAAC,EAXW,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAWf;AAEY,QAAA,UAAU,GAAG;IACxB;QACE,EAAE,EAAE,IAAI,CAAC,GAAG;QACZ,IAAI,EAAE,UAAU;KACjB;IACD;QACE,EAAE,EAAE,IAAI,CAAC,GAAG;QACZ,IAAI,EAAE,UAAU;KACjB;IACD;QACE,EAAE,EAAE,IAAI,CAAC,GAAG;QACZ,IAAI,EAAE,UAAU;KACjB;IACD;QACE,EAAE,EAAE,IAAI,CAAC,GAAG;QACZ,IAAI,EAAE,UAAU;KACjB;IACD;QACE,EAAE,EAAE,IAAI,CAAC,GAAG;QACZ,IAAI,EAAE,UAAU;KACjB;IACD;QACE,EAAE,EAAE,IAAI,CAAC,GAAG;QACZ,IAAI,EAAE,UAAU;KACjB;IACD;QACE,EAAE,EAAE,IAAI,CAAC,GAAG;QACZ,IAAI,EAAE,UAAU;KACjB;IACD;QACE,EAAE,EAAE,IAAI,CAAC,GAAG;QACZ,IAAI,EAAE,UAAU;KACjB;IACD;QACE,EAAE,EAAE,IAAI,CAAC,GAAG;QACZ,IAAI,EAAE,UAAU;KACjB;IACD;QACE,EAAE,EAAE,IAAI,CAAC,GAAG;QACZ,IAAI,EAAE,UAAU;KACjB;CACO,CAAC","sourcesContent":["\n// L = Laxou, M = Marseille, N = Nice, P = Paris\n// A = Rez de chaussée, B = 1er étage etc...\nexport enum Room {\n LA1 = 1,\n LA2 = 2,\n LA3 = 3,\n LA4 = 4,\n LA5 = 5,\n LB1 = 6,\n LB2 = 7,\n LB3 = 8,\n LB4 = 9,\n LB5 = 10,\n}\n\nexport const RoomDetail = [\n {\n id: Room.LA1,\n name: 'Laxou A1',\n },\n {\n id: Room.LA2,\n name: 'Laxou A2',\n },\n {\n id: Room.LA3,\n name: 'Laxou A3',\n },\n {\n id: Room.LA4,\n name: 'Laxou A4',\n },\n {\n id: Room.LA5,\n name: 'Laxou A5',\n },\n {\n id: Room.LB1,\n name: 'Laxou B1',\n },\n {\n id: Room.LB2,\n name: 'Laxou B2',\n },\n {\n id: Room.LB3,\n name: 'Laxou B3',\n },\n {\n id: Room.LB4,\n name: 'Laxou B4',\n },\n {\n id: Room.LB5,\n name: 'Laxou B5',\n },\n] as const;"]}
@@ -3,6 +3,7 @@ export declare class QueryEquipment extends RequiredQueryPaginate {
3
3
  id?: number;
4
4
  search?: string;
5
5
  idUser?: number;
6
+ idRoom?: number;
6
7
  equipmentState?: number;
7
8
  availability?: number;
8
9
  signatureStatus?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/equipment/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,qBAAa,cAAe,SAAQ,qBAAqB;IAIrD,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKzB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKtB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKxB,WAAW,CAAC,EAAE,IAAI,CAAC;IAKnB,MAAM,CAAC,EAAE,IAAI,CAAC;CACjB"}
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/equipment/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,qBAAa,cAAe,SAAQ,qBAAqB;IAIrD,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKzB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKtB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKxB,WAAW,CAAC,EAAE,IAAI,CAAC;IAKnB,MAAM,CAAC,EAAE,IAAI,CAAC;CACjB"}
@@ -33,6 +33,12 @@ __decorate([
33
33
  (0, class_validator_1.IsInt)(),
34
34
  __metadata("design:type", Number)
35
35
  ], QueryEquipment.prototype, "idUser", void 0);
36
+ __decorate([
37
+ (0, utils_1.ApiPropertyOptional)(),
38
+ (0, class_validator_1.IsOptional)(),
39
+ (0, class_validator_1.IsInt)(),
40
+ __metadata("design:type", Number)
41
+ ], QueryEquipment.prototype, "idRoom", void 0);
36
42
  __decorate([
37
43
  (0, utils_1.ApiPropertyOptional)(),
38
44
  (0, class_validator_1.IsOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/equipment/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAwD;AACxD,kDAAwD;AAExD,MAAa,cAAe,SAAQ,oCAAqB;CAsExD;AArEC;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0CACM;AAEd;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACO;AAElB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACU;AAElB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sDACkB;AAE1B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;oDACgB;AAExB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;uDACmB;AAE3B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACiB;AAE5B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACM;AAEjB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAEhB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACgB;AAE3B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6CACgB;AAExB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACe;AAE1B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACO,IAAI;mDAAC;AAErB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACE,IAAI;8CAAC;AArElB,wCAsEC","sourcesContent":["import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryEquipment extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n equipmentState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n availability?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n signatureStatus?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n reference?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n brand?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n supplier?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n price?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n destroyedAt?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n lostAt?: Date;\n}"]}
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/equipment/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAwD;AACxD,kDAAwD;AAExD,MAAa,cAAe,SAAQ,oCAAqB;CA2ExD;AA1EC;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0CACM;AAEd;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACO;AAElB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACU;AAElB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACU;AAElB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sDACkB;AAE1B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;oDACgB;AAExB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;uDACmB;AAE3B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACiB;AAE5B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACM;AAEjB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAEhB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACgB;AAE3B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6CACgB;AAExB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACe;AAE1B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACO,IAAI;mDAAC;AAErB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACE,IAAI;8CAAC;AA1ElB,wCA2EC","sourcesContent":["import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryEquipment extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRoom?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n equipmentState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n availability?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n signatureStatus?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n reference?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n brand?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n supplier?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n price?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n destroyedAt?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n lostAt?: Date;\n}"]}
@@ -7,6 +7,13 @@ export declare class QueryCreatePrestation {
7
7
  exercicePrestation: Partial<IExercicePrestation>;
8
8
  options: number[];
9
9
  commercialOffers: ICommercialOffer[];
10
+ subPrestations?: subPrestationsType[];
11
+ subPrestationsOffer?: ICommercialOffer;
12
+ }
13
+ export interface subPrestationsType {
14
+ idPrestationList: number;
15
+ nbAssociates?: number;
16
+ nbEmployees?: number;
10
17
  }
11
18
  export declare class QueryUpdatePrestation {
12
19
  commentPdf: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/prestation/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,qBAAa,qBAAqB;IAG9B,UAAU,EAAE,WAAW,CAAC;IAIxB,kBAAkB,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAIjD,OAAO,EAAE,MAAM,EAAE,CAAC;IAIlB,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;CACxC;AAED,qBAAa,qBAAqB;IAI9B,UAAU,EAAE,MAAM,CAAC;IAMnB,qBAAqB,EAAE,OAAO,CAAC;IAK/B,QAAQ,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAK7B,kBAAkB,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAKjD,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,oBAAoB,EAAE,MAAM,CAAC;IAK7B,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;CACxC"}
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/prestation/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,qBAAa,qBAAqB;IAG9B,UAAU,EAAE,WAAW,CAAC;IAIxB,kBAAkB,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAKjD,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;IAKrC,cAAc,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAKtC,mBAAmB,CAAC,EAAE,gBAAgB,CAAC;CAC1C;AAED,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,qBAAqB;IAI9B,UAAU,EAAE,MAAM,CAAC;IAMnB,qBAAqB,EAAE,OAAO,CAAC;IAK/B,QAAQ,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAK7B,kBAAkB,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAKjD,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,oBAAoB,EAAE,MAAM,CAAC;IAK7B,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;CACxC"}
@@ -27,14 +27,28 @@ __decorate([
27
27
  ], QueryCreatePrestation.prototype, "exercicePrestation", void 0);
28
28
  __decorate([
29
29
  (0, utils_1.ApiPropertyOptional)(),
30
+ (0, class_validator_1.IsOptional)(),
30
31
  (0, class_validator_1.IsArray)(),
31
32
  __metadata("design:type", Array)
32
33
  ], QueryCreatePrestation.prototype, "options", void 0);
33
34
  __decorate([
34
35
  (0, utils_1.ApiPropertyOptional)(),
36
+ (0, class_validator_1.IsOptional)(),
35
37
  (0, class_validator_1.IsArray)(),
36
38
  __metadata("design:type", Array)
37
39
  ], QueryCreatePrestation.prototype, "commercialOffers", void 0);
40
+ __decorate([
41
+ (0, utils_1.ApiPropertyOptional)(),
42
+ (0, class_validator_1.IsOptional)(),
43
+ (0, class_validator_1.IsArray)(),
44
+ __metadata("design:type", Array)
45
+ ], QueryCreatePrestation.prototype, "subPrestations", void 0);
46
+ __decorate([
47
+ (0, utils_1.ApiPropertyOptional)(),
48
+ (0, class_validator_1.IsOptional)(),
49
+ (0, class_validator_1.IsObject)(),
50
+ __metadata("design:type", Object)
51
+ ], QueryCreatePrestation.prototype, "subPrestationsOffer", void 0);
38
52
  exports.QueryCreatePrestation = QueryCreatePrestation;
39
53
  class QueryUpdatePrestation {
40
54
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/prestation/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+F;AAC/F,6CAAqE;AAKrE,sFAA2E;AAE3E,MAAa,qBAAqB;CAgBjC;AAfC;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;yDACe;AAE1B;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;iEACwC;AAEnD;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,yBAAO,GAAE;;sDACU;AAEpB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,yBAAO,GAAE;;+DAC6B;AAfzC,sDAgBC;AAED,MAAa,qBAAqB;CAoCjC;AAnCC;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACU;AAErB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oEACqB;AAEjC;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACoB;AAE/B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iEACwC;AAEnD;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACU;AAEpB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mEACoB;AAE/B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+DAC6B;AAnCzC,sDAoCC","sourcesContent":["import { IsArray, IsBoolean, IsNumber, IsObject, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IPrestation } from '../../models/IPrestation';\nimport { IExercicePrestation } from '../../models/IExercicePrestation';\nimport { ICommercialOffer } from '../../models/ICommercialOffer';\nimport { IExercice } from '../../models/IExercice';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryCreatePrestation {\n @ApiProperty()\n @IsObject()\n prestation: IPrestation;\n\n @ApiProperty()\n @IsObject()\n exercicePrestation: Partial<IExercicePrestation>;\n\n @ApiPropertyOptional()\n @IsArray()\n options: number[];\n\n @ApiPropertyOptional()\n @IsArray()\n commercialOffers: ICommercialOffer[];\n}\n\nexport class QueryUpdatePrestation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commentPdf: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithApplicationFees: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n exercice: Partial<IExercice>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n exercicePrestation: Partial<IExercicePrestation>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n options: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idExercicePrestation: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n commercialOffers: ICommercialOffer[];\n}"]}
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/prestation/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+F;AAC/F,6CAAqE;AAKrE,sFAA2E;AAE3E,MAAa,qBAAqB;CA4BjC;AA3BC;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;yDACe;AAE1B;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;iEACwC;AAEnD;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACU;AAEpB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+DAC6B;AAEvC;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;6DAC8B;AAExC;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kEAC8B;AA3B3C,sDA4BC;AAQD,MAAa,qBAAqB;CAoCjC;AAnCC;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACU;AAErB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oEACqB;AAEjC;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACoB;AAE/B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iEACwC;AAEnD;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACU;AAEpB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mEACoB;AAE/B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+DAC6B;AAnCzC,sDAoCC","sourcesContent":["import { IsArray, IsBoolean, IsNumber, IsObject, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IPrestation } from '../../models/IPrestation';\nimport { IExercicePrestation } from '../../models/IExercicePrestation';\nimport { ICommercialOffer } from '../../models/ICommercialOffer';\nimport { IExercice } from '../../models/IExercice';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryCreatePrestation {\n @ApiProperty()\n @IsObject()\n prestation: IPrestation;\n\n @ApiProperty()\n @IsObject()\n exercicePrestation: Partial<IExercicePrestation>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n options: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n commercialOffers: ICommercialOffer[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n subPrestations?: subPrestationsType[]; // list d'id prestation list\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n subPrestationsOffer?: ICommercialOffer;\n}\n\nexport interface subPrestationsType {\n idPrestationList: number,\n nbAssociates?: number,\n nbEmployees?: number,\n}\n\nexport class QueryUpdatePrestation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commentPdf: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithApplicationFees: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n exercice: Partial<IExercice>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n exercicePrestation: Partial<IExercicePrestation>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n options: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idExercicePrestation: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n commercialOffers: ICommercialOffer[];\n}"]}
@@ -1,9 +1,11 @@
1
+ import { IFile } from '../../..';
1
2
  export type UnpaidDetail = {
2
3
  datePayment: Date;
3
4
  amount: number;
4
5
  idExercice: number;
5
6
  dateStart: Date;
6
7
  dateEnd: Date;
8
+ file?: IFile | null;
7
9
  };
8
10
  export type ReadInvalidFieldState = {
9
11
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
1
+ {"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["export type UnpaidDetail = {\n datePayment: Date,\n amount: number,\n idExercice: number,\n dateStart: Date,\n dateEnd: Date,\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};"]}
1
+ {"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile } from '../../..';\n\nexport type UnpaidDetail = {\n datePayment: Date,\n amount: number,\n idExercice: number,\n dateStart: Date,\n dateEnd: Date,\n file?: IFile | null,\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};"]}
@@ -1,4 +1,4 @@
1
- import { ThirdPartyType } from '../../..';
1
+ import { TFile, ThirdPartyType } from '../../..';
2
2
  export declare class CreateThirdPartyForm {
3
3
  budgeaSouscriptionId?: number | null;
4
4
  fullname?: string | null;
@@ -26,4 +26,8 @@ export declare class CreateThirdPartyForm {
26
26
  deliveryZipCode?: string | null;
27
27
  deliveryIdCountry?: number | null;
28
28
  }
29
+ export declare class ImportThirdParty {
30
+ idThirdPartyType: ThirdPartyType;
31
+ file: TFile;
32
+ }
29
33
  //# sourceMappingURL=CreateThirdPartyForm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateThirdPartyForm.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts"],"names":[],"mappings":"AACA,OAAO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