@silexpert/core 1.0.147 → 1.0.149

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/es/types/Enum/MailAuto.d.ts +21 -0
  2. package/es/types/Enum/MailAuto.d.ts.map +1 -1
  3. package/es/types/Enum/MailAuto.js +80 -0
  4. package/es/types/Enum/MailAuto.js.map +1 -1
  5. package/es/types/Enum/PaymentReason.d.ts +17 -0
  6. package/es/types/Enum/PaymentReason.d.ts.map +1 -0
  7. package/es/types/Enum/PaymentReason.js +56 -0
  8. package/es/types/Enum/PaymentReason.js.map +1 -0
  9. package/es/types/Interface/api/partner/Query.d.ts +3 -0
  10. package/es/types/Interface/api/partner/Query.d.ts.map +1 -1
  11. package/es/types/Interface/api/partner/Query.js +12 -0
  12. package/es/types/Interface/api/partner/Query.js.map +1 -1
  13. package/es/types/index.d.ts +1 -1
  14. package/es/types/index.d.ts.map +1 -1
  15. package/es/types/index.js +1 -1
  16. package/es/types/index.js.map +1 -1
  17. package/js/types/Enum/MailAuto.js +64 -0
  18. package/js/types/Enum/MailAuto.js.map +1 -1
  19. package/js/types/Enum/PaymentReason.js +50 -0
  20. package/js/types/Enum/PaymentReason.js.map +1 -0
  21. package/js/types/Interface/api/partner/Query.js +3 -0
  22. package/js/types/Interface/api/partner/Query.js.map +1 -1
  23. package/js/types/index.js +3 -3
  24. package/js/types/index.js.map +1 -1
  25. package/package.json +1 -1
  26. package/ts/types/Enum/MailAuto.ts +81 -0
  27. package/ts/types/Enum/PaymentReason.ts +55 -0
  28. package/ts/types/Interface/api/partner/Query.ts +9 -0
  29. package/ts/types/index.ts +1 -1
  30. package/es/types/Enum/Reason.d.ts +0 -4
  31. package/es/types/Enum/Reason.d.ts.map +0 -1
  32. package/es/types/Enum/Reason.js +0 -5
  33. package/es/types/Enum/Reason.js.map +0 -1
  34. package/js/types/Enum/Reason.js +0 -10
  35. package/js/types/Enum/Reason.js.map +0 -1
  36. package/ts/types/Enum/Reason.ts +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.0.147",
3
+ "version": "1.0.149",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
6
6
  "main": "js/index.js",
@@ -115,6 +115,87 @@ export enum MailAuto {
115
115
  CUSTOMER_ACCEPTANCE_COMPANY_TAX = 140,
116
116
  }
117
117
 
118
+ export enum MailAutoType {
119
+ ON_BOARDING = 1,
120
+ REVISION = 2,
121
+ CUSTOMER_RELATIONSHIP = 3,
122
+ BILLING_UNPAID = 4,
123
+ SOCIAL = 5,
124
+ JURIDIC = 6,
125
+ VAT = 7,
126
+ BALANCESHEET = 8,
127
+ SUPPORT = 9,
128
+ SALES = 10,
129
+ THIRDPARTY = 11,
130
+ SUPERVISION = 12,
131
+ EXPRESS = 13,
132
+ REFUNDS = 14,
133
+ CHECKLIST = 15,
134
+ }
135
+
136
+ export const MailAutoTypeDetail = [
137
+ {
138
+ name: 'On boarding',
139
+ id: 1,
140
+ },
141
+ {
142
+ name: 'Révision',
143
+ id: 2,
144
+ },
145
+ {
146
+ name: 'Relation-clients / Qualité',
147
+ id: 3,
148
+ },
149
+ {
150
+ name: 'Facturation / Impayés',
151
+ id: 4,
152
+ },
153
+ {
154
+ name: 'Social',
155
+ id: 5,
156
+ },
157
+ {
158
+ name: 'Juridique',
159
+ id: 6,
160
+ },
161
+ {
162
+ name: 'TVA',
163
+ id: 7,
164
+ },
165
+ {
166
+ name: 'Bilan',
167
+ id: 8,
168
+ },
169
+ {
170
+ name: 'Support',
171
+ id: 9,
172
+ },
173
+ {
174
+ name: 'Commercial',
175
+ id: 10,
176
+ },
177
+ {
178
+ name: 'Tiers',
179
+ id: 11,
180
+ },
181
+ {
182
+ name: 'Supervision',
183
+ id: 12,
184
+ },
185
+ {
186
+ name: 'Express',
187
+ id: 13,
188
+ },
189
+ {
190
+ name: 'Remboursements',
191
+ id: 14,
192
+ },
193
+ {
194
+ name: 'Checklist',
195
+ id: 15,
196
+ },
197
+ ];
198
+
118
199
  export const MailAutoList = [
119
200
  {
120
201
  id: MailAuto.ASK_DOCUMENTS_FOR_BALANCE_SHEET,
@@ -0,0 +1,55 @@
1
+ export enum PaymentReason {
2
+ FIRST_PAYMENT = 1,
3
+ REGULATES_SAMPLING_REJECTION = 2,
4
+ ANNONCE_LEGALE = 3,
5
+ FORECAST = 4,
6
+ ACCOUNTING = 5,
7
+ JURIDIC = 6,
8
+ EXCEPTIONAL = 7,
9
+ ADDITIONAL_PRESTA = 8,
10
+ ATTESTATIONS = 9,
11
+ UNPAID = 10,
12
+ }
13
+
14
+ export const PaymentReasonList: Array<{ value: PaymentReason; text: string }> = [
15
+ {
16
+ value: PaymentReason.FIRST_PAYMENT,
17
+ text: 'Premier paiement',
18
+ },
19
+ {
20
+ value: PaymentReason.REGULATES_SAMPLING_REJECTION,
21
+ text: 'Régule rejet de prélévement 1',
22
+ },
23
+ {
24
+ value: PaymentReason.ANNONCE_LEGALE,
25
+ text: 'Annonces Légales',
26
+ },
27
+ {
28
+ value: PaymentReason.FORECAST,
29
+ text: 'Prévisionnel',
30
+ },
31
+ {
32
+ value: PaymentReason.ACCOUNTING,
33
+ text: 'Compta',
34
+ },
35
+ {
36
+ value: PaymentReason.JURIDIC,
37
+ text: 'Juridique',
38
+ },
39
+ {
40
+ value: PaymentReason.EXCEPTIONAL,
41
+ text: 'Exceptionnel',
42
+ },
43
+ {
44
+ value: PaymentReason.ADDITIONAL_PRESTA,
45
+ text: 'Prestation complémentaire',
46
+ },
47
+ {
48
+ value: PaymentReason.ATTESTATIONS,
49
+ text: 'Attestations',
50
+ },
51
+ {
52
+ value: PaymentReason.UNPAID,
53
+ text: 'Impayé',
54
+ },
55
+ ];
@@ -16,6 +16,12 @@ export class GetPartnersCurrentAccounts {
16
16
 
17
17
  @ApiProperty()
18
18
  endDate!: Date;
19
+
20
+ @ApiPropertyOptional()
21
+ descending?: boolean;
22
+
23
+ @ApiPropertyOptional()
24
+ orderBy?: string;
19
25
  }
20
26
 
21
27
  export class GetPartnerSolde {
@@ -27,4 +33,7 @@ export class GetPartnerSolde {
27
33
 
28
34
  @ApiProperty()
29
35
  limit: number;
36
+
37
+ @ApiPropertyOptional()
38
+ search?: string;
30
39
  }
package/ts/types/index.ts CHANGED
@@ -461,7 +461,7 @@ export * from './Enum/RecurrenceType';
461
461
  export * from './Enum/Rules';
462
462
  export * from './Enum/CustomerVat';
463
463
  export * from './Enum/Constitution';
464
- export * from './Enum/Reason';
464
+ export * from './Enum/PaymentReason';
465
465
  export * from './Enum/OperationLegalNotice';
466
466
  export * from './Enum/OrderStatus';
467
467
  export * from './Enum/ReportService';
@@ -1,4 +0,0 @@
1
- export declare enum Reason {
2
- ANNONCE_LEGALE = 3
3
- }
4
- //# sourceMappingURL=Reason.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Reason.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/Reason.ts"],"names":[],"mappings":"AAAA,oBAAY,MAAM;IAChB,cAAc,IAAI;CACnB"}
@@ -1,5 +0,0 @@
1
- export var Reason;
2
- (function (Reason) {
3
- Reason[Reason["ANNONCE_LEGALE"] = 3] = "ANNONCE_LEGALE";
4
- })(Reason || (Reason = {}));
5
- //# sourceMappingURL=Reason.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Reason.js","sourceRoot":"","sources":["../../../ts/types/Enum/Reason.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,MAEX;AAFD,WAAY,MAAM;IAChB,uDAAkB,CAAA;AACpB,CAAC,EAFW,MAAM,KAAN,MAAM,QAEjB","sourcesContent":["export enum Reason {\n ANNONCE_LEGALE = 3,\n}"]}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var Reason = exports.Reason = undefined;
7
- (function (Reason) {
8
- Reason[Reason["ANNONCE_LEGALE"] = 3] = "ANNONCE_LEGALE";
9
- })(Reason || (exports.Reason = Reason = {}));
10
- //# sourceMappingURL=Reason.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Reason.js","names":["Reason","exports","undefined"],"sources":["../../../ts/types/Enum/Reason.ts"],"sourcesContent":["export enum Reason {\n ANNONCE_LEGALE = 3,\n}"],"mappings":";;;;;AAAA,IAAYA,MAEX,GAAAC,OAAA,CAFWD,MAEX,GAAAE,SAAA;AAFD,WAAYF,MAAM;EAChBA,MAAA,CAAAA,MAAA,0CAAkB;AACpB,CAAC,EAFWA,MAAM,KAAAC,OAAA,CAAND,MAEX,GAFWA,MAAM"}
@@ -1,3 +0,0 @@
1
- export enum Reason {
2
- ANNONCE_LEGALE = 3,
3
- }