@silexpert/core 1.3.96-0 → 1.3.96

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 (63) hide show
  1. package/dist/cjs/api/resources/User.js +1 -1
  2. package/dist/cjs/api/resources/User.js.map +1 -1
  3. package/dist/cjs/api/resources.d.ts +0 -2
  4. package/dist/cjs/api/resources.d.ts.map +1 -1
  5. package/dist/cjs/api/resources.js +0 -2
  6. package/dist/cjs/api/resources.js.map +1 -1
  7. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  8. package/dist/cjs/types/Enum/PrestationType.js +22 -29
  9. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  10. package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/SalesContractBrandClementine.js +7 -22
  12. package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  13. package/dist/cjs/types/Interface/models/IAttestation.d.ts +18 -20
  14. package/dist/cjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/models/IAttestation.js.map +1 -1
  16. package/dist/cjs/types/index.d.ts +0 -1
  17. package/dist/cjs/types/index.d.ts.map +1 -1
  18. package/dist/cjs/types/index.js +0 -1
  19. package/dist/cjs/types/index.js.map +1 -1
  20. package/dist/mjs/api/resources/User.js +1 -1
  21. package/dist/mjs/api/resources/User.js.map +1 -1
  22. package/dist/mjs/api/resources.d.ts +0 -2
  23. package/dist/mjs/api/resources.d.ts.map +1 -1
  24. package/dist/mjs/api/resources.js +0 -2
  25. package/dist/mjs/api/resources.js.map +1 -1
  26. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  27. package/dist/mjs/types/Enum/PrestationType.js +22 -29
  28. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  29. package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  30. package/dist/mjs/types/Enum/SalesContractBrandClementine.js +7 -22
  31. package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  32. package/dist/mjs/types/Interface/models/IAttestation.d.ts +18 -20
  33. package/dist/mjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  34. package/dist/mjs/types/Interface/models/IAttestation.js.map +1 -1
  35. package/dist/mjs/types/index.d.ts +0 -1
  36. package/dist/mjs/types/index.d.ts.map +1 -1
  37. package/dist/mjs/types/index.js +0 -1
  38. package/dist/mjs/types/index.js.map +1 -1
  39. package/package.json +14 -14
  40. package/ts/api/resources/User.ts +1 -1
  41. package/ts/api/resources.ts +0 -2
  42. package/ts/types/Enum/PrestationType.ts +22 -29
  43. package/ts/types/Enum/SalesContractBrandClementine.ts +7 -22
  44. package/ts/types/Interface/models/IAttestation.ts +18 -20
  45. package/ts/types/index.ts +0 -1
  46. package/dist/cjs/api/resources/BalanceSheetReport.d.ts +0 -10
  47. package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +0 -1
  48. package/dist/cjs/api/resources/BalanceSheetReport.js +0 -23
  49. package/dist/cjs/api/resources/BalanceSheetReport.js.map +0 -1
  50. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts +0 -40
  51. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +0 -1
  52. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js +0 -207
  53. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js.map +0 -1
  54. package/dist/mjs/api/resources/BalanceSheetReport.d.ts +0 -10
  55. package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +0 -1
  56. package/dist/mjs/api/resources/BalanceSheetReport.js +0 -22
  57. package/dist/mjs/api/resources/BalanceSheetReport.js.map +0 -1
  58. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +0 -40
  59. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +0 -1
  60. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +0 -200
  61. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +0 -1
  62. package/ts/api/resources/BalanceSheetReport.ts +0 -36
  63. package/ts/types/Interface/api/balanceSheetReport/Query.ts +0 -160
@@ -1,207 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- 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;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ParamsBalanceSheetReportUpdate = exports.ParamsBalanceSheetReportGeneratePdf = exports.ParamsBalanceSheetReportCreate = exports.QueryBalanceSheetReportPaginated = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const utils_1 = require("../../../../utils");
15
- const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
16
- const BasePaginate_1 = require("../BasePaginate");
17
- class QueryBalanceSheetReportPaginated extends BasePaginate_1.RequiredQueryPaginate {
18
- }
19
- exports.QueryBalanceSheetReportPaginated = QueryBalanceSheetReportPaginated;
20
- __decorate([
21
- (0, utils_1.ApiPropertyOptional)(),
22
- (0, class_validator_1.IsOptional)(),
23
- (0, class_validator_1.IsString)(),
24
- __metadata("design:type", String)
25
- ], QueryBalanceSheetReportPaginated.prototype, "search", void 0);
26
- __decorate([
27
- (0, utils_1.ApiPropertyOptional)(),
28
- (0, class_validator_1.IsOptional)(),
29
- (0, class_validator_1.IsBoolean)(),
30
- (0, boolean_transform_1.ToBoolean)(),
31
- __metadata("design:type", Boolean)
32
- ], QueryBalanceSheetReportPaginated.prototype, "signed", void 0);
33
- __decorate([
34
- (0, utils_1.ApiPropertyOptional)(),
35
- (0, class_validator_1.IsOptional)(),
36
- (0, class_validator_1.IsInt)(),
37
- __metadata("design:type", Number)
38
- ], QueryBalanceSheetReportPaginated.prototype, "factured", void 0);
39
- __decorate([
40
- (0, utils_1.ApiPropertyOptional)(),
41
- (0, class_validator_1.IsOptional)(),
42
- (0, class_validator_1.IsInt)(),
43
- __metadata("design:type", Number)
44
- ], QueryBalanceSheetReportPaginated.prototype, "idSupervisor", void 0);
45
- class ParamsBalanceSheetReportCreate {
46
- }
47
- exports.ParamsBalanceSheetReportCreate = ParamsBalanceSheetReportCreate;
48
- __decorate([
49
- (0, utils_1.ApiProperty)(),
50
- (0, class_validator_1.IsInt)(),
51
- __metadata("design:type", Number)
52
- ], ParamsBalanceSheetReportCreate.prototype, "idSociety", void 0);
53
- __decorate([
54
- (0, utils_1.ApiProperty)(),
55
- (0, class_validator_1.IsInt)(),
56
- __metadata("design:type", Number)
57
- ], ParamsBalanceSheetReportCreate.prototype, "idExercice", void 0);
58
- __decorate([
59
- (0, utils_1.ApiProperty)(),
60
- (0, class_validator_1.IsInt)(),
61
- __metadata("design:type", Number)
62
- ], ParamsBalanceSheetReportCreate.prototype, "idPrestationList", void 0);
63
- __decorate([
64
- (0, utils_1.ApiProperty)(),
65
- (0, class_validator_1.IsInt)(),
66
- __metadata("design:type", Number)
67
- ], ParamsBalanceSheetReportCreate.prototype, "idSupervisor", void 0);
68
- __decorate([
69
- (0, utils_1.ApiProperty)(),
70
- (0, class_validator_1.IsInt)(),
71
- __metadata("design:type", Number)
72
- ], ParamsBalanceSheetReportCreate.prototype, "price", void 0);
73
- __decorate([
74
- (0, utils_1.ApiProperty)(),
75
- (0, class_validator_1.IsBoolean)(),
76
- (0, boolean_transform_1.ToBoolean)(),
77
- __metadata("design:type", Boolean)
78
- ], ParamsBalanceSheetReportCreate.prototype, "annoted", void 0);
79
- __decorate([
80
- (0, utils_1.ApiProperty)(),
81
- (0, class_validator_1.IsInt)(),
82
- __metadata("design:type", Number)
83
- ], ParamsBalanceSheetReportCreate.prototype, "factured", void 0);
84
- class ParamsBalanceSheetReportGeneratePdf {
85
- }
86
- exports.ParamsBalanceSheetReportGeneratePdf = ParamsBalanceSheetReportGeneratePdf;
87
- __decorate([
88
- (0, utils_1.ApiProperty)(),
89
- (0, class_validator_1.IsBoolean)(),
90
- (0, boolean_transform_1.ToBoolean)(),
91
- __metadata("design:type", Boolean)
92
- ], ParamsBalanceSheetReportGeneratePdf.prototype, "isSigned", void 0);
93
- __decorate([
94
- (0, utils_1.ApiPropertyOptional)(),
95
- (0, class_validator_1.IsOptional)(),
96
- (0, class_validator_1.IsString)(),
97
- __metadata("design:type", String)
98
- ], ParamsBalanceSheetReportGeneratePdf.prototype, "comment", void 0);
99
- class ParamsBalanceSheetReportUpdate {
100
- }
101
- exports.ParamsBalanceSheetReportUpdate = ParamsBalanceSheetReportUpdate;
102
- __decorate([
103
- (0, utils_1.ApiPropertyOptional)(),
104
- (0, class_validator_1.IsOptional)(),
105
- (0, class_validator_1.IsInt)(),
106
- __metadata("design:type", Number)
107
- ], ParamsBalanceSheetReportUpdate.prototype, "price", void 0);
108
- __decorate([
109
- (0, utils_1.ApiPropertyOptional)(),
110
- (0, class_validator_1.IsOptional)(),
111
- (0, class_validator_1.IsInt)(),
112
- __metadata("design:type", Number)
113
- ], ParamsBalanceSheetReportUpdate.prototype, "idPrestationList", void 0);
114
- __decorate([
115
- (0, utils_1.ApiPropertyOptional)(),
116
- (0, class_validator_1.IsOptional)(),
117
- (0, class_validator_1.IsInt)(),
118
- __metadata("design:type", Number)
119
- ], ParamsBalanceSheetReportUpdate.prototype, "idExercice", void 0);
120
- __decorate([
121
- (0, utils_1.ApiPropertyOptional)(),
122
- (0, class_validator_1.IsOptional)(),
123
- (0, class_validator_1.IsInt)(),
124
- __metadata("design:type", Number)
125
- ], ParamsBalanceSheetReportUpdate.prototype, "idSociety", void 0);
126
- __decorate([
127
- (0, utils_1.ApiPropertyOptional)(),
128
- (0, class_validator_1.IsOptional)(),
129
- (0, class_validator_1.IsInt)(),
130
- __metadata("design:type", Number)
131
- ], ParamsBalanceSheetReportUpdate.prototype, "idSupervisor", void 0);
132
- __decorate([
133
- (0, utils_1.ApiPropertyOptional)(),
134
- (0, class_validator_1.IsOptional)(),
135
- (0, class_validator_1.IsInt)(),
136
- __metadata("design:type", Number)
137
- ], ParamsBalanceSheetReportUpdate.prototype, "idUserDemand", void 0);
138
- __decorate([
139
- (0, utils_1.ApiPropertyOptional)(),
140
- (0, class_validator_1.IsOptional)(),
141
- (0, class_validator_1.IsInt)(),
142
- __metadata("design:type", Number)
143
- ], ParamsBalanceSheetReportUpdate.prototype, "idPaymentExpectation", void 0);
144
- __decorate([
145
- (0, utils_1.ApiPropertyOptional)(),
146
- (0, class_validator_1.IsOptional)(),
147
- (0, class_validator_1.IsInt)(),
148
- __metadata("design:type", Number)
149
- ], ParamsBalanceSheetReportUpdate.prototype, "idFile", void 0);
150
- __decorate([
151
- (0, utils_1.ApiPropertyOptional)(),
152
- (0, class_validator_1.IsOptional)(),
153
- (0, class_validator_1.IsInt)(),
154
- __metadata("design:type", Number)
155
- ], ParamsBalanceSheetReportUpdate.prototype, "idGedFile", void 0);
156
- __decorate([
157
- (0, utils_1.ApiPropertyOptional)(),
158
- (0, class_validator_1.IsOptional)(),
159
- (0, class_validator_1.IsBoolean)(),
160
- (0, boolean_transform_1.ToBoolean)(),
161
- __metadata("design:type", Boolean)
162
- ], ParamsBalanceSheetReportUpdate.prototype, "annoted", void 0);
163
- __decorate([
164
- (0, utils_1.ApiPropertyOptional)(),
165
- (0, class_validator_1.IsOptional)(),
166
- (0, class_validator_1.IsInt)(),
167
- __metadata("design:type", Number)
168
- ], ParamsBalanceSheetReportUpdate.prototype, "factured", void 0);
169
- __decorate([
170
- (0, utils_1.ApiPropertyOptional)(),
171
- (0, class_validator_1.IsOptional)(),
172
- (0, class_validator_1.IsDate)(),
173
- __metadata("design:type", Date)
174
- ], ParamsBalanceSheetReportUpdate.prototype, "sendDate", void 0);
175
- __decorate([
176
- (0, utils_1.ApiPropertyOptional)(),
177
- (0, class_validator_1.IsOptional)(),
178
- (0, class_validator_1.IsString)(),
179
- __metadata("design:type", String)
180
- ], ParamsBalanceSheetReportUpdate.prototype, "textPdf", void 0);
181
- __decorate([
182
- (0, utils_1.ApiPropertyOptional)(),
183
- (0, class_validator_1.IsOptional)(),
184
- (0, class_validator_1.IsBoolean)(),
185
- (0, boolean_transform_1.ToBoolean)(),
186
- __metadata("design:type", Boolean)
187
- ], ParamsBalanceSheetReportUpdate.prototype, "isSign", void 0);
188
- __decorate([
189
- (0, utils_1.ApiPropertyOptional)(),
190
- (0, class_validator_1.IsOptional)(),
191
- (0, class_validator_1.IsBoolean)(),
192
- (0, boolean_transform_1.ToBoolean)(),
193
- __metadata("design:type", Boolean)
194
- ], ParamsBalanceSheetReportUpdate.prototype, "done", void 0);
195
- __decorate([
196
- (0, utils_1.ApiPropertyOptional)(),
197
- (0, class_validator_1.IsOptional)(),
198
- (0, class_validator_1.IsInt)(),
199
- __metadata("design:type", Number)
200
- ], ParamsBalanceSheetReportUpdate.prototype, "idMailValidation", void 0);
201
- __decorate([
202
- (0, utils_1.ApiPropertyOptional)(),
203
- (0, class_validator_1.IsOptional)(),
204
- (0, class_validator_1.IsInt)(),
205
- __metadata("design:type", Number)
206
- ], ParamsBalanceSheetReportUpdate.prototype, "idMailPayment", void 0);
207
- //# sourceMappingURL=Query.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheetReport/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiF;AACjF,6CAAqE;AACrE,sFAA2E;AAC3E,kDAAwD;AAExD,MAAa,gCAAiC,SAAQ,oCAAqB;CAqB1E;AArBD,4EAqBC;AAjBS;IAHP,IAAA,2BAAmB,GAA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AAE;IACX,IAAA,6BAAS,GAAE;;8DACa;AAMjB;IAJP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;4DACW;AAKf;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wEAC0B;AAK1B;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;qEACuB","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryBalanceSheetReportPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare signed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare factured?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idSupervisor?: number;\n}\n\nexport class ParamsBalanceSheetReportCreate {\n @ApiProperty()\n @IsInt()\n declare idSociety: number;\n\n @ApiProperty()\n @IsInt()\n declare idExercice: number;\n\n @ApiProperty()\n @IsInt()\n declare idPrestationList: number;\n\n @ApiProperty()\n @IsInt()\n declare idSupervisor: number;\n\n @ApiProperty()\n @IsInt()\n declare price: number;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n declare annoted: boolean;\n\n @ApiProperty()\n @IsInt()\n declare factured: number;\n}\n\nexport class ParamsBalanceSheetReportGeneratePdf {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n declare isSigned: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare comment?: string;\n}\n\nexport class ParamsBalanceSheetReportUpdate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare price?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idPrestationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idSupervisor?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idUserDemand?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idPaymentExpectation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idGedFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare annoted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare factured?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare sendDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare textPdf?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare isSign?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare done?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idMailValidation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idMailPayment?: number;\n}\n"]}
@@ -1,10 +0,0 @@
1
- import { BasePaginate, IAttestation, ParamsBalanceSheetReportGeneratePdf, ParamsBalanceSheetReportCreate, QueryBalanceSheetReportPaginated } from '../../types';
2
- import { Resource } from '../Resource';
3
- export declare class BalanceSheetReport extends Resource {
4
- getPaginated(params: QueryBalanceSheetReportPaginated, signal?: AbortSignal): Promise<BasePaginate<IAttestation>>;
5
- create(data: ParamsBalanceSheetReportCreate): Promise<number>;
6
- generatePdf(idReport: number, data: ParamsBalanceSheetReportGeneratePdf): Promise<IAttestation>;
7
- update(idReport: number, data: Partial<IAttestation>): Promise<IAttestation>;
8
- delete(idReport: number): Promise<number>;
9
- }
10
- //# sourceMappingURL=BalanceSheetReport.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BalanceSheetReport.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/BalanceSheetReport.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,mCAAmC,EACnC,8BAA8B,EAC9B,gCAAgC,EACjC,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,kBAAmB,SAAQ,QAAQ;IACvC,YAAY,CACjB,MAAM,EAAE,gCAAgC,EACxC,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;IAOtC,MAAM,CAAC,IAAI,EAAE,8BAA8B,GAAG,OAAO,CAAC,MAAM,CAAC;IAI7D,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,mCAAmC,GAAG,OAAO,CAAC,YAAY,CAAC;IAI/F,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC;IAI5E,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAG1C"}
@@ -1,22 +0,0 @@
1
- import { Resource } from '../Resource';
2
- export class BalanceSheetReport extends Resource {
3
- getPaginated(params, signal) {
4
- return this.axios.$get('balance-sheets/reports/paginated', {
5
- ...(signal ? { signal } : {}),
6
- params,
7
- });
8
- }
9
- create(data) {
10
- return this.axios.$post('balance-sheets/reports', data);
11
- }
12
- generatePdf(idReport, data) {
13
- return this.axios.$post(`balance-sheets/reports/${idReport}/pdf`, data);
14
- }
15
- update(idReport, data) {
16
- return this.axios.$put(`balance-sheets/reports/${idReport}`, data);
17
- }
18
- delete(idReport) {
19
- return this.axios.$delete(`balance-sheets/reports/${idReport}`);
20
- }
21
- }
22
- //# sourceMappingURL=BalanceSheetReport.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BalanceSheetReport.js","sourceRoot":"","sources":["../../../../ts/api/resources/BalanceSheetReport.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,kBAAmB,SAAQ,QAAQ;IACvC,YAAY,CACjB,MAAwC,EACxC,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,kCAAkC,EAAE;YACzD,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7B,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,IAAoC;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,wBAAwB,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IAED,WAAW,CAAC,QAAgB,EAAE,IAAyC;QACrE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,0BAA0B,QAAQ,MAAM,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;IAED,MAAM,CAAC,QAAgB,EAAE,IAA2B;QAClD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,QAAQ,EAAE,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;IAED,MAAM,CAAC,QAAgB;QACrB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,0BAA0B,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;CACF","sourcesContent":["import {\n BasePaginate,\n IAttestation,\n ParamsBalanceSheetReportGeneratePdf,\n ParamsBalanceSheetReportCreate,\n QueryBalanceSheetReportPaginated,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class BalanceSheetReport extends Resource {\n public getPaginated(\n params: QueryBalanceSheetReportPaginated,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IAttestation>> {\n return this.axios.$get('balance-sheets/reports/paginated', {\n ...(signal ? { signal } : {}),\n params,\n });\n }\n\n create(data: ParamsBalanceSheetReportCreate): Promise<number> {\n return this.axios.$post('balance-sheets/reports', data);\n }\n\n generatePdf(idReport: number, data: ParamsBalanceSheetReportGeneratePdf): Promise<IAttestation> {\n return this.axios.$post(`balance-sheets/reports/${idReport}/pdf`, data);\n }\n\n update(idReport: number, data: Partial<IAttestation>): Promise<IAttestation> {\n return this.axios.$put(`balance-sheets/reports/${idReport}`, data);\n }\n\n delete(idReport: number): Promise<number> {\n return this.axios.$delete(`balance-sheets/reports/${idReport}`);\n }\n}\n"]}
@@ -1,40 +0,0 @@
1
- import { RequiredQueryPaginate } from '../BasePaginate';
2
- export declare class QueryBalanceSheetReportPaginated extends RequiredQueryPaginate {
3
- search?: string;
4
- signed?: boolean;
5
- factured?: number;
6
- idSupervisor?: number;
7
- }
8
- export declare class ParamsBalanceSheetReportCreate {
9
- idSociety: number;
10
- idExercice: number;
11
- idPrestationList: number;
12
- idSupervisor: number;
13
- price: number;
14
- annoted: boolean;
15
- factured: number;
16
- }
17
- export declare class ParamsBalanceSheetReportGeneratePdf {
18
- isSigned: boolean;
19
- comment?: string;
20
- }
21
- export declare class ParamsBalanceSheetReportUpdate {
22
- price?: number;
23
- idPrestationList?: number;
24
- idExercice?: number;
25
- idSociety?: number;
26
- idSupervisor?: number;
27
- idUserDemand?: number;
28
- idPaymentExpectation?: number;
29
- idFile?: number;
30
- idGedFile?: number;
31
- annoted?: boolean;
32
- factured?: number;
33
- sendDate?: Date;
34
- textPdf?: string;
35
- isSign?: boolean;
36
- done?: boolean;
37
- idMailValidation?: number;
38
- idMailPayment?: number;
39
- }
40
- //# sourceMappingURL=Query.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AM,CAAC,EAAE,OAAO,CAAC;IAMjB,IAAI,CAAC,EAAE,OAAO,CAAC;IAKf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,aAAa,CAAC,EAAE,MAAM,CAAC;CAChC"}
@@ -1,200 +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 { IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';
11
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
- import { RequiredQueryPaginate } from '../BasePaginate';
14
- export class QueryBalanceSheetReportPaginated extends RequiredQueryPaginate {
15
- }
16
- __decorate([
17
- ApiPropertyOptional(),
18
- IsOptional(),
19
- IsString(),
20
- __metadata("design:type", String)
21
- ], QueryBalanceSheetReportPaginated.prototype, "search", void 0);
22
- __decorate([
23
- ApiPropertyOptional(),
24
- IsOptional(),
25
- IsBoolean(),
26
- ToBoolean(),
27
- __metadata("design:type", Boolean)
28
- ], QueryBalanceSheetReportPaginated.prototype, "signed", void 0);
29
- __decorate([
30
- ApiPropertyOptional(),
31
- IsOptional(),
32
- IsInt(),
33
- __metadata("design:type", Number)
34
- ], QueryBalanceSheetReportPaginated.prototype, "factured", void 0);
35
- __decorate([
36
- ApiPropertyOptional(),
37
- IsOptional(),
38
- IsInt(),
39
- __metadata("design:type", Number)
40
- ], QueryBalanceSheetReportPaginated.prototype, "idSupervisor", void 0);
41
- export class ParamsBalanceSheetReportCreate {
42
- }
43
- __decorate([
44
- ApiProperty(),
45
- IsInt(),
46
- __metadata("design:type", Number)
47
- ], ParamsBalanceSheetReportCreate.prototype, "idSociety", void 0);
48
- __decorate([
49
- ApiProperty(),
50
- IsInt(),
51
- __metadata("design:type", Number)
52
- ], ParamsBalanceSheetReportCreate.prototype, "idExercice", void 0);
53
- __decorate([
54
- ApiProperty(),
55
- IsInt(),
56
- __metadata("design:type", Number)
57
- ], ParamsBalanceSheetReportCreate.prototype, "idPrestationList", void 0);
58
- __decorate([
59
- ApiProperty(),
60
- IsInt(),
61
- __metadata("design:type", Number)
62
- ], ParamsBalanceSheetReportCreate.prototype, "idSupervisor", void 0);
63
- __decorate([
64
- ApiProperty(),
65
- IsInt(),
66
- __metadata("design:type", Number)
67
- ], ParamsBalanceSheetReportCreate.prototype, "price", void 0);
68
- __decorate([
69
- ApiProperty(),
70
- IsBoolean(),
71
- ToBoolean(),
72
- __metadata("design:type", Boolean)
73
- ], ParamsBalanceSheetReportCreate.prototype, "annoted", void 0);
74
- __decorate([
75
- ApiProperty(),
76
- IsInt(),
77
- __metadata("design:type", Number)
78
- ], ParamsBalanceSheetReportCreate.prototype, "factured", void 0);
79
- export class ParamsBalanceSheetReportGeneratePdf {
80
- }
81
- __decorate([
82
- ApiProperty(),
83
- IsBoolean(),
84
- ToBoolean(),
85
- __metadata("design:type", Boolean)
86
- ], ParamsBalanceSheetReportGeneratePdf.prototype, "isSigned", void 0);
87
- __decorate([
88
- ApiPropertyOptional(),
89
- IsOptional(),
90
- IsString(),
91
- __metadata("design:type", String)
92
- ], ParamsBalanceSheetReportGeneratePdf.prototype, "comment", void 0);
93
- export class ParamsBalanceSheetReportUpdate {
94
- }
95
- __decorate([
96
- ApiPropertyOptional(),
97
- IsOptional(),
98
- IsInt(),
99
- __metadata("design:type", Number)
100
- ], ParamsBalanceSheetReportUpdate.prototype, "price", void 0);
101
- __decorate([
102
- ApiPropertyOptional(),
103
- IsOptional(),
104
- IsInt(),
105
- __metadata("design:type", Number)
106
- ], ParamsBalanceSheetReportUpdate.prototype, "idPrestationList", void 0);
107
- __decorate([
108
- ApiPropertyOptional(),
109
- IsOptional(),
110
- IsInt(),
111
- __metadata("design:type", Number)
112
- ], ParamsBalanceSheetReportUpdate.prototype, "idExercice", void 0);
113
- __decorate([
114
- ApiPropertyOptional(),
115
- IsOptional(),
116
- IsInt(),
117
- __metadata("design:type", Number)
118
- ], ParamsBalanceSheetReportUpdate.prototype, "idSociety", void 0);
119
- __decorate([
120
- ApiPropertyOptional(),
121
- IsOptional(),
122
- IsInt(),
123
- __metadata("design:type", Number)
124
- ], ParamsBalanceSheetReportUpdate.prototype, "idSupervisor", void 0);
125
- __decorate([
126
- ApiPropertyOptional(),
127
- IsOptional(),
128
- IsInt(),
129
- __metadata("design:type", Number)
130
- ], ParamsBalanceSheetReportUpdate.prototype, "idUserDemand", void 0);
131
- __decorate([
132
- ApiPropertyOptional(),
133
- IsOptional(),
134
- IsInt(),
135
- __metadata("design:type", Number)
136
- ], ParamsBalanceSheetReportUpdate.prototype, "idPaymentExpectation", void 0);
137
- __decorate([
138
- ApiPropertyOptional(),
139
- IsOptional(),
140
- IsInt(),
141
- __metadata("design:type", Number)
142
- ], ParamsBalanceSheetReportUpdate.prototype, "idFile", void 0);
143
- __decorate([
144
- ApiPropertyOptional(),
145
- IsOptional(),
146
- IsInt(),
147
- __metadata("design:type", Number)
148
- ], ParamsBalanceSheetReportUpdate.prototype, "idGedFile", void 0);
149
- __decorate([
150
- ApiPropertyOptional(),
151
- IsOptional(),
152
- IsBoolean(),
153
- ToBoolean(),
154
- __metadata("design:type", Boolean)
155
- ], ParamsBalanceSheetReportUpdate.prototype, "annoted", void 0);
156
- __decorate([
157
- ApiPropertyOptional(),
158
- IsOptional(),
159
- IsInt(),
160
- __metadata("design:type", Number)
161
- ], ParamsBalanceSheetReportUpdate.prototype, "factured", void 0);
162
- __decorate([
163
- ApiPropertyOptional(),
164
- IsOptional(),
165
- IsDate(),
166
- __metadata("design:type", Date)
167
- ], ParamsBalanceSheetReportUpdate.prototype, "sendDate", void 0);
168
- __decorate([
169
- ApiPropertyOptional(),
170
- IsOptional(),
171
- IsString(),
172
- __metadata("design:type", String)
173
- ], ParamsBalanceSheetReportUpdate.prototype, "textPdf", void 0);
174
- __decorate([
175
- ApiPropertyOptional(),
176
- IsOptional(),
177
- IsBoolean(),
178
- ToBoolean(),
179
- __metadata("design:type", Boolean)
180
- ], ParamsBalanceSheetReportUpdate.prototype, "isSign", void 0);
181
- __decorate([
182
- ApiPropertyOptional(),
183
- IsOptional(),
184
- IsBoolean(),
185
- ToBoolean(),
186
- __metadata("design:type", Boolean)
187
- ], ParamsBalanceSheetReportUpdate.prototype, "done", void 0);
188
- __decorate([
189
- ApiPropertyOptional(),
190
- IsOptional(),
191
- IsInt(),
192
- __metadata("design:type", Number)
193
- ], ParamsBalanceSheetReportUpdate.prototype, "idMailValidation", void 0);
194
- __decorate([
195
- ApiPropertyOptional(),
196
- IsOptional(),
197
- IsInt(),
198
- __metadata("design:type", Number)
199
- ], ParamsBalanceSheetReportUpdate.prototype, "idMailPayment", void 0);
200
- //# sourceMappingURL=Query.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheetReport/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,MAAM,OAAO,gCAAiC,SAAQ,qBAAqB;CAqB1E;A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UAAU,EAAE;IACZ,KAAK,EAAE;;oEACsB;AAKtB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;oEACsB;AAKtB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4EAC8B;AAK9B;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8DACgB;AAKhB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;iEACmB;AAMnB;IAJP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;+DACc;AAKlB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;gEACkB;AAKlB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACU,IAAI;gEAAC;AAKhB;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+DACc;AAMjB;IAJP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;8DACa;AAMjB;IAJP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;4DACW;AAKf;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;wEAC0B;AAK1B;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;qEACuB","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryBalanceSheetReportPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare signed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare factured?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idSupervisor?: number;\n}\n\nexport class ParamsBalanceSheetReportCreate {\n @ApiProperty()\n @IsInt()\n declare idSociety: number;\n\n @ApiProperty()\n @IsInt()\n declare idExercice: number;\n\n @ApiProperty()\n @IsInt()\n declare idPrestationList: number;\n\n @ApiProperty()\n @IsInt()\n declare idSupervisor: number;\n\n @ApiProperty()\n @IsInt()\n declare price: number;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n declare annoted: boolean;\n\n @ApiProperty()\n @IsInt()\n declare factured: number;\n}\n\nexport class ParamsBalanceSheetReportGeneratePdf {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n declare isSigned: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare comment?: string;\n}\n\nexport class ParamsBalanceSheetReportUpdate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare price?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idPrestationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idSupervisor?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idUserDemand?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idPaymentExpectation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idGedFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare annoted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare factured?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare sendDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare textPdf?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare isSign?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare done?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idMailValidation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idMailPayment?: number;\n}\n"]}
@@ -1,36 +0,0 @@
1
- import {
2
- BasePaginate,
3
- IAttestation,
4
- ParamsBalanceSheetReportGeneratePdf,
5
- ParamsBalanceSheetReportCreate,
6
- QueryBalanceSheetReportPaginated,
7
- } from '../../types';
8
- import { Resource } from '../Resource';
9
-
10
- export class BalanceSheetReport extends Resource {
11
- public getPaginated(
12
- params: QueryBalanceSheetReportPaginated,
13
- signal?: AbortSignal,
14
- ): Promise<BasePaginate<IAttestation>> {
15
- return this.axios.$get('balance-sheets/reports/paginated', {
16
- ...(signal ? { signal } : {}),
17
- params,
18
- });
19
- }
20
-
21
- create(data: ParamsBalanceSheetReportCreate): Promise<number> {
22
- return this.axios.$post('balance-sheets/reports', data);
23
- }
24
-
25
- generatePdf(idReport: number, data: ParamsBalanceSheetReportGeneratePdf): Promise<IAttestation> {
26
- return this.axios.$post(`balance-sheets/reports/${idReport}/pdf`, data);
27
- }
28
-
29
- update(idReport: number, data: Partial<IAttestation>): Promise<IAttestation> {
30
- return this.axios.$put(`balance-sheets/reports/${idReport}`, data);
31
- }
32
-
33
- delete(idReport: number): Promise<number> {
34
- return this.axios.$delete(`balance-sheets/reports/${idReport}`);
35
- }
36
- }