@silexpert/core 0.4.203 → 0.4.206
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/Connector.d.ts +2 -0
- package/es/api/resources/Connector.d.ts.map +1 -1
- package/es/api/resources/Connector.js +3 -0
- package/es/api/resources/Connector.js.map +1 -1
- package/es/api/resources/Mobile.d.ts +1 -1
- package/es/api/resources/Mobile.js +2 -2
- package/es/api/resources/Mobile.js.map +1 -1
- package/es/api/resources/SocietyEvent.d.ts +7 -0
- package/es/api/resources/SocietyEvent.d.ts.map +1 -0
- package/es/api/resources/SocietyEvent.js +10 -0
- package/es/api/resources/SocietyEvent.js.map +1 -0
- package/es/api/resources/Transaction.d.ts +1 -0
- package/es/api/resources/Transaction.d.ts.map +1 -1
- package/es/api/resources/Transaction.js +3 -0
- package/es/api/resources/Transaction.js.map +1 -1
- package/es/api/resources/User.d.ts +4 -0
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +7 -1
- package/es/api/resources/User.js.map +1 -1
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/SocietyTypeEvent.d.ts +5 -0
- package/es/types/Enum/SocietyTypeEvent.d.ts.map +1 -0
- package/es/types/Enum/SocietyTypeEvent.js +6 -0
- package/es/types/Enum/SocietyTypeEvent.js.map +1 -0
- package/es/types/Enum/SurveyType.d.ts +2 -1
- package/es/types/Enum/SurveyType.d.ts.map +1 -1
- package/es/types/Enum/SurveyType.js +1 -0
- package/es/types/Enum/SurveyType.js.map +1 -1
- package/es/types/Interface/api/bankAccount/ImportBankAccount.d.ts +5 -0
- package/es/types/Interface/api/bankAccount/ImportBankAccount.d.ts.map +1 -0
- package/es/types/Interface/api/bankAccount/ImportBankAccount.js +26 -0
- package/es/types/Interface/api/bankAccount/ImportBankAccount.js.map +1 -0
- package/es/types/Interface/api/budgetInsight/Query.d.ts +11 -0
- package/es/types/Interface/api/budgetInsight/Query.d.ts.map +1 -1
- package/es/types/Interface/api/budgetInsight/Query.js.map +1 -1
- package/es/types/Interface/api/checklist/Read.d.ts +1 -1
- package/es/types/Interface/api/checklist/Read.d.ts.map +1 -1
- package/es/types/Interface/api/checklist/Read.js.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.js +2 -3
- package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/es/types/Interface/api/mobile/QueryMobileMigration.d.ts +5 -0
- package/es/types/Interface/api/mobile/QueryMobileMigration.d.ts.map +1 -0
- package/es/types/Interface/api/mobile/QueryMobileMigration.js +26 -0
- package/es/types/Interface/api/mobile/QueryMobileMigration.js.map +1 -0
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +1 -3
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js +3 -9
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
- package/es/types/Interface/api/societyEvent/CreateSocietyEvent.d.ts +6 -0
- package/es/types/Interface/api/societyEvent/CreateSocietyEvent.d.ts.map +1 -0
- package/es/types/Interface/api/societyEvent/CreateSocietyEvent.js +22 -0
- package/es/types/Interface/api/societyEvent/CreateSocietyEvent.js.map +1 -0
- package/es/types/Interface/api/societyEvent/QuerySocietyEvent.d.ts +5 -0
- package/es/types/Interface/api/societyEvent/QuerySocietyEvent.d.ts.map +1 -0
- package/es/types/Interface/api/societyEvent/QuerySocietyEvent.js +17 -0
- package/es/types/Interface/api/societyEvent/QuerySocietyEvent.js.map +1 -0
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +2 -0
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/es/types/Interface/models/IChecklist.d.ts +1 -1
- package/es/types/Interface/models/IChecklist.d.ts.map +1 -1
- package/es/types/Interface/models/IChecklist.js.map +1 -1
- package/es/types/Interface/models/IComment.d.ts +1 -0
- package/es/types/Interface/models/IComment.d.ts.map +1 -1
- package/es/types/Interface/models/IComment.js.map +1 -1
- package/es/types/Interface/models/IMobile.d.ts +1 -0
- package/es/types/Interface/models/IMobile.d.ts.map +1 -1
- package/es/types/Interface/models/IMobile.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +2 -0
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/Interface/models/ISocietyEvent.d.ts +12 -0
- package/es/types/Interface/models/ISocietyEvent.d.ts.map +1 -0
- package/es/types/Interface/models/ISocietyEvent.js +2 -0
- package/es/types/Interface/models/ISocietyEvent.js.map +1 -0
- package/es/types/index.d.ts +7 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +7 -1
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Connector.js +4 -0
- package/js/api/resources/Connector.js.map +1 -1
- package/js/api/resources/Mobile.js +2 -2
- package/js/api/resources/Mobile.js.map +1 -1
- package/js/api/resources/SocietyEvent.js +24 -0
- package/js/api/resources/SocietyEvent.js.map +1 -0
- package/js/api/resources/Transaction.js +4 -0
- package/js/api/resources/Transaction.js.map +1 -1
- package/js/api/resources/User.js +9 -1
- package/js/api/resources/User.js.map +1 -1
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/SocietyTypeEvent.js +12 -0
- package/js/types/Enum/SocietyTypeEvent.js.map +1 -0
- package/js/types/Enum/SurveyType.js +1 -0
- package/js/types/Enum/SurveyType.js.map +1 -1
- package/js/types/Interface/api/bankAccount/ImportBankAccount.js +31 -0
- package/js/types/Interface/api/bankAccount/ImportBankAccount.js.map +1 -0
- package/js/types/Interface/api/budgetInsight/Query.js.map +1 -1
- package/js/types/Interface/api/mail/QueryPaginatedMail.js +3 -1
- package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/js/types/Interface/api/mobile/QueryMobileMigration.js +35 -0
- package/js/types/Interface/api/mobile/QueryMobileMigration.js.map +1 -0
- package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js +1 -5
- package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
- package/js/types/Interface/api/societyEvent/CreateSocietyEvent.js +31 -0
- package/js/types/Interface/api/societyEvent/CreateSocietyEvent.js.map +1 -0
- package/js/types/Interface/api/societyEvent/QuerySocietyEvent.js +27 -0
- package/js/types/Interface/api/societyEvent/QuerySocietyEvent.js.map +1 -0
- package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/js/types/Interface/models/ISocietyEvent.js +6 -0
- package/js/types/Interface/models/ISocietyEvent.js.map +1 -0
- package/js/types/index.js +78 -6
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Connector.ts +4 -0
- package/ts/api/resources/Mobile.ts +2 -2
- package/ts/api/resources/SocietyEvent.ts +12 -0
- package/ts/api/resources/Transaction.ts +4 -0
- package/ts/api/resources/User.ts +7 -1
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/SocietyTypeEvent.ts +4 -0
- package/ts/types/Enum/SurveyType.ts +1 -0
- package/ts/types/Interface/api/bankAccount/ImportBankAccount.ts +14 -0
- package/ts/types/Interface/api/budgetInsight/Query.ts +12 -0
- package/ts/types/Interface/api/checklist/Read.ts +1 -1
- package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +2 -3
- package/ts/types/Interface/api/mobile/QueryMobileMigration.ts +14 -0
- package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +4 -9
- package/ts/types/Interface/api/societyEvent/CreateSocietyEvent.ts +10 -0
- package/ts/types/Interface/api/societyEvent/QuerySocietyEvent.ts +7 -0
- package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +2 -0
- package/ts/types/Interface/models/IChecklist.ts +1 -1
- package/ts/types/Interface/models/IComment.ts +1 -0
- package/ts/types/Interface/models/IMobile.ts +1 -0
- package/ts/types/Interface/models/ISociety.ts +2 -0
- package/ts/types/Interface/models/ISocietyEvent.ts +14 -0
- package/ts/types/index.ts +7 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SocietyTypeEvent.js","mappings":";;;;;AAAA,IAAYA,gBAGX,WAHWA,gBAGX,YAHD;;AAAA,WAAYA,gBAAZ,EAA4B;EAC1BA;EACAA;AACD,CAHD,EAAYA,gBAAgB,aAAhBA,gBAAgB,GAAhBA,gBAAgB,MAA5B","names":["SocietyTypeEvent"],"sourceRoot":"","sources":["../../../ts/types/Enum/SocietyTypeEvent.ts"],"sourcesContent":["export enum SocietyTypeEvent {\n TEST = 0,\n AUTOMATIC_ANNOTATION_MODAL = 1,\n}"]}
|
|
@@ -7,5 +7,6 @@ var SurveyType = exports.SurveyType = undefined;
|
|
|
7
7
|
|
|
8
8
|
(function (SurveyType) {
|
|
9
9
|
SurveyType[SurveyType["ONBOARDING"] = 1] = "ONBOARDING";
|
|
10
|
+
SurveyType[SurveyType["MOBILE"] = 2] = "MOBILE";
|
|
10
11
|
})(SurveyType || (exports.SurveyType = SurveyType = {}));
|
|
11
12
|
//# sourceMappingURL=SurveyType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SurveyType.js","mappings":";;;;;AAAA,IAAYA,
|
|
1
|
+
{"version":3,"file":"SurveyType.js","mappings":";;;;;AAAA,IAAYA,UAGX,WAHWA,UAGX,YAHD;;AAAA,WAAYA,UAAZ,EAAsB;EACpBA;EACAA;AACD,CAHD,EAAYA,UAAU,aAAVA,UAAU,GAAVA,UAAU,MAAtB","names":["SurveyType"],"sourceRoot":"","sources":["../../../ts/types/Enum/SurveyType.ts"],"sourcesContent":["export enum SurveyType {\n ONBOARDING = 1,\n MOBILE = 2,\n}"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ImportBankAccount = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
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;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class ImportBankAccount {}
|
|
25
|
+
|
|
26
|
+
exports.ImportBankAccount = ImportBankAccount;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], ImportBankAccount.prototype, "startDate", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], ImportBankAccount.prototype, "endDate", void 0);
|
|
31
|
+
//# sourceMappingURL=ImportBankAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImportBankAccount.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,iBAAP,CAAwB;;QAAjBA,iB,GAAAA,iB;;AAIXC,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD","names":["ImportBankAccount","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/bankAccount/ImportBankAccount.ts"],"sourcesContent":["import { IsDateString, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class ImportBankAccount {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate: string;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAGM,MAAOA,UAAP,CAAiB;;QAAVA,U,GAAAA,U;;AAGXC,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,4BAAOC,iCAAP,CACD","names":["QueryHooks","__decorate","BudgetInsightEvent"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/budgetInsight/Query.ts"],"sourcesContent":["import { IsEnum, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { BudgetInsightEvent } from '../../../Enum/BudgetInsight';\nimport { ConnectionState } from './Read';\n\nexport class QueryHooks {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsEnum(BudgetInsightEvent)\n event: BudgetInsightEvent;\n}\n\ntype BudgetCurrency = {\n id: string; // Currency code (ISO 4217).\n name: string; // Display name of the currency.\n symbol: string; // Display symbol of the currency.\n precision: number; // number precision of the currency.\n prefix: boolean;\n crypto: boolean;\n};\n\ntype BudgetInsightAccountTypeName =\n 'article83' | // Article 83\n 'capitalisation' | // Capitalization contract\n 'card' | // Card\n 'checking' | // Checking account\n 'crowdlending' | // Crowdlending\n 'deposit' | // Deposit account\n 'joint' | // Joint account\n 'lifeinsurance' | // Life insurance account\n 'loan' | // Loan\n 'madelin' | // Madelin retirement contract\n 'market' | // Market account\n 'pea' | // Shared savings plan (Plan d'Epargne en Actions)\n 'pee' | // Company savings plan (Plan d'Epargne Entreprise)\n 'per' | // Retirement savings plan (Plan d'Epargne Retraite)\n 'perco' | // Group retirement savings plan (Plan d'Epargne pour la Retraite Collectif)\n 'perp' | // Popular retirement savings plan (Plan d'Epargne Retraite Populaire)\n 'real_estate' | // Real estate placement\n 'rsp' | // Special profit-sharing reserve (Réserve Spéciale de Participation)\n 'savings' | // Savings account\n 'unknown'; // Unknown account type\n\ntype BudgetInsightTransactionType =\n 'transfer' | // Transfer\n 'order' | // Order\n 'check' | // Check\n 'deposit' | // Deposit\n 'payback' | // Payback\n 'withdrawal' | // Withdrawal\n 'loan_payment' | // Loan payment\n 'bank' | // Bank fees\n 'card' | // Card operation\n 'deferred_card' | // Deferred card operation\n 'summary_card' | // Mensual debit of a deferred card\n 'unknown'; // Unknown transaction type\n\ntype BudgetInsightBankAccountUsage =\n'PRIV' |// Private account.\n'ORGA' |// Professional account.\n'ASSO'; // Association account.\n\ntype BudgetInsightBankAccountOwnerShip =\n 'owner' | // Account holder.\n 'co-owner' | // Holder on a joint account.\n 'attorney'; // Account authorized agent.\n\ntype BudgetInsightLoan = {\n total_amount: number | null; // Total amount of the loan.\n available_amount: number | null; // Amount of the loan not yet released and still available.\n used_amount: number | null; // Amount of the load already used.\n subscription_date: Date | null; // Subscription date of the loan.\n maturity_date: Date | null; // Estimated end date of the loan.\n next_payment_amount: number | null; // Amount of the next payment.\n next_payment_date: Date | null; // Date of the next payment.\n rate: number | null; // Rate of the loan.\n nb_payments_left: number | null; // Number of payments still due.\n nb_payments_done: number | null; // Number of payments done.\n nb_payments_total: number | null; // Total number of payments.\n last_payment_amount: Date | null; // Amount of the last payment.\n last_payment_date: Date | null; // Date of the last payment.\n account_label: string | null; // Name of the debited account.\n insurance_label: string | null; // Label of the insurance.\n duration: number | null; // Duration of the loan, in months.\n type: string | null; // Type of the loan (mortgage, consumercredit or revolvingcredit).\n};\n\nexport type BudgetInsightTransaction = {\n id: number; // ID of the transaction.\n id_account: number; // ID of the related account.\n application_date: Date | null; // Date considered by PFM services. This date can be edited.\n date: Date; // Date when the transaction is posted to the account.\n datetime: Date | null; // Date and time when the transaction is posted to the account, if available, in UTC.\n vdate: Date | null; // Value date of the transaction. In most cases, equivalent to date.\n vdatetime: Date | null; // Value date and time of the transaction, if available, in UTC. In most cases, equivalent to datetime.\n rdate: Date; // Date when the transaction order has been given.\n rdatetime: Date | null; // Date and time when the transaction order has been given, if available, in UTC.\n bdate: Date | null; // Date displayed by the bank for the transaction.\n bdatetime: number | null; // Date and time displayed by the bank for the transaction, if available, in UTC.\n value: number | null; // Value of the transaction.\n gross_value: number | null; // Gross value of the transaction.\n type: BudgetInsightTransactionType; // Type of transaction.\n original_wording: string; // Full label of the transaction, as seen on the bank.\n simplified_wording: string; // Simplified label of the transaction.\n wording:string | null; // Label of the transaction, can be edited.\n id_category: number | null; // ID of the related category.\n date_scraped: Date; // Date and time when the transaction was seen.\n coming: boolean; // If true, this transaction has not yet been posted to the account.\n active: boolean; // If false, PFM services will ignore this transaction.\n id_cluster: number | null; // If the transaction is part of a cluster.\n comment:string | null; // User comment.\n last_update: Date | null; // Last update of the transaction.\n deleted: number | null; // If set, this transaction has been removed from the bank.\n original_value: number | null; // Value in the original currency.\n original_gross_value: number | null; // Gross value in the original currency.\n original_currency: BudgetCurrency | null; // Original currency.\n commission: number | null; // Commission taken on the transaction.\n commission_currency: BudgetCurrency | null; // Commission currency.\n country:string | null; // Original country.\n card:string | null; // Card number associated with the transaction.\n};\n\nexport type BudgetInsightAccountSyncedQuery = {\n id: number; // ID of the bank account.\n id_connection: number | null; // ID of the related connection.\n id_user: number | null; // ID of the related user.\n id_source: number | null; // ID of the related connection source.\n id_parent: number | null; // ID of the parent account.\n number: string | null; // Account number.\n original_name: string; // Original name of the account, as seen on the bank.\n balance: number | null; // Balance of the account.\n coming: number | null; // Amount of coming operations not yet debited.\n display: boolean; // Whether the bank account should be presented.\n last_update: Date | null; // Last successful update of the account.\n deleted: Date | null; // If set, this account is not found on the website anymore.\n disabled: Date | null; // If set, this account has been disabled by user and will not be synchronized anymore.\n iban: string | null; // Account IBAN.\n currency: BudgetCurrency | null; // Account currency.\n type: BudgetInsightAccountTypeName; // Technical code of the account type.\n id_type: number; // ID of the account type.\n bookmarked: number; // This account has been bookmarked by user.\n name: string; // The name of the account.\n error: string | null; // If the last update has failed, the error code.\n usage: BudgetInsightBankAccountUsage; // Account usage. If not overridden, the value of original_usage is returned.\n ownership: BudgetInsightBankAccountOwnerShip | null; // Relationship between the credentials owner and the account.\n company_name: string | null; // Name of the company holding the employee savings of the account.\n loan: BudgetInsightLoan | null; // For loan accounts, the loan details.\n transactions: BudgetInsightTransaction[];\n};\n\ntype BudgetInsightUser = {\n id: number;\n signin: Date;\n platform: string;\n};\n\ntype BudgetInsightConnection = {\n id: number; // ID of the connection.\n id_user: number | null; // ID of the related user.\n id_connector: number; // ID of the related connector.\n state: ConnectionState | null; // If the last update failed, the state code. The null value indicates a successful sync.\n error: ConnectionState | null; // (Deprecated) If the last update failed, the state code. The null value indicates a successful sync.\n error_message: string | null; // If the last update failed, an optional message from the connector to guide the user into recovering from the error.\n fields: string[]; // of ConnectorField objects For connections in an error state, an optional list of connector fields that must be prompted to the end-user.\n last_update: Date | null; // Last successful update.\n created: Date | null; // Creation date of the connection.\n active: boolean; // Whether this connection is active and will be automatically synced.\n last_push: Date | null; // Last successful push.\n expire: Date | null; // Highest value among expiration dates of connection sources.\n connector_uuid: string; // UUID of the related connector.\n next_try: Date | null; // Scheduled date of next synchronization.\n};\n\nexport type BudgetInsightConnectionSyncedQuery = {\n user: BudgetInsightUser;\n connection: BudgetInsightConnection & { connector: any; sources: any; accounts: any; };\n};\n\nexport type BudgetEditBankAccount = {\n display?: boolean;// Whether the bank account should be deisplayed and included in aggregated metrics.\n name?: string; // Display name of the account.\n disabled?: boolean; // Whether the bank account should be synchronized.\n bookmarked?: boolean; // Whether the bank account is bookmarked.\n usage?:BudgetInsightBankAccountUsage // Account usage.\n};"]}
|
|
1
|
+
{"version":3,"file":"Query.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAGM,MAAOA,UAAP,CAAiB;;QAAVA,U,GAAAA,U;;AAGXC,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,4BAAOC,iCAAP,CACD","names":["QueryHooks","__decorate","BudgetInsightEvent"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/budgetInsight/Query.ts"],"sourcesContent":["import { IsEnum, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { BudgetInsightEvent } from '../../../Enum/BudgetInsight';\nimport { ConnectionState } from './Read';\n\nexport class QueryHooks {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsEnum(BudgetInsightEvent)\n event: BudgetInsightEvent;\n}\n\ntype BudgetCurrency = {\n id: string; // Currency code (ISO 4217).\n name: string; // Display name of the currency.\n symbol: string; // Display symbol of the currency.\n precision: number; // number precision of the currency.\n prefix: boolean;\n crypto: boolean;\n};\n\ntype BudgetInsightAccountTypeName =\n 'article83' | // Article 83\n 'capitalisation' | // Capitalization contract\n 'card' | // Card\n 'checking' | // Checking account\n 'crowdlending' | // Crowdlending\n 'deposit' | // Deposit account\n 'joint' | // Joint account\n 'lifeinsurance' | // Life insurance account\n 'loan' | // Loan\n 'madelin' | // Madelin retirement contract\n 'market' | // Market account\n 'pea' | // Shared savings plan (Plan d'Epargne en Actions)\n 'pee' | // Company savings plan (Plan d'Epargne Entreprise)\n 'per' | // Retirement savings plan (Plan d'Epargne Retraite)\n 'perco' | // Group retirement savings plan (Plan d'Epargne pour la Retraite Collectif)\n 'perp' | // Popular retirement savings plan (Plan d'Epargne Retraite Populaire)\n 'real_estate' | // Real estate placement\n 'rsp' | // Special profit-sharing reserve (Réserve Spéciale de Participation)\n 'savings' | // Savings account\n 'unknown'; // Unknown account type\n\ntype BudgetInsightTransactionType =\n 'transfer' | // Transfer\n 'order' | // Order\n 'check' | // Check\n 'deposit' | // Deposit\n 'payback' | // Payback\n 'withdrawal' | // Withdrawal\n 'loan_payment' | // Loan payment\n 'bank' | // Bank fees\n 'card' | // Card operation\n 'deferred_card' | // Deferred card operation\n 'summary_card' | // Mensual debit of a deferred card\n 'unknown'; // Unknown transaction type\n\ntype BudgetInsightBankAccountUsage =\n'PRIV' |// Private account.\n'ORGA' |// Professional account.\n'ASSO'; // Association account.\n\ntype BudgetInsightBankAccountOwnerShip =\n 'owner' | // Account holder.\n 'co-owner' | // Holder on a joint account.\n 'attorney'; // Account authorized agent.\n\ntype BudgetInsightLoan = {\n total_amount: number | null; // Total amount of the loan.\n available_amount: number | null; // Amount of the loan not yet released and still available.\n used_amount: number | null; // Amount of the load already used.\n subscription_date: Date | null; // Subscription date of the loan.\n maturity_date: Date | null; // Estimated end date of the loan.\n next_payment_amount: number | null; // Amount of the next payment.\n next_payment_date: Date | null; // Date of the next payment.\n rate: number | null; // Rate of the loan.\n nb_payments_left: number | null; // Number of payments still due.\n nb_payments_done: number | null; // Number of payments done.\n nb_payments_total: number | null; // Total number of payments.\n last_payment_amount: Date | null; // Amount of the last payment.\n last_payment_date: Date | null; // Date of the last payment.\n account_label: string | null; // Name of the debited account.\n insurance_label: string | null; // Label of the insurance.\n duration: number | null; // Duration of the loan, in months.\n type: string | null; // Type of the loan (mortgage, consumercredit or revolvingcredit).\n};\n\nexport type BudgetInsightTransaction = {\n id: number; // ID of the transaction.\n id_account: number; // ID of the related account.\n application_date: Date | null; // Date considered by PFM services. This date can be edited.\n date: Date; // Date when the transaction is posted to the account.\n datetime: Date | null; // Date and time when the transaction is posted to the account, if available, in UTC.\n vdate: Date | null; // Value date of the transaction. In most cases, equivalent to date.\n vdatetime: Date | null; // Value date and time of the transaction, if available, in UTC. In most cases, equivalent to datetime.\n rdate: Date; // Date when the transaction order has been given.\n rdatetime: Date | null; // Date and time when the transaction order has been given, if available, in UTC.\n bdate: Date | null; // Date displayed by the bank for the transaction.\n bdatetime: number | null; // Date and time displayed by the bank for the transaction, if available, in UTC.\n value: number | null; // Value of the transaction.\n gross_value: number | null; // Gross value of the transaction.\n type: BudgetInsightTransactionType; // Type of transaction.\n original_wording: string; // Full label of the transaction, as seen on the bank.\n simplified_wording: string; // Simplified label of the transaction.\n wording:string | null; // Label of the transaction, can be edited.\n id_category: number | null; // ID of the related category.\n date_scraped: Date; // Date and time when the transaction was seen.\n coming: boolean; // If true, this transaction has not yet been posted to the account.\n active: boolean; // If false, PFM services will ignore this transaction.\n id_cluster: number | null; // If the transaction is part of a cluster.\n comment:string | null; // User comment.\n last_update: Date | null; // Last update of the transaction.\n deleted: number | null; // If set, this transaction has been removed from the bank.\n original_value: number | null; // Value in the original currency.\n original_gross_value: number | null; // Gross value in the original currency.\n original_currency: BudgetCurrency | null; // Original currency.\n commission: number | null; // Commission taken on the transaction.\n commission_currency: BudgetCurrency | null; // Commission currency.\n country:string | null; // Original country.\n card:string | null; // Card number associated with the transaction.\n};\n\nexport type BudgetInsightAccountSyncedQuery = {\n id: number; // ID of the bank account.\n id_connection: number | null; // ID of the related connection.\n id_user: number | null; // ID of the related user.\n id_source: number | null; // ID of the related connection source.\n id_parent: number | null; // ID of the parent account.\n number: string | null; // Account number.\n original_name: string; // Original name of the account, as seen on the bank.\n balance: number | null; // Balance of the account.\n coming: number | null; // Amount of coming operations not yet debited.\n display: boolean; // Whether the bank account should be presented.\n last_update: Date | null; // Last successful update of the account.\n deleted: Date | null; // If set, this account is not found on the website anymore.\n disabled: Date | null; // If set, this account has been disabled by user and will not be synchronized anymore.\n iban: string | null; // Account IBAN.\n currency: BudgetCurrency | null; // Account currency.\n type: BudgetInsightAccountTypeName; // Technical code of the account type.\n id_type: number; // ID of the account type.\n bookmarked: number; // This account has been bookmarked by user.\n name: string; // The name of the account.\n error: string | null; // If the last update has failed, the error code.\n usage: BudgetInsightBankAccountUsage; // Account usage. If not overridden, the value of original_usage is returned.\n ownership: BudgetInsightBankAccountOwnerShip | null; // Relationship between the credentials owner and the account.\n company_name: string | null; // Name of the company holding the employee savings of the account.\n loan: BudgetInsightLoan | null; // For loan accounts, the loan details.\n transactions: BudgetInsightTransaction[];\n};\n\ntype BudgetInsightUser = {\n id: number;\n signin: Date;\n platform: string;\n};\n\ntype BudgetInsightConnection = {\n id: number; // ID of the connection.\n id_user: number | null; // ID of the related user.\n id_connector: number; // ID of the related connector.\n state: ConnectionState | null; // If the last update failed, the state code. The null value indicates a successful sync.\n error: ConnectionState | null; // (Deprecated) If the last update failed, the state code. The null value indicates a successful sync.\n error_message: string | null; // If the last update failed, an optional message from the connector to guide the user into recovering from the error.\n fields: string[]; // of ConnectorField objects For connections in an error state, an optional list of connector fields that must be prompted to the end-user.\n last_update: Date | null; // Last successful update.\n created: Date | null; // Creation date of the connection.\n active: boolean; // Whether this connection is active and will be automatically synced.\n last_push: Date | null; // Last successful push.\n expire: Date | null; // Highest value among expiration dates of connection sources.\n connector_uuid: string; // UUID of the related connector.\n next_try: Date | null; // Scheduled date of next synchronization.\n};\n\nexport type BudgetInsightConnectionSyncedQuery = {\n user: BudgetInsightUser;\n connection: BudgetInsightConnection & { connector: any; sources: any; accounts: any; };\n};\n\nexport type BudgetEditBankAccount = {\n display?: boolean;// Whether the bank account should be deisplayed and included in aggregated metrics.\n name?: string; // Display name of the account.\n disabled?: boolean; // Whether the bank account should be synchronized.\n bookmarked?: boolean; // Whether the bank account is bookmarked.\n usage?:BudgetInsightBankAccountUsage // Account usage.\n};\n\nexport type BudgetInsightGetAllTransactions = {\n income?: boolean, // Filter on incomes or expenditures.\n deleted?: boolean, // Filter on deleted transactions.\n all?: boolean, // If set, cancels the implicit filtering.\n last_update?: string, // DateTime Filter transactions updated after the specified date.\n wording?: string, // Filter transactions containing the given string.\n min_value?: number, // Minimal (inclusive) value.\n max_value?: number, // Maximum (inclusive) value.\n search?: string, // Search in wording, dates, values, categories.\n value?: number, // Decimal or Value of the transaction. \"XX|-XX\" and \"±XX\" syntaxes are also accepted.\n};"]}
|
|
@@ -51,7 +51,9 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
|
|
|
51
51
|
|
|
52
52
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryPaginatedMail.prototype, "orderBy", void 0);
|
|
53
53
|
|
|
54
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(
|
|
54
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)({
|
|
55
|
+
each: true
|
|
56
|
+
}), __metadata("design:type", String)], QueryPaginatedMail.prototype, "to", void 0);
|
|
55
57
|
|
|
56
58
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryPaginatedMail.prototype, "isSent", void 0);
|
|
57
59
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryPaginatedMail.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;EAA/BC;IAUE,mBAAe,KAAf;IAsBA,eAAmB,MAAnB;
|
|
1
|
+
{"version":3,"file":"QueryPaginatedMail.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;EAA/BC;IAUE,mBAAe,KAAf;IAsBA,eAAmB,MAAnB;EA8ED;;AA9G8B;;QAAlBD,kB,GAAAA,kB;;AAIXE,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AASAD,YAPC,iCAOD,EANC,iCAMD,EALC,8BAKD,EAJC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,SAAD,EAAY,aAAZ,EAA2B,gBAA3B,EAA6C,gBAA7C,CAAL,EAAqE;EAAEA,IAAI,EAAE;AAAR,CAArE,CACD;;AAQAF,YANC,iCAMD,EALC,iCAKD,EAJC,8BAID,EAHC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAF,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,8BAAS;EAAEE,IAAI,EAAE;AAAR,CAAT,CACD;;AAMAF,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD","names":["QueryPaginatedMail","constructor","__decorate","default","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryPaginatedMail.ts"],"sourcesContent":["import {\n IsBoolean, IsIn, IsNumber, IsOptional, IsString, IsArray, IsInt,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedMail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withDeleted? = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n @IsIn(['society', 'mailContent', 'mailAttachment', 'userWhoFlagged'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string = 'date';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n to?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isImportant?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayManagerRoleMails?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoFlagged?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoAnswered?: number;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number;\n}\n"]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.QueryMobileMigration = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
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;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class QueryMobileMigration {}
|
|
25
|
+
|
|
26
|
+
exports.QueryMobileMigration = QueryMobileMigration;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiPropertyOptional)({
|
|
29
|
+
default: 100
|
|
30
|
+
}), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryMobileMigration.prototype, "limit", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiPropertyOptional)({
|
|
33
|
+
default: 1
|
|
34
|
+
}), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryMobileMigration.prototype, "offset", void 0);
|
|
35
|
+
//# sourceMappingURL=QueryMobileMigration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryMobileMigration.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAIXC,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD","names":["QueryMobileMigration","__decorate","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mobile/QueryMobileMigration.ts"],"sourcesContent":["import { IsNumber, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryMobileMigration {\n @ApiPropertyOptional({ default: 100 })\n @IsOptional()\n @IsNumber()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n offset?: number;\n}"]}
|
|
@@ -54,15 +54,11 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(),
|
|
|
54
54
|
|
|
55
55
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevisionSearchEntries.prototype, "endAccountNumber", void 0);
|
|
56
56
|
|
|
57
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsEnum)(_.AccountingJournal), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "idAccountingJournal", void 0);
|
|
58
|
-
|
|
59
57
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "minimumAmount", void 0);
|
|
60
58
|
|
|
61
59
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "maximumAmount", void 0);
|
|
62
60
|
|
|
63
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsArray)(
|
|
64
|
-
each: true
|
|
65
|
-
}), (0, _classValidator.IsOptional)(), __metadata("design:type", Array)], QueryRevisionSearchEntries.prototype, "idsAccountingJournal", void 0);
|
|
61
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsArray)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Array)], QueryRevisionSearchEntries.prototype, "idsAccountingJournal", void 0);
|
|
66
62
|
|
|
67
63
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "type", void 0);
|
|
68
64
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevisionSearchEntries.js","mappings":";;;;;;;AAAA;;AAKA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,0BAAP,CAAiC;EAAvCC;
|
|
1
|
+
{"version":3,"file":"QueryRevisionSearchEntries.js","mappings":";;;;;;;AAAA;;AAKA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,0BAAP,CAAiC;EAAvCC;IAmFE;IAGA,aAAiB,EAAjB;IAIA,YAAgB,CAAhB;EACD;;AA3FsC;;QAA1BD,0B,GAAAA,0B;;AAIXE,YAFC,oBAED,EADC,+BACD;;AAIAA,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAMAD,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,8BAED,EADC,iCACD,4BAAuBE,MAAvB;;AAKAF,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAHC,gCAAoB;EAAEG,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,+BAED,EADC,iCACD;;AAMAH,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAFC,mBAAY;EAAEG,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAH,YAFC,mBAAY;EAAEG,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["QueryRevisionSearchEntries","constructor","__decorate","Date","Array","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty } from '../../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryRevisionSearchEntries {\n // Mandatory\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n // Optional\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n difference?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n designation?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n startAccountNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n endAccountNumber?: string;\n\n // advanced search\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n minimumAmount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n maximumAmount?: number;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n idsAccountingJournal?: Array<number>;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n type?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isRevised?: boolean;\n\n @ApiPropertyOptional({ default: 'date' })\n @IsString()\n @IsOptional()\n orderBy?: 'date' | 'accountNumber';\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateSocietyEvent = undefined;
|
|
7
|
+
|
|
8
|
+
var _utils = require("../../../../utils");
|
|
9
|
+
|
|
10
|
+
var _SocietyTypeEvent = require("../../../Enum/SocietyTypeEvent");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
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;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class CreateSocietyEvent {}
|
|
25
|
+
|
|
26
|
+
exports.CreateSocietyEvent = CreateSocietyEvent;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateSocietyEvent.prototype, "idTypeEvent", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], CreateSocietyEvent.prototype, "state", void 0);
|
|
31
|
+
//# sourceMappingURL=CreateSocietyEvent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateSocietyEvent.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;AAEXC,YADC,yBACD;;AAGAA,YADC,iCACD","names":["CreateSocietyEvent","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/societyEvent/CreateSocietyEvent.ts"],"sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { SocietyTypeEvent } from '../../../Enum/SocietyTypeEvent';\n\nexport class CreateSocietyEvent {\n @ApiProperty()\n idTypeEvent: SocietyTypeEvent;\n\n @ApiPropertyOptional()\n state?: string;\n}"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.QuerySocietyEvent = undefined;
|
|
7
|
+
|
|
8
|
+
var _utils = require("../../../../utils");
|
|
9
|
+
|
|
10
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11
|
+
var c = arguments.length,
|
|
12
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
13
|
+
d;
|
|
14
|
+
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;
|
|
15
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
class QuerySocietyEvent {}
|
|
23
|
+
|
|
24
|
+
exports.QuerySocietyEvent = QuerySocietyEvent;
|
|
25
|
+
|
|
26
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], QuerySocietyEvent.prototype, "idTypeEvent", void 0);
|
|
27
|
+
//# sourceMappingURL=QuerySocietyEvent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuerySocietyEvent.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAGM,MAAOA,iBAAP,CAAwB;;QAAjBA,iB,GAAAA,iB;;AAEXC,YADC,iCACD","names":["QuerySocietyEvent","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/societyEvent/QuerySocietyEvent.ts"],"sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\nimport { SocietyTypeEvent } from '../../../Enum/SocietyTypeEvent';\n\nexport class QuerySocietyEvent {\n @ApiPropertyOptional()\n idTypeEvent?: SocietyTypeEvent[] | null;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadTaxDeadline.js","mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"ReadTaxDeadline.js","mappings":";;;;;;AAaM,MAAOA,eAAP,CAAsB;;QAAfA,e,GAAAA,e;;AAuCP,MAAOC,YAAP,CAAmB;;QAAZA,Y,GAAAA,Y;;AAGP,MAAOC,yBAAP,CAAgC;;QAAzBA,yB,GAAAA,yB;;AAKP,MAAOC,kCAAP,CAAyC;;QAAlCA,kC,GAAAA,kC;;AAQP,MAAOC,qBAAP,CAA4B;;QAArBA,qB,GAAAA,qB","names":["ReadTaxDeadline","StateDetails","ReadTaxDeadlineStatistics","ComplementaryPrestationTaxDeadline","PrestationTaxDeadline"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts"],"sourcesContent":["import { IExercice } from '../../models/IExercice';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { VatRegime } from '../../../Enum/VatRegime';\nimport { IBalanceSheet } from '../../models/IBalanceSheet';\nimport { ISupervision } from '../../models/ISupervision';\nimport { IExerciceDetail } from '../../models/IExerciceDetail';\nimport { IFile } from '../../models/IFile';\nimport { IUser } from '../../models/IUser';\nimport { ITerminationList } from '../../models/ITerminationList';\nimport { UnpaidDetail, IPendingPoint } from '../../..';\nimport { ICustomerTva } from '../../models/ICustomerTva';\nimport { ISocietyStat } from '../../models/ISocietyStat';\n\nexport class ReadTaxDeadline {\n society: {\n id?: number;\n name: string | null;\n idComptaType: ComptaType | null;\n idVatRegime: VatRegime | null;\n isWaitingEnd: boolean | null;\n idTypeBrand: number | null;\n vatUploadDay: number | null;\n terminationsList?: ITerminationList | null;\n unpaid: number | null;\n unpaidDetails: UnpaidDetail[];\n isLate: boolean;\n };\n accountant: IUser;\n exercice: IExercice;\n exercices: IExercice[];\n exerciceDetails: IExerciceDetail | null;\n customersVat: ICustomerTva[];\n commercial: IUser | null;\n balanceSheet: IBalanceSheet | null;\n supervision: ISupervision | null;\n pendingPoints: IPendingPoint[] | null;\n letter: IFile | null;\n prestations: PrestationTaxDeadline[];\n activePrestationsComplementary: ComplementaryPrestationTaxDeadline[];\n statistics: {\n turnovers: ISocietyStat[];\n transactions: {\n annoted: number;\n total: number;\n };\n entries: {\n revised: number;\n total: number;\n }\n };\n}\n\nexport class StateDetails {\n date: string; total: number;\n}\nexport class ReadTaxDeadlineStatistics {\n todo: { total: number, details: StateDetails[] };\n accepted: { total: number, details: StateDetails[] };\n}\n\nexport class ComplementaryPrestationTaxDeadline {\n id: number;\n signed: boolean;\n paid: boolean;\n name: string;\n isBack: boolean;\n}\n\nexport class PrestationTaxDeadline {\n id: number;\n name: string;\n amount: number;\n paid: number;\n isBack: boolean;\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ISocietyEvent.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
|
package/js/types/index.js
CHANGED
|
@@ -3652,6 +3652,18 @@ Object.keys(_IMobile).forEach(function (key) {
|
|
|
3652
3652
|
});
|
|
3653
3653
|
});
|
|
3654
3654
|
|
|
3655
|
+
var _ISocietyEvent = require("./Interface/models/ISocietyEvent");
|
|
3656
|
+
|
|
3657
|
+
Object.keys(_ISocietyEvent).forEach(function (key) {
|
|
3658
|
+
if (key === "default" || key === "__esModule") return;
|
|
3659
|
+
Object.defineProperty(exports, key, {
|
|
3660
|
+
enumerable: true,
|
|
3661
|
+
get: function () {
|
|
3662
|
+
return _ISocietyEvent[key];
|
|
3663
|
+
}
|
|
3664
|
+
});
|
|
3665
|
+
});
|
|
3666
|
+
|
|
3655
3667
|
var _FormAuthenticate = require("./Form/FormAuthenticate");
|
|
3656
3668
|
|
|
3657
3669
|
Object.keys(_FormAuthenticate).forEach(function (key) {
|
|
@@ -4900,6 +4912,18 @@ Object.keys(_NotificationType).forEach(function (key) {
|
|
|
4900
4912
|
});
|
|
4901
4913
|
});
|
|
4902
4914
|
|
|
4915
|
+
var _SocietyTypeEvent = require("./Enum/SocietyTypeEvent");
|
|
4916
|
+
|
|
4917
|
+
Object.keys(_SocietyTypeEvent).forEach(function (key) {
|
|
4918
|
+
if (key === "default" || key === "__esModule") return;
|
|
4919
|
+
Object.defineProperty(exports, key, {
|
|
4920
|
+
enumerable: true,
|
|
4921
|
+
get: function () {
|
|
4922
|
+
return _SocietyTypeEvent[key];
|
|
4923
|
+
}
|
|
4924
|
+
});
|
|
4925
|
+
});
|
|
4926
|
+
|
|
4903
4927
|
var _ReadJeDeclare = require("./Interface/api/jeDeclare/ReadJeDeclare");
|
|
4904
4928
|
|
|
4905
4929
|
Object.keys(_ReadJeDeclare).forEach(function (key) {
|
|
@@ -6436,6 +6460,18 @@ Object.keys(_QueryBankAccount).forEach(function (key) {
|
|
|
6436
6460
|
});
|
|
6437
6461
|
});
|
|
6438
6462
|
|
|
6463
|
+
var _ImportBankAccount = require("./Interface/api/bankAccount/ImportBankAccount");
|
|
6464
|
+
|
|
6465
|
+
Object.keys(_ImportBankAccount).forEach(function (key) {
|
|
6466
|
+
if (key === "default" || key === "__esModule") return;
|
|
6467
|
+
Object.defineProperty(exports, key, {
|
|
6468
|
+
enumerable: true,
|
|
6469
|
+
get: function () {
|
|
6470
|
+
return _ImportBankAccount[key];
|
|
6471
|
+
}
|
|
6472
|
+
});
|
|
6473
|
+
});
|
|
6474
|
+
|
|
6439
6475
|
var _QueryLogPagination = require("./Interface/api/log/QueryLogPagination");
|
|
6440
6476
|
|
|
6441
6477
|
Object.keys(_QueryLogPagination).forEach(function (key) {
|
|
@@ -8308,26 +8344,62 @@ Object.keys(_CreateNotification).forEach(function (key) {
|
|
|
8308
8344
|
});
|
|
8309
8345
|
});
|
|
8310
8346
|
|
|
8311
|
-
var
|
|
8347
|
+
var _UpdateMobile = require("./Interface/api/mobile/UpdateMobile");
|
|
8312
8348
|
|
|
8313
|
-
Object.keys(
|
|
8349
|
+
Object.keys(_UpdateMobile).forEach(function (key) {
|
|
8314
8350
|
if (key === "default" || key === "__esModule") return;
|
|
8315
8351
|
Object.defineProperty(exports, key, {
|
|
8316
8352
|
enumerable: true,
|
|
8317
8353
|
get: function () {
|
|
8318
|
-
return
|
|
8354
|
+
return _UpdateMobile[key];
|
|
8319
8355
|
}
|
|
8320
8356
|
});
|
|
8321
8357
|
});
|
|
8322
8358
|
|
|
8323
|
-
var
|
|
8359
|
+
var _QueryMobileMigration = require("./Interface/api/mobile/QueryMobileMigration");
|
|
8324
8360
|
|
|
8325
|
-
Object.keys(
|
|
8361
|
+
Object.keys(_QueryMobileMigration).forEach(function (key) {
|
|
8326
8362
|
if (key === "default" || key === "__esModule") return;
|
|
8327
8363
|
Object.defineProperty(exports, key, {
|
|
8328
8364
|
enumerable: true,
|
|
8329
8365
|
get: function () {
|
|
8330
|
-
return
|
|
8366
|
+
return _QueryMobileMigration[key];
|
|
8367
|
+
}
|
|
8368
|
+
});
|
|
8369
|
+
});
|
|
8370
|
+
|
|
8371
|
+
var _QuerySocietyEvent = require("./Interface/api/societyEvent/QuerySocietyEvent");
|
|
8372
|
+
|
|
8373
|
+
Object.keys(_QuerySocietyEvent).forEach(function (key) {
|
|
8374
|
+
if (key === "default" || key === "__esModule") return;
|
|
8375
|
+
Object.defineProperty(exports, key, {
|
|
8376
|
+
enumerable: true,
|
|
8377
|
+
get: function () {
|
|
8378
|
+
return _QuerySocietyEvent[key];
|
|
8379
|
+
}
|
|
8380
|
+
});
|
|
8381
|
+
});
|
|
8382
|
+
|
|
8383
|
+
var _CreateSocietyEvent = require("./Interface/api/societyEvent/CreateSocietyEvent");
|
|
8384
|
+
|
|
8385
|
+
Object.keys(_CreateSocietyEvent).forEach(function (key) {
|
|
8386
|
+
if (key === "default" || key === "__esModule") return;
|
|
8387
|
+
Object.defineProperty(exports, key, {
|
|
8388
|
+
enumerable: true,
|
|
8389
|
+
get: function () {
|
|
8390
|
+
return _CreateSocietyEvent[key];
|
|
8391
|
+
}
|
|
8392
|
+
});
|
|
8393
|
+
});
|
|
8394
|
+
|
|
8395
|
+
var _Util4 = require("./Interface/enum/Util");
|
|
8396
|
+
|
|
8397
|
+
Object.keys(_Util4).forEach(function (key) {
|
|
8398
|
+
if (key === "default" || key === "__esModule") return;
|
|
8399
|
+
Object.defineProperty(exports, key, {
|
|
8400
|
+
enumerable: true,
|
|
8401
|
+
get: function () {
|
|
8402
|
+
return _Util4[key];
|
|
8331
8403
|
}
|
|
8332
8404
|
});
|
|
8333
8405
|
});
|