@silexpert/core 1.3.138 → 1.3.139
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/dist/cjs/api/resources/DashboardLayout.d.ts +3 -4
- package/dist/cjs/api/resources/DashboardLayout.d.ts.map +1 -1
- package/dist/cjs/api/resources/DashboardLayout.js.map +1 -1
- package/dist/cjs/api/resources/Registration.js +1 -1
- package/dist/cjs/api/resources/Registration.js.map +1 -1
- package/dist/cjs/types/Enum/Aspone.d.ts +8 -0
- package/dist/cjs/types/Enum/Aspone.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Aspone.js +11 -1
- package/dist/cjs/types/Enum/Aspone.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts +66 -0
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +136 -69
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts +62 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestion.js +62 -0
- package/dist/cjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts +58 -13
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js +58 -12
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/dist/cjs/types/Enum/GlobalRegime.js +19 -19
- package/dist/cjs/types/Enum/GlobalRegime.js.map +1 -1
- package/dist/cjs/types/Enum/IncomeStatement.d.ts +32 -0
- package/dist/cjs/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/dist/cjs/types/Enum/IncomeStatement.js +74 -41
- package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +3 -2
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +3 -2
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2050.d.ts +1592 -1634
- package/dist/cjs/types/Interface/api/cerfa/2050.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2050.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +3 -2
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +10 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +3 -2
- package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.d.ts +1 -0
- package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.js +9 -0
- package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts +4 -0
- package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/dist/mjs/api/resources/DashboardLayout.d.ts +3 -4
- package/dist/mjs/api/resources/DashboardLayout.d.ts.map +1 -1
- package/dist/mjs/api/resources/DashboardLayout.js.map +1 -1
- package/dist/mjs/api/resources/Registration.js +1 -1
- package/dist/mjs/api/resources/Registration.js.map +1 -1
- package/dist/mjs/types/Enum/Aspone.d.ts +8 -0
- package/dist/mjs/types/Enum/Aspone.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Aspone.js +10 -0
- package/dist/mjs/types/Enum/Aspone.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts +66 -0
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +135 -68
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts +62 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestion.js +62 -0
- package/dist/mjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts +58 -13
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js +58 -12
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/dist/mjs/types/Enum/GlobalRegime.js +19 -19
- package/dist/mjs/types/Enum/GlobalRegime.js.map +1 -1
- package/dist/mjs/types/Enum/IncomeStatement.d.ts +32 -0
- package/dist/mjs/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/dist/mjs/types/Enum/IncomeStatement.js +73 -40
- package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +3 -2
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +3 -2
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2050.d.ts +1592 -1634
- package/dist/mjs/types/Interface/api/cerfa/2050.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2050.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +3 -2
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +10 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +3 -2
- package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.d.ts +1 -0
- package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.js +11 -1
- package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts +4 -0
- package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/DashboardLayout.ts +3 -4
- package/ts/api/resources/Registration.ts +1 -1
- package/ts/types/Enum/Aspone.ts +10 -0
- package/ts/types/Enum/BalanceSheet.ts +137 -68
- package/ts/types/Enum/BalanceSheetQuestion.ts +63 -0
- package/ts/types/Enum/BalanceSheetQuestionWording.ts +130 -81
- package/ts/types/Enum/GlobalRegime.ts +19 -19
- package/ts/types/Enum/IncomeStatement.ts +73 -40
- package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +4 -2
- package/ts/types/Interface/api/cerfa/2031.ts +3 -2
- package/ts/types/Interface/api/cerfa/2050.ts +1580 -1399
- package/ts/types/Interface/api/cerfa/2065.ts +2 -2
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +20 -2
- package/ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts +4 -2
- package/ts/types/Interface/api/payment/Params.ts +9 -1
- package/ts/types/Interface/api/registration/ReadRegistration.ts +4 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadIncomeStatement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"ReadIncomeStatement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAClC,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadIncomeStatement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts"],"names":[],"mappings":"","sourcesContent":["export type
|
|
1
|
+
{"version":3,"file":"ReadIncomeStatement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts"],"names":[],"mappings":"","sourcesContent":["export type ReadIncomeStatementItem = {\n name: string;\n total: number;\n description?: ReadIncomeStatement;\n key: string;\n};\n\nexport type ReadIncomeStatement = ReadIncomeStatementItem[];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":"AAIA,qBAAa,yBAAyB;IAIpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,qBAAa,uBAAuB;IAGlC,SAAS,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":"AAIA,qBAAa,yBAAyB;IAIpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,qBAAa,uBAAuB;IAGlC,SAAS,EAAE,MAAM,CAAC;IAQlB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,iBAAiB;IAG5B,aAAa,EAAE,MAAM,EAAE,CAAC;IAMxB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,qBAAa,aAAa;IAIxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,YAAY,CAAC,EAAE,MAAM,CAAC;IAMtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAMlB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,UAAU,CAAC,EAAE,OAAO,CAAC;IAMrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAM3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAM5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,WAAW,CAAC,EAAE,IAAI,CAAC;CACpB"}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
10
|
+
import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, Matches } from 'class-validator';
|
|
11
11
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
12
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
13
|
export class CreatePaymentsAutoBilling {
|
|
@@ -21,12 +21,22 @@ __decorate([
|
|
|
21
21
|
], CreatePaymentsAutoBilling.prototype, "idSociety", void 0);
|
|
22
22
|
export class CreatePaymentsRebilling {
|
|
23
23
|
idSociety;
|
|
24
|
+
endDate;
|
|
24
25
|
}
|
|
25
26
|
__decorate([
|
|
26
27
|
ApiProperty(),
|
|
27
28
|
IsInt(),
|
|
28
29
|
__metadata("design:type", Number)
|
|
29
30
|
], CreatePaymentsRebilling.prototype, "idSociety", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
ApiPropertyOptional(),
|
|
33
|
+
IsOptional(),
|
|
34
|
+
IsString(),
|
|
35
|
+
Matches(/^\d{4}-(0[1-9]|1[0-2])$/, {
|
|
36
|
+
message: 'endDate doit être au format YYYY-MM',
|
|
37
|
+
}),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CreatePaymentsRebilling.prototype, "endDate", void 0);
|
|
30
40
|
export class UpdateCollectable {
|
|
31
41
|
listIdPayment;
|
|
32
42
|
isCollectable;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,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import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreatePaymentsAutoBilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\nexport class CreatePaymentsRebilling {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @Matches(/^\\d{4}-(0[1-9]|1[0-2])$/, {\n message: 'endDate doit être au format YYYY-MM',\n })\n endDate?: string;\n}\n\nexport class UpdateCollectable {\n @ApiProperty()\n @IsInt({ each: true })\n listIdPayment: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCollectable: boolean;\n}\n\nexport class UpdatePayment {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amountPayed?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPaymentMethod?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isAsset?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isFree?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isOverpaid?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isHiddenCustomer?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n noInternalInvoice?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isDebtSpreading?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n internComment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n datePayment?: Date;\n}\n"]}
|
|
@@ -14,6 +14,10 @@ export interface ReadSynchronization {
|
|
|
14
14
|
}
|
|
15
15
|
export type ReadRegistrationFormValues = {
|
|
16
16
|
carriedForwardDeficit: number;
|
|
17
|
+
sellOfMerchandises: number;
|
|
18
|
+
productionOfGoods: number;
|
|
19
|
+
productionOfServices: number;
|
|
20
|
+
paidUpShareCapital: number;
|
|
17
21
|
};
|
|
18
22
|
export type ReadRegistrationHistory = InterchangeState;
|
|
19
23
|
export interface ReadRegistrationTick {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadRegistration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAElH,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG;IAAE,KAAK,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAE5E,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,0BAA0B,GAAG;IACvC,qBAAqB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ReadRegistration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,E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C;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,CAAC;IACX,uBAAuB,EAAE,MAAM,CAAC;IAChC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAED,qBAAa,uBAAuB;IAClC,GAAG,EAAE,gBAAgB,EAAE,CAAC;IACxB,GAAG,EAAE,gBAAgB,EAAE,CAAC;CACzB;AAED,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,EAAE,CAAC;AAE1D,MAAM,MAAM,4BAA4B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,KAAK,GAAG,KAAK,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReadRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"AAgDA,MAAM,OAAO,uBAAuB;IAClC,GAAG,CAAqB;IACxB,GAAG,CAAqB;CACzB","sourcesContent":["import { IRegistration } from '../../models/IRegistration';\nimport { IAccount, IAccountingEntry, InterchangeState, RegistrationState, RegistrationTickState } from '../../..';\n\nexport type ReadRegistration = IRegistration & { state: RegistrationState };\n\nexport interface ReadSynchronization {\n id: number;\n hasError: boolean;\n hasDepositError: boolean;\n isProcessFinished: boolean;\n hasPaymentError: boolean;\n isTimeOut: boolean;\n hasFailed: boolean;\n}\n\nexport type ReadRegistrationFormValues = {\n carriedForwardDeficit: number;\n sellOfMerchandises: number;\n productionOfGoods: number;\n productionOfServices: number;\n paidUpShareCapital: number;\n};\n\nexport type ReadRegistrationHistory = InterchangeState;\n\nexport interface ReadRegistrationTick {\n type?: string | null;\n state: RegistrationTickState;\n title: string | null;\n details: InterchangeState;\n date: string | null;\n isPayment?: boolean;\n}\n\nexport interface ReadVatEntry {\n isAsset: boolean;\n idVat: number | null;\n account: IAccount | null;\n totalTaxIncluded: number;\n totalTaxExcluded: number;\n totalTax: number;\n label: string;\n date: Date;\n idAccountingTransaction: number;\n isRevised: boolean;\n entry?: IAccountingEntry;\n}\n\nexport class UpdatedAnnotationObject {\n old: IAccountingEntry[];\n new: IAccountingEntry[];\n}\n\nexport type UpdatedAnnotation = UpdatedAnnotationObject[];\n\nexport type ReadRegistrationExternalFile = {\n id: string;\n createdAt: string;\n name: string;\n format: 'XML' | 'EDI';\n size: string;\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.139",
|
|
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": "dist/cjs/index.js",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { IDashboardLayoutItem } from '../../types';
|
|
2
|
-
import { GetAvailableDashboardBlocksResponse } from '../../types/Interface/api/feature/GetAvailableDashboardBlocks';
|
|
1
|
+
import { DashboardBlock, IDashboardLayoutItem } from '../../types';
|
|
3
2
|
import { Resource } from '../Resource';
|
|
4
3
|
|
|
5
4
|
export class DashboardLayout extends Resource {
|
|
@@ -7,7 +6,7 @@ export class DashboardLayout extends Resource {
|
|
|
7
6
|
return this.axios.$post(`/societies/${idSociety}/dashboards/layouts`, { jsonLayout });
|
|
8
7
|
}
|
|
9
8
|
|
|
10
|
-
findOneByUserAndSociety(idSociety: number): Promise<
|
|
9
|
+
findOneByUserAndSociety(idSociety: number): Promise<IDashboardLayoutItem[]> {
|
|
11
10
|
return this.axios.$get(`/societies/${idSociety}/dashboards/layouts`);
|
|
12
11
|
}
|
|
13
12
|
|
|
@@ -15,7 +14,7 @@ export class DashboardLayout extends Resource {
|
|
|
15
14
|
return this.axios.$delete(`/societies/${idSociety}/dashboards/layouts`);
|
|
16
15
|
}
|
|
17
16
|
|
|
18
|
-
getAvailableDashboardBlocks(idSociety: number): Promise<
|
|
17
|
+
getAvailableDashboardBlocks(idSociety: number): Promise<DashboardBlock[]> {
|
|
19
18
|
return this.axios.$get(`/societies/${idSociety}/dashboards/features`);
|
|
20
19
|
}
|
|
21
20
|
}
|
|
@@ -36,7 +36,7 @@ export class Registration extends Resource {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
updateOrCreate(idExercice: number, params: CreateRegistration): Promise<ReadRegistration> {
|
|
39
|
-
return this.axios.$post(`/exercices/${idExercice}/registrations`, params);
|
|
39
|
+
return this.axios.$post(`/exercices/${idExercice}/registrations`, params, { timeout: 300000 });
|
|
40
40
|
}
|
|
41
41
|
updateOrCreateSettings(params: CreateRegistrationSetting): Promise<IVatDeclarationSocietyDetail> {
|
|
42
42
|
return this.axios.$post('/registrations/settings', params);
|
package/ts/types/Enum/Aspone.ts
CHANGED
|
@@ -202,3 +202,13 @@ export const AsponeCOL_2024_LIST = [
|
|
|
202
202
|
{ id: AsponeCOL_2024.RJ, value: 'Redressement judiciaire' },
|
|
203
203
|
{ id: AsponeCOL_2024.LJ, value: 'Liquidation judiciaire' },
|
|
204
204
|
];
|
|
205
|
+
|
|
206
|
+
export enum AsponeTSO {
|
|
207
|
+
MER = 'MER', // Société mère
|
|
208
|
+
FIL = 'FIL', // Société fille
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export enum AsponeT01 {
|
|
212
|
+
'NON' = 0,
|
|
213
|
+
'OUI' = 1,
|
|
214
|
+
}
|