@silexpert/core 0.4.1 → 0.4.3
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/Account.d.ts +2 -1
- package/es/api/resources/Account.d.ts.map +1 -1
- package/es/api/resources/Account.js +3 -0
- package/es/api/resources/Account.js.map +1 -1
- package/es/api/resources/Immobilization.d.ts +4 -1
- package/es/api/resources/Immobilization.d.ts.map +1 -1
- package/es/api/resources/Immobilization.js +3 -0
- package/es/api/resources/Immobilization.js.map +1 -1
- package/es/api/resources/Survey.d.ts +8 -0
- package/es/api/resources/Survey.d.ts.map +1 -0
- package/es/api/resources/Survey.js +28 -0
- package/es/api/resources/Survey.js.map +1 -0
- package/es/api/resources/User.d.ts +7 -0
- package/es/api/resources/User.d.ts.map +1 -0
- package/es/api/resources/User.js +10 -0
- package/es/api/resources/User.js.map +1 -0
- package/es/api/resources.d.ts +4 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +4 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/AccountingJournal.d.ts.map +1 -1
- package/es/types/Enum/AccountingJournal.js.map +1 -1
- package/es/types/Enum/ComptaType.d.ts.map +1 -1
- package/es/types/Enum/ComptaType.js.map +1 -1
- package/es/types/Enum/Country.d.ts.map +1 -1
- package/es/types/Enum/Country.js.map +1 -1
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/Role.d.ts.map +1 -1
- package/es/types/Enum/Role.js.map +1 -1
- package/es/types/Enum/Sector.d.ts.map +1 -1
- package/es/types/Enum/Sector.js.map +1 -1
- package/es/types/Enum/SubscriptionType.d.ts.map +1 -1
- package/es/types/Enum/SubscriptionType.js.map +1 -1
- package/es/types/Enum/SurveyType.d.ts +4 -0
- package/es/types/Enum/SurveyType.d.ts.map +1 -0
- package/es/types/Enum/SurveyType.js +5 -0
- package/es/types/Enum/SurveyType.js.map +1 -0
- package/es/types/Enum/SurveyTypeDatas.d.ts +9 -0
- package/es/types/Enum/SurveyTypeDatas.d.ts.map +1 -0
- package/es/types/Enum/SurveyTypeDatas.js +44 -0
- package/es/types/Enum/SurveyTypeDatas.js.map +1 -0
- package/es/types/Enum/TypeConnector.d.ts.map +1 -1
- package/es/types/Enum/TypeConnector.js.map +1 -1
- package/es/types/Enum/TypePartnerTransaction.d.ts +7 -0
- package/es/types/Enum/TypePartnerTransaction.d.ts.map +1 -0
- package/es/types/Enum/TypePartnerTransaction.js +8 -0
- package/es/types/Enum/TypePartnerTransaction.js.map +1 -0
- package/es/types/Enum/VatRegime.d.ts.map +1 -1
- package/es/types/Enum/VatRegime.js.map +1 -1
- package/es/types/Interface/api/immobilization/ReadFormattedImmobilization.d.ts +4 -0
- package/es/types/Interface/api/immobilization/ReadFormattedImmobilization.d.ts.map +1 -1
- package/es/types/Interface/api/immobilization/ReadFormattedImmobilization.js.map +1 -1
- package/es/types/Interface/api/survey/CreateSurvey.d.ts +11 -0
- package/es/types/Interface/api/survey/CreateSurvey.d.ts.map +1 -0
- package/es/types/Interface/api/survey/CreateSurvey.js +3 -0
- package/es/types/Interface/api/survey/CreateSurvey.js.map +1 -0
- package/es/types/Interface/api/survey/QuerySurvey.d.ts +6 -0
- package/es/types/Interface/api/survey/QuerySurvey.d.ts.map +1 -0
- package/es/types/Interface/api/survey/QuerySurvey.js +21 -0
- package/es/types/Interface/api/survey/QuerySurvey.js.map +1 -0
- package/es/types/Interface/api/survey/QuerySurveys.d.ts +6 -0
- package/es/types/Interface/api/survey/QuerySurveys.d.ts.map +1 -0
- package/es/types/Interface/api/survey/QuerySurveys.js +22 -0
- package/es/types/Interface/api/survey/QuerySurveys.js.map +1 -0
- package/es/types/Interface/api/survey/ReadSurvey.d.ts +3 -0
- package/es/types/Interface/api/survey/ReadSurvey.d.ts.map +1 -0
- package/es/types/Interface/api/survey/ReadSurvey.js +2 -0
- package/es/types/Interface/api/survey/ReadSurvey.js.map +1 -0
- package/es/types/Interface/api/survey/UpdateSurvey.d.ts +8 -0
- package/es/types/Interface/api/survey/UpdateSurvey.d.ts.map +1 -0
- package/es/types/Interface/api/survey/UpdateSurvey.js +25 -0
- package/es/types/Interface/api/survey/UpdateSurvey.js.map +1 -0
- package/es/types/Interface/api/user/QueryConfirm.d.ts +5 -0
- package/es/types/Interface/api/user/QueryConfirm.d.ts.map +1 -0
- package/es/types/Interface/api/user/QueryConfirm.js +21 -0
- package/es/types/Interface/api/user/QueryConfirm.js.map +1 -0
- package/es/types/Interface/api/user/QueryResendConfirmationLink.d.ts +4 -0
- package/es/types/Interface/api/user/QueryResendConfirmationLink.d.ts.map +1 -0
- package/es/types/Interface/api/user/QueryResendConfirmationLink.js +17 -0
- package/es/types/Interface/api/user/QueryResendConfirmationLink.js.map +1 -0
- package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -1
- package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IPartnerTransaction.d.ts +2 -1
- package/es/types/Interface/models/IPartnerTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IPartnerTransaction.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +51 -49
- 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/ISurvey.d.ts +17 -0
- package/es/types/Interface/models/ISurvey.d.ts.map +1 -0
- package/es/types/Interface/models/ISurvey.js +2 -0
- package/es/types/Interface/models/ISurvey.js.map +1 -0
- package/es/types/Interface/models/IUser.d.ts +2 -0
- package/es/types/Interface/models/IUser.d.ts.map +1 -1
- package/es/types/Interface/models/IUser.js.map +1 -1
- package/es/types/index.d.ts +9 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +10 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Account.js +4 -0
- package/js/api/resources/Account.js.map +1 -1
- package/js/api/resources/Immobilization.js +4 -0
- package/js/api/resources/Immobilization.js.map +1 -1
- package/js/api/resources/Survey.js +47 -0
- package/js/api/resources/Survey.js.map +1 -0
- package/js/api/resources/User.js +22 -0
- package/js/api/resources/User.js.map +1 -0
- package/js/api/resources.js +7 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/AccountingJournal.js.map +1 -1
- package/js/types/Enum/ComptaType.js.map +1 -1
- package/js/types/Enum/Country.js.map +1 -1
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/Role.js.map +1 -1
- package/js/types/Enum/Sector.js.map +1 -1
- package/js/types/Enum/SubscriptionType.js.map +1 -1
- package/js/types/Enum/SurveyType.js +11 -0
- package/js/types/Enum/SurveyType.js.map +1 -0
- package/js/types/Enum/SurveyTypeDatas.js +24 -0
- package/js/types/Enum/SurveyTypeDatas.js.map +1 -0
- package/js/types/Enum/TypeConnector.js.map +1 -1
- package/js/types/Enum/TypePartnerTransaction.js +14 -0
- package/js/types/Enum/TypePartnerTransaction.js.map +1 -0
- package/js/types/Enum/VatRegime.js.map +1 -1
- package/js/types/Interface/api/survey/CreateSurvey.js +10 -0
- package/js/types/Interface/api/survey/CreateSurvey.js.map +1 -0
- package/js/types/Interface/api/survey/QuerySurvey.js +29 -0
- package/js/types/Interface/api/survey/QuerySurvey.js.map +1 -0
- package/js/types/Interface/api/survey/QuerySurveys.js +31 -0
- package/js/types/Interface/api/survey/QuerySurveys.js.map +1 -0
- package/js/types/Interface/api/survey/ReadSurvey.js +6 -0
- package/js/types/Interface/api/survey/ReadSurvey.js.map +1 -0
- package/js/types/Interface/api/survey/UpdateSurvey.js +31 -0
- package/js/types/Interface/api/survey/UpdateSurvey.js.map +1 -0
- package/js/types/Interface/api/user/QueryConfirm.js +29 -0
- package/js/types/Interface/api/user/QueryConfirm.js.map +1 -0
- package/js/types/Interface/api/user/QueryResendConfirmationLink.js +27 -0
- package/js/types/Interface/api/user/QueryResendConfirmationLink.js.map +1 -0
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/ISurvey.js +6 -0
- package/js/types/Interface/models/ISurvey.js.map +1 -0
- package/js/types/index.js +108 -0
- package/js/types/index.js.map +1 -1
- package/package.json +11 -11
- package/ts/api/resources/Account.ts +5 -1
- package/ts/api/resources/Immobilization.ts +7 -3
- package/ts/api/resources/Survey.ts +23 -0
- package/ts/api/resources/User.ts +11 -0
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/AccountingJournal.ts +8 -8
- package/ts/types/Enum/ComptaType.ts +6 -6
- package/ts/types/Enum/Country.ts +10 -10
- package/ts/types/Enum/Ged.ts +7 -7
- package/ts/types/Enum/Role.ts +1 -1
- package/ts/types/Enum/Sector.ts +4 -4
- package/ts/types/Enum/SubscriptionType.ts +3 -3
- package/ts/types/Enum/SurveyType.ts +3 -0
- package/ts/types/Enum/SurveyTypeDatas.ts +43 -0
- package/ts/types/Enum/TypeConnector.ts +11 -11
- package/ts/types/Enum/TypePartnerTransaction.ts +6 -0
- package/ts/types/Enum/VatRegime.ts +4 -4
- package/ts/types/Interface/api/immobilization/ReadFormattedImmobilization.ts +4 -0
- package/ts/types/Interface/api/survey/CreateSurvey.ts +8 -0
- package/ts/types/Interface/api/survey/QuerySurvey.ts +10 -0
- package/ts/types/Interface/api/survey/QuerySurveys.ts +10 -0
- package/ts/types/Interface/api/survey/ReadSurvey.ts +3 -0
- package/ts/types/Interface/api/survey/UpdateSurvey.ts +15 -0
- package/ts/types/Interface/api/user/QueryConfirm.ts +9 -0
- package/ts/types/Interface/api/user/QueryResendConfirmationLink.ts +6 -0
- package/ts/types/Interface/models/IAccountingTransaction.ts +1 -1
- package/ts/types/Interface/models/IApiError.ts +8 -8
- package/ts/types/Interface/models/IPartnerTransaction.ts +2 -1
- package/ts/types/Interface/models/ISociety.ts +51 -49
- package/ts/types/Interface/models/ISurvey.ts +19 -0
- package/ts/types/Interface/models/IUser.ts +2 -0
- package/ts/types/index.ts +10 -0
package/ts/types/Enum/Ged.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export enum GedCategory {
|
|
2
2
|
COMPANY = 1,
|
|
3
|
-
ACCOUNTING_AND_TAX= 2,
|
|
4
|
-
SOCIAL= 3,
|
|
5
|
-
JURIDIC= 4,
|
|
6
|
-
GENERALITY= 5,
|
|
7
|
-
BILLING= 6,
|
|
8
|
-
MAIL= 7,
|
|
9
|
-
BANK_STATEMENT= 8,
|
|
3
|
+
ACCOUNTING_AND_TAX = 2,
|
|
4
|
+
SOCIAL = 3,
|
|
5
|
+
JURIDIC = 4,
|
|
6
|
+
GENERALITY = 5,
|
|
7
|
+
BILLING = 6,
|
|
8
|
+
MAIL = 7,
|
|
9
|
+
BANK_STATEMENT = 8,
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
export enum GedFolder {
|
package/ts/types/Enum/Role.ts
CHANGED
package/ts/types/Enum/Sector.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export enum Sector {
|
|
2
|
-
DEFAULT=1,
|
|
3
|
-
AUTO_ENTREPRENEUR_SERVICE=2,
|
|
4
|
-
AUTO_ENTREPRENEUR_MERCHANDISE=3,
|
|
5
|
-
AUTO_ENTREPRENEUR_SERVICE_MERCHANDISE=4,
|
|
2
|
+
DEFAULT = 1,
|
|
3
|
+
AUTO_ENTREPRENEUR_SERVICE = 2,
|
|
4
|
+
AUTO_ENTREPRENEUR_MERCHANDISE = 3,
|
|
5
|
+
AUTO_ENTREPRENEUR_SERVICE_MERCHANDISE = 4,
|
|
6
6
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export const SurveyTypeDatas = {
|
|
2
|
+
1: [
|
|
3
|
+
{
|
|
4
|
+
id: 1,
|
|
5
|
+
question: 'interestingFeatures',
|
|
6
|
+
type: 'checkbox',
|
|
7
|
+
answers: [
|
|
8
|
+
'syncBanc',
|
|
9
|
+
'expensesAndRevenuesCategorization',
|
|
10
|
+
'cashFlowSimulation',
|
|
11
|
+
'expenseReportsAndKilometricAllowances',
|
|
12
|
+
'trackingToolAndDashboards',
|
|
13
|
+
'billingTool',
|
|
14
|
+
'vatDeclarationAutomated',
|
|
15
|
+
'balanceSheetAndTaxReturnGenerationAutomated',
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
id: 2,
|
|
20
|
+
question: 'societySize',
|
|
21
|
+
type: 'select',
|
|
22
|
+
answers: [
|
|
23
|
+
'1to5',
|
|
24
|
+
'6to10',
|
|
25
|
+
'11to25',
|
|
26
|
+
'26to50',
|
|
27
|
+
'51andMore',
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: 3,
|
|
32
|
+
question: 'userRoleInSociety',
|
|
33
|
+
type: 'select',
|
|
34
|
+
answers: [
|
|
35
|
+
'director',
|
|
36
|
+
'accountant',
|
|
37
|
+
'accountantExpert',
|
|
38
|
+
'managementAssistant',
|
|
39
|
+
'other',
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export enum TypeConnector {
|
|
2
|
-
SEELSY=1,
|
|
3
|
-
PRESTASHOP=2,
|
|
4
|
-
ZOHO=3,
|
|
5
|
-
DOLIBARR=4,
|
|
6
|
-
STRIPE_CONNECT=5,
|
|
7
|
-
STRIPE=6,
|
|
8
|
-
JS=7,
|
|
9
|
-
AUTOLOGIN=8,
|
|
10
|
-
SHOPIFY=9,
|
|
11
|
-
WOOCOMMERCE=10,
|
|
12
|
-
ACTIVATION=11,
|
|
2
|
+
SEELSY = 1,
|
|
3
|
+
PRESTASHOP = 2,
|
|
4
|
+
ZOHO = 3,
|
|
5
|
+
DOLIBARR = 4,
|
|
6
|
+
STRIPE_CONNECT = 5,
|
|
7
|
+
STRIPE = 6,
|
|
8
|
+
JS = 7,
|
|
9
|
+
AUTOLOGIN = 8,
|
|
10
|
+
SHOPIFY = 9,
|
|
11
|
+
WOOCOMMERCE = 10,
|
|
12
|
+
ACTIVATION = 11,
|
|
13
13
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { IImmobilization } from '../../..';
|
|
2
|
+
import { IAccount } from '../../models/IAccount';
|
|
2
3
|
|
|
4
|
+
export interface ReadHydratedImmobilization extends IImmobilization {
|
|
5
|
+
account: Partial<IAccount>
|
|
6
|
+
}
|
|
3
7
|
export interface FormattedImmobilization extends IImmobilization {
|
|
4
8
|
inputValue: number
|
|
5
9
|
startAmortization: number,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseEntity } from '../../../../utils';
|
|
2
|
+
import { SurveyType } from '../../../Enum/SurveyType';
|
|
3
|
+
import { ISurvey } from '../../models/ISurvey';
|
|
4
|
+
|
|
5
|
+
export class CreateSurvey implements Omit<BaseEntity<ISurvey>, 'finishedAt' | 'cancelledAt' | 'idSociety'> {
|
|
6
|
+
data: { name: string, data: (string |number)[] }[];
|
|
7
|
+
idSurveyType: SurveyType;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { WhereOptions, WhereValue } from 'sequelize';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class QuerySurvey {
|
|
5
|
+
@ApiPropertyOptional()()
|
|
6
|
+
where?: WhereOptions | WhereValue;
|
|
7
|
+
|
|
8
|
+
@ApiPropertyOptional()
|
|
9
|
+
attributes?: string[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ISurvey } from '../../models/ISurvey';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class UpdateSurvey {
|
|
5
|
+
id: number;
|
|
6
|
+
|
|
7
|
+
@ApiProperty()
|
|
8
|
+
data: ISurvey['data'];
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
finishedAt?: Date | null;
|
|
12
|
+
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
cancelledAt?: Date | null;
|
|
15
|
+
}
|
|
@@ -29,16 +29,16 @@ export enum Code {
|
|
|
29
29
|
transactionIsAlreadyExported = 'transaction_is_already_exported',
|
|
30
30
|
thirdPartyIsNotFound = 'third_party_is_not_found',
|
|
31
31
|
accountIsNotFound = 'account_is_not_found',
|
|
32
|
-
immobilizationNotSetWithAccountStartTwo= 'immobilization_not_set_with_account_start_two',
|
|
33
|
-
immobilizationCanOnlyBeSetForDebit= 'immobilization_can_only_be_set_for_debit',
|
|
34
|
-
immobilizationCanNotBeSetWithoutAccount= 'immobilization_can_not_be_set_without_account',
|
|
35
|
-
noExerciceFoundForImmobilization='no_exercice_found_for_immobilization',
|
|
36
|
-
amountImmobilizationLessThanAmountTransaction='amount_immobilization_less_than_amount_transaction',
|
|
37
|
-
amountImmobilizationLessThanAmountAllTaxIncluded='amount_immobilization_less_than_amount_all_tax_included',
|
|
38
|
-
amountImmobilizationIsGreaterThanTotalAmountTransactions='amount_immobilization_is_greater_than_total_amount_transactions',
|
|
32
|
+
immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',
|
|
33
|
+
immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',
|
|
34
|
+
immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',
|
|
35
|
+
noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',
|
|
36
|
+
amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',
|
|
37
|
+
amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',
|
|
38
|
+
amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',
|
|
39
39
|
|
|
40
40
|
// PDF error
|
|
41
|
-
mergeFailed='merge_failed',
|
|
41
|
+
mergeFailed = 'merge_failed',
|
|
42
42
|
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TypePartnerTransaction } from '../../Enum/TypePartnerTransaction';
|
|
1
2
|
import { IPartnerTransactionType } from './IPartnerTransactionType';
|
|
2
3
|
|
|
3
4
|
// partnersTransactions
|
|
@@ -5,7 +6,7 @@ export interface IPartnerTransaction {
|
|
|
5
6
|
id?: number;
|
|
6
7
|
tokenString: string | null;
|
|
7
8
|
tokenInteger: number | null;
|
|
8
|
-
idTypePartnerTransaction:
|
|
9
|
+
idTypePartnerTransaction: TypePartnerTransaction;
|
|
9
10
|
idAccountingTransaction: number | null;
|
|
10
11
|
createdAt?: Date | null;
|
|
11
12
|
updatedAt?: Date | null;
|
|
@@ -44,6 +44,7 @@ import { IWebMail } from './IWebMail';
|
|
|
44
44
|
import { ISocietyProceeding } from './ISocietyProceeding';
|
|
45
45
|
import { ISocietyAction } from './ISocietyAction';
|
|
46
46
|
import { ISocietyStat } from './ISocietyStat';
|
|
47
|
+
import { ISurvey } from './ISurvey';
|
|
47
48
|
import { ILog } from './ILog';
|
|
48
49
|
import { ISms } from './ISms';
|
|
49
50
|
import { IUser } from './IUser';
|
|
@@ -132,53 +133,54 @@ export interface ISociety {
|
|
|
132
133
|
idSoftware: number | null;
|
|
133
134
|
|
|
134
135
|
// Associations
|
|
135
|
-
accounts
|
|
136
|
-
comments
|
|
137
|
-
thirdParty
|
|
138
|
-
reports
|
|
139
|
-
connectors
|
|
140
|
-
bankConnections
|
|
141
|
-
societiesFollowedQualityMail
|
|
142
|
-
societyFollow
|
|
143
|
-
paymentsExpectations
|
|
144
|
-
legalForm
|
|
145
|
-
oldExpertInfo
|
|
146
|
-
prestationsSocieties
|
|
147
|
-
sector
|
|
148
|
-
refunds
|
|
149
|
-
bankAccounts
|
|
150
|
-
bankPayment
|
|
151
|
-
compta
|
|
152
|
-
typeSubscription
|
|
153
|
-
config
|
|
154
|
-
gescom
|
|
155
|
-
societyCgv
|
|
156
|
-
processRegister
|
|
157
|
-
formalism
|
|
158
|
-
notes
|
|
159
|
-
taxSystem
|
|
160
|
-
tvaRegime
|
|
161
|
-
fiscalRegime
|
|
162
|
-
source
|
|
163
|
-
analyticsUtm
|
|
164
|
-
activity
|
|
165
|
-
softwareCompta
|
|
166
|
-
accessToken
|
|
167
|
-
cotations
|
|
168
|
-
societyVehicles
|
|
169
|
-
societyCountry
|
|
170
|
-
terminationsList
|
|
171
|
-
societyFiles
|
|
172
|
-
societyDetail
|
|
173
|
-
societySocials
|
|
174
|
-
societyJuridical
|
|
175
|
-
paymentWaitings
|
|
176
|
-
societyExercices
|
|
177
|
-
webmailMails
|
|
178
|
-
societyProceedings
|
|
179
|
-
societyActions
|
|
180
|
-
societyStats
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
136
|
+
accounts?: IAccount[];
|
|
137
|
+
comments?: IComment[];
|
|
138
|
+
thirdParty?: IThirdParty[];
|
|
139
|
+
reports?: IReport[];
|
|
140
|
+
connectors?: IConnector[];
|
|
141
|
+
bankConnections?: IBankConnection[];
|
|
142
|
+
societiesFollowedQualityMail?: IFollowedQualityMail[];
|
|
143
|
+
societyFollow?: IFollow[];
|
|
144
|
+
paymentsExpectations?: IPaymentExpectation[];
|
|
145
|
+
legalForm?: ILegalForm;
|
|
146
|
+
oldExpertInfo?: IOldExpertInfo;
|
|
147
|
+
prestationsSocieties?: IPrestation[];
|
|
148
|
+
sector?: ISector;
|
|
149
|
+
refunds?: IRefund[];
|
|
150
|
+
bankAccounts?: IBankAccount[];
|
|
151
|
+
bankPayment?: ISocietyBank;
|
|
152
|
+
compta?: IComptaType;
|
|
153
|
+
typeSubscription?: ISubscriptionType;
|
|
154
|
+
config?: ISocietyConfig;
|
|
155
|
+
gescom?: ISocietyGescom;
|
|
156
|
+
societyCgv?: ISocietyCgv;
|
|
157
|
+
processRegister?: ISocietyProcessRegister;
|
|
158
|
+
formalism?: IFormalism;
|
|
159
|
+
notes?: ISocietyNote;
|
|
160
|
+
taxSystem?: ITaxSystem;
|
|
161
|
+
tvaRegime?: IVatRegime;
|
|
162
|
+
fiscalRegime?: IFiscalRegime;
|
|
163
|
+
source?: ISource;
|
|
164
|
+
analyticsUtm?: IAnalyticsUtm;
|
|
165
|
+
activity?: IActivity;
|
|
166
|
+
softwareCompta?: ISoftwareCompta;
|
|
167
|
+
accessToken?: IAccessToken;
|
|
168
|
+
cotations?: ICotation[];
|
|
169
|
+
societyVehicles?: ISocietyVehicle[];
|
|
170
|
+
societyCountry?: ICountry;
|
|
171
|
+
terminationsList?: ITerminationList;
|
|
172
|
+
societyFiles?: ISocietyFile[];
|
|
173
|
+
societyDetail?: ISocietyDetail;
|
|
174
|
+
societySocials?: ISocietySocial[];
|
|
175
|
+
societyJuridical?: ISocietyJuridical;
|
|
176
|
+
paymentWaitings?: IPaymentWaiting[];
|
|
177
|
+
societyExercices?: IExercice[];
|
|
178
|
+
webmailMails?: IWebMail[];
|
|
179
|
+
societyProceedings?: ISocietyProceeding[];
|
|
180
|
+
societyActions?: ISocietyAction[];
|
|
181
|
+
societyStats?: ISocietyStat[];
|
|
182
|
+
survey?: ISurvey[];
|
|
183
|
+
logs?: ILog[];
|
|
184
|
+
sms?: ISms[];
|
|
185
|
+
users?: IUser[];
|
|
184
186
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SurveyType } from '../../Enum/SurveyType';
|
|
2
|
+
import { ISociety } from './ISociety';
|
|
3
|
+
|
|
4
|
+
// survey
|
|
5
|
+
export interface ISurvey {
|
|
6
|
+
id?: number;
|
|
7
|
+
data: { name: string, data: (string |number)[] }[];
|
|
8
|
+
idSurveyType: SurveyType;
|
|
9
|
+
idSociety: number;
|
|
10
|
+
|
|
11
|
+
finishedAt?: Date | null;
|
|
12
|
+
cancelledAt?: Date | null;
|
|
13
|
+
|
|
14
|
+
createdAt?: Date | null;
|
|
15
|
+
updatedAt?: Date | null;
|
|
16
|
+
|
|
17
|
+
// Associations
|
|
18
|
+
society?: ISociety;
|
|
19
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -200,6 +200,7 @@ export * from './Interface/models/IStripeEvent';
|
|
|
200
200
|
export * from './Interface/models/ISupervision';
|
|
201
201
|
export * from './Interface/models/ISupervisionJob';
|
|
202
202
|
export * from './Interface/models/ISupervisionPendingPoint';
|
|
203
|
+
export * from './Interface/models/ISurvey';
|
|
203
204
|
export * from './Interface/models/ITag';
|
|
204
205
|
export * from './Interface/models/ITask';
|
|
205
206
|
export * from './Interface/models/ITaxSystem';
|
|
@@ -288,6 +289,8 @@ export * from './Enum/Vat';
|
|
|
288
289
|
export * from './Enum/AccountingJournal';
|
|
289
290
|
export * from './Enum/ImmobilizationType';
|
|
290
291
|
export * from './Enum/Nature';
|
|
292
|
+
export * from './Enum/SurveyType';
|
|
293
|
+
export * from './Enum/SurveyTypeDatas';
|
|
291
294
|
|
|
292
295
|
// Interfaces API
|
|
293
296
|
export * from './Interface/api/businessPartner/ReadBusinessPartner';
|
|
@@ -300,5 +303,12 @@ export * from './Interface/api/paymentExpectationCustomer/UpdatePaymentExpectati
|
|
|
300
303
|
export * from './Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer';
|
|
301
304
|
export * from './Interface/api/accountType/ReadAccountType';
|
|
302
305
|
export * from './Interface/api/account/QueryAccounts';
|
|
306
|
+
export * from './Interface/api/user/QueryConfirm';
|
|
307
|
+
export * from './Interface/api/user/QueryResendConfirmationLink';
|
|
303
308
|
export * from './Interface/api/account/ReadAccounts';
|
|
304
309
|
export * from './Interface/api/simulationColors/ReadSimulationColors';
|
|
310
|
+
export * from './Interface/api/survey/QuerySurveys';
|
|
311
|
+
// export * from './Interface/api/survey/QuerySurvey';
|
|
312
|
+
export * from './Interface/api/survey/ReadSurvey';
|
|
313
|
+
export * from './Interface/api/survey/UpdateSurvey';
|
|
314
|
+
export * from './Interface/api/survey/CreateSurvey';
|