@silexpert/core 0.4.127 → 0.4.128
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/es/api/resources/GeneralLedger.js +2 -2
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.d.ts.map +1 -1
- package/es/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js +0 -6
- package/es/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js.map +1 -1
- package/js/api/resources/GeneralLedger.js +2 -2
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js +2 -6
- package/js/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/GeneralLedger.ts +2 -2
- package/ts/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.ts +0 -6
|
@@ -6,7 +6,7 @@ export class GeneralLedger extends Resource {
|
|
|
6
6
|
});
|
|
7
7
|
}
|
|
8
8
|
getCsv(params) {
|
|
9
|
-
return this.axios.$get('/generalLedger/
|
|
9
|
+
return this.axios.$get('/generalLedger/csv', {
|
|
10
10
|
params,
|
|
11
11
|
responseType: 'arraybuffer',
|
|
12
12
|
headers: {
|
|
@@ -15,7 +15,7 @@ export class GeneralLedger extends Resource {
|
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
getBalanceCsv(params) {
|
|
18
|
-
return this.axios.$get('/generalLedger/csv', {
|
|
18
|
+
return this.axios.$get('/generalLedger/balance/csv', {
|
|
19
19
|
params,
|
|
20
20
|
responseType: 'arraybuffer',
|
|
21
21
|
headers: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeneralLedger.js","sourceRoot":"","sources":["../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,YAAY,CAAC,MAA0B;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACvC,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,MAA0B;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"GeneralLedger.js","sourceRoot":"","sources":["../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,YAAY,CAAC,MAA0B;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACvC,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,MAA0B;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC3C,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,aAAa,CAAC,MAA0B;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACnD,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,MAA0B;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC3C,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,aAAa,CAAC,MAA0B;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACnD,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<void> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n\n getCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getBalanceCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getPdf(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getBalancePdf(params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateMachineLearningAnnotation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.ts"],"names":[],"mappings":"AAMA,qBAAa,+BAA+B;IAS1C,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAU9B,uBAAuB,EAAE,MAAM,EAAE,CAAC;IAMlC,WAAW,EAAE,MAAM,EAAE,CAAC;IAMtB,SAAS,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateMachineLearningAnnotation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.ts"],"names":[],"mappings":"AAMA,qBAAa,+BAA+B;IAS1C,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAU9B,uBAAuB,EAAE,MAAM,EAAE,CAAC;IAMlC,WAAW,EAAE,MAAM,EAAE,CAAC;IAMtB,SAAS,EAAE,MAAM,EAAE,CAAC;IAMpB,MAAM,EAAE,MAAM,EAAE,CAAC;IAMjB,KAAK,EAAE,MAAM,EAAE,CAAC;IAGhB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB"}
|
|
@@ -50,9 +50,6 @@ __decorate([
|
|
|
50
50
|
], CreateMachineLearningAnnotation.prototype, "dateValue", void 0);
|
|
51
51
|
__decorate([
|
|
52
52
|
ApiProperty(),
|
|
53
|
-
IsInt({
|
|
54
|
-
each: true,
|
|
55
|
-
}),
|
|
56
53
|
Min(0, {
|
|
57
54
|
each: true,
|
|
58
55
|
}),
|
|
@@ -60,9 +57,6 @@ __decorate([
|
|
|
60
57
|
], CreateMachineLearningAnnotation.prototype, "credit", void 0);
|
|
61
58
|
__decorate([
|
|
62
59
|
ApiProperty(),
|
|
63
|
-
IsInt({
|
|
64
|
-
each: true,
|
|
65
|
-
}),
|
|
66
60
|
Min(0, {
|
|
67
61
|
each: true,
|
|
68
62
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateMachineLearningAnnotation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,WAAW,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,GAC9C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAEnG,MAAM,OAAO,+BAA+B;
|
|
1
|
+
{"version":3,"file":"CreateMachineLearningAnnotation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,WAAW,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,GAC9C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAEnG,MAAM,OAAO,+BAA+B;CA+C3C;AAtCC;IARC,WAAW,EAAE;IACb,WAAW,EAAE;IACb,KAAK,CAAC;QACL,IAAI,EAAE,IAAI;KACX,CAAC;IACD,UAAU,CAAC;QACV,IAAI,EAAE,IAAI;KACX,CAAC;;4EAC4B;AAU9B;IARC,WAAW,EAAE;IACb,WAAW,EAAE;IACb,KAAK,CAAC;QACL,IAAI,EAAE,IAAI;KACX,CAAC;IACD,UAAU,CAAC;QACV,IAAI,EAAE,IAAI;KACX,CAAC;;gFACgC;AAMlC;IAJC,WAAW,EAAE;IACb,QAAQ,CAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;;oEACoB;AAMtB;IAJC,WAAW,EAAE;IACb,qBAAqB,CAAC;QACrB,IAAI,EAAE,IAAI;KACX,CAAC;;kEACkB;AAMpB;IAJC,WAAW,EAAE;IACb,GAAG,CAAC,CAAC,EAAE;QACN,IAAI,EAAE,IAAI;KACX,CAAC;;+DACe;AAMjB;IAJC,WAAW,EAAE;IACb,GAAG,CAAC,CAAC,EAAE;QACN,IAAI,EAAE,IAAI;KACX,CAAC;;8DACc;AAGhB;IADC,WAAW,EAAE;;mEACO","sourcesContent":["import {\n ArrayUnique, IsInt, IsPositive, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\n\nexport class CreateMachineLearningAnnotation {\n @ApiProperty()\n @ArrayUnique()\n @IsInt({\n each: true,\n })\n @IsPositive({\n each: true,\n })\n idAccountingEntries: number[];\n\n @ApiProperty()\n @ArrayUnique()\n @IsInt({\n each: true,\n })\n @IsPositive({\n each: true,\n })\n idAccountingTransaction: number[];\n\n @ApiProperty()\n @IsString({\n each: true,\n })\n designation: string[];\n\n @ApiProperty()\n @IsFormattedDateString({\n each: true,\n })\n dateValue: string[];\n\n @ApiProperty()\n @Min(0, {\n each: true,\n })\n credit: number[];\n\n @ApiProperty()\n @Min(0, {\n each: true,\n })\n debit: number[];\n\n @ApiProperty()\n kilometers: number[];\n}\n"]}
|
|
@@ -15,7 +15,7 @@ class GeneralLedger extends _Resource.Resource {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
getCsv(params) {
|
|
18
|
-
return this.axios.$get('/generalLedger/
|
|
18
|
+
return this.axios.$get('/generalLedger/csv', {
|
|
19
19
|
params,
|
|
20
20
|
responseType: 'arraybuffer',
|
|
21
21
|
headers: {
|
|
@@ -25,7 +25,7 @@ class GeneralLedger extends _Resource.Resource {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
getBalanceCsv(params) {
|
|
28
|
-
return this.axios.$get('/generalLedger/csv', {
|
|
28
|
+
return this.axios.$get('/generalLedger/balance/csv', {
|
|
29
29
|
params,
|
|
30
30
|
responseType: 'arraybuffer',
|
|
31
31
|
headers: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":";;;;;;;AACA;;AAEM,MAAO,aAAP,SAA6B,kBAA7B,CAAqC;AACzC,EAAA,YAAY,CAAC,MAAD,EAA2B;AACrC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,gBAAhB,EAAkC;AACvC,MAAA;AADuC,KAAlC,CAAP;AAGD;;AAED,EAAA,MAAM,CAAC,MAAD,EAA2B;AAC/B,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,
|
|
1
|
+
{"version":3,"sources":["../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":";;;;;;;AACA;;AAEM,MAAO,aAAP,SAA6B,kBAA7B,CAAqC;AACzC,EAAA,YAAY,CAAC,MAAD,EAA2B;AACrC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,gBAAhB,EAAkC;AACvC,MAAA;AADuC,KAAlC,CAAP;AAGD;;AAED,EAAA,MAAM,CAAC,MAAD,EAA2B;AAC/B,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,oBAAhB,EAAsC;AAC3C,MAAA,MAD2C;AAE3C,MAAA,YAAY,EAAE,aAF6B;AAG3C,MAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE;AADD;AAHkC,KAAtC,CAAP;AAOD;;AAED,EAAA,aAAa,CAAC,MAAD,EAA2B;AACtC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,4BAAhB,EAA8C;AACnD,MAAA,MADmD;AAEnD,MAAA,YAAY,EAAE,aAFqC;AAGnD,MAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE;AADD;AAH0C,KAA9C,CAAP;AAOD;;AAED,EAAA,MAAM,CAAC,MAAD,EAA2B;AAC/B,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,oBAAhB,EAAsC;AAC3C,MAAA,MAD2C;AAE3C,MAAA,YAAY,EAAE,aAF6B;AAG3C,MAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE;AADD;AAHkC,KAAtC,CAAP;AAOD;;AAED,EAAA,aAAa,CAAC,MAAD,EAA2B;AACtC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,4BAAhB,EAA8C;AACnD,MAAA,MADmD;AAEnD,MAAA,YAAY,EAAE,aAFqC;AAGnD,MAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE;AADD;AAH0C,KAA9C,CAAP;AAOD;;AA7CwC;;QAA9B,a,GAAA,a","sourcesContent":["import { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<void> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n\n getCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getBalanceCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getPdf(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getBalancePdf(params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}"],"sourceRoot":"","file":"GeneralLedger.js"}
|
|
@@ -47,15 +47,11 @@ __decorate([(0, _utils.ApiProperty)(), (0, _formattedDateString.IsFormattedDateS
|
|
|
47
47
|
each: true
|
|
48
48
|
}), __metadata("design:type", Array)], CreateMachineLearningAnnotation.prototype, "dateValue", void 0);
|
|
49
49
|
|
|
50
|
-
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.
|
|
51
|
-
each: true
|
|
52
|
-
}), (0, _classValidator.Min)(0, {
|
|
50
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.Min)(0, {
|
|
53
51
|
each: true
|
|
54
52
|
}), __metadata("design:type", Array)], CreateMachineLearningAnnotation.prototype, "credit", void 0);
|
|
55
53
|
|
|
56
|
-
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.
|
|
57
|
-
each: true
|
|
58
|
-
}), (0, _classValidator.Min)(0, {
|
|
54
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.Min)(0, {
|
|
59
55
|
each: true
|
|
60
56
|
}), __metadata("design:type", Array)], CreateMachineLearningAnnotation.prototype, "debit", void 0);
|
|
61
57
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../ts/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,+BAAP,CAAsC;;QAA/B,+B,GAAA,+B;;AASX,UAAA,CAAA,CARC,yBAQD,EAPC,kCAOD,EANC,2BAAM;AACL,EAAA,IAAI,EAAE;AADD,CAAN,CAMD,EAHC,gCAAW;AACV,EAAA,IAAI,EAAE;AADI,CAAX,CAGD,E,gCAAA,CAAA,E,yCAAA,E,qBAAA,E,KAA8B,CAA9B,CAAA;;AAUA,UAAA,CAAA,CARC,yBAQD,EAPC,kCAOD,EANC,2BAAM;AACL,EAAA,IAAI,EAAE;AADD,CAAN,CAMD,EAHC,gCAAW;AACV,EAAA,IAAI,EAAE;AADI,CAAX,CAGD,E,gCAAA,CAAA,E,yCAAA,E,yBAAA,E,KAAkC,CAAlC,CAAA;;AAMA,UAAA,CAAA,CAJC,yBAID,EAHC,8BAAS;AACR,EAAA,IAAI,EAAE;AADE,CAAT,CAGD,E,gCAAA,CAAA,E,yCAAA,E,aAAA,E,KAAsB,CAAtB,CAAA;;AAMA,UAAA,CAAA,CAJC,yBAID,EAHC,gDAAsB;AACrB,EAAA,IAAI,EAAE;AADe,CAAtB,CAGD,E,gCAAA,CAAA,E,yCAAA,E,WAAA,E,KAAoB,CAApB,CAAA;;
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,+BAAP,CAAsC;;QAA/B,+B,GAAA,+B;;AASX,UAAA,CAAA,CARC,yBAQD,EAPC,kCAOD,EANC,2BAAM;AACL,EAAA,IAAI,EAAE;AADD,CAAN,CAMD,EAHC,gCAAW;AACV,EAAA,IAAI,EAAE;AADI,CAAX,CAGD,E,gCAAA,CAAA,E,yCAAA,E,qBAAA,E,KAA8B,CAA9B,CAAA;;AAUA,UAAA,CAAA,CARC,yBAQD,EAPC,kCAOD,EANC,2BAAM;AACL,EAAA,IAAI,EAAE;AADD,CAAN,CAMD,EAHC,gCAAW;AACV,EAAA,IAAI,EAAE;AADI,CAAX,CAGD,E,gCAAA,CAAA,E,yCAAA,E,yBAAA,E,KAAkC,CAAlC,CAAA;;AAMA,UAAA,CAAA,CAJC,yBAID,EAHC,8BAAS;AACR,EAAA,IAAI,EAAE;AADE,CAAT,CAGD,E,gCAAA,CAAA,E,yCAAA,E,aAAA,E,KAAsB,CAAtB,CAAA;;AAMA,UAAA,CAAA,CAJC,yBAID,EAHC,gDAAsB;AACrB,EAAA,IAAI,EAAE;AADe,CAAtB,CAGD,E,gCAAA,CAAA,E,yCAAA,E,WAAA,E,KAAoB,CAApB,CAAA;;AAMA,UAAA,CAAA,CAJC,yBAID,EAHC,yBAAI,CAAJ,EAAO;AACN,EAAA,IAAI,EAAE;AADA,CAAP,CAGD,E,gCAAA,CAAA,E,yCAAA,E,QAAA,E,KAAiB,CAAjB,CAAA;;AAMA,UAAA,CAAA,CAJC,yBAID,EAHC,yBAAI,CAAJ,EAAO;AACN,EAAA,IAAI,EAAE;AADA,CAAP,CAGD,E,gCAAA,CAAA,E,yCAAA,E,OAAA,E,KAAgB,CAAhB,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,gCAAA,CAAA,E,yCAAA,E,YAAA,E,KAAqB,CAArB,CAAA","sourcesContent":["import {\n ArrayUnique, IsInt, IsPositive, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\n\nexport class CreateMachineLearningAnnotation {\n @ApiProperty()\n @ArrayUnique()\n @IsInt({\n each: true,\n })\n @IsPositive({\n each: true,\n })\n idAccountingEntries: number[];\n\n @ApiProperty()\n @ArrayUnique()\n @IsInt({\n each: true,\n })\n @IsPositive({\n each: true,\n })\n idAccountingTransaction: number[];\n\n @ApiProperty()\n @IsString({\n each: true,\n })\n designation: string[];\n\n @ApiProperty()\n @IsFormattedDateString({\n each: true,\n })\n dateValue: string[];\n\n @ApiProperty()\n @Min(0, {\n each: true,\n })\n credit: number[];\n\n @ApiProperty()\n @Min(0, {\n each: true,\n })\n debit: number[];\n\n @ApiProperty()\n kilometers: number[];\n}\n"],"sourceRoot":"","file":"CreateMachineLearningAnnotation.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.128",
|
|
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",
|
|
@@ -9,7 +9,7 @@ export class GeneralLedger extends Resource {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
getCsv(params: QueryGeneralLedger):Promise<Buffer> {
|
|
12
|
-
return this.axios.$get('/generalLedger/
|
|
12
|
+
return this.axios.$get('/generalLedger/csv', {
|
|
13
13
|
params,
|
|
14
14
|
responseType: 'arraybuffer',
|
|
15
15
|
headers: {
|
|
@@ -19,7 +19,7 @@ export class GeneralLedger extends Resource {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
getBalanceCsv(params: QueryGeneralLedger):Promise<Buffer> {
|
|
22
|
-
return this.axios.$get('/generalLedger/csv', {
|
|
22
|
+
return this.axios.$get('/generalLedger/balance/csv', {
|
|
23
23
|
params,
|
|
24
24
|
responseType: 'arraybuffer',
|
|
25
25
|
headers: {
|
|
@@ -38,18 +38,12 @@ export class CreateMachineLearningAnnotation {
|
|
|
38
38
|
dateValue: string[];
|
|
39
39
|
|
|
40
40
|
@ApiProperty()
|
|
41
|
-
@IsInt({
|
|
42
|
-
each: true,
|
|
43
|
-
})
|
|
44
41
|
@Min(0, {
|
|
45
42
|
each: true,
|
|
46
43
|
})
|
|
47
44
|
credit: number[];
|
|
48
45
|
|
|
49
46
|
@ApiProperty()
|
|
50
|
-
@IsInt({
|
|
51
|
-
each: true,
|
|
52
|
-
})
|
|
53
47
|
@Min(0, {
|
|
54
48
|
each: true,
|
|
55
49
|
})
|