@silexpert/core 1.1.102 → 1.1.103
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/FIle.d.ts +2 -2
- package/es/api/resources/FIle.d.ts.map +1 -1
- package/es/api/resources/FIle.js +2 -2
- package/es/api/resources/FIle.js.map +1 -1
- package/es/types/Enum/RoleDetail.js +2 -2
- package/es/types/Enum/RoleDetail.js.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +1 -0
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js +7 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/es/types/index.d.ts +0 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +0 -1
- package/es/types/index.js.map +1 -1
- package/js/api/resources/FIle.js +1 -2
- package/js/api/resources/FIle.js.map +1 -1
- package/js/types/Enum/RoleDetail.js +2 -2
- package/js/types/Enum/RoleDetail.js.map +1 -1
- package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js +1 -0
- package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/js/types/index.js +15 -25
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/FIle.ts +2 -3
- package/ts/types/Enum/RoleDetail.ts +2 -2
- package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +7 -1
- package/ts/types/index.ts +0 -1
- package/es/types/Interface/api/file/Query.d.ts +0 -4
- package/es/types/Interface/api/file/Query.d.ts.map +0 -1
- package/es/types/Interface/api/file/Query.js +0 -17
- package/es/types/Interface/api/file/Query.js.map +0 -1
- package/js/types/Interface/api/file/Query.js +0 -21
- package/js/types/Interface/api/file/Query.js.map +0 -1
- package/ts/types/Interface/api/file/Query.ts +0 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.103",
|
|
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",
|
package/ts/api/resources/FIle.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { Resource } from '../Resource';
|
|
|
3
3
|
import {
|
|
4
4
|
ReadFile,
|
|
5
5
|
CreateFile,
|
|
6
|
-
QueryFileBuffer,
|
|
7
6
|
} from '../../types';
|
|
8
7
|
|
|
9
8
|
export class File extends Resource {
|
|
@@ -23,7 +22,7 @@ export class File extends Resource {
|
|
|
23
22
|
return this.axios.$get(`societies/${idSociety}/files/${id}`);
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
getBuffer(idSociety: number, id: number
|
|
27
|
-
return this.axios.$get(`societies/${idSociety}/files/${id}/buffer`, {
|
|
25
|
+
getBuffer(idSociety: number, id: number): Promise<Buffer> {
|
|
26
|
+
return this.axios.$get(`societies/${idSociety}/files/${id}/buffer`, { responseType: 'blob' });
|
|
28
27
|
}
|
|
29
28
|
}
|
|
@@ -212,8 +212,8 @@ export const RoleDetail = {
|
|
|
212
212
|
colorPrimary: '#8765D0',
|
|
213
213
|
colorSecondary: '#DED7F6',
|
|
214
214
|
subRole: false,
|
|
215
|
-
phoneNumber: '',
|
|
216
|
-
phoneNumberPourcentage: '',
|
|
215
|
+
phoneNumber: '+33757597512', // mm que CS Clementine
|
|
216
|
+
phoneNumberPourcentage: '33756796318', // mm que sales Clementine
|
|
217
217
|
phoneNumberStatutsExpress: '',
|
|
218
218
|
},
|
|
219
219
|
HUMAN_RESSOURCES: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean, IsOptional } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsNumber, IsOptional } from 'class-validator';
|
|
2
2
|
import { IAccountingTransaction, IImmobilization } from '../../..';
|
|
3
3
|
import { IThirdParty } from '../../models/IThirdParty';
|
|
4
4
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
@@ -48,6 +48,12 @@ export class UpdateAccountingTransaction {
|
|
|
48
48
|
name?: string;
|
|
49
49
|
@ApiPropertyOptional()
|
|
50
50
|
amountAllTaxIncluded?: number;
|
|
51
|
+
|
|
52
|
+
@ApiPropertyOptional()
|
|
53
|
+
@IsOptional()
|
|
54
|
+
@IsNumber()
|
|
55
|
+
idAccountant?: number;
|
|
56
|
+
|
|
51
57
|
}
|
|
52
58
|
|
|
53
59
|
// Permet d'afficher une transaction bancaire avec les informations de base ainsi que les informations d'annotations
|
package/ts/types/index.ts
CHANGED
|
@@ -895,7 +895,6 @@ export * from './Interface/api/qonto/ProcessBankAccount';
|
|
|
895
895
|
export * from './Interface/api/qonto/Read';
|
|
896
896
|
export * from './Interface/api/file/Create';
|
|
897
897
|
export * from './Interface/api/file/Read';
|
|
898
|
-
export * from './Interface/api/file/Query';
|
|
899
898
|
export * from './Interface/api/societyConfig/update';
|
|
900
899
|
export * from './Interface/api/wallet/UpdateAttribution';
|
|
901
900
|
export * from './Interface/api/prestation/CreatePrestation';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/file/Query.ts"],"names":[],"mappings":"AAEA,qBAAa,eAAe;IAExB,MAAM,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,17 +0,0 @@
|
|
|
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 { ApiProperty } from '../../../../utils';
|
|
11
|
-
export class QueryFileBuffer {
|
|
12
|
-
}
|
|
13
|
-
__decorate([
|
|
14
|
-
ApiProperty(),
|
|
15
|
-
__metadata("design:type", String)
|
|
16
|
-
], QueryFileBuffer.prototype, "folder", void 0);
|
|
17
|
-
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/file/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,eAAe;CAG3B;AAFC;IAAC,WAAW,EAAE;;+CACG","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryFileBuffer {\n @ApiProperty()\n folder: string;\n}"]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.QueryFileBuffer = undefined;
|
|
7
|
-
var _utils = require("../../../../utils");
|
|
8
|
-
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
9
|
-
var c = arguments.length,
|
|
10
|
-
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
11
|
-
d;
|
|
12
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
|
|
13
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
|
-
};
|
|
15
|
-
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
17
|
-
};
|
|
18
|
-
class QueryFileBuffer {}
|
|
19
|
-
exports.QueryFileBuffer = QueryFileBuffer;
|
|
20
|
-
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], QueryFileBuffer.prototype, "folder", void 0);
|
|
21
|
-
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","names":["_utils","require","QueryFileBuffer","exports","__decorate","ApiProperty"],"sources":["../../../../../ts/types/Interface/api/file/Query.ts"],"sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryFileBuffer {\n @ApiProperty()\n folder: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;;;;;;;;;;;AAEM,MAAOC,eAAe;AAG3BC,OAAA,CAHYD,eAAe,GAAfA,eAAe;AAC1BE,UAAA,EAAC,IAAAC,kBAAW,GAAE,E,gFACG"}
|