@silexpert/core 1.0.147 → 1.0.148

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.0.147",
3
+ "version": "1.0.148",
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",
@@ -0,0 +1,56 @@
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
+ {
17
+ value: PaymentReason.FIRST_PAYMENT,
18
+ text: 'Premier paiement',
19
+ },
20
+ {
21
+ value: PaymentReason.REGULATES_SAMPLING_REJECTION,
22
+ text: 'Régule rejet de prélévement 1',
23
+ },
24
+ {
25
+ value: PaymentReason.ANNONCE_LEGALE,
26
+ text: 'Annonces Légales',
27
+ },
28
+ {
29
+ value: PaymentReason.FORECAST,
30
+ text: 'Prévisionnel',
31
+ },
32
+ {
33
+ value: PaymentReason.ACCOUNTING,
34
+ text: 'Compta',
35
+ },
36
+ {
37
+ value: PaymentReason.JURIDIC,
38
+ text: 'Juridique',
39
+ },
40
+ {
41
+ value: PaymentReason.EXCEPTIONAL,
42
+ text: 'Exceptionnel',
43
+ },
44
+ {
45
+ value: PaymentReason.ADDITIONAL_PRESTA,
46
+ text: 'Prestation complémentaire',
47
+ },
48
+ {
49
+ value: PaymentReason.ATTESTATIONS,
50
+ text: 'Attestations',
51
+ },
52
+ {
53
+ value: PaymentReason.UNPAID,
54
+ text: 'Impayé',
55
+ },
56
+ ];
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
- }