@silexpert/core 0.4.172 → 0.4.175

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 (125) hide show
  1. package/es/api/resources/GeneralLedger.d.ts +3 -1
  2. package/es/api/resources/GeneralLedger.d.ts.map +1 -1
  3. package/es/api/resources/GeneralLedger.js +5 -0
  4. package/es/api/resources/GeneralLedger.js.map +1 -1
  5. package/es/api/resources/Tax.js.map +1 -1
  6. package/es/api/resources/Transaction.d.ts +1 -0
  7. package/es/api/resources/Transaction.d.ts.map +1 -1
  8. package/es/api/resources/Transaction.js +3 -0
  9. package/es/api/resources/Transaction.js.map +1 -1
  10. package/es/types/Enum/Aspone.d.ts +4 -3
  11. package/es/types/Enum/Aspone.d.ts.map +1 -1
  12. package/es/types/Enum/Aspone.js +4 -3
  13. package/es/types/Enum/Aspone.js.map +1 -1
  14. package/es/types/Enum/BalanceSheet.d.ts.map +1 -1
  15. package/es/types/Enum/BalanceSheet.js +9 -5
  16. package/es/types/Enum/BalanceSheet.js.map +1 -1
  17. package/es/types/Enum/BrandClementine.js +1 -1
  18. package/es/types/Enum/BrandClementine.js.map +1 -1
  19. package/es/types/Enum/BrandComptalib.js +3 -3
  20. package/es/types/Enum/BrandComptalib.js.map +1 -1
  21. package/es/types/Enum/MailFlag.d.ts +5 -0
  22. package/es/types/Enum/MailFlag.d.ts.map +1 -0
  23. package/es/types/Enum/MailFlag.js +6 -0
  24. package/es/types/Enum/MailFlag.js.map +1 -0
  25. package/es/types/Interface/api/BasePaginate.d.ts +6 -0
  26. package/es/types/Interface/api/BasePaginate.d.ts.map +1 -1
  27. package/es/types/Interface/api/BasePaginate.js.map +1 -1
  28. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +2 -0
  29. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
  30. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
  31. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts +4 -0
  32. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts.map +1 -1
  33. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js +28 -1
  34. package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  35. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +2 -0
  36. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
  37. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +5 -0
  38. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  39. package/es/types/Interface/api/transactions/QueryUnexport.d.ts +2 -2
  40. package/es/types/Interface/api/transactions/QueryUnexport.d.ts.map +1 -1
  41. package/es/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
  42. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
  43. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +2 -0
  44. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  45. package/es/types/Interface/api/webmail/CreateMailFromLambda.d.ts +25 -0
  46. package/es/types/Interface/api/webmail/CreateMailFromLambda.d.ts.map +1 -0
  47. package/es/types/Interface/api/webmail/CreateMailFromLambda.js +109 -0
  48. package/es/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -0
  49. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts +6 -0
  50. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts.map +1 -1
  51. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +17 -2
  52. package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
  53. package/es/types/Interface/models/IMail.d.ts +49 -0
  54. package/es/types/Interface/models/IMail.d.ts.map +1 -0
  55. package/es/types/Interface/models/IMail.js +2 -0
  56. package/es/types/Interface/models/IMail.js.map +1 -0
  57. package/es/types/Interface/models/IMailAttachment.d.ts +12 -0
  58. package/es/types/Interface/models/IMailAttachment.d.ts.map +1 -0
  59. package/es/types/Interface/models/IMailAttachment.js +2 -0
  60. package/es/types/Interface/models/IMailAttachment.js.map +1 -0
  61. package/es/types/Interface/models/IMailContent.d.ts +9 -0
  62. package/es/types/Interface/models/IMailContent.d.ts.map +1 -0
  63. package/es/types/Interface/models/IMailContent.js +2 -0
  64. package/es/types/Interface/models/IMailContent.js.map +1 -0
  65. package/es/types/index.d.ts +5 -0
  66. package/es/types/index.d.ts.map +1 -1
  67. package/es/types/index.js +5 -0
  68. package/es/types/index.js.map +1 -1
  69. package/js/api/resources/GeneralLedger.js +6 -0
  70. package/js/api/resources/GeneralLedger.js.map +1 -1
  71. package/js/api/resources/Tax.js.map +1 -1
  72. package/js/api/resources/Transaction.js +4 -0
  73. package/js/api/resources/Transaction.js.map +1 -1
  74. package/js/types/Enum/Aspone.js +4 -3
  75. package/js/types/Enum/Aspone.js.map +1 -1
  76. package/js/types/Enum/BalanceSheet.js +9 -5
  77. package/js/types/Enum/BalanceSheet.js.map +1 -1
  78. package/js/types/Enum/BrandClementine.js +1 -1
  79. package/js/types/Enum/BrandClementine.js.map +1 -1
  80. package/js/types/Enum/BrandComptalib.js +3 -3
  81. package/js/types/Enum/BrandComptalib.js.map +1 -1
  82. package/js/types/Enum/MailFlag.js +12 -0
  83. package/js/types/Enum/MailFlag.js.map +1 -0
  84. package/js/types/Interface/api/BasePaginate.js.map +1 -1
  85. package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
  86. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js +14 -0
  87. package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
  88. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +7 -0
  89. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  90. package/js/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
  91. package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +3 -1
  92. package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  93. package/js/types/Interface/api/webmail/CreateMailFromLambda.js +61 -0
  94. package/js/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -0
  95. package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +18 -3
  96. package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
  97. package/js/types/Interface/models/IMail.js +6 -0
  98. package/js/types/Interface/models/IMail.js.map +1 -0
  99. package/js/types/Interface/models/IMailAttachment.js +6 -0
  100. package/js/types/Interface/models/IMailAttachment.js.map +1 -0
  101. package/js/types/Interface/models/IMailContent.js +6 -0
  102. package/js/types/Interface/models/IMailContent.js.map +1 -0
  103. package/js/types/index.js +60 -0
  104. package/js/types/index.js.map +1 -1
  105. package/package.json +1 -1
  106. package/ts/api/resources/GeneralLedger.ts +8 -1
  107. package/ts/api/resources/Tax.ts +1 -1
  108. package/ts/api/resources/Transaction.ts +4 -0
  109. package/ts/types/Enum/Aspone.ts +4 -3
  110. package/ts/types/Enum/BalanceSheet.ts +9 -5
  111. package/ts/types/Enum/BrandClementine.ts +1 -1
  112. package/ts/types/Enum/BrandComptalib.ts +3 -3
  113. package/ts/types/Enum/MailFlag.ts +4 -0
  114. package/ts/types/Interface/api/BasePaginate.ts +7 -0
  115. package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +2 -0
  116. package/ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts +26 -1
  117. package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +4 -0
  118. package/ts/types/Interface/api/transactions/QueryUnexport.ts +2 -2
  119. package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +2 -0
  120. package/ts/types/Interface/api/webmail/CreateMailFromLambda.ts +87 -0
  121. package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +13 -2
  122. package/ts/types/Interface/models/IMail.ts +52 -0
  123. package/ts/types/Interface/models/IMailAttachment.ts +15 -0
  124. package/ts/types/Interface/models/IMailContent.ts +12 -0
  125. package/ts/types/index.ts +5 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MailFlag.js","sourceRoot":"","sources":["../../../ts/types/Enum/MailFlag.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,6DAAmB,CAAA;IACnB,+CAAY,CAAA;AACd,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB","sourcesContent":["export enum MailFlag {\n TO_BE_PROCESSED = 1,\n ANSWERED = 2,\n}"]}
@@ -4,6 +4,12 @@ export interface BasePaginate<T> {
4
4
  totalItems: number;
5
5
  data: T[];
6
6
  }
7
+ export interface BasePaginateInterface<T> {
8
+ maxPages: number;
9
+ currentPage: number;
10
+ totalItems: number;
11
+ data: T;
12
+ }
7
13
  export interface QueryPaginate {
8
14
  page: number;
9
15
  limit: number;
@@ -1 +1 @@
1
- {"version":3,"file":"BasePaginate.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/api/BasePaginate.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,YAAY,CAAC,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,CAAC,EAAE,CAAC;CACX;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,qBAAsB,YAAW,aAAa;IAKzD,IAAI,EAAE,MAAM,CAAC;IAMb,KAAK,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"BasePaginate.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/api/BasePaginate.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,YAAY,CAAC,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,CAAC,EAAE,CAAC;CACX;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,CAAC,CAAC;CACT;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,qBAAsB,YAAW,aAAa;IAKzD,IAAI,EAAE,MAAM,CAAC;IAMb,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -1 +1 @@
1
- {"version":3,"file":"BasePaginate.js","sourceRoot":"","sources":["../../../../ts/types/Interface/api/BasePaginate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAc/C,MAAM,OAAO,qBAAqB;CAYjC;AAPC;IAJC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,UAAU,EAAE;;mDACA;AAMb;IAJC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,UAAU,EAAE;;oDACC","sourcesContent":["import { IsInt, IsOptional, Min } from 'class-validator';\nimport { ApiPropertyOptional } from '../../..';\n\nexport interface BasePaginate<T> {\n maxPages: number;\n currentPage: number;\n totalItems: number;\n data: T[];\n}\n\nexport interface QueryPaginate {\n page: number,\n limit: number,\n}\n\nexport class OptionalQueryPaginate implements QueryPaginate {\n @ApiPropertyOptional()\n @IsInt()\n @Min(1)\n @IsOptional()\n page: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @Min(1)\n @IsOptional()\n limit: number;\n}\n"]}
1
+ {"version":3,"file":"BasePaginate.js","sourceRoot":"","sources":["../../../../ts/types/Interface/api/BasePaginate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAqB/C,MAAM,OAAO,qBAAqB;CAYjC;AAPC;IAJC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,UAAU,EAAE;;mDACA;AAMb;IAJC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,UAAU,EAAE;;oDACC","sourcesContent":["import { IsInt, IsOptional, Min } from 'class-validator';\nimport { ApiPropertyOptional } from '../../..';\n\nexport interface BasePaginate<T> {\n maxPages: number;\n currentPage: number;\n totalItems: number;\n data: T[];\n}\n\nexport interface BasePaginateInterface<T> {\n maxPages: number;\n currentPage: number;\n totalItems: number;\n data: T;\n}\n\nexport interface QueryPaginate {\n page: number,\n limit: number,\n}\n\nexport class OptionalQueryPaginate implements QueryPaginate {\n @ApiPropertyOptional()\n @IsInt()\n @Min(1)\n @IsOptional()\n page: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @Min(1)\n @IsOptional()\n limit: number;\n}\n"]}
@@ -1,4 +1,5 @@
1
1
  import { IAccountingTransaction, IImmobilization } from '../../..';
2
+ import { IThirdParty } from '../../models/IThirdParty';
2
3
  export declare type FormImmobilization = IImmobilization;
3
4
  export declare class FormEntry {
4
5
  vat?: number | {
@@ -35,5 +36,6 @@ export interface ReadFormattedAccountingTransaction extends IAccountingTransacti
35
36
  credit: number;
36
37
  autoAnnotateWithML: boolean;
37
38
  entries?: AnnotateAccountingTransaction;
39
+ thirdPartySuggestions?: IThirdParty[];
38
40
  }
39
41
  //# sourceMappingURL=AnnotateAccountingTransaction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AnnotateAccountingTransaction.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAInE,oBAAY,kBAAkB,GAAG,eAAe,CAAC;AAEjD,qBAAa,SAAS;IACpB,GAAG,CAAC,EAAG,MAAM,GAAG;QACd,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IACJ,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAGD,oBAAY,6BAA6B,GAAG,SAAS,EAAE,CAAC;AAExD,qBAAa,2BAA2B;IAGtC,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC;IAEtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,SAAS,CAAC,EAAE,IAAI,CAAC;IAEjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAGD,MAAM,WAAW,kCAAmC,SAAQ,sBAAsB;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,6BAA6B,CAAC;CACzC"}
1
+ {"version":3,"file":"AnnotateAccountingTransaction.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,oBAAY,kBAAkB,GAAG,eAAe,CAAC;AAEjD,qBAAa,SAAS;IACpB,GAAG,CAAC,EAAG,MAAM,GAAG;QACd,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IACJ,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAGD,oBAAY,6BAA6B,GAAG,SAAS,EAAE,CAAC;AAExD,qBAAa,2BAA2B;IAGtC,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC;IAEtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,SAAS,CAAC,EAAE,IAAI,CAAC;IAEjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAGD,MAAM,WAAW,kCAAmC,SAAQ,sBAAsB;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,6BAA6B,CAAC;IACxC,qBAAqB,CAAC,EAAE,WAAW,EAAE,CAAC;CACvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AnnotateAccountingTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAI3E,MAAM,OAAO,SAAS;CAcrB;AAKD,MAAM,OAAO,2BAA2B;CAuBvC;AApBC;IAFC,mBAAmB,EAAE;;4DAEA;AAEtB;IADC,mBAAmB,EAAE;;4DACL;AAEjB;IADC,mBAAmB,EAAE;;qEACI;AAE1B;IADC,mBAAmB,EAAE;;6DACC;AAKvB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;4DACK;AAElB;IADC,mBAAmB,EAAE;8BACV,IAAI;8DAAC;AAEjB;IADC,mBAAmB,EAAE;;kEACC;AAEvB;IADC,mBAAmB,EAAE;;yDACR;AAEd;IADC,mBAAmB,EAAE;;yEACQ","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { IAccountingTransaction, IImmobilization } from '../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport type FormImmobilization = IImmobilization;\n\nexport class FormEntry {\n vat? : number | {\n idVat: number;\n amount: number;\n }[];\n isVatIntracom?: boolean;\n isVatImportation?: boolean;\n idAccount?: number;\n idThirdParty?: number;\n amountAllTaxIncludedPurchase?: number;\n designation?: string;\n amountAllTaxIncluded?: number;\n immobilization?: FormImmobilization; // pour la création d'une immo\n idImmobilization?: number; //\n}\n\n// Permet d'annoté une transaction bancaire Split, Marge, Intracom, Immo etc...\nexport type AnnotateAccountingTransaction = FormEntry[];\n\nexport class UpdateAccountingTransaction {\n @ApiPropertyOptional()\n // @Type(() => FormEntry)\n entries?: FormEntry[];\n @ApiPropertyOptional()\n comment?: string;\n @ApiPropertyOptional()\n idSocietyPartner?: number;\n @ApiPropertyOptional()\n exported?: Date | null;\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isAsset?: boolean;\n @ApiPropertyOptional()\n dateValue?: Date;\n @ApiPropertyOptional()\n invoiceNumber?: string;\n @ApiPropertyOptional()\n name?: string;\n @ApiPropertyOptional()\n amountAllTaxIncluded?: number;\n}\n\n// Permet d'afficher une transaction bancaire avec les informations de base ainsi que les informations d'annotations\nexport interface ReadFormattedAccountingTransaction extends IAccountingTransaction {\n amount: number;\n comment: string | null;\n designation: string | null;\n debit: number;\n credit: number;\n autoAnnotateWithML: boolean;\n entries?: AnnotateAccountingTransaction;\n}\n"]}
1
+ {"version":3,"file":"AnnotateAccountingTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAI3E,MAAM,OAAO,SAAS;CAcrB;AAKD,MAAM,OAAO,2BAA2B;CAuBvC;AApBC;IAFC,mBAAmB,EAAE;;4DAEA;AAEtB;IADC,mBAAmB,EAAE;;4DACL;AAEjB;IADC,mBAAmB,EAAE;;qEACI;AAE1B;IADC,mBAAmB,EAAE;;6DACC;AAKvB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;4DACK;AAElB;IADC,mBAAmB,EAAE;8BACV,IAAI;8DAAC;AAEjB;IADC,mBAAmB,EAAE;;kEACC;AAEvB;IADC,mBAAmB,EAAE;;yDACR;AAEd;IADC,mBAAmB,EAAE;;yEACQ","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { IAccountingTransaction, IImmobilization } from '../../..';\nimport { IThirdParty } from '../../models/IThirdParty';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport type FormImmobilization = IImmobilization;\n\nexport class FormEntry {\n vat? : number | {\n idVat: number;\n amount: number;\n }[];\n isVatIntracom?: boolean;\n isVatImportation?: boolean;\n idAccount?: number;\n idThirdParty?: number;\n amountAllTaxIncludedPurchase?: number;\n designation?: string;\n amountAllTaxIncluded?: number;\n immobilization?: FormImmobilization; // pour la création d'une immo\n idImmobilization?: number; //\n}\n\n// Permet d'annoté une transaction bancaire Split, Marge, Intracom, Immo etc...\nexport type AnnotateAccountingTransaction = FormEntry[];\n\nexport class UpdateAccountingTransaction {\n @ApiPropertyOptional()\n // @Type(() => FormEntry)\n entries?: FormEntry[];\n @ApiPropertyOptional()\n comment?: string;\n @ApiPropertyOptional()\n idSocietyPartner?: number;\n @ApiPropertyOptional()\n exported?: Date | null;\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isAsset?: boolean;\n @ApiPropertyOptional()\n dateValue?: Date;\n @ApiPropertyOptional()\n invoiceNumber?: string;\n @ApiPropertyOptional()\n name?: string;\n @ApiPropertyOptional()\n amountAllTaxIncluded?: number;\n}\n\n// Permet d'afficher une transaction bancaire avec les informations de base ainsi que les informations d'annotations\nexport interface ReadFormattedAccountingTransaction extends IAccountingTransaction {\n amount: number;\n comment: string | null;\n designation: string | null;\n debit: number;\n credit: number;\n autoAnnotateWithML: boolean;\n entries?: AnnotateAccountingTransaction;\n thirdPartySuggestions?: IThirdParty[];\n}\n"]}
@@ -1,5 +1,9 @@
1
1
  export declare class QueryGeneralLedger {
2
2
  dateStart: string;
3
3
  dateEnd: string;
4
+ limit?: number;
5
+ page?: number;
6
+ descending?: boolean;
7
+ search?: string;
4
8
  }
5
9
  //# sourceMappingURL=QueryGeneralLedger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedger.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"names":[],"mappings":"AAEA,qBAAa,kBAAkB;IAE7B,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"QueryGeneralLedger.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"names":[],"mappings":"AAMA,qBAAa,kBAAkB;IAE7B,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;IAMhB,KAAK,CAAC,EAAE,MAAM,CAAC;IAMf,IAAI,CAAC,EAAE,MAAM,CAAC;IAMd,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -7,7 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { ApiProperty } from '../../../../utils';
10
+ import { IsBoolean, IsInt, IsOptional, Min, } from 'class-validator';
11
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
11
13
  export class QueryGeneralLedger {
12
14
  }
13
15
  __decorate([
@@ -18,4 +20,29 @@ __decorate([
18
20
  ApiProperty(),
19
21
  __metadata("design:type", String)
20
22
  ], QueryGeneralLedger.prototype, "dateEnd", void 0);
23
+ __decorate([
24
+ ApiPropertyOptional(),
25
+ IsInt(),
26
+ Min(1),
27
+ IsOptional(),
28
+ __metadata("design:type", Number)
29
+ ], QueryGeneralLedger.prototype, "limit", void 0);
30
+ __decorate([
31
+ ApiPropertyOptional(),
32
+ IsInt(),
33
+ Min(1),
34
+ IsOptional(),
35
+ __metadata("design:type", Number)
36
+ ], QueryGeneralLedger.prototype, "page", void 0);
37
+ __decorate([
38
+ ApiPropertyOptional({ default: true }),
39
+ IsBoolean(),
40
+ ToBoolean(),
41
+ IsOptional(),
42
+ __metadata("design:type", Boolean)
43
+ ], QueryGeneralLedger.prototype, "descending", void 0);
44
+ __decorate([
45
+ ApiPropertyOptional(),
46
+ __metadata("design:type", String)
47
+ ], QueryGeneralLedger.prototype, "search", void 0);
21
48
  //# sourceMappingURL=QueryGeneralLedger.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryGeneralLedger.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,kBAAkB;CAM9B;AAJC;IADC,WAAW,EAAE;;qDACI;AAGlB;IADC,WAAW,EAAE;;mDACE","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryGeneralLedger {\n @ApiProperty()\n dateStart: string;\n\n @ApiProperty()\n dateEnd: string;\n}"]}
1
+ {"version":3,"file":"QueryGeneralLedger.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,GAClC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,kBAAkB;CA2B9B;AAzBC;IADC,WAAW,EAAE;;qDACI;AAGlB;IADC,WAAW,EAAE;;mDACE;AAMhB;IAJC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,UAAU,EAAE;;iDACE;AAMf;IAJC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,UAAU,EAAE;;gDACC;AAMd;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;sDACQ;AAGrB;IADC,mBAAmB,EAAE;;kDACN","sourcesContent":["import {\n IsBoolean, IsInt, IsOptional, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryGeneralLedger {\n @ApiProperty()\n dateStart: string;\n\n @ApiProperty()\n dateEnd: string;\n\n @ApiPropertyOptional()\n @IsInt()\n @Min(1)\n @IsOptional()\n limit?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @Min(1)\n @IsOptional()\n page?: number;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n search?: string;\n}"]}
@@ -1,6 +1,7 @@
1
1
  import { VatRegime, ToDoOrDone } from '../../..';
2
2
  import { ComptaType } from '../../../Enum/ComptaType';
3
3
  import { TaxSystem } from '../../../Enum/TaxSystem';
4
+ import { Supervision } from '../../../Enum/Supervision';
4
5
  import { BalanceSheetState } from '../../../Enum/BalanceSheet';
5
6
  export declare class QueryTaxDeadline {
6
7
  idUser: number | number[];
@@ -16,6 +17,7 @@ export declare class QueryTaxDeadline {
16
17
  additionalMonths?: number;
17
18
  minimalEndDate?: string;
18
19
  maximalEndDate?: string;
20
+ idSupervisionState?: Supervision;
19
21
  idTaxStatus?: ToDoOrDone;
20
22
  }
21
23
  export declare class QueryTaxDeadlineStatistics {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryTaxDeadline.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,qBAAa,gBAAgB;IAE3B,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAG1B,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,WAAW,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAGtC,YAAY,CAAC,EAAE,UAAU,GAAG,UAAU,EAAE,CAAC;IAGzC,WAAW,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAGtC,mBAAmB,CAAC,EAAE,iBAAiB,GAAG,iBAAiB,EAAE,CAAC;IAG9D,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAGhC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;I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, ToDoOrDone } from '../../..';
13
13
  import { ComptaType } from '../../../Enum/ComptaType';
14
14
  import { TaxSystem } from '../../../Enum/TaxSystem';
15
+ import { Supervision } from '../../../Enum/Supervision';
15
16
  import { BalanceSheetState } from '../../../Enum/BalanceSheet';
16
17
  export class QueryTaxDeadline {
17
18
  }
@@ -67,6 +68,10 @@ __decorate([
67
68
  ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' }),
68
69
  __metadata("design:type", String)
69
70
  ], QueryTaxDeadline.prototype, "maximalEndDate", void 0);
71
+ __decorate([
72
+ ApiPropertyOptional({ description: 'État de la supervision', enum: Supervision }),
73
+ __metadata("design:type", Number)
74
+ ], QueryTaxDeadline.prototype, "idSupervisionState", void 0);
70
75
  __decorate([
71
76
  ApiPropertyOptional({ description: 'Statuts de l\'IS/IR' }),
72
77
  IsOptional(),
@@ -1 +1 @@
1
- {"version":3,"file":"QueryTaxDeadline.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,MAAM,OAAO,gBAAgB;CA4C5B;AA1CC;IADC,WAAW,CAAC,EAAE,WAAW,EAAE,8BAA8B,EAAE,CAAC;;gDACnC;AAG1B;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,0CAA0C,EAAE,CAAC;;yDACxD;AAGzB;IADC,mBAAmB,CAAC,EAAE,WAA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CAAC;;mEACxD;AAGzB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;+DACjC;AAGtC;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,sBAAsB,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;;gEACtC;AAGzC;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,mBAAmB,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;+DACrC;AAGtC;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;;uEACjB;AAG9D;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,gCAAgC,EAAE,CAAC;;+DAClD;AAGrB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,gCAAgC,EAAE,CAAC;;wDAC9C;AAGzB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,iCAAiC,EAAE,CAAC;;0DACxD;AAGhB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,8FAA8F,EAAE,CAAC;;oEAC3G","sourcesContent":["import { IsOptional, IsEnum } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { VatRegime, ToDoOrDone } from '../../..';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { BalanceSheetState } from '../../../Enum/BalanceSheet';\n\nexport class QueryTaxDeadline {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM)' })\n closingDate?: string | string[];\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: number;\n\n @ApiPropertyOptional({ description: 'Date de clôture supérieure ou égale à (format YYYY-MM-DD)' })\n minimalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' })\n maximalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'Statuts de l\\'IS/IR' })\n @IsOptional()\n @IsEnum(ToDoOrDone)\n idTaxStatus?: ToDoOrDone;\n}\n\nexport class QueryTaxDeadlineStatistics {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM-DD)' })\n closingDate?: string;\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: string;\n}"]}
1
+ {"version":3,"file":"QueryTaxDeadline.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,MAAM,OAAO,gBAAgB;CA+C5B;AA7CC;IADC,WAAW,CAAC,EAAE,WAAW,EAAE,8BAA8B,EAAE,CAAC;;gDACnC;AAG1B;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,0CAA0C,EAAE,CAAC;;yDACxD;AAGzB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,0CAA0C,EAAE,CAAC;;yDACxD;AAGzB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;qDACjC;AAGtC;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,sBAAsB,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;;sDACtC;AAGzC;IADC,mB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,EAAE,sBAAsB,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;;gEACtC;AAGzC;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,mBAAmB,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;+DACrC;AAGtC;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;;uEACjB;AAG9D;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,gCAAgC,EAAE,CAAC;;+DAClD;AAGrB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,gCAAgC,EAAE,CAAC;;wDAC9C;AAGzB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,iCAAiC,EAAE,CAAC;;0DACxD;AAGhB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,8FAA8F,EAAE,CAAC;;oEAC3G","sourcesContent":["import { IsOptional, IsEnum } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { VatRegime, ToDoOrDone } from '../../..';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { BalanceSheetState } from '../../../Enum/BalanceSheet';\n\nexport class QueryTaxDeadline {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM)' })\n closingDate?: string | string[];\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: number;\n\n @ApiPropertyOptional({ description: 'Date de clôture supérieure ou égale à (format YYYY-MM-DD)' })\n minimalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' })\n maximalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'État de la supervision', enum: Supervision })\n idSupervisionState?: Supervision;\n\n @ApiPropertyOptional({ description: 'Statuts de l\\'IS/IR' })\n @IsOptional()\n @IsEnum(ToDoOrDone)\n idTaxStatus?: ToDoOrDone;\n}\n\nexport class QueryTaxDeadlineStatistics {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM-DD)' })\n closingDate?: string;\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: string;\n}"]}
@@ -1,7 +1,7 @@
1
1
  export declare class QueryUnexport {
2
2
  startDate: string;
3
3
  endDate: string;
4
- idBankAccount: Array<number>;
5
- idAccountingJournal: number;
4
+ idBankAccount?: Array<number>;
5
+ idAccountingJournal?: number;
6
6
  }
7
7
  //# sourceMappingURL=QueryUnexport.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryUnexport.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/transactions/QueryUnexport.ts"],"names":[],"mappings":"AAOA,qBAAa,aAAa;IAGxB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAKhB,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAM7B,mBAAmB,EAAE,MAAM,CAAC;CAC7B"}
1
+ {"version":3,"file":"QueryUnexport.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/transactions/QueryUnexport.ts"],"names":[],"mappings":"AAOA,qBAAa,aAAa;IAGxB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAKhB,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAM9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryUnexport.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/transactions/QueryUnexport.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,GACpC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAEnG,MAAM,OAAO,aAAa;CAmBzB;AAhBC;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;gDACN;AAIlB;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;8CACR;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;8BACK,KAAK;oDAAS;AAM7B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,IAAI,CAAC,CAAC,iBAAiB,CAAC,EAAE,EAAE,iBAAiB,CAAC,EAAE,CAAC,CAAC;;0DACvB","sourcesContent":["import {\n IsArray, IsIn, IsNumber, IsOptional,\n} from 'class-validator';\nimport { AccountingJournal } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\n\nexport class QueryUnexport {\n @ApiProperty()\n @IsFormattedDateString()\n startDate: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idBankAccount: Array<number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @IsIn([AccountingJournal.AC, AccountingJournal.VE])\n idAccountingJournal: number;\n}\n"]}
1
+ {"version":3,"file":"QueryUnexport.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/transactions/QueryUnexport.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,GACpC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAEnG,MAAM,OAAO,aAAa;CAmBzB;AAhBC;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;gDACN;AAIlB;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;8CACR;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;8BACM,KAAK;oDAAS;AAM9B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,IAAI,CAAC,CAAC,iBAAiB,CAAC,EAAE,EAAE,iBAAiB,CAAC,EAAE,CAAC,CAAC;;0DACtB","sourcesContent":["import {\n IsArray, IsIn, IsNumber, IsOptional,\n} from 'class-validator';\nimport { AccountingJournal } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\n\nexport class QueryUnexport {\n @ApiProperty()\n @IsFormattedDateString()\n startDate: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idBankAccount?: Array<number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @IsIn([AccountingJournal.AC, AccountingJournal.VE])\n idAccountingJournal?: number;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryVatDeclaration.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":"AAMA,qBAAa,mBAAmB;IAI9B,eAAe,CAAC,EAAE,IAAI,CAAC;IAKvB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAE;IAI3B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAE;CAC1B"}
1
+ {"version":3,"file":"QueryVatDeclaration.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":"AAOA,qBAAa,mBAAmB;IAI9B,eAAe,CAAC,EAAE,IAAI,CAAC;IAKvB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAE;IAI3B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAE;CAC1B"}
@@ -9,6 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  };
10
10
  import { IsBoolean, IsDate, IsInt, IsOptional, IsString, } from 'class-validator';
11
11
  import { ApiPropertyOptional } from '../../../..';
12
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
12
13
  export class QueryVatDeclaration {
13
14
  }
14
15
  __decorate([
@@ -33,6 +34,7 @@ __decorate([
33
34
  ApiPropertyOptional(),
34
35
  IsBoolean(),
35
36
  IsOptional(),
37
+ ToBoolean(),
36
38
  __metadata("design:type", Boolean)
37
39
  ], QueryVatDeclaration.prototype, "isComplete", void 0);
38
40
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"QueryVatDeclaration.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,GACpC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,OAAO,mBAAmB;CAkC/B;AA9BC;IAHC,mBAAmB,EAAE;IACrB,MAAM,EAAE;IACR,UAAU,EAAE;8BACK,IAAI;4DAAC;AAKvB;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;uDACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;sDACM;AAKnB;IAHC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,UAAU,EAAE;;uDACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;mDACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACc;AAI3B;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;oDACY","sourcesContent":["import {\n IsBoolean,\n IsDate, IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../..';\n\nexport class QueryVatDeclaration {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n declarationDate?: Date;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n isComplete?: boolean;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n idDeposit?: string | null ;\n\n @ApiPropertyOptional()\n @IsOptional()\n payload?: string | null ;\n}"]}
1
+ {"version":3,"file":"QueryVatDeclaration.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,GACpC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,mBAAmB;CAmC/B;AA/BC;IAHC,mBAAmB,EAAE;IACrB,MAAM,EAAE;IACR,UAAU,EAAE;8BACK,IAAI;4DAAC;AAKvB;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;uDACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;sDACM;AAMnB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,UAAU,EAAE;IACZ,SAAS,EAAE;;uDACS;AAKrB;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;mDACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACc;AAI3B;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;oDACY","sourcesContent":["import {\n IsBoolean,\n IsDate, IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryVatDeclaration {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n declarationDate?: Date;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n @ToBoolean()\n isComplete?: boolean;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n idDeposit?: string | null ;\n\n @ApiPropertyOptional()\n @IsOptional()\n payload?: string | null ;\n}"]}
@@ -0,0 +1,25 @@
1
+ import { AddressObject, HeaderLines } from 'mailparser';
2
+ export declare class CreateMailFromLambda {
3
+ attachments: {
4
+ [key: string]: any;
5
+ }[];
6
+ headers: {
7
+ [key: string]: any;
8
+ };
9
+ headerLines: HeaderLines;
10
+ html: string | false;
11
+ text?: string;
12
+ textAsHtml?: string;
13
+ subject?: string;
14
+ references?: string[] | string;
15
+ date?: Date;
16
+ to?: AddressObject | AddressObject[];
17
+ from?: AddressObject;
18
+ cc?: AddressObject | AddressObject[];
19
+ bcc?: AddressObject | AddressObject[];
20
+ replyTo?: AddressObject;
21
+ messageId?: string;
22
+ inReplyTo?: string;
23
+ priority?: 'normal' | 'low' | 'high';
24
+ }
25
+ //# sourceMappingURL=CreateMailFromLambda.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateMailFromLambda.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/CreateMailFromLambda.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,aAAa,EAAE,WAAW,EAC3B,MAAM,YAAY,CAAC;AAGpB,qBAAa,oBAAoB;IAG/B,WAAW,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,EAAE,CAAC;IAKtC,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAKhC,WAAW,EAAE,WAAW,CAAC;IAGzB,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC;IAKrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAK/B,IAAI,CAAC,EAAE,IAAI,CAAC;IAIZ,EAAE,CAAC,EAAE,aAAa,GAAG,aAAa,EAAE,CAAC;IAKrC,IAAI,CAAC,EAAE,aAAa,CAAC;IAIrB,EAAE,CAAC,EAAE,aAAa,GAAG,aAAa,EAAE,CAAC;IAIrC,GAAG,CAAC,EAAE,aAAa,GAAG,aAAa,EAAE,CAAC;IAKtC,OAAO,CAAC,EAAE,aAAa,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;CACtC"}
@@ -0,0 +1,109 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { IsArray, IsDate, IsIn, IsNotEmpty, IsObject, IsOptional, IsString, } from 'class-validator';
11
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
+ export class CreateMailFromLambda {
13
+ }
14
+ __decorate([
15
+ ApiProperty(),
16
+ IsArray(),
17
+ __metadata("design:type", Array)
18
+ ], CreateMailFromLambda.prototype, "attachments", void 0);
19
+ __decorate([
20
+ ApiProperty(),
21
+ IsObject(),
22
+ IsNotEmpty(),
23
+ __metadata("design:type", Object)
24
+ ], CreateMailFromLambda.prototype, "headers", void 0);
25
+ __decorate([
26
+ ApiProperty(),
27
+ IsArray(),
28
+ IsNotEmpty(),
29
+ __metadata("design:type", Array)
30
+ ], CreateMailFromLambda.prototype, "headerLines", void 0);
31
+ __decorate([
32
+ ApiProperty(),
33
+ __metadata("design:type", Object)
34
+ ], CreateMailFromLambda.prototype, "html", void 0);
35
+ __decorate([
36
+ ApiPropertyOptional(),
37
+ IsString(),
38
+ IsOptional(),
39
+ __metadata("design:type", String)
40
+ ], CreateMailFromLambda.prototype, "text", void 0);
41
+ __decorate([
42
+ ApiPropertyOptional(),
43
+ IsString(),
44
+ IsOptional(),
45
+ __metadata("design:type", String)
46
+ ], CreateMailFromLambda.prototype, "textAsHtml", void 0);
47
+ __decorate([
48
+ ApiPropertyOptional(),
49
+ IsString(),
50
+ IsOptional(),
51
+ __metadata("design:type", String)
52
+ ], CreateMailFromLambda.prototype, "subject", void 0);
53
+ __decorate([
54
+ ApiPropertyOptional(),
55
+ IsOptional(),
56
+ __metadata("design:type", Object)
57
+ ], CreateMailFromLambda.prototype, "references", void 0);
58
+ __decorate([
59
+ ApiPropertyOptional(),
60
+ IsOptional(),
61
+ IsDate(),
62
+ __metadata("design:type", Date)
63
+ ], CreateMailFromLambda.prototype, "date", void 0);
64
+ __decorate([
65
+ ApiPropertyOptional(),
66
+ IsOptional(),
67
+ __metadata("design:type", Object)
68
+ ], CreateMailFromLambda.prototype, "to", void 0);
69
+ __decorate([
70
+ ApiPropertyOptional(),
71
+ IsObject(),
72
+ IsOptional(),
73
+ __metadata("design:type", Object)
74
+ ], CreateMailFromLambda.prototype, "from", void 0);
75
+ __decorate([
76
+ ApiPropertyOptional(),
77
+ IsOptional(),
78
+ __metadata("design:type", Object)
79
+ ], CreateMailFromLambda.prototype, "cc", void 0);
80
+ __decorate([
81
+ ApiPropertyOptional(),
82
+ IsOptional(),
83
+ __metadata("design:type", Object)
84
+ ], CreateMailFromLambda.prototype, "bcc", void 0);
85
+ __decorate([
86
+ ApiPropertyOptional(),
87
+ IsObject(),
88
+ IsOptional(),
89
+ __metadata("design:type", Object)
90
+ ], CreateMailFromLambda.prototype, "replyTo", void 0);
91
+ __decorate([
92
+ ApiPropertyOptional(),
93
+ IsString(),
94
+ IsOptional(),
95
+ __metadata("design:type", String)
96
+ ], CreateMailFromLambda.prototype, "messageId", void 0);
97
+ __decorate([
98
+ ApiPropertyOptional(),
99
+ IsString(),
100
+ IsOptional(),
101
+ __metadata("design:type", String)
102
+ ], CreateMailFromLambda.prototype, "inReplyTo", void 0);
103
+ __decorate([
104
+ ApiPropertyOptional(),
105
+ IsOptional(),
106
+ IsIn(['normal', 'low', 'high']),
107
+ __metadata("design:type", String)
108
+ ], CreateMailFromLambda.prototype, "priority", void 0);
109
+ //# sourceMappingURL=CreateMailFromLambda.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateMailFromLambda.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/CreateMailFromLambda.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAClE,MAAM,iBAAiB,CAAC;AAIzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,oBAAoB;CA8EhC;AA3EC;IAFC,WAAW,EAAE;IACb,OAAO,EAAE;;yDAC4B;AAKtC;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACmB;AAKhC;IAHC,WAAW,EAAE;IACb,OAAO,EAAE;IACT,UAAU,EAAE;;yDACY;AAGzB;IADC,WAAW,EAAE;;kDACO;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;kDACC;AAKd;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACI;AAIjB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;wDACkB;AAK/B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACF,IAAI;kDAAC;AAIZ;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;gDACwB;AAKrC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;kDACQ;AAIrB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;gDACwB;AAIrC;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;iDACyB;AAKtC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACW;AAKxB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACM;AAKnB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACM;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;;sDACK","sourcesContent":["import {\n IsArray, IsDate, IsIn, IsNotEmpty, IsObject, IsOptional, IsString,\n} from 'class-validator';\nimport {\n AddressObject, HeaderLines,\n} from 'mailparser';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateMailFromLambda {\n @ApiProperty()\n @IsArray()\n attachments: { [key: string]: any }[];\n\n @ApiProperty()\n @IsObject()\n @IsNotEmpty()\n headers: { [key: string]: any };\n\n @ApiProperty()\n @IsArray()\n @IsNotEmpty()\n headerLines: HeaderLines;\n\n @ApiProperty()\n html: string | false;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n text?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n textAsHtml?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n references?: string[] | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n to?: AddressObject | AddressObject[];\n\n @ApiPropertyOptional()\n @IsObject()\n @IsOptional()\n from?: AddressObject;\n\n @ApiPropertyOptional()\n @IsOptional()\n cc?: AddressObject | AddressObject[];\n\n @ApiPropertyOptional()\n @IsOptional()\n bcc?: AddressObject | AddressObject[];\n\n @ApiPropertyOptional()\n @IsObject()\n @IsOptional()\n replyTo?: AddressObject;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n messageId?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n inReplyTo?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsIn(['normal', 'low', 'high'])\n priority?: 'normal' | 'low' | 'high';\n}\n"]}
@@ -7,4 +7,10 @@ export declare class PostAttachmentEmailFromLambdaParams {
7
7
  export declare class CreateAttachmentOldWebmail extends PostAttachmentEmailFromLambdaParams {
8
8
  idMail: number;
9
9
  }
10
+ export declare class CreateAttachmentParams extends PostAttachmentEmailFromLambdaParams {
11
+ idMail: number;
12
+ }
13
+ export declare class MigrateParams {
14
+ limit: number;
15
+ }
10
16
  //# sourceMappingURL=PostAttachmentEmailFromLambdaParams.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PostAttachmentEmailFromLambdaParams.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":"AAKA,qBAAa,mCAAmC;IAG9C,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAKb,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,0BAA2B,SAAQ,mCAAmC;IAGjF,MAAM,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"PostAttachmentEmailFromLambdaParams.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":"AAKA,qBAAa,mCAAmC;IAG9C,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAKb,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAGD,qBAAa,0BAA2B,SAAQ,mCAAmC;IAGjF,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,qBAAa,sBAAuB,SAAQ,mCAAmC;IAG7E,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,qBAAa,aAAa;IAGxB,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -7,7 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsMimeType, IsNumber, IsOptional, IsString, } from 'class-validator';
10
+ import {
11
+ /* IsMimeType, */ IsNumber, IsOptional, IsString, } from 'class-validator';
11
12
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
13
  export class PostAttachmentEmailFromLambdaParams {
13
14
  }
@@ -19,7 +20,6 @@ __decorate([
19
20
  __decorate([
20
21
  ApiProperty(),
21
22
  IsString(),
22
- IsMimeType(),
23
23
  __metadata("design:type", String)
24
24
  ], PostAttachmentEmailFromLambdaParams.prototype, "mime", void 0);
25
25
  __decorate([
@@ -33,6 +33,7 @@ __decorate([
33
33
  IsString(),
34
34
  __metadata("design:type", String)
35
35
  ], PostAttachmentEmailFromLambdaParams.prototype, "filename", void 0);
36
+ // TODO: à supprimer
36
37
  export class CreateAttachmentOldWebmail extends PostAttachmentEmailFromLambdaParams {
37
38
  }
38
39
  __decorate([
@@ -40,4 +41,18 @@ __decorate([
40
41
  IsNumber(),
41
42
  __metadata("design:type", Number)
42
43
  ], CreateAttachmentOldWebmail.prototype, "idMail", void 0);
44
+ export class CreateAttachmentParams extends PostAttachmentEmailFromLambdaParams {
45
+ }
46
+ __decorate([
47
+ ApiProperty(),
48
+ IsNumber(),
49
+ __metadata("design:type", Number)
50
+ ], CreateAttachmentParams.prototype, "idMail", void 0);
51
+ export class MigrateParams {
52
+ }
53
+ __decorate([
54
+ ApiProperty({ default: 50 }),
55
+ IsNumber(),
56
+ __metadata("design:type", Number)
57
+ ], MigrateParams.prototype, "limit", void 0);
43
58
  //# sourceMappingURL=PostAttachmentEmailFromLambdaParams.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAC3C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,mCAAmC;CAkB/C;AAfC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;kEACG;AAKd;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACA;AAKb;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;sEACQ;AAInB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;qEACM;AAGnB,MAAM,OAAO,0BAA2B,SAAQ,mCAAmC;CAIlF;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;0DACI","sourcesContent":["import {\n IsMimeType, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsString()\n @IsMimeType()\n mime: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiProperty()\n @IsString()\n filename: string;\n}\n\nexport class CreateAttachmentOldWebmail extends PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n}"]}
1
+ {"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO;AACL,kBAAkB,CAAA,QAAQ,EAAE,UAAU,EAAE,QAAQ,GACjD,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,mCAAmC;CAkB/C;AAfC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;kEACG;AAKd;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;;iEAEE;AAKb;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;sEACQ;AAInB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;qEACM;AAGnB,oBAAoB;AACpB,MAAM,OAAO,0BAA2B,SAAQ,mCAAmC;CAIlF;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;0DACI;AAEjB,MAAM,OAAO,sBAAuB,SAAQ,mCAAmC;CAI9E;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;sDACI;AAEjB,MAAM,OAAO,aAAa;CAIzB;AADC;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;4CACG","sourcesContent":["import {\n /* IsMimeType, */IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsString()\n // @IsMimeType() -> désactivé car pose pb avec certaines PJ ayant un mimetype comme 'image/*'\n mime: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiProperty()\n @IsString()\n filename: string;\n}\n\n// TODO: à supprimer\nexport class CreateAttachmentOldWebmail extends PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n}\nexport class CreateAttachmentParams extends PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n}\nexport class MigrateParams {\n @ApiProperty({ default: 50 })\n @IsNumber()\n limit: number;\n}"]}
@@ -0,0 +1,49 @@
1
+ import { ISociety } from './ISociety';
2
+ import { IUser } from './IUser';
3
+ import { IExercice } from './IExercice';
4
+ import { IRole } from './IRole';
5
+ import { IMailContent } from './IMailContent';
6
+ export interface IMail {
7
+ id?: number;
8
+ messageId?: string | null;
9
+ date: Date;
10
+ subject?: string | null;
11
+ fromName?: string | null;
12
+ fromAddress?: string;
13
+ to?: string;
14
+ cc?: string | null;
15
+ bcc?: string | null;
16
+ replyTo?: string | null;
17
+ inReplyTo?: string | null;
18
+ listReferences?: string | null;
19
+ spamScore?: number;
20
+ textMini?: string | null;
21
+ isSent: boolean;
22
+ isRead?: boolean;
23
+ isDraft?: boolean;
24
+ isImportant?: boolean;
25
+ isFollowed?: boolean;
26
+ idUser?: number;
27
+ idUserWhoAnswered?: number;
28
+ idUserWhoFlagged?: number;
29
+ idRole?: number | null;
30
+ idExercice?: number | null;
31
+ idSociety?: number | null;
32
+ idFlag?: number;
33
+ idType?: number;
34
+ idMailAuto?: number;
35
+ receiptAcknowledgementAt?: Date | null;
36
+ processedAt?: Date | null;
37
+ responseAutoAt?: Date | null;
38
+ createdAt?: Date;
39
+ updatedAt?: Date;
40
+ deletedAt?: Date;
41
+ webmailFlagUser?: IUser;
42
+ webmailAnswerUser?: IUser;
43
+ webmailSender?: IUser;
44
+ role?: IRole;
45
+ exercice?: IExercice;
46
+ webmailSocieties?: ISociety;
47
+ mailContent?: IMailContent;
48
+ }
49
+ //# sourceMappingURL=IMail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMail.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IMail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,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,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wBAAwB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACvC,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;IAGjB,eAAe,CAAC,EAAE,KAAK,CAAC;IACxB,iBAAiB,CAAC,EAAE,KAAK,CAAC;IAC1B,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,WAAW,CAAC,EAAE,YAAY,CAAC;CAC5B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IMail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMail.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IMail.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IUser } from './IUser';\nimport { IExercice } from './IExercice';\nimport { IRole } from './IRole';\nimport { IMailContent } from './IMailContent';\n\n// mail\nexport interface IMail {\n id?: number;\n messageId?: string | null;\n date: Date;\n subject?: string | null;\n fromName?: string | null;\n fromAddress?: string;\n to?: string;\n cc?: string | null;\n bcc?: string | null;\n replyTo?: string | null;\n inReplyTo?: string | null;\n listReferences?: string | null;\n spamScore?: number;\n textMini?: string | null;\n isSent: boolean;\n isRead?: boolean;\n isDraft?: boolean;\n isImportant?: boolean;\n isFollowed?: boolean;\n idUser?: number;\n idUserWhoAnswered?: number;\n idUserWhoFlagged?: number;\n idRole?: number | null;\n idExercice?: number | null;\n idSociety?: number | null;\n idFlag?: number;\n idType?: number; // ENUM\n idMailAuto?: number;\n receiptAcknowledgementAt?: Date | null;\n processedAt?: Date | null;\n responseAutoAt?: Date | null;\n createdAt?: Date;\n updatedAt?: Date;\n deletedAt?: Date;\n\n // Associations\n webmailFlagUser?: IUser;\n webmailAnswerUser?: IUser;\n webmailSender?: IUser;\n role?: IRole;\n exercice?: IExercice;\n webmailSocieties?: ISociety;\n mailContent?: IMailContent;\n}\n"]}
@@ -0,0 +1,12 @@
1
+ import { IFile } from './IFile';
2
+ import { IMail } from './IMail';
3
+ export interface IMailAttachment {
4
+ id?: number;
5
+ idFile: number;
6
+ idMail: number;
7
+ createdAt?: Date | null;
8
+ updatedAt?: Date | null;
9
+ mail?: IMail;
10
+ file?: IFile;
11
+ }
12
+ //# sourceMappingURL=IMailAttachment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMailAttachment.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IMailAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IMailAttachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMailAttachment.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IMailAttachment.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile } from './IFile';\nimport { IMail } from './IMail';\n\n// mailAttachment\nexport interface IMailAttachment {\n id?: number;\n idFile: number;\n idMail: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n mail?: IMail;\n file?: IFile;\n}\n"]}
@@ -0,0 +1,9 @@
1
+ import { IMail } from './IMail';
2
+ export interface IMailContent {
3
+ id?: number;
4
+ textPlain?: string;
5
+ textHtml?: string;
6
+ idMail?: number;
7
+ mail?: IMail;
8
+ }
9
+ //# sourceMappingURL=IMailContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMailContent.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IMailContent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,YAAY;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IMailContent.js.map