@silexpert/core 1.3.108-1 → 1.3.109

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 (175) hide show
  1. package/dist/cjs/api/resources/CalendarEvent.d.ts +3 -2
  2. package/dist/cjs/api/resources/CalendarEvent.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/CalendarEvent.js +3 -0
  4. package/dist/cjs/api/resources/CalendarEvent.js.map +1 -1
  5. package/dist/cjs/api/resources/Payment.d.ts +3 -1
  6. package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Payment.js +3 -0
  8. package/dist/cjs/api/resources/Payment.js.map +1 -1
  9. package/dist/cjs/api/resources.d.ts +0 -2
  10. package/dist/cjs/api/resources.d.ts.map +1 -1
  11. package/dist/cjs/api/resources.js +0 -2
  12. package/dist/cjs/api/resources.js.map +1 -1
  13. package/dist/cjs/types/Enum/PrestationType.d.ts +6 -0
  14. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/PrestationType.js +8 -1
  16. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  17. package/dist/cjs/types/Form/FormConnector.d.ts +0 -1
  18. package/dist/cjs/types/Form/FormConnector.d.ts.map +1 -1
  19. package/dist/cjs/types/Form/FormConnector.js +0 -83
  20. package/dist/cjs/types/Form/FormConnector.js.map +1 -1
  21. package/dist/cjs/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts +6 -0
  22. package/dist/cjs/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts.map +1 -1
  23. package/dist/cjs/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -1
  24. package/dist/cjs/types/Interface/api/calendarEvent/query.d.ts +26 -0
  25. package/dist/cjs/types/Interface/api/calendarEvent/query.d.ts.map +1 -0
  26. package/dist/cjs/types/Interface/api/calendarEvent/query.js +110 -0
  27. package/dist/cjs/types/Interface/api/calendarEvent/query.js.map +1 -0
  28. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +4 -0
  29. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  30. package/dist/cjs/types/Interface/api/stripe/Create.js +13 -1
  31. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  32. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +1 -0
  33. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  34. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +6 -0
  35. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  36. package/dist/cjs/types/Interface/models/IConnector.d.ts +0 -1
  37. package/dist/cjs/types/Interface/models/IConnector.d.ts.map +1 -1
  38. package/dist/cjs/types/Interface/models/IConnector.js.map +1 -1
  39. package/dist/cjs/types/index.d.ts +1 -6
  40. package/dist/cjs/types/index.d.ts.map +1 -1
  41. package/dist/cjs/types/index.js +1 -6
  42. package/dist/cjs/types/index.js.map +1 -1
  43. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  44. package/dist/cjs/utils/prestation.js +7 -5
  45. package/dist/cjs/utils/prestation.js.map +1 -1
  46. package/dist/mjs/api/resources/CalendarEvent.d.ts +3 -2
  47. package/dist/mjs/api/resources/CalendarEvent.d.ts.map +1 -1
  48. package/dist/mjs/api/resources/CalendarEvent.js +3 -0
  49. package/dist/mjs/api/resources/CalendarEvent.js.map +1 -1
  50. package/dist/mjs/api/resources/Payment.d.ts +3 -1
  51. package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
  52. package/dist/mjs/api/resources/Payment.js +3 -0
  53. package/dist/mjs/api/resources/Payment.js.map +1 -1
  54. package/dist/mjs/api/resources.d.ts +0 -2
  55. package/dist/mjs/api/resources.d.ts.map +1 -1
  56. package/dist/mjs/api/resources.js +0 -2
  57. package/dist/mjs/api/resources.js.map +1 -1
  58. package/dist/mjs/types/Enum/PrestationType.d.ts +6 -0
  59. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  60. package/dist/mjs/types/Enum/PrestationType.js +7 -0
  61. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  62. package/dist/mjs/types/Form/FormConnector.d.ts +0 -1
  63. package/dist/mjs/types/Form/FormConnector.d.ts.map +1 -1
  64. package/dist/mjs/types/Form/FormConnector.js +11 -84
  65. package/dist/mjs/types/Form/FormConnector.js.map +1 -1
  66. package/dist/mjs/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts +6 -0
  67. package/dist/mjs/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts.map +1 -1
  68. package/dist/mjs/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -1
  69. package/dist/mjs/types/Interface/api/calendarEvent/query.d.ts +26 -0
  70. package/dist/mjs/types/Interface/api/calendarEvent/query.d.ts.map +1 -0
  71. package/dist/mjs/types/Interface/api/calendarEvent/query.js +117 -0
  72. package/dist/mjs/types/Interface/api/calendarEvent/query.js.map +1 -0
  73. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +4 -0
  74. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  75. package/dist/mjs/types/Interface/api/stripe/Create.js +13 -0
  76. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  77. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +1 -0
  78. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  79. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +8 -1
  80. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  81. package/dist/mjs/types/Interface/models/IConnector.d.ts +0 -1
  82. package/dist/mjs/types/Interface/models/IConnector.d.ts.map +1 -1
  83. package/dist/mjs/types/Interface/models/IConnector.js.map +1 -1
  84. package/dist/mjs/types/index.d.ts +1 -6
  85. package/dist/mjs/types/index.d.ts.map +1 -1
  86. package/dist/mjs/types/index.js +1 -6
  87. package/dist/mjs/types/index.js.map +1 -1
  88. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  89. package/dist/mjs/utils/prestation.js +7 -5
  90. package/dist/mjs/utils/prestation.js.map +1 -1
  91. package/package.json +1 -1
  92. package/ts/api/resources/CalendarEvent.ts +6 -1
  93. package/ts/api/resources/Payment.ts +6 -0
  94. package/ts/api/resources.ts +0 -2
  95. package/ts/types/Enum/PrestationType.ts +7 -0
  96. package/ts/types/Form/FormConnector.ts +11 -39
  97. package/ts/types/Interface/api/accountingIncome/ReadAccountingIncome.ts +3 -0
  98. package/ts/types/Interface/api/calendarEvent/query.ts +77 -0
  99. package/ts/types/Interface/api/stripe/Create.ts +9 -0
  100. package/ts/types/Interface/api/stripe/QueryStripe.ts +6 -1
  101. package/ts/types/Interface/models/IConnector.ts +0 -1
  102. package/ts/types/index.ts +1 -6
  103. package/ts/utils/prestation.ts +7 -4
  104. package/dist/cjs/api/resources/Sellsy.d.ts +0 -16
  105. package/dist/cjs/api/resources/Sellsy.d.ts.map +0 -1
  106. package/dist/cjs/api/resources/Sellsy.js +0 -20
  107. package/dist/cjs/api/resources/Sellsy.js.map +0 -1
  108. package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts +0 -7
  109. package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts.map +0 -1
  110. package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js +0 -33
  111. package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +0 -1
  112. package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts +0 -6
  113. package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts.map +0 -1
  114. package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js +0 -37
  115. package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +0 -1
  116. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts +0 -5
  117. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts.map +0 -1
  118. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.js +0 -35
  119. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +0 -1
  120. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts +0 -7
  121. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts.map +0 -1
  122. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js +0 -36
  123. package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js.map +0 -1
  124. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +0 -12
  125. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +0 -1
  126. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.js +0 -3
  127. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.js.map +0 -1
  128. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +0 -11
  129. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +0 -1
  130. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +0 -3
  131. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +0 -1
  132. package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts +0 -10
  133. package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts.map +0 -1
  134. package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.js +0 -36
  135. package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.js.map +0 -1
  136. package/dist/mjs/api/resources/Sellsy.d.ts +0 -16
  137. package/dist/mjs/api/resources/Sellsy.d.ts.map +0 -1
  138. package/dist/mjs/api/resources/Sellsy.js +0 -16
  139. package/dist/mjs/api/resources/Sellsy.js.map +0 -1
  140. package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts +0 -7
  141. package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts.map +0 -1
  142. package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js +0 -33
  143. package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +0 -1
  144. package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts +0 -6
  145. package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts.map +0 -1
  146. package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js +0 -36
  147. package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +0 -1
  148. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts +0 -5
  149. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts.map +0 -1
  150. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.js +0 -33
  151. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +0 -1
  152. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts +0 -7
  153. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts.map +0 -1
  154. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js +0 -36
  155. package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js.map +0 -1
  156. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +0 -12
  157. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +0 -1
  158. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js +0 -2
  159. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js.map +0 -1
  160. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +0 -11
  161. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +0 -1
  162. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +0 -2
  163. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +0 -1
  164. package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts +0 -10
  165. package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts.map +0 -1
  166. package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.js +0 -35
  167. package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.js.map +0 -1
  168. package/ts/api/resources/Sellsy.ts +0 -21
  169. package/ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts +0 -15
  170. package/ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts +0 -20
  171. package/ts/types/Interface/api/calendarEvent/queryCalendarEvent.ts +0 -19
  172. package/ts/types/Interface/api/calendarEvent/queryCalendarEventCall.ts +0 -18
  173. package/ts/types/Interface/api/connector/OAuthTokenRequest.ts +0 -12
  174. package/ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts +0 -10
  175. package/ts/types/Interface/api/sellsy/SellsyOauthCallback.ts +0 -24
@@ -11,6 +11,5 @@ export declare class FormConnector {
11
11
  date?: Date;
12
12
  idTypeConnector: ConnectorType;
13
13
  idSociety?: number;
14
- expiresIn?: number;
15
14
  }
16
15
  //# sourceMappingURL=FormConnector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAGtD,qBAAa,aAAa;IAIxB,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,IAAI,CAAC,EAAE,IAAI,CAAC;IAIZ,eAAe,EAAE,aAAa,CAAC;IAK/B,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,qBAAa,aAAa;IAExB,EAAE,CAAC,EAAE,MAAM,CAAC;IAGZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,IAAI,CAAC;IAGZ,eAAe,EAAE,aAAa,CAAC;IAG/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,98 +1,25 @@
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 { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';
11
- import { ConnectorType } from '../Enum/ConnectorType';
12
- import { ApiProperty, ApiPropertyOptional } from '../../utils';
13
1
  export class FormConnector {
2
+ // @ApiProperty()
14
3
  id;
4
+ // @ApiProperty()
15
5
  username;
6
+ // @ApiProperty()
16
7
  pass;
8
+ // @ApiProperty()
17
9
  url;
10
+ // @ApiProperty()
18
11
  token;
12
+ // @ApiProperty()
19
13
  token2;
14
+ // @ApiProperty()
20
15
  token3;
16
+ // @ApiProperty()
21
17
  token4;
18
+ // @ApiProperty()
22
19
  date;
20
+ // @ApiProperty()
23
21
  idTypeConnector;
22
+ // @ApiProperty()
24
23
  idSociety;
25
- expiresIn;
26
24
  }
27
- __decorate([
28
- ApiPropertyOptional(),
29
- IsOptional(),
30
- IsNumber(),
31
- __metadata("design:type", Number)
32
- ], FormConnector.prototype, "id", void 0);
33
- __decorate([
34
- ApiPropertyOptional(),
35
- IsOptional(),
36
- IsString(),
37
- __metadata("design:type", String)
38
- ], FormConnector.prototype, "username", void 0);
39
- __decorate([
40
- ApiPropertyOptional(),
41
- IsOptional(),
42
- IsString(),
43
- __metadata("design:type", String)
44
- ], FormConnector.prototype, "pass", void 0);
45
- __decorate([
46
- ApiPropertyOptional(),
47
- IsOptional(),
48
- IsString(),
49
- __metadata("design:type", String)
50
- ], FormConnector.prototype, "url", void 0);
51
- __decorate([
52
- ApiPropertyOptional(),
53
- IsOptional(),
54
- IsString(),
55
- __metadata("design:type", String)
56
- ], FormConnector.prototype, "token", void 0);
57
- __decorate([
58
- ApiPropertyOptional(),
59
- IsOptional(),
60
- IsString(),
61
- __metadata("design:type", String)
62
- ], FormConnector.prototype, "token2", void 0);
63
- __decorate([
64
- ApiPropertyOptional(),
65
- IsOptional(),
66
- IsString(),
67
- __metadata("design:type", String)
68
- ], FormConnector.prototype, "token3", void 0);
69
- __decorate([
70
- ApiPropertyOptional(),
71
- IsOptional(),
72
- IsString(),
73
- __metadata("design:type", String)
74
- ], FormConnector.prototype, "token4", void 0);
75
- __decorate([
76
- ApiPropertyOptional(),
77
- IsOptional(),
78
- IsDate(),
79
- __metadata("design:type", Date)
80
- ], FormConnector.prototype, "date", void 0);
81
- __decorate([
82
- ApiProperty(),
83
- IsEnum(ConnectorType),
84
- __metadata("design:type", Number)
85
- ], FormConnector.prototype, "idTypeConnector", void 0);
86
- __decorate([
87
- ApiPropertyOptional(),
88
- IsOptional(),
89
- IsNumber(),
90
- __metadata("design:type", Number)
91
- ], FormConnector.prototype, "idSociety", void 0);
92
- __decorate([
93
- ApiPropertyOptional(),
94
- IsOptional(),
95
- IsNumber(),
96
- __metadata("design:type", Number)
97
- ], FormConnector.prototype, "expiresIn", void 0);
98
25
  //# sourceMappingURL=FormConnector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE/D,MAAM,OAAO,aAAa;IAIxB,EAAE,CAAU;IAKZ,QAAQ,CAAU;IAKlB,IAAI,CAAU;IAKd,GAAG,CAAU;IAKb,KAAK,CAAU;IAKf,MAAM,CAAU;IAKhB,MAAM,CAAU;IAKhB,MAAM,CAAU;IAKhB,IAAI,CAAQ;IAIZ,eAAe,CAAgB;IAK/B,SAAS,CAAU;IAKnB,SAAS,CAAU;CACpB;AAvDC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;yCACC;AAKZ;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACO;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;2CACG;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;0CACE;AAKb;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACI;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACF,IAAI;2CAAC;AAIZ;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,aAAa,CAAC;;sDACS;AAK/B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ","sourcesContent":["import { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';\nimport { ConnectorType } from '../Enum/ConnectorType';\nimport { ApiProperty, ApiPropertyOptional } from '../../utils';\n\nexport class FormConnector {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n username?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n pass?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n url?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token2?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token3?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token4?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: Date;\n\n @ApiProperty()\n @IsEnum(ConnectorType)\n idTypeConnector: ConnectorType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n expiresIn?: number;\n}\n"]}
1
+ {"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,aAAa;IACxB,iBAAiB;IACjB,EAAE,CAAU;IAEZ,iBAAiB;IACjB,QAAQ,CAAU;IAElB,iBAAiB;IACjB,IAAI,CAAU;IAEd,iBAAiB;IACjB,GAAG,CAAU;IAEb,iBAAiB;IACjB,KAAK,CAAU;IAEf,iBAAiB;IACjB,MAAM,CAAU;IAEhB,iBAAiB;IACjB,MAAM,CAAU;IAEhB,iBAAiB;IACjB,MAAM,CAAU;IAEhB,iBAAiB;IACjB,IAAI,CAAQ;IAEZ,iBAAiB;IACjB,eAAe,CAAgB;IAE/B,iBAAiB;IACjB,SAAS,CAAU;CACpB","sourcesContent":["import { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n // @ApiProperty()\n id?: number;\n\n // @ApiProperty()\n username?: string;\n\n // @ApiProperty()\n pass?: string;\n\n // @ApiProperty()\n url?: string;\n\n // @ApiProperty()\n token?: string;\n\n // @ApiProperty()\n token2?: string;\n\n // @ApiProperty()\n token3?: string;\n\n // @ApiProperty()\n token4?: string;\n\n // @ApiProperty()\n date?: Date;\n\n // @ApiProperty()\n idTypeConnector: ConnectorType;\n\n // @ApiProperty()\n idSociety?: number;\n}\n"]}
@@ -1,4 +1,10 @@
1
1
  export interface ReadAccountingIncome {
2
2
  income: number;
3
+ defaultValues: {
4
+ otherAdditions: Array<{
5
+ label: string;
6
+ amount: number;
7
+ }>;
8
+ };
3
9
  }
4
10
  //# sourceMappingURL=ReadAccountingIncome.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadAccountingIncome.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/accountingIncome/ReadAccountingIncome.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"ReadAccountingIncome.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/accountingIncome/ReadAccountingIncome.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE;QACb,cAAc,EAAE,KAAK,CAAC;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KAC1D,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadAccountingIncome.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/accountingIncome/ReadAccountingIncome.ts"],"names":[],"mappings":"","sourcesContent":["export interface ReadAccountingIncome {\n income: number;\n}\n"]}
1
+ {"version":3,"file":"ReadAccountingIncome.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/accountingIncome/ReadAccountingIncome.ts"],"names":[],"mappings":"","sourcesContent":["export interface ReadAccountingIncome {\n income: number;\n defaultValues: {\n otherAdditions: Array<{ label: string; amount: number }>;\n };\n}\n"]}
@@ -0,0 +1,26 @@
1
+ export declare class QueryCalendarEvent {
2
+ include?: string[];
3
+ attributes?: string[];
4
+ }
5
+ export declare class QueryCalendarEventCall {
6
+ idUser?: number;
7
+ startDate: Date;
8
+ endDate: Date;
9
+ noHonoredCall?: boolean;
10
+ }
11
+ export declare class GetLastInvalidateEvent {
12
+ idUser: number;
13
+ dateStart?: string;
14
+ dateEnd?: string;
15
+ }
16
+ export declare class GetAllCalendarEvent {
17
+ idUser?: number;
18
+ startDate: Date;
19
+ endDate: Date;
20
+ isValidated?: boolean;
21
+ }
22
+ export declare class GetAllCalendarEventForClient {
23
+ startDate: Date;
24
+ endDate: Date;
25
+ }
26
+ //# sourceMappingURL=query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/query.ts"],"names":[],"mappings":"AAGA,qBAAa,kBAAkB;IAO7B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAOnB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,qBAAa,sBAAsB;IAEjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,OAAO,EAAE,IAAI,CAAC;IAKd,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,qBAAa,sBAAsB;IAGjC,MAAM,EAAE,MAAM,CAAC;IAMf,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,mBAAmB;IAE9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;IAGhB,OAAO,EAAE,IAAI,CAAC;IAGd,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,qBAAa,4BAA4B;IAGvC,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;CACf"}
@@ -0,0 +1,117 @@
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 { IsBoolean, IsDateString, IsIn, IsInt, IsOptional, IsString, IsDate } from 'class-validator';
11
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
12
+ export class QueryCalendarEvent {
13
+ include;
14
+ attributes;
15
+ }
16
+ __decorate([
17
+ ApiPropertyOptional(),
18
+ IsOptional(),
19
+ IsString({
20
+ each: true,
21
+ }),
22
+ IsIn(['room', 'createdBy', 'color', 'society', 'exercice', 'task'], { each: true }),
23
+ __metadata("design:type", Array)
24
+ ], QueryCalendarEvent.prototype, "include", void 0);
25
+ __decorate([
26
+ ApiPropertyOptional(),
27
+ IsOptional(),
28
+ IsString({
29
+ each: true,
30
+ }),
31
+ __metadata("design:type", Array)
32
+ ], QueryCalendarEvent.prototype, "attributes", void 0);
33
+ export class QueryCalendarEventCall {
34
+ idUser;
35
+ startDate;
36
+ endDate;
37
+ noHonoredCall;
38
+ }
39
+ __decorate([
40
+ ApiPropertyOptional(),
41
+ __metadata("design:type", Number)
42
+ ], QueryCalendarEventCall.prototype, "idUser", void 0);
43
+ __decorate([
44
+ ApiProperty(),
45
+ __metadata("design:type", Date)
46
+ ], QueryCalendarEventCall.prototype, "startDate", void 0);
47
+ __decorate([
48
+ ApiProperty(),
49
+ __metadata("design:type", Date)
50
+ ], QueryCalendarEventCall.prototype, "endDate", void 0);
51
+ __decorate([
52
+ IsBoolean(),
53
+ ApiPropertyOptional(),
54
+ IsOptional(),
55
+ __metadata("design:type", Boolean)
56
+ ], QueryCalendarEventCall.prototype, "noHonoredCall", void 0);
57
+ export class GetLastInvalidateEvent {
58
+ idUser;
59
+ dateStart;
60
+ dateEnd;
61
+ }
62
+ __decorate([
63
+ ApiProperty(),
64
+ IsInt(),
65
+ __metadata("design:type", Number)
66
+ ], GetLastInvalidateEvent.prototype, "idUser", void 0);
67
+ __decorate([
68
+ ApiPropertyOptional(),
69
+ IsOptional(),
70
+ IsString(),
71
+ IsDateString(),
72
+ __metadata("design:type", String)
73
+ ], GetLastInvalidateEvent.prototype, "dateStart", void 0);
74
+ __decorate([
75
+ ApiPropertyOptional(),
76
+ IsOptional(),
77
+ IsString(),
78
+ IsDateString(),
79
+ __metadata("design:type", String)
80
+ ], GetLastInvalidateEvent.prototype, "dateEnd", void 0);
81
+ export class GetAllCalendarEvent {
82
+ idUser;
83
+ startDate;
84
+ endDate;
85
+ isValidated;
86
+ }
87
+ __decorate([
88
+ ApiPropertyOptional(),
89
+ __metadata("design:type", Number)
90
+ ], GetAllCalendarEvent.prototype, "idUser", void 0);
91
+ __decorate([
92
+ ApiProperty(),
93
+ __metadata("design:type", Date)
94
+ ], GetAllCalendarEvent.prototype, "startDate", void 0);
95
+ __decorate([
96
+ ApiProperty(),
97
+ __metadata("design:type", Date)
98
+ ], GetAllCalendarEvent.prototype, "endDate", void 0);
99
+ __decorate([
100
+ ApiPropertyOptional(),
101
+ __metadata("design:type", Boolean)
102
+ ], GetAllCalendarEvent.prototype, "isValidated", void 0);
103
+ export class GetAllCalendarEventForClient {
104
+ startDate;
105
+ endDate;
106
+ }
107
+ __decorate([
108
+ ApiProperty(),
109
+ IsDate(),
110
+ __metadata("design:type", Date)
111
+ ], GetAllCalendarEventForClient.prototype, "startDate", void 0);
112
+ __decorate([
113
+ ApiProperty(),
114
+ IsDate(),
115
+ __metadata("design:type", Date)
116
+ ], GetAllCalendarEventForClient.prototype, "endDate", void 0);
117
+ //# sourceMappingURL=query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACrG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEhF,MAAM,OAAO,kBAAkB;IAO7B,OAAO,CAAY;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EAAE;;wDACA;AAGxB,MAAM,OAAO,4BAA4B;IAGvC,SAAS,CAAO;IAIhB,OAAO,CAAO;CACf;AALC;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;+DAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;6DAAC","sourcesContent":["import { IsBoolean, IsDateString, IsIn, IsInt, IsOptional, IsString, IsDate } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class QueryCalendarEvent {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['room', 'createdBy', 'color', 'society', 'exercice', 'task'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n}\n\nexport class QueryCalendarEventCall {\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiProperty()\n startDate: Date;\n\n @ApiProperty()\n endDate: Date;\n\n @IsBoolean()\n @ApiPropertyOptional()\n @IsOptional()\n noHonoredCall?: boolean;\n}\n\nexport class GetLastInvalidateEvent {\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @IsDateString()\n dateStart?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @IsDateString()\n dateEnd?: string;\n}\n\nexport class GetAllCalendarEvent {\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiProperty()\n startDate: Date;\n\n @ApiProperty()\n endDate: Date;\n\n @ApiPropertyOptional()\n isValidated?: boolean;\n}\n\nexport class GetAllCalendarEventForClient {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n}\n"]}
@@ -39,6 +39,10 @@ export declare class CreatePaymentIntent {
39
39
  amountInCents: number;
40
40
  metadata?: Stripe.MetadataParam;
41
41
  }
42
+ export declare class UpdatePaymentMethod {
43
+ stripePaymentMethodId: string;
44
+ metadata: any;
45
+ }
42
46
  export declare class PostProcessPaymentAutomatically {
43
47
  idSociety?: number;
44
48
  minDate?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,cAAc;IAGzB,EAAE,EAAE,MAAM,CAAC;IAIX,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,iCAAiC;IAI5C,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,uBAAuB;IAGlC,SAAS,EAAE,MAAM,CAAC;IAIlB,MAAM,EAAE,MAAM,CAAC;IAIf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAIvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAI1B,GAAG,EAAE,MAAM,CAAC;IAKZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,+BAA+B;IAG1C,SAAS,EAAE,MAAM,CAAC;IAIlB,aAAa,EAAE,MAAM,CAAC;IAKtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;IAIzB,eAAe,EAAE,MAAM,CAAC;IAIxB,aAAa,EAAE,MAAM,CAAC;IAGtB,QAAQ,CAAC,EAAE,MAAM,CAAC,aAAa,CAAC;CACjC;AAED,qB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Q,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IAI3C,KAAK,EAAE,KAAK,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACrD;AACD,qBAAa,oBAAoB;IAG/B,gBAAgB,EAAE,MAAM,CAAC;IAKzB,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IAK3C,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAKlC,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IAKnC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -164,6 +164,19 @@ __decorate([
164
164
  ApiPropertyOptional(),
165
165
  __metadata("design:type", Object)
166
166
  ], CreatePaymentIntent.prototype, "metadata", void 0);
167
+ export class UpdatePaymentMethod {
168
+ stripePaymentMethodId;
169
+ metadata;
170
+ }
171
+ __decorate([
172
+ ApiProperty(),
173
+ IsString(),
174
+ __metadata("design:type", String)
175
+ ], UpdatePaymentMethod.prototype, "stripePaymentMethodId", void 0);
176
+ __decorate([
177
+ ApiProperty(),
178
+ __metadata("design:type", Object)
179
+ ], UpdatePaymentMethod.prototype, "metadata", void 0);
167
180
  export class PostProcessPaymentAutomatically {
168
181
  idSociety;
169
182
  minDate;
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACvH,OAA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;uEAC2B;AAKnC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;2DACY","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateCommercialSession {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeCustomerId?: string;\n\n @ApiProperty()\n @IsString()\n ref: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreateSubscriptionSessionOffApp {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n stripePriceId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n\nexport class PostProcessPaymentAutomatically {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n}\n\nexport class CreateTapToPayIntent {\n @ApiProperty()\n @IsNumber()\n @Min(1, {\n message: 'Le montant doit être supérieur à 1ct',\n })\n amountInCents: number;\n}\n\nexport class CreateTapToPayConnectionToken {\n @ApiProperty()\n @IsString()\n @IsOptional()\n locationId?: string;\n}\n\nexport class CreatePurchaseSession {\n @ApiProperty({ description: 'Is software or accountancy product' })\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n\n @ApiProperty({ description: 'Redirection link on success' })\n @IsString()\n successRedirection: string;\n\n @ApiProperty({ description: 'Redirection link on cancel / error' })\n @IsString()\n cancelRedirection: string;\n\n @ApiPropertyOptional()\n metadata?: Record<string, string | number>;\n\n @ApiProperty()\n @IsArray()\n items: Array<{ priceId: string; quantity: number }>;\n}\nexport class CreatePaymentSession {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n label?: string;\n\n @ApiProperty()\n @IsString()\n returnUrl: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, string | number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n amountInCentsTaxIncluded?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n priceId?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idVatForInternalInvoicing?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeAccount?: string;\n}\n"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EA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AAW,EAAE;IACb,QAAQ,EAAE;;uDACO;AAIlB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;sDAC8B;AAK3C;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;sEAC0B;AAKlC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;qDACM;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;uEAC2B;AAKnC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;2DACY","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateCommercialSession {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeCustomerId?: string;\n\n @ApiProperty()\n @IsString()\n ref: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreateSubscriptionSessionOffApp {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n stripePriceId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n\nexport class UpdatePaymentMethod {\n @ApiProperty()\n @IsString()\n stripePaymentMethodId: string;\n\n @ApiProperty()\n metadata: any;\n}\n\nexport class PostProcessPaymentAutomatically {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n}\n\nexport class CreateTapToPayIntent {\n @ApiProperty()\n @IsNumber()\n @Min(1, {\n message: 'Le montant doit être supérieur à 1ct',\n })\n amountInCents: number;\n}\n\nexport class CreateTapToPayConnectionToken {\n @ApiProperty()\n @IsString()\n @IsOptional()\n locationId?: string;\n}\n\nexport class CreatePurchaseSession {\n @ApiProperty({ description: 'Is software or accountancy product' })\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n\n @ApiProperty({ description: 'Redirection link on success' })\n @IsString()\n successRedirection: string;\n\n @ApiProperty({ description: 'Redirection link on cancel / error' })\n @IsString()\n cancelRedirection: string;\n\n @ApiPropertyOptional()\n metadata?: Record<string, string | number>;\n\n @ApiProperty()\n @IsArray()\n items: Array<{ priceId: string; quantity: number }>;\n}\nexport class CreatePaymentSession {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n label?: string;\n\n @ApiProperty()\n @IsString()\n returnUrl: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, string | number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n amountInCentsTaxIncluded?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n priceId?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idVatForInternalInvoicing?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeAccount?: string;\n}\n"]}
@@ -1,5 +1,6 @@
1
1
  export declare class RetrievePaymentMethodsParams {
2
2
  customerId: string;
3
+ idSociety: number;
3
4
  }
4
5
  export declare class QueryStripeSession {
5
6
  isYearly?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,4BAA4B;IAGvC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,kBAAkB;IAK7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,yBAAyB;IAGpC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,gBAAgB;IAI3B,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,uBAAuB;IAIlC,UAAU,EAAE,OAAO,CAAC;CACrB"}
1
+ {"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,4BAA4B;IAGvC,UAAU,EAAE,MAAM,CAAC;IAKnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,kBAAkB;IAK7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,yBAAyB;IAGpC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,gBAAgB;IAI3B,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,uBAAuB;IAIlC,UAAU,EAAE,OAAO,CAAC;CACrB"}
@@ -7,17 +7,24 @@ 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 { IsBoolean, IsOptional, IsString } from 'class-validator';
10
+ import { IsBoolean, IsNumber, IsOptional, IsString } from 'class-validator';
11
11
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
12
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
13
  export class RetrievePaymentMethodsParams {
14
14
  customerId;
15
+ idSociety;
15
16
  }
16
17
  __decorate([
17
18
  ApiProperty(),
18
19
  IsString(),
19
20
  __metadata("design:type", String)
20
21
  ], RetrievePaymentMethodsParams.prototype, "customerId", void 0);
22
+ __decorate([
23
+ ApiPropertyOptional({ describe: 'Search into payment method metadata' }),
24
+ IsNumber(),
25
+ IsOptional(),
26
+ __metadata("design:type", Number)
27
+ ], RetrievePaymentMethodsParams.prototype, "idSociety", void 0);
21
28
  export class QueryStripeSession {
22
29
  isYearly;
23
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,4BAA4B;IAGvC,UAAU,CAAS;CACpB;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;gEACQ;AAGrB,MAAM,OAAO,kBAAkB;IAK7B,QAAQ,CAAW;CACpB;AADC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;oDACO;AAGrB,MAAM,OAAO,yBAAyB;IAGpC,UAAU,CAAS;CACpB;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACQ;AAGrB,MAAM,OAAO,gBAAgB;IAI3B,UAAU,CAAU;CACrB;AADC;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;oDACQ;AAGtB,MAAM,OAAO,uBAAuB;IAIlC,UAAU,CAAU;CACrB;AADC;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;2DACQ","sourcesContent":["import { IsBoolean, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class RetrievePaymentMethodsParams {\n @ApiProperty()\n @IsString()\n customerId: string;\n}\n\nexport class QueryStripeSession {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryStripeSubscriptionId {\n @ApiProperty()\n @IsString()\n customerId: string;\n}\n\nexport class QueryStripePrice {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n\nexport class QueryStripePurchaseHook {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n"]}
1
+ {"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,4BAA4B;IAGvC,UAAU,CAAS;IAKnB,SAAS,CAAS;CACnB;AANC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;gEACQ;AAKnB;IAHC,mBAAmB,CAAC,EAAE,QAAQ,EAAE,qCAAqC,EAAE,CAAC;IACxE,QAAQ,EAAE;IACV,UAAU,EAAE;;+DACK;AAGpB,MAAM,OAAO,kBAAkB;IAK7B,QAAQ,CAAW;CACpB;AADC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;oDACO;AAGrB,MAAM,OAAO,yBAAyB;IAGpC,UAAU,CAAS;CACpB;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACQ;AAGrB,MAAM,OAAO,gBAAgB;IAI3B,UAAU,CAAU;CACrB;AADC;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;oDACQ;AAGtB,MAAM,OAAO,uBAAuB;IAIlC,UAAU,CAAU;CACrB;AADC;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;2DACQ","sourcesContent":["import { IsBoolean, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class RetrievePaymentMethodsParams {\n @ApiProperty()\n @IsString()\n customerId: string;\n\n @ApiPropertyOptional({ describe: 'Search into payment method metadata' })\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}\n\nexport class QueryStripeSession {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryStripeSubscriptionId {\n @ApiProperty()\n @IsString()\n customerId: string;\n}\n\nexport class QueryStripePrice {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n\nexport class QueryStripePurchaseHook {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n"]}
@@ -16,6 +16,5 @@ export interface IConnector {
16
16
  updatedAt?: Date | null;
17
17
  typeConnector: IConnectorType;
18
18
  society: ISociety;
19
- expiresIn: number | null;
20
19
  }
21
20
  //# sourceMappingURL=IConnector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IConnector.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IConnector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,UAAU;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,aAAa,EAAE,cAAc,CAAC;IAC9B,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B"}
1
+ {"version":3,"file":"IConnector.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IConnector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,UAAU;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,aAAa,EAAE,cAAc,CAAC;IAC9B,OAAO,EAAE,QAAQ,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IConnector.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IConnector.ts"],"names":[],"mappings":"","sourcesContent":["import { IConnectorType } from './IConnectorType';\nimport { ISociety } from './ISociety';\n\n// connectors\nexport interface IConnector {\n id?: number;\n username: string | null;\n pass: string | null;\n url: string | null;\n token: string | null;\n token2: string | null;\n token3: string | null;\n token4: string | null;\n date: Date | null;\n idSociety: number | null;\n idTypeConnector: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n typeConnector: IConnectorType;\n society: ISociety;\n expiresIn: number | null;\n}\n"]}
1
+ {"version":3,"file":"IConnector.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IConnector.ts"],"names":[],"mappings":"","sourcesContent":["import { IConnectorType } from './IConnectorType';\nimport { ISociety } from './ISociety';\n\n// connectors\nexport interface IConnector {\n id?: number;\n username: string | null;\n pass: string | null;\n url: string | null;\n token: string | null;\n token2: string | null;\n token3: string | null;\n token4: string | null;\n date: Date | null;\n idSociety: number | null;\n idTypeConnector: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n typeConnector: IConnectorType;\n society: ISociety;\n}\n"]}
@@ -927,12 +927,9 @@ export * from './Interface/api/calendarEvent/countCalendarEvent';
927
927
  export * from './Interface/api/calendarEvent/verifyCalendarEvent';
928
928
  export * from './Interface/api/calendarEvent/updateCalendarEvent';
929
929
  export * from './Interface/api/calendarEvent/interval';
930
- export * from './Interface/api/calendarEvent/queryCalendarEvent';
931
- export * from './Interface/api/calendarEvent/getAllCalendarEvent';
932
- export * from './Interface/api/calendarEvent/getLastInvalidateEvent';
930
+ export * from './Interface/api/calendarEvent/query';
933
931
  export * from './Interface/api/calendarEvent/readAllCalendarEvent';
934
932
  export * from './Interface/api/calendarEvent/readCalendarEventCall';
935
- export * from './Interface/api/calendarEvent/queryCalendarEventCall';
936
933
  export * from './Interface/api/calendarEvent/calendarEventIcs';
937
934
  export * from './Interface/api/checklist/Read';
938
935
  export * from './Interface/api/checklist/Query';
@@ -980,7 +977,6 @@ export * from './Interface/api/commercialOffer/Query';
980
977
  export * from './Interface/api/documentSection/Update';
981
978
  export * from './Interface/api/connector/CreateConnector';
982
979
  export * from './Interface/api/connector/QueryConnector';
983
- export * from './Interface/api/connector/OAuthTokenRequest';
984
980
  export * from './Interface/api/connection/Query';
985
981
  export * from './Interface/api/connection/QueryConnectionState';
986
982
  export * from './Interface/api/connection/ReadConnectionState';
@@ -1097,7 +1093,6 @@ export * from './Interface/api/companyMarketingInformation/CompanyMarketingInfor
1097
1093
  export * from './Interface/api/companyMarketingInformation/CreateCompanyMarketingInformation';
1098
1094
  export * from './Interface/api/companyMarketingInformation/UpdateCompanyMarketingInformation';
1099
1095
  export * from './Interface/api/sellsy/CreateInvoicesSellsy';
1100
- export * from './Interface/api/sellsy/SellsyConnectionStatus';
1101
1096
  export * from './Interface/api/PaymentRecovery/Create';
1102
1097
  export * from './Interface/api/yousign/index';
1103
1098
  export * from './Interface/api/aspone/AsponeApi';