@silexpert/core 1.2.101-0 → 1.2.101-1
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/AccountType.d.ts +1 -4
- package/dist/cjs/api/resources/AccountType.d.ts.map +1 -1
- package/dist/cjs/api/resources/AccountType.js +0 -3
- package/dist/cjs/api/resources/AccountType.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +0 -4
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -4
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Interface/models/IApiError.d.ts +0 -4
- package/dist/cjs/types/Interface/models/IApiError.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IApiError.js +0 -5
- package/dist/cjs/types/Interface/models/IApiError.js.map +1 -1
- package/dist/cjs/types/Interface/models/IBankAccount.d.ts +0 -2
- package/dist/cjs/types/Interface/models/IBankAccount.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IBankAccount.js.map +1 -1
- package/dist/cjs/types/index.d.ts +0 -19
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +0 -19
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/AccountType.d.ts +1 -4
- package/dist/mjs/api/resources/AccountType.d.ts.map +1 -1
- package/dist/mjs/api/resources/AccountType.js +0 -3
- package/dist/mjs/api/resources/AccountType.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +0 -4
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -4
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Interface/models/IApiError.d.ts +0 -4
- package/dist/mjs/types/Interface/models/IApiError.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IApiError.js +0 -5
- package/dist/mjs/types/Interface/models/IApiError.js.map +1 -1
- package/dist/mjs/types/Interface/models/IBankAccount.d.ts +0 -2
- package/dist/mjs/types/Interface/models/IBankAccount.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IBankAccount.js.map +1 -1
- package/dist/mjs/types/index.d.ts +0 -19
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +0 -19
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/AccountType.ts +1 -5
- package/ts/api/resources.ts +0 -4
- package/ts/types/Interface/models/IApiError.ts +0 -5
- package/ts/types/Interface/models/IBankAccount.ts +0 -2
- package/ts/types/index.ts +0 -19
- package/dist/cjs/api/resources/Simulation.d.ts +0 -12
- package/dist/cjs/api/resources/Simulation.d.ts.map +0 -1
- package/dist/cjs/api/resources/Simulation.js +0 -19
- package/dist/cjs/api/resources/Simulation.js.map +0 -1
- package/dist/cjs/api/resources/Sponsorship.d.ts +0 -12
- package/dist/cjs/api/resources/Sponsorship.d.ts.map +0 -1
- package/dist/cjs/api/resources/Sponsorship.js +0 -38
- package/dist/cjs/api/resources/Sponsorship.js.map +0 -1
- package/dist/cjs/types/Enum/Simulation.d.ts +0 -27
- package/dist/cjs/types/Enum/Simulation.d.ts.map +0 -1
- package/dist/cjs/types/Enum/Simulation.js +0 -30
- package/dist/cjs/types/Enum/Simulation.js.map +0 -1
- package/dist/cjs/types/Enum/SponsorshipState.d.ts +0 -7
- package/dist/cjs/types/Enum/SponsorshipState.d.ts.map +0 -1
- package/dist/cjs/types/Enum/SponsorshipState.js +0 -11
- package/dist/cjs/types/Enum/SponsorshipState.js.map +0 -1
- package/dist/cjs/types/Interface/api/simulation/CreateSimulation.d.ts +0 -67
- package/dist/cjs/types/Interface/api/simulation/CreateSimulation.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/simulation/CreateSimulation.js +0 -11
- package/dist/cjs/types/Interface/api/simulation/CreateSimulation.js.map +0 -1
- package/dist/cjs/types/Interface/api/simulation/ReadSimulation.d.ts +0 -1
- package/dist/cjs/types/Interface/api/simulation/ReadSimulation.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/simulation/ReadSimulation.js +0 -2
- package/dist/cjs/types/Interface/api/simulation/ReadSimulation.js.map +0 -1
- package/dist/cjs/types/Interface/api/simulationColors/ReadSimulationColors.d.ts +0 -6
- package/dist/cjs/types/Interface/api/simulationColors/ReadSimulationColors.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/simulationColors/ReadSimulationColors.js +0 -29
- package/dist/cjs/types/Interface/api/simulationColors/ReadSimulationColors.js.map +0 -1
- package/dist/cjs/types/Interface/api/sponsorship/CreateSponsorship.d.ts +0 -5
- package/dist/cjs/types/Interface/api/sponsorship/CreateSponsorship.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/sponsorship/CreateSponsorship.js +0 -25
- package/dist/cjs/types/Interface/api/sponsorship/CreateSponsorship.js.map +0 -1
- package/dist/cjs/types/Interface/api/sponsorship/QuerySponsorship.d.ts +0 -10
- package/dist/cjs/types/Interface/api/sponsorship/QuerySponsorship.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/sponsorship/QuerySponsorship.js +0 -40
- package/dist/cjs/types/Interface/api/sponsorship/QuerySponsorship.js.map +0 -1
- package/dist/cjs/types/Interface/api/sponsorship/ReadSponsorship.d.ts +0 -23
- package/dist/cjs/types/Interface/api/sponsorship/ReadSponsorship.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/sponsorship/ReadSponsorship.js +0 -7
- package/dist/cjs/types/Interface/api/sponsorship/ReadSponsorship.js.map +0 -1
- package/dist/cjs/types/Interface/api/sponsorship/SendSponsorshipLink.d.ts +0 -5
- package/dist/cjs/types/Interface/api/sponsorship/SendSponsorshipLink.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/sponsorship/SendSponsorshipLink.js +0 -25
- package/dist/cjs/types/Interface/api/sponsorship/SendSponsorshipLink.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulation.d.ts +0 -23
- package/dist/cjs/types/Interface/models/ISimulation.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulation.js +0 -3
- package/dist/cjs/types/Interface/models/ISimulation.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulationAdditionalFinance.d.ts +0 -8
- package/dist/cjs/types/Interface/models/ISimulationAdditionalFinance.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulationAdditionalFinance.js +0 -3
- package/dist/cjs/types/Interface/models/ISimulationAdditionalFinance.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulationColor.d.ts +0 -7
- package/dist/cjs/types/Interface/models/ISimulationColor.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulationColor.js +0 -3
- package/dist/cjs/types/Interface/models/ISimulationColor.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulationElement.d.ts +0 -24
- package/dist/cjs/types/Interface/models/ISimulationElement.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulationElement.js +0 -3
- package/dist/cjs/types/Interface/models/ISimulationElement.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulationHasBankAccount.d.ts +0 -8
- package/dist/cjs/types/Interface/models/ISimulationHasBankAccount.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulationHasBankAccount.js +0 -3
- package/dist/cjs/types/Interface/models/ISimulationHasBankAccount.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulationPeriod.d.ts +0 -12
- package/dist/cjs/types/Interface/models/ISimulationPeriod.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulationPeriod.js +0 -3
- package/dist/cjs/types/Interface/models/ISimulationPeriod.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulationSummary.d.ts +0 -15
- package/dist/cjs/types/Interface/models/ISimulationSummary.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISimulationSummary.js +0 -3
- package/dist/cjs/types/Interface/models/ISimulationSummary.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISponsorship.d.ts +0 -11
- package/dist/cjs/types/Interface/models/ISponsorship.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISponsorship.js +0 -3
- package/dist/cjs/types/Interface/models/ISponsorship.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISponsorshipCheck.d.ts +0 -6
- package/dist/cjs/types/Interface/models/ISponsorshipCheck.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISponsorshipCheck.js +0 -3
- package/dist/cjs/types/Interface/models/ISponsorshipCheck.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISponsorshipLink.d.ts +0 -8
- package/dist/cjs/types/Interface/models/ISponsorshipLink.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISponsorshipLink.js +0 -3
- package/dist/cjs/types/Interface/models/ISponsorshipLink.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISponsorshipWithSponsorInfo.d.ts +0 -10
- package/dist/cjs/types/Interface/models/ISponsorshipWithSponsorInfo.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISponsorshipWithSponsorInfo.js +0 -3
- package/dist/cjs/types/Interface/models/ISponsorshipWithSponsorInfo.js.map +0 -1
- package/dist/mjs/api/resources/Simulation.d.ts +0 -12
- package/dist/mjs/api/resources/Simulation.d.ts.map +0 -1
- package/dist/mjs/api/resources/Simulation.js +0 -15
- package/dist/mjs/api/resources/Simulation.js.map +0 -1
- package/dist/mjs/api/resources/Sponsorship.d.ts +0 -12
- package/dist/mjs/api/resources/Sponsorship.d.ts.map +0 -1
- package/dist/mjs/api/resources/Sponsorship.js +0 -23
- package/dist/mjs/api/resources/Sponsorship.js.map +0 -1
- package/dist/mjs/types/Enum/Simulation.d.ts +0 -27
- package/dist/mjs/types/Enum/Simulation.d.ts.map +0 -1
- package/dist/mjs/types/Enum/Simulation.js +0 -27
- package/dist/mjs/types/Enum/Simulation.js.map +0 -1
- package/dist/mjs/types/Enum/SponsorshipState.d.ts +0 -7
- package/dist/mjs/types/Enum/SponsorshipState.d.ts.map +0 -1
- package/dist/mjs/types/Enum/SponsorshipState.js +0 -8
- package/dist/mjs/types/Enum/SponsorshipState.js.map +0 -1
- package/dist/mjs/types/Interface/api/simulation/CreateSimulation.d.ts +0 -67
- package/dist/mjs/types/Interface/api/simulation/CreateSimulation.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/simulation/CreateSimulation.js +0 -44
- package/dist/mjs/types/Interface/api/simulation/CreateSimulation.js.map +0 -1
- package/dist/mjs/types/Interface/api/simulation/ReadSimulation.d.ts +0 -1
- package/dist/mjs/types/Interface/api/simulation/ReadSimulation.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/simulation/ReadSimulation.js +0 -2
- package/dist/mjs/types/Interface/api/simulation/ReadSimulation.js.map +0 -1
- package/dist/mjs/types/Interface/api/simulationColors/ReadSimulationColors.d.ts +0 -6
- package/dist/mjs/types/Interface/api/simulationColors/ReadSimulationColors.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/simulationColors/ReadSimulationColors.js +0 -28
- package/dist/mjs/types/Interface/api/simulationColors/ReadSimulationColors.js.map +0 -1
- package/dist/mjs/types/Interface/api/sponsorship/CreateSponsorship.d.ts +0 -5
- package/dist/mjs/types/Interface/api/sponsorship/CreateSponsorship.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/sponsorship/CreateSponsorship.js +0 -23
- package/dist/mjs/types/Interface/api/sponsorship/CreateSponsorship.js.map +0 -1
- package/dist/mjs/types/Interface/api/sponsorship/QuerySponsorship.d.ts +0 -10
- package/dist/mjs/types/Interface/api/sponsorship/QuerySponsorship.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/sponsorship/QuerySponsorship.js +0 -40
- package/dist/mjs/types/Interface/api/sponsorship/QuerySponsorship.js.map +0 -1
- package/dist/mjs/types/Interface/api/sponsorship/ReadSponsorship.d.ts +0 -23
- package/dist/mjs/types/Interface/api/sponsorship/ReadSponsorship.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/sponsorship/ReadSponsorship.js +0 -6
- package/dist/mjs/types/Interface/api/sponsorship/ReadSponsorship.js.map +0 -1
- package/dist/mjs/types/Interface/api/sponsorship/SendSponsorshipLink.d.ts +0 -5
- package/dist/mjs/types/Interface/api/sponsorship/SendSponsorshipLink.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/sponsorship/SendSponsorshipLink.js +0 -23
- package/dist/mjs/types/Interface/api/sponsorship/SendSponsorshipLink.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulation.d.ts +0 -23
- package/dist/mjs/types/Interface/models/ISimulation.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulation.js +0 -2
- package/dist/mjs/types/Interface/models/ISimulation.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulationAdditionalFinance.d.ts +0 -8
- package/dist/mjs/types/Interface/models/ISimulationAdditionalFinance.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulationAdditionalFinance.js +0 -2
- package/dist/mjs/types/Interface/models/ISimulationAdditionalFinance.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulationColor.d.ts +0 -7
- package/dist/mjs/types/Interface/models/ISimulationColor.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulationColor.js +0 -2
- package/dist/mjs/types/Interface/models/ISimulationColor.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulationElement.d.ts +0 -24
- package/dist/mjs/types/Interface/models/ISimulationElement.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulationElement.js +0 -2
- package/dist/mjs/types/Interface/models/ISimulationElement.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulationHasBankAccount.d.ts +0 -8
- package/dist/mjs/types/Interface/models/ISimulationHasBankAccount.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulationHasBankAccount.js +0 -2
- package/dist/mjs/types/Interface/models/ISimulationHasBankAccount.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulationPeriod.d.ts +0 -12
- package/dist/mjs/types/Interface/models/ISimulationPeriod.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulationPeriod.js +0 -2
- package/dist/mjs/types/Interface/models/ISimulationPeriod.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulationSummary.d.ts +0 -15
- package/dist/mjs/types/Interface/models/ISimulationSummary.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISimulationSummary.js +0 -2
- package/dist/mjs/types/Interface/models/ISimulationSummary.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISponsorship.d.ts +0 -11
- package/dist/mjs/types/Interface/models/ISponsorship.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISponsorship.js +0 -2
- package/dist/mjs/types/Interface/models/ISponsorship.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISponsorshipCheck.d.ts +0 -6
- package/dist/mjs/types/Interface/models/ISponsorshipCheck.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISponsorshipCheck.js +0 -2
- package/dist/mjs/types/Interface/models/ISponsorshipCheck.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISponsorshipLink.d.ts +0 -8
- package/dist/mjs/types/Interface/models/ISponsorshipLink.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISponsorshipLink.js +0 -2
- package/dist/mjs/types/Interface/models/ISponsorshipLink.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISponsorshipWithSponsorInfo.d.ts +0 -10
- package/dist/mjs/types/Interface/models/ISponsorshipWithSponsorInfo.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISponsorshipWithSponsorInfo.js +0 -2
- package/dist/mjs/types/Interface/models/ISponsorshipWithSponsorInfo.js.map +0 -1
- package/ts/api/resources/Simulation.ts +0 -18
- package/ts/api/resources/Sponsorship.ts +0 -37
- package/ts/types/Enum/Simulation.ts +0 -26
- package/ts/types/Enum/SponsorshipState.ts +0 -6
- package/ts/types/Interface/api/simulation/CreateSimulation.ts +0 -103
- package/ts/types/Interface/api/simulation/ReadSimulation.ts +0 -0
- package/ts/types/Interface/api/simulationColors/ReadSimulationColors.ts +0 -12
- package/ts/types/Interface/api/sponsorship/CreateSponsorship.ts +0 -9
- package/ts/types/Interface/api/sponsorship/QuerySponsorship.ts +0 -20
- package/ts/types/Interface/api/sponsorship/ReadSponsorship.ts +0 -11
- package/ts/types/Interface/api/sponsorship/SendSponsorshipLink.ts +0 -9
- package/ts/types/Interface/models/ISimulation.ts +0 -26
- package/ts/types/Interface/models/ISimulationAdditionalFinance.ts +0 -8
- package/ts/types/Interface/models/ISimulationColor.ts +0 -7
- package/ts/types/Interface/models/ISimulationElement.ts +0 -27
- package/ts/types/Interface/models/ISimulationHasBankAccount.ts +0 -8
- package/ts/types/Interface/models/ISimulationPeriod.ts +0 -15
- package/ts/types/Interface/models/ISimulationSummary.ts +0 -18
- package/ts/types/Interface/models/ISponsorship.ts +0 -10
- package/ts/types/Interface/models/ISponsorshipCheck.ts +0 -6
- package/ts/types/Interface/models/ISponsorshipLink.ts +0 -7
- package/ts/types/Interface/models/ISponsorshipWithSponsorInfo.ts +0 -10
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ISponsorshipCheck.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISponsorshipCheck.ts"],"names":[],"mappings":"","sourcesContent":["import { ISponsorshipLink } from './ISponsorshipLink';\n\nexport interface ISponsorshipCheck extends ISponsorshipLink {\n firstname?: string;\n lastname?: string;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ISponsorshipLink.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISponsorshipLink.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ISponsorshipLink.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISponsorshipLink.ts"],"names":[],"mappings":"","sourcesContent":["export interface ISponsorshipLink {\n id?: number;\n code?: string;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ISponsorship } from './ISponsorship';
|
|
2
|
-
export interface ISponsorshipWithSponsorInfo extends ISponsorship {
|
|
3
|
-
firstname?: string;
|
|
4
|
-
lastname?: string;
|
|
5
|
-
idSponsor?: number;
|
|
6
|
-
sponsorIban?: string | null;
|
|
7
|
-
sponsorBic?: string | null;
|
|
8
|
-
societySponsorName?: string;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=ISponsorshipWithSponsorInfo.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ISponsorshipWithSponsorInfo.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISponsorshipWithSponsorInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,2BAA4B,SAAQ,YAAY;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ISponsorshipWithSponsorInfo.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISponsorshipWithSponsorInfo.ts"],"names":[],"mappings":"","sourcesContent":["import { ISponsorship } from './ISponsorship';\n\nexport interface ISponsorshipWithSponsorInfo extends ISponsorship {\n firstname?: string;\n lastname?: string;\n idSponsor?: number;\n sponsorIban?: string | null;\n sponsorBic?: string | null;\n societySponsorName?: string;\n}\n"]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
import { BasePaginate, ISimulation, ISociety, QueryPaginate, ReadSimulationColor } from '../../types';
|
|
3
|
-
|
|
4
|
-
export class Simulation extends Resource {
|
|
5
|
-
getBySociety(params: { idSociety: number } & QueryPaginate): Promise<BasePaginate<ISimulation>> {
|
|
6
|
-
return this.axios.$get(`/society/${params.idSociety}/simulations`, {
|
|
7
|
-
params,
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
hideSimulationBetaMessage(params: { idSociety: number }): Promise<ISociety> {
|
|
12
|
-
return this.axios.$post(`/society/${params.idSociety}/hideSimulationBetaMessage`);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
getColors(): Promise<ReadSimulationColor[]> {
|
|
16
|
-
return this.axios.$get('/simulation/colors');
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
import {
|
|
3
|
-
BasePaginate,
|
|
4
|
-
CreateSponsorship,
|
|
5
|
-
ISponsorship,
|
|
6
|
-
ISponsorshipCheck,
|
|
7
|
-
ISponsorshipLink,
|
|
8
|
-
QuerySponsorship,
|
|
9
|
-
} from '../../types';
|
|
10
|
-
import { ISponsorshipWithSponsorInfo } from '../../types/Interface/models/ISponsorshipWithSponsorInfo';
|
|
11
|
-
|
|
12
|
-
export class Sponsorship extends Resource {
|
|
13
|
-
getSponsorships(params: QuerySponsorship): Promise<BasePaginate<ISponsorship>> {
|
|
14
|
-
const { idSociety, ...query } = params;
|
|
15
|
-
return this.axios.$get(`/society/${idSociety}/sponsorships`, { params: query });
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
getSocietySponsorship(idUser: number): Promise<ISponsorshipWithSponsorInfo> {
|
|
19
|
-
return this.axios.$get(`/society/sponsorship/${idUser}`);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
getSocietySponsorshipLink(code: string): Promise<ISponsorshipCheck> {
|
|
23
|
-
return this.axios.$get(`/society/sponsorshipLink/${code}`);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
postSocietySponsorshipLink(idSociety: number): Promise<ISponsorshipLink> {
|
|
27
|
-
return this.axios.$post(`/society/${idSociety}/sponsorshipLink`);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
postSocietySponsorshipLinkSend(idSociety: number, email: string[]): Promise<boolean> {
|
|
31
|
-
return this.axios.$post(`/society/${idSociety}/sponsorshipLink/send`, { email });
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
postSocietySponsorship(params: CreateSponsorship): Promise<ISponsorship> {
|
|
35
|
-
return this.axios.$post('/society/sponsorship', params);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export const SimulationColor = {
|
|
2
|
-
GREEN: {
|
|
3
|
-
id: 1,
|
|
4
|
-
value: '#5DD8A4',
|
|
5
|
-
},
|
|
6
|
-
BLUE: {
|
|
7
|
-
id: 2,
|
|
8
|
-
value: '#21C7E4',
|
|
9
|
-
},
|
|
10
|
-
YELLOW: {
|
|
11
|
-
id: 3,
|
|
12
|
-
value: '#FEC32D',
|
|
13
|
-
},
|
|
14
|
-
ORANGE: {
|
|
15
|
-
id: 4,
|
|
16
|
-
value: '#FD7558',
|
|
17
|
-
},
|
|
18
|
-
GREY: {
|
|
19
|
-
id: 5,
|
|
20
|
-
value: '#6C788B',
|
|
21
|
-
},
|
|
22
|
-
PURPLE: {
|
|
23
|
-
id: 6,
|
|
24
|
-
value: '#877AD7',
|
|
25
|
-
},
|
|
26
|
-
};
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
// import {SimulationColor} from '../../..';
|
|
2
|
-
|
|
3
|
-
export interface SimulationEstimateInvoice {
|
|
4
|
-
createdAt: string;
|
|
5
|
-
dateInvoiceCreated: string;
|
|
6
|
-
deletedAt: null;
|
|
7
|
-
deposit: number;
|
|
8
|
-
discount: string;
|
|
9
|
-
dueDate: string;
|
|
10
|
-
estimateMailSend: null;
|
|
11
|
-
estimateRef: null;
|
|
12
|
-
expirationDate: null;
|
|
13
|
-
fileEstimate: null;
|
|
14
|
-
fileInvoice: string;
|
|
15
|
-
freeText: string;
|
|
16
|
-
generalComment: string;
|
|
17
|
-
generalDiscount: number;
|
|
18
|
-
greetings: boolean;
|
|
19
|
-
idEstimateInvoice: number;
|
|
20
|
-
idEstimateInvoiceForThisRepeat: number | null;
|
|
21
|
-
idFrequency: number | null;
|
|
22
|
-
idRelatedEstimateOrderForm: number | null;
|
|
23
|
-
idRelatedInvoice: number | null;
|
|
24
|
-
idSociety: number;
|
|
25
|
-
idThirdParty: number;
|
|
26
|
-
idEstimateInvoiceType: number;
|
|
27
|
-
invoiceMailSend: null;
|
|
28
|
-
invoiceRef: string;
|
|
29
|
-
isCanceled: boolean;
|
|
30
|
-
isDraft: boolean;
|
|
31
|
-
isPaid: boolean;
|
|
32
|
-
isRefused: boolean;
|
|
33
|
-
isStripe: boolean;
|
|
34
|
-
isUsed: boolean;
|
|
35
|
-
label: string;
|
|
36
|
-
lastRelanceDate: null;
|
|
37
|
-
lastTryRepeat: null;
|
|
38
|
-
payment: string;
|
|
39
|
-
penalties: string;
|
|
40
|
-
recoveryCost: string;
|
|
41
|
-
template: number;
|
|
42
|
-
totalHt: number;
|
|
43
|
-
totalTtc: number;
|
|
44
|
-
updatedAt: string;
|
|
45
|
-
vatMention: string;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export class CreateBalanceElement {
|
|
49
|
-
// @ApiProperty()
|
|
50
|
-
action: string;
|
|
51
|
-
// @ApiProperty()
|
|
52
|
-
amount: number;
|
|
53
|
-
// @ApiProperty()
|
|
54
|
-
dateValue: string;
|
|
55
|
-
// @ApiProperty()
|
|
56
|
-
idBankAccount: number;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export class CreateSimulation {
|
|
60
|
-
// @ApiProperty()
|
|
61
|
-
name: string;
|
|
62
|
-
|
|
63
|
-
// @ApiPropertyOptional()
|
|
64
|
-
commentary: string;
|
|
65
|
-
|
|
66
|
-
// @ApiProperty()
|
|
67
|
-
financesStart: number;
|
|
68
|
-
|
|
69
|
-
// @ApiProperty({enum: [SimulationColor]})
|
|
70
|
-
idSimulationColor: number;
|
|
71
|
-
|
|
72
|
-
// @ApiProperty()
|
|
73
|
-
startDate: Date;
|
|
74
|
-
|
|
75
|
-
// @ApiProperty()
|
|
76
|
-
endDate: Date;
|
|
77
|
-
|
|
78
|
-
// @ApiProperty()
|
|
79
|
-
importSalesInvoice: boolean;
|
|
80
|
-
|
|
81
|
-
// @ApiProperty()
|
|
82
|
-
importPurchaseInvoice: boolean;
|
|
83
|
-
|
|
84
|
-
// @ApiProperty()
|
|
85
|
-
defaultCollectionDelayForSales: number;
|
|
86
|
-
|
|
87
|
-
// @ApiProperty()
|
|
88
|
-
defaultPaymentDelayForPurchase: number;
|
|
89
|
-
|
|
90
|
-
// @ApiProperty()
|
|
91
|
-
idSociety: number;
|
|
92
|
-
|
|
93
|
-
// @ApiPropertyOptional()
|
|
94
|
-
bankAccounts?: Array<number>;
|
|
95
|
-
|
|
96
|
-
// @ApiPropertyOptional()
|
|
97
|
-
invoices?: Partial<SimulationEstimateInvoice>[];
|
|
98
|
-
|
|
99
|
-
// @ApiPropertyOptional({
|
|
100
|
-
// type: [CreateBalanceElement]
|
|
101
|
-
// })
|
|
102
|
-
createBalanceElement?: [CreateBalanceElement];
|
|
103
|
-
}
|
|
File without changes
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
-
|
|
3
|
-
export class QuerySponsorship {
|
|
4
|
-
@ApiProperty()
|
|
5
|
-
page: number;
|
|
6
|
-
|
|
7
|
-
@ApiProperty()
|
|
8
|
-
limit: number;
|
|
9
|
-
|
|
10
|
-
@ApiPropertyOptional()
|
|
11
|
-
state?: number;
|
|
12
|
-
|
|
13
|
-
@ApiProperty()
|
|
14
|
-
idSociety?: number;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export class QuerySponsorshipApprove {
|
|
18
|
-
@ApiPropertyOptional({ description: 'Disable e-mail send with summary' })
|
|
19
|
-
disableEmail?: boolean;
|
|
20
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class ReadSponsorshipApprove {
|
|
2
|
-
approved: Array<{
|
|
3
|
-
idBeneficiary: number;
|
|
4
|
-
subscriptionId: string;
|
|
5
|
-
name: string;
|
|
6
|
-
createdAt: string;
|
|
7
|
-
sponsor: { idSociety: number; subscriptionId: string; iban: string; bic: string; name: string };
|
|
8
|
-
}>;
|
|
9
|
-
failed: Array<{ idBeneficiary: number; reason: string }>;
|
|
10
|
-
waiting: Array<{ idBeneficiary: number }>;
|
|
11
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ISimulationColor } from './ISimulationColor';
|
|
2
|
-
import { ISociety } from './ISociety';
|
|
3
|
-
import { IBankAccount } from './IBankAccount';
|
|
4
|
-
|
|
5
|
-
// simulation
|
|
6
|
-
export interface ISimulation {
|
|
7
|
-
id?: number;
|
|
8
|
-
name: string;
|
|
9
|
-
startDate: Date;
|
|
10
|
-
endDate: Date;
|
|
11
|
-
importSalesInvoice: boolean;
|
|
12
|
-
importPurchaseInvoice: boolean;
|
|
13
|
-
defaultCollectionDelayForSales: number;
|
|
14
|
-
defaultPaymentDelayForPurchase: number;
|
|
15
|
-
financesStart: number;
|
|
16
|
-
idSociety: number;
|
|
17
|
-
idSimulationColor: number;
|
|
18
|
-
createdAt?: Date | null;
|
|
19
|
-
updatedAt?: Date | null;
|
|
20
|
-
commentary?: string | null;
|
|
21
|
-
|
|
22
|
-
// Associations
|
|
23
|
-
simulationColor?: ISimulationColor;
|
|
24
|
-
simulationSociety?: ISociety | null;
|
|
25
|
-
bankAccounts?: IBankAccount[];
|
|
26
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ISimulationPeriod } from './ISimulationPeriod';
|
|
2
|
-
import { IAccountType } from './IAccountType';
|
|
3
|
-
import { IEstimateInvoice } from './IEstimateInvoice';
|
|
4
|
-
import { IAccountingTransaction } from './IAccountingTransaction';
|
|
5
|
-
|
|
6
|
-
// simulationElement
|
|
7
|
-
export interface ISimulationElement {
|
|
8
|
-
id?: number;
|
|
9
|
-
name: string;
|
|
10
|
-
amount: number;
|
|
11
|
-
idSimulationPeriod: number;
|
|
12
|
-
idAccountType: number;
|
|
13
|
-
idEstimateInvoice: number | null;
|
|
14
|
-
idAccountingTransaction: number | null;
|
|
15
|
-
idAccount: number | null;
|
|
16
|
-
idTva: number | null;
|
|
17
|
-
isCollection: boolean | null;
|
|
18
|
-
createdAt?: Date | null;
|
|
19
|
-
updatedAt?: Date | null;
|
|
20
|
-
isSynchronizedElement: boolean | null;
|
|
21
|
-
|
|
22
|
-
// Associations
|
|
23
|
-
simulationPeriod: ISimulationPeriod;
|
|
24
|
-
accountType: IAccountType;
|
|
25
|
-
estimatesInvoices: IEstimateInvoice;
|
|
26
|
-
accountingTransactions: IAccountingTransaction;
|
|
27
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ISimulation } from './ISimulation';
|
|
2
|
-
import { ISimulationElement } from './ISimulationElement';
|
|
3
|
-
|
|
4
|
-
// simulationPeriod
|
|
5
|
-
export interface ISimulationPeriod {
|
|
6
|
-
id?: number;
|
|
7
|
-
period: Date;
|
|
8
|
-
idSimulation: number;
|
|
9
|
-
createdAt?: Date | null;
|
|
10
|
-
updatedAt?: Date | null;
|
|
11
|
-
|
|
12
|
-
// Associations
|
|
13
|
-
simulation_simulationPeriod: ISimulation;
|
|
14
|
-
simulationElements: ISimulationElement[];
|
|
15
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ISimulationPeriod } from './ISimulationPeriod';
|
|
2
|
-
import { IAccountType } from './IAccountType';
|
|
3
|
-
|
|
4
|
-
// simulationSummary
|
|
5
|
-
export interface ISimulationSummary {
|
|
6
|
-
id?: number;
|
|
7
|
-
realAmount: number;
|
|
8
|
-
simulatedAmount: number;
|
|
9
|
-
isCollection: boolean;
|
|
10
|
-
idSimulationPeriod: number;
|
|
11
|
-
idAccountType: number;
|
|
12
|
-
createdAt?: Date | null;
|
|
13
|
-
updatedAt?: Date | null;
|
|
14
|
-
|
|
15
|
-
// Associations
|
|
16
|
-
simulationPeriod: ISimulationPeriod;
|
|
17
|
-
accountType: IAccountType;
|
|
18
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ISponsorship } from './ISponsorship';
|
|
2
|
-
|
|
3
|
-
export interface ISponsorshipWithSponsorInfo extends ISponsorship {
|
|
4
|
-
firstname?: string;
|
|
5
|
-
lastname?: string;
|
|
6
|
-
idSponsor?: number;
|
|
7
|
-
sponsorIban?: string | null;
|
|
8
|
-
sponsorBic?: string | null;
|
|
9
|
-
societySponsorName?: string;
|
|
10
|
-
}
|