@silexpert/core 1.0.14 → 1.0.15

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 (163) hide show
  1. package/es/api/resources/CommercialDocument.d.ts +2 -1
  2. package/es/api/resources/CommercialDocument.d.ts.map +1 -1
  3. package/es/api/resources/CommercialDocument.js +3 -0
  4. package/es/api/resources/CommercialDocument.js.map +1 -1
  5. package/es/api/resources/Dashboard.d.ts +1 -2
  6. package/es/api/resources/Dashboard.d.ts.map +1 -1
  7. package/es/api/resources/Dashboard.js +0 -3
  8. package/es/api/resources/Dashboard.js.map +1 -1
  9. package/es/api/resources/Mail.js +2 -2
  10. package/es/api/resources/Mail.js.map +1 -1
  11. package/es/api/resources/Qonto.d.ts +2 -1
  12. package/es/api/resources/Qonto.d.ts.map +1 -1
  13. package/es/api/resources/Qonto.js +3 -0
  14. package/es/api/resources/Qonto.js.map +1 -1
  15. package/es/api/resources/User.d.ts +2 -2
  16. package/es/api/resources/User.d.ts.map +1 -1
  17. package/es/api/resources/User.js +2 -11
  18. package/es/api/resources/User.js.map +1 -1
  19. package/es/types/Enum/BrandClementine.d.ts +3 -1
  20. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  21. package/es/types/Enum/BrandClementine.js +3 -0
  22. package/es/types/Enum/BrandClementine.js.map +1 -1
  23. package/es/types/Enum/CommercialManagement.d.ts +4 -2
  24. package/es/types/Enum/CommercialManagement.d.ts.map +1 -1
  25. package/es/types/Enum/CommercialManagement.js +3 -1
  26. package/es/types/Enum/CommercialManagement.js.map +1 -1
  27. package/es/types/Enum/Role.d.ts +6 -11
  28. package/es/types/Enum/Role.d.ts.map +1 -1
  29. package/es/types/Enum/Role.js +15 -10
  30. package/es/types/Enum/Role.js.map +1 -1
  31. package/es/types/Enum/RoleDetail.d.ts +40 -56
  32. package/es/types/Enum/RoleDetail.d.ts.map +1 -1
  33. package/es/types/Enum/RoleDetail.js +120 -64
  34. package/es/types/Enum/RoleDetail.js.map +1 -1
  35. package/es/types/Enum/TaskResponseType.d.ts +0 -1
  36. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  37. package/es/types/Enum/TaskResponseType.js +25 -3
  38. package/es/types/Enum/TaskResponseType.js.map +1 -1
  39. package/es/types/Enum/TimeCounterType.js +7 -7
  40. package/es/types/Enum/TimeCounterType.js.map +1 -1
  41. package/es/types/Interface/api/commercialManagement/Query.d.ts +6 -0
  42. package/es/types/Interface/api/commercialManagement/Query.d.ts.map +1 -1
  43. package/es/types/Interface/api/commercialManagement/Query.js +29 -0
  44. package/es/types/Interface/api/commercialManagement/Query.js.map +1 -1
  45. package/es/types/Interface/api/commercialManagement/Read.d.ts +19 -0
  46. package/es/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
  47. package/es/types/Interface/api/commercialManagement/Read.js.map +1 -1
  48. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts +1 -1
  49. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts.map +1 -1
  50. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +1 -1
  51. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
  52. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts +1 -1
  53. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
  54. package/es/types/Interface/api/mail/QueryPaginatedMail.js +1 -1
  55. package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  56. package/es/types/Interface/api/qonto/CreateImportation.d.ts +5 -0
  57. package/es/types/Interface/api/qonto/CreateImportation.d.ts.map +1 -0
  58. package/es/types/Interface/api/{dashboard/QueryGescom.js → qonto/CreateImportation.js} +12 -19
  59. package/es/types/Interface/api/qonto/CreateImportation.js.map +1 -0
  60. package/es/types/Interface/api/qonto/Query.d.ts +78 -0
  61. package/es/types/Interface/api/qonto/Query.d.ts.map +1 -0
  62. package/es/types/Interface/api/qonto/Query.js +2 -0
  63. package/es/types/Interface/api/qonto/Query.js.map +1 -0
  64. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts +1 -0
  65. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts.map +1 -1
  66. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js +10 -1
  67. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  68. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts +1 -0
  69. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +1 -1
  70. package/es/types/Interface/api/user/QueryGetAllCollaborators.js +11 -1
  71. package/es/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  72. package/es/types/Interface/models/IEstimateInvoice.d.ts +2 -2
  73. package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
  74. package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
  75. package/es/types/index.d.ts +2 -2
  76. package/es/types/index.d.ts.map +1 -1
  77. package/es/types/index.js +2 -2
  78. package/es/types/index.js.map +1 -1
  79. package/es/utils/task.d.ts +1 -2
  80. package/es/utils/task.d.ts.map +1 -1
  81. package/es/utils/task.js +17 -20
  82. package/es/utils/task.js.map +1 -1
  83. package/es/utils/webmail.d.ts.map +1 -1
  84. package/es/utils/webmail.js +1 -4
  85. package/es/utils/webmail.js.map +1 -1
  86. package/js/api/resources/CommercialDocument.js +6 -0
  87. package/js/api/resources/CommercialDocument.js.map +1 -1
  88. package/js/api/resources/Dashboard.js +0 -6
  89. package/js/api/resources/Dashboard.js.map +1 -1
  90. package/js/api/resources/Mail.js +2 -2
  91. package/js/api/resources/Mail.js.map +1 -1
  92. package/js/api/resources/Qonto.js +4 -0
  93. package/js/api/resources/Qonto.js.map +1 -1
  94. package/js/api/resources/User.js +5 -3
  95. package/js/api/resources/User.js.map +1 -1
  96. package/js/types/Enum/BrandClementine.js +3 -0
  97. package/js/types/Enum/BrandClementine.js.map +1 -1
  98. package/js/types/Enum/CommercialManagement.js +3 -1
  99. package/js/types/Enum/CommercialManagement.js.map +1 -1
  100. package/js/types/Enum/Role.js +18 -13
  101. package/js/types/Enum/Role.js.map +1 -1
  102. package/js/types/Enum/RoleDetail.js +142 -86
  103. package/js/types/Enum/RoleDetail.js.map +1 -1
  104. package/js/types/Enum/TaskResponseType.js +24 -4
  105. package/js/types/Enum/TaskResponseType.js.map +1 -1
  106. package/js/types/Enum/TimeCounterType.js +7 -7
  107. package/js/types/Enum/TimeCounterType.js.map +1 -1
  108. package/js/types/Interface/api/commercialManagement/Query.js +15 -3
  109. package/js/types/Interface/api/commercialManagement/Query.js.map +1 -1
  110. package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +1 -1
  111. package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
  112. package/js/types/Interface/api/mail/QueryPaginatedMail.js +1 -1
  113. package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  114. package/js/types/Interface/api/{dashboard/QueryGescom.js → qonto/CreateImportation.js} +8 -12
  115. package/js/types/Interface/api/qonto/CreateImportation.js.map +1 -0
  116. package/js/types/Interface/api/qonto/Query.js +6 -0
  117. package/js/types/Interface/api/qonto/Query.js.map +1 -0
  118. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js +6 -0
  119. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  120. package/js/types/Interface/api/user/QueryGetAllCollaborators.js +8 -0
  121. package/js/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  122. package/js/types/index.js +24 -24
  123. package/js/types/index.js.map +1 -1
  124. package/js/utils/task.js +17 -21
  125. package/js/utils/task.js.map +1 -1
  126. package/js/utils/webmail.js +1 -3
  127. package/js/utils/webmail.js.map +1 -1
  128. package/package.json +1 -1
  129. package/ts/api/resources/CommercialDocument.ts +6 -0
  130. package/ts/api/resources/Dashboard.ts +0 -6
  131. package/ts/api/resources/Mail.ts +2 -2
  132. package/ts/api/resources/Qonto.ts +7 -1
  133. package/ts/api/resources/User.ts +3 -12
  134. package/ts/types/Enum/BrandClementine.ts +3 -0
  135. package/ts/types/Enum/CommercialManagement.ts +3 -1
  136. package/ts/types/Enum/Role.ts +15 -10
  137. package/ts/types/Enum/RoleDetail.ts +120 -64
  138. package/ts/types/Enum/TaskResponseType.ts +25 -3
  139. package/ts/types/Enum/TimeCounterType.ts +7 -7
  140. package/ts/types/Interface/api/commercialManagement/Query.ts +25 -0
  141. package/ts/types/Interface/api/commercialManagement/Read.ts +19 -0
  142. package/ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts +1 -1
  143. package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +1 -1
  144. package/ts/types/Interface/api/qonto/CreateImportation.ts +14 -0
  145. package/ts/types/Interface/api/qonto/Query.ts +80 -0
  146. package/ts/types/Interface/api/user/ParamsGetAllCollaborators.ts +9 -0
  147. package/ts/types/Interface/api/user/QueryGetAllCollaborators.ts +10 -1
  148. package/ts/types/Interface/models/IEstimateInvoice.ts +2 -2
  149. package/ts/types/index.ts +2 -2
  150. package/ts/utils/task.ts +17 -17
  151. package/ts/utils/webmail.ts +1 -3
  152. package/es/types/Interface/api/dashboard/QueryGescom.d.ts +0 -8
  153. package/es/types/Interface/api/dashboard/QueryGescom.d.ts.map +0 -1
  154. package/es/types/Interface/api/dashboard/QueryGescom.js.map +0 -1
  155. package/es/types/Interface/api/dashboard/ReadGescom.d.ts +0 -22
  156. package/es/types/Interface/api/dashboard/ReadGescom.d.ts.map +0 -1
  157. package/es/types/Interface/api/dashboard/ReadGescom.js +0 -9
  158. package/es/types/Interface/api/dashboard/ReadGescom.js.map +0 -1
  159. package/js/types/Interface/api/dashboard/QueryGescom.js.map +0 -1
  160. package/js/types/Interface/api/dashboard/ReadGescom.js +0 -22
  161. package/js/types/Interface/api/dashboard/ReadGescom.js.map +0 -1
  162. package/ts/types/Interface/api/dashboard/QueryGescom.ts +0 -18
  163. package/ts/types/Interface/api/dashboard/ReadGescom.ts +0 -24
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.QueryDocumentPaginated = exports.QueryPreviewDocument = exports.QueryNextReference = exports.QueryInvoice = undefined;
6
+ exports.QueryCountByStatus = exports.QueryDocumentPaginated = exports.QueryPreviewDocument = exports.QueryNextReference = exports.QueryInvoice = undefined;
7
7
 
8
8
  var _classValidator = require("class-validator");
9
9
 
@@ -63,9 +63,9 @@ exports.QueryDocumentPaginated = QueryDocumentPaginated;
63
63
 
64
64
  __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], QueryDocumentPaginated.prototype, "types", void 0);
65
65
 
66
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryDocumentPaginated.prototype, "minDate", void 0);
66
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryDocumentPaginated.prototype, "minDate", void 0);
67
67
 
68
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryDocumentPaginated.prototype, "maxDate", void 0);
68
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryDocumentPaginated.prototype, "maxDate", void 0);
69
69
 
70
70
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryDocumentPaginated.prototype, "status", void 0);
71
71
 
@@ -76,4 +76,16 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(),
76
76
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryDocumentPaginated.prototype, "search", void 0);
77
77
 
78
78
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryDocumentPaginated.prototype, "isDraft", void 0);
79
+
80
+ class QueryCountByStatus {}
81
+
82
+ exports.QueryCountByStatus = QueryCountByStatus;
83
+
84
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryCountByStatus.prototype, "minDate", void 0);
85
+
86
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryCountByStatus.prototype, "maxDate", void 0);
87
+
88
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryCountByStatus.prototype, "search", void 0);
89
+
90
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryCountByStatus.prototype, "isDraft", void 0);
79
91
  //# sourceMappingURL=Query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAGM,MAAOA,YAAP,CAAmB;;QAAZA,Y,GAAAA,Y;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAeI,MAAOC,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;AAGXD,YAFC,yBAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAQI,MAAOE,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAEXF,YADC,yBACD;;AAGI,MAAOG,sBAAP,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXH,YAFC,yBAED,EADC,8BACD;;AAIAA,YAFC,iCAED,EADC,mCACD;;AAIAA,YAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,gCAED,EADC,yBACD","names":["QueryInvoice","__decorate","QueryNextReference","QueryPreviewDocument","QueryDocumentPaginated"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Query.ts"],"sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { Order } from 'sequelize/types';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { DiscountType, EstimateStatus, InvoiceStatus } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { QueryPaginate } from '../BasePaginate';\n\nexport class QueryInvoice {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: InvoiceStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n isDescending?: boolean;\n}\n\nexport interface ParamPaginatedInvoices {\n idSociety: number;\n date?: {\n gte?: string;\n lte?: string;\n };\n status?: InvoiceStatus;\n search?: string;\n pagination: QueryPaginate;\n order?: Order;\n}\n\nexport class QueryNextReference {\n @ApiProperty()\n @IsNumber()\n idEstimateInvoiceType: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}\n\nexport interface Discount {\n type: DiscountType,\n amount: number\n}\n\nexport class QueryPreviewDocument {\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n}\n\nexport class QueryDocumentPaginated {\n @ApiProperty()\n @IsArray()\n types: EstimateInvoiceType[];\n\n @ApiPropertyOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: EstimateStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDescending?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n}"]}
1
+ {"version":3,"file":"Query.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAGM,MAAOA,YAAP,CAAmB;;QAAZA,Y,GAAAA,Y;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAeI,MAAOC,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;AAGXD,YAFC,yBAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAQI,MAAOE,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAEXF,YADC,yBACD;;AAGI,MAAOG,sBAAP,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXH,YAFC,yBAED,EADC,8BACD;;AAKAA,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAGI,MAAOI,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;AAIXJ,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD","names":["QueryInvoice","__decorate","QueryNextReference","QueryPreviewDocument","QueryDocumentPaginated","QueryCountByStatus"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Query.ts"],"sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { Order } from 'sequelize/types';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { DiscountType, EstimateStatus, InvoiceStatus } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { QueryPaginate } from '../BasePaginate';\n\nexport class QueryInvoice {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: InvoiceStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n isDescending?: boolean;\n}\n\nexport interface ParamPaginatedInvoices {\n idSociety: number;\n date?: {\n gte?: string;\n lte?: string;\n };\n status?: InvoiceStatus;\n search?: string;\n pagination: QueryPaginate;\n order?: Order;\n}\n\nexport class QueryNextReference {\n @ApiProperty()\n @IsNumber()\n idEstimateInvoiceType: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}\n\nexport interface Discount {\n type: DiscountType,\n amount: number\n}\n\nexport class QueryPreviewDocument {\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n}\n\nexport class QueryDocumentPaginated {\n @ApiProperty()\n @IsArray()\n types: EstimateInvoiceType[];\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: EstimateStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDescending?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n}\n\nexport class QueryCountByStatus {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}"]}
@@ -31,5 +31,5 @@ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata(
31
31
 
32
32
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryCountUnprocessedByUserMail.prototype, "isWithoutSociety", void 0);
33
33
 
34
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryCountUnprocessedByUserMail.prototype, "isCountingManagerRoleMails", void 0);
34
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryCountUnprocessedByUserMail.prototype, "handlingManagerRoleMails", void 0);
35
35
  //# sourceMappingURL=QueryCountUnprocessedByUserMail.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryCountUnprocessedByUserMail.js","mappings":";;;;;;;AAAA;;AAKA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,+BAAP,CAAsC;;QAA/BA,+B,GAAAA,+B;;AAGXC,YAFC,yBAED,EADC,4BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD","names":["QueryCountUnprocessedByUserMail","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts"],"sourcesContent":["import {\n IsBoolean,\n IsInt,\n IsOptional,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryCountUnprocessedByUserMail {\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCountingManagerRoleMails?: boolean;\n}\n"]}
1
+ {"version":3,"file":"QueryCountUnprocessedByUserMail.js","mappings":";;;;;;;AAAA;;AAKA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,+BAAP,CAAsC;;QAA/BA,+B,GAAAA,+B;;AAGXC,YAFC,yBAED,EADC,4BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD","names":["QueryCountUnprocessedByUserMail","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts"],"sourcesContent":["import {\n IsBoolean,\n IsInt,\n IsOptional,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryCountUnprocessedByUserMail {\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n handlingManagerRoleMails?: boolean;\n}\n"]}
@@ -75,7 +75,7 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
75
75
 
76
76
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedMail.prototype, "idUser", void 0);
77
77
 
78
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryPaginatedMail.prototype, "displayManagerRoleMails", void 0);
78
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryPaginatedMail.prototype, "handlingManagerRoleMails", void 0);
79
79
 
80
80
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedMail.prototype, "idSociety", void 0);
81
81
 
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaginatedMail.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;EAA/BC;IAUE,mBAAe,KAAf;IAsBA,eAAmB,MAAnB;EA8ED;;AA9G8B;;QAAlBD,kB,GAAAA,kB;;AAIXE,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AASAD,YAPC,iCAOD,EANC,iCAMD,EALC,8BAKD,EAJC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,SAAD,EAAY,aAAZ,EAA2B,gBAA3B,EAA6C,gBAA7C,CAAL,EAAqE;EAAEA,IAAI,EAAE;AAAR,CAArE,CACD;;AAQAF,YANC,iCAMD,EALC,iCAKD,EAJC,8BAID,EAHC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAF,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,8BAAS;EAAEE,IAAI,EAAE;AAAR,CAAT,CACD;;AAMAF,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD","names":["QueryPaginatedMail","constructor","__decorate","default","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryPaginatedMail.ts"],"sourcesContent":["import {\n IsBoolean, IsIn, IsNumber, IsOptional, IsString, IsArray, IsInt,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedMail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withDeleted? = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n @IsIn(['society', 'mailContent', 'mailAttachment', 'userWhoFlagged'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string = 'date';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n to?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isImportant?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayManagerRoleMails?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoFlagged?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoAnswered?: number;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number;\n}\n"]}
1
+ {"version":3,"file":"QueryPaginatedMail.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;EAA/BC;IAUE,mBAAe,KAAf;IAsBA,eAAmB,MAAnB;EA8ED;;AA9G8B;;QAAlBD,kB,GAAAA,kB;;AAIXE,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AASAD,YAPC,iCAOD,EANC,iCAMD,EALC,8BAKD,EAJC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,SAAD,EAAY,aAAZ,EAA2B,gBAA3B,EAA6C,gBAA7C,CAAL,EAAqE;EAAEA,IAAI,EAAE;AAAR,CAArE,CACD;;AAQAF,YANC,iCAMD,EALC,iCAKD,EAJC,8BAID,EAHC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAF,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,8BAAS;EAAEE,IAAI,EAAE;AAAR,CAAT,CACD;;AAMAF,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD","names":["QueryPaginatedMail","constructor","__decorate","default","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryPaginatedMail.ts"],"sourcesContent":["import {\n IsBoolean, IsIn, IsNumber, IsOptional, IsString, IsArray, IsInt,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedMail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withDeleted? = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n @IsIn(['society', 'mailContent', 'mailAttachment', 'userWhoFlagged'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string = 'date';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n to?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isImportant?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n handlingManagerRoleMails?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoFlagged?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoAnswered?: number;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number;\n}\n"]}
@@ -3,7 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.QueryGescom = undefined;
6
+ exports.CreateImportation = undefined;
7
+
8
+ var _classValidator = require("class-validator");
7
9
 
8
10
  var _utils = require("../../../../utils");
9
11
 
@@ -19,17 +21,11 @@ var __metadata = undefined && undefined.__metadata || function (k, v) {
19
21
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
20
22
  };
21
23
 
22
- class QueryGescom {}
23
-
24
- exports.QueryGescom = QueryGescom;
25
-
26
- __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Object)], QueryGescom.prototype, "startDate", void 0);
27
-
28
- __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Object)], QueryGescom.prototype, "endDate", void 0);
24
+ class CreateImportation {}
29
25
 
30
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], QueryGescom.prototype, "isPaid", void 0);
26
+ exports.CreateImportation = CreateImportation;
31
27
 
32
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], QueryGescom.prototype, "isLate", void 0);
28
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], CreateImportation.prototype, "minDate", void 0);
33
29
 
34
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], QueryGescom.prototype, "isCanceled", void 0);
35
- //# sourceMappingURL=QueryGescom.js.map
30
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], CreateImportation.prototype, "maxDate", void 0);
31
+ //# sourceMappingURL=CreateImportation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateImportation.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,iBAAP,CAAwB;;QAAjBA,iB,GAAAA,iB;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD","names":["CreateImportation","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/CreateImportation.ts"],"sourcesContent":["import { IsDateString, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateImportation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string ;\n}"]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=Query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
@@ -34,4 +34,10 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
34
34
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Array)], ParamsGetAllCollaborators.prototype, "idRoles", void 0);
35
35
 
36
36
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Array)], ParamsGetAllCollaborators.prototype, "idUser", void 0);
37
+
38
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)({
39
+ each: true
40
+ }), (0, _classValidator.IsIn)(['avatar', 'teams', 'businessLines'], {
41
+ each: true
42
+ }), __metadata("design:type", Array)], ParamsGetAllCollaborators.prototype, "include", void 0);
37
43
  //# sourceMappingURL=ParamsGetAllCollaborators.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ParamsGetAllCollaborators.js","mappings":";;;;;;;AAAA;;AAIA;;;;;;;;;;;;;;AAEM,MAAOA,yBAAP,CAAgC;;QAAzBA,yB,GAAAA,yB;;AAMXC,YALC,iCAKD,EAJC,iCAID,EAHC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD","names":["ParamsGetAllCollaborators","__decorate","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/ParamsGetAllCollaborators.ts"],"sourcesContent":["import {\n IsNumber,\n IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class ParamsGetAllCollaborators {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idRoles?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number[];\n}"]}
1
+ {"version":3,"file":"ParamsGetAllCollaborators.js","mappings":";;;;;;;AAAA;;AAKA;;;;;;;;;;;;;;AAEM,MAAOA,yBAAP,CAAgC;;QAAzBA,yB,GAAAA,yB;;AAMXC,YALC,iCAKD,EAJC,iCAID,EAHC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAQAA,YANC,iCAMD,EALC,iCAKD,EAJC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,QAAD,EAAW,OAAX,EAAoB,eAApB,CAAL,EAA2C;EAAEA,IAAI,EAAE;AAAR,CAA3C,CACD","names":["ParamsGetAllCollaborators","__decorate","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/ParamsGetAllCollaborators.ts"],"sourcesContent":["import {\n IsIn,\n IsNumber,\n IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class ParamsGetAllCollaborators {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idRoles?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['avatar', 'teams', 'businessLines'], { each: true })\n include?: string[];\n}"]}
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.QueryGetAllCollaborators = undefined;
7
7
 
8
+ var _classValidator = require("class-validator");
9
+
8
10
  var _utils = require("../../../../utils");
9
11
 
10
12
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
@@ -29,4 +31,10 @@ __decorate([(0, _utils.ApiProperty)({
29
31
  type: [Number],
30
32
  example: [1, 13]
31
33
  }), __metadata("design:type", Array)], QueryGetAllCollaborators.prototype, "idUser", void 0);
34
+
35
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)({
36
+ each: true
37
+ }), (0, _classValidator.IsIn)(['avatar', 'teams', 'businessLines'], {
38
+ each: true
39
+ }), __metadata("design:type", Array)], QueryGetAllCollaborators.prototype, "include", void 0);
32
40
  //# sourceMappingURL=QueryGetAllCollaborators.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGetAllCollaborators.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAOA,wBAAP,CAA+B;;QAAxBA,wB,GAAAA,wB;;AAOXC,YANC,wBAAY;EACXC,WAAW,EAAE,oBADF;EAEXC,QAAQ,EAAE,KAFC;EAGXC,IAAI,EAAE,CAACC,MAAD,CAHK;EAIXC,OAAO,EAAE,CAAC,CAAD,EAAI,EAAJ;AAJE,CAAZ,CAMD","names":["QueryGetAllCollaborators","__decorate","description","required","type","Number","example"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/QueryGetAllCollaborators.ts"],"sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryGetAllCollaborators {\n @ApiProperty({\n description: 'filtering users id',\n required: false,\n type: [Number],\n example: [1, 13],\n })\n idUser?: number[];\n}"]}
1
+ {"version":3,"file":"QueryGetAllCollaborators.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,wBAAP,CAA+B;;QAAxBA,wB,GAAAA,wB;;AAOXC,YANC,wBAAY;EACXC,WAAW,EAAE,oBADF;EAEXC,QAAQ,EAAE,KAFC;EAGXC,IAAI,EAAE,CAACC,MAAD,CAHK;EAIXC,OAAO,EAAE,CAAC,CAAD,EAAI,EAAJ;AAJE,CAAZ,CAMD;;AAQAL,YANC,iCAMD,EALC,iCAKD,EAJC,8BAAS;EACRM,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,QAAD,EAAW,OAAX,EAAoB,eAApB,CAAL,EAA2C;EAAEA,IAAI,EAAE;AAAR,CAA3C,CACD","names":["QueryGetAllCollaborators","__decorate","description","required","type","Number","example","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/QueryGetAllCollaborators.ts"],"sourcesContent":["import { IsIn, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryGetAllCollaborators {\n @ApiProperty({\n description: 'filtering users id',\n required: false,\n type: [Number],\n example: [1, 13],\n })\n idUser?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['avatar', 'teams', 'businessLines'], { each: true })\n include?: string[];\n}"]}
package/js/types/index.js CHANGED
@@ -6208,18 +6208,6 @@ Object.keys(_ReadBalanceBankAccount).forEach(function (key) {
6208
6208
  });
6209
6209
  });
6210
6210
 
6211
- var _QueryGescom = require("./Interface/api/dashboard/QueryGescom");
6212
-
6213
- Object.keys(_QueryGescom).forEach(function (key) {
6214
- if (key === "default" || key === "__esModule") return;
6215
- Object.defineProperty(exports, key, {
6216
- enumerable: true,
6217
- get: function () {
6218
- return _QueryGescom[key];
6219
- }
6220
- });
6221
- });
6222
-
6223
6211
  var _QueryDeadline = require("./Interface/api/dashboard/QueryDeadline");
6224
6212
 
6225
6213
  Object.keys(_QueryDeadline).forEach(function (key) {
@@ -6256,18 +6244,6 @@ Object.keys(_ReadTopProviders).forEach(function (key) {
6256
6244
  });
6257
6245
  });
6258
6246
 
6259
- var _ReadGescom = require("./Interface/api/dashboard/ReadGescom");
6260
-
6261
- Object.keys(_ReadGescom).forEach(function (key) {
6262
- if (key === "default" || key === "__esModule") return;
6263
- Object.defineProperty(exports, key, {
6264
- enumerable: true,
6265
- get: function () {
6266
- return _ReadGescom[key];
6267
- }
6268
- });
6269
- });
6270
-
6271
6247
  var _ReadDeadline = require("./Interface/api/dashboard/ReadDeadline");
6272
6248
 
6273
6249
  Object.keys(_ReadDeadline).forEach(function (key) {
@@ -9184,6 +9160,30 @@ Object.keys(_ReadConnectionState).forEach(function (key) {
9184
9160
  });
9185
9161
  });
9186
9162
 
9163
+ var _Query4 = require("./Interface/api/qonto/Query");
9164
+
9165
+ Object.keys(_Query4).forEach(function (key) {
9166
+ if (key === "default" || key === "__esModule") return;
9167
+ Object.defineProperty(exports, key, {
9168
+ enumerable: true,
9169
+ get: function () {
9170
+ return _Query4[key];
9171
+ }
9172
+ });
9173
+ });
9174
+
9175
+ var _CreateImportation = require("./Interface/api/qonto/CreateImportation");
9176
+
9177
+ Object.keys(_CreateImportation).forEach(function (key) {
9178
+ if (key === "default" || key === "__esModule") return;
9179
+ Object.defineProperty(exports, key, {
9180
+ enumerable: true,
9181
+ get: function () {
9182
+ return _CreateImportation[key];
9183
+ }
9184
+ });
9185
+ });
9186
+
9187
9187
  var _Util4 = require("./Interface/enum/Util");
9188
9188
 
9189
9189
  Object.keys(_Util4).forEach(function (key) {