@silexpert/core 0.4.36 → 0.4.40
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/BalanceSheetModule.d.ts +10 -0
- package/es/api/resources/BalanceSheetModule.d.ts.map +1 -0
- package/es/api/resources/BalanceSheetModule.js +16 -0
- package/es/api/resources/BalanceSheetModule.js.map +1 -0
- package/es/api/resources/Society.d.ts +5 -1
- package/es/api/resources/Society.d.ts.map +1 -1
- package/es/api/resources/Society.js +12 -0
- package/es/api/resources/Society.js.map +1 -1
- package/es/api/resources/Transaction.d.ts +2 -1
- 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.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/{TypeConnector.d.ts → ConnectorType.d.ts} +2 -2
- package/es/types/Enum/{TypeConnector.d.ts.map → ConnectorType.d.ts.map} +1 -1
- package/es/types/Enum/ConnectorType.js +15 -0
- package/es/types/Enum/{TypeConnector.js.map → ConnectorType.js.map} +1 -1
- package/es/types/Form/FormConnector.d.ts +3 -3
- package/es/types/Form/FormConnector.d.ts.map +1 -1
- package/es/types/Form/FormConnector.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +8 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +33 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.d.ts +4 -0
- package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js +17 -0
- package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +8 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +33 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -0
- package/es/types/Interface/api/pdf/BillingDocumentData.d.ts +44 -0
- package/es/types/Interface/api/pdf/BillingDocumentData.d.ts.map +1 -0
- package/es/types/Interface/api/pdf/BillingDocumentData.js +2 -0
- package/es/types/Interface/api/pdf/BillingDocumentData.js.map +1 -0
- package/es/types/Interface/api/society/CreateUserToSocietyWithPermission.d.ts +11 -0
- package/es/types/Interface/api/society/CreateUserToSocietyWithPermission.d.ts.map +1 -0
- package/es/types/Interface/api/society/CreateUserToSocietyWithPermission.js +41 -0
- package/es/types/Interface/api/society/CreateUserToSocietyWithPermission.js.map +1 -0
- package/es/types/Interface/api/society/ListUserSociety.d.ts +4 -0
- package/es/types/Interface/api/society/ListUserSociety.d.ts.map +1 -0
- package/es/types/Interface/api/society/ListUserSociety.js +17 -0
- package/es/types/Interface/api/society/ListUserSociety.js.map +1 -0
- package/es/types/Interface/api/society/ReadSocietyUsers.d.ts +8 -0
- package/es/types/Interface/api/society/ReadSocietyUsers.d.ts.map +1 -0
- package/es/types/Interface/api/society/ReadSocietyUsers.js +2 -0
- package/es/types/Interface/api/society/ReadSocietyUsers.js.map +1 -0
- package/es/types/Interface/api/society/UpdateUserToSocietyWithPermission.d.ts +10 -0
- package/es/types/Interface/api/society/UpdateUserToSocietyWithPermission.d.ts.map +1 -0
- package/es/types/Interface/api/society/UpdateUserToSocietyWithPermission.js +37 -0
- package/es/types/Interface/api/society/UpdateUserToSocietyWithPermission.js.map +1 -0
- package/es/types/Interface/api/transactions/QueryUnexport.d.ts +6 -0
- package/es/types/Interface/api/transactions/QueryUnexport.d.ts.map +1 -0
- package/es/types/Interface/api/transactions/QueryUnexport.js +25 -0
- package/es/types/Interface/api/transactions/QueryUnexport.js.map +1 -0
- package/es/types/Interface/api/user/Permissions.d.ts +12 -0
- package/es/types/Interface/api/user/Permissions.d.ts.map +1 -0
- package/es/types/Interface/api/user/Permissions.js +2 -0
- package/es/types/Interface/api/user/Permissions.js.map +1 -0
- package/es/types/Interface/models/IApiError.d.ts +1 -0
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +1 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.d.ts +13 -13
- package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
- package/es/types/Interface/models/IItemEstimate.d.ts +4 -4
- package/es/types/Interface/models/IItemEstimate.d.ts.map +1 -1
- package/es/types/Interface/models/IItemEstimate.js.map +1 -1
- package/es/types/Interface/models/IPermission.d.ts +2 -0
- package/es/types/Interface/models/IPermission.d.ts.map +1 -1
- package/es/types/Interface/models/IPermission.js.map +1 -1
- package/es/types/Interface/models/IProduct.d.ts +5 -5
- package/es/types/Interface/models/IProduct.d.ts.map +1 -1
- package/es/types/Interface/models/IProduct.js.map +1 -1
- package/es/types/index.d.ts +12 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +12 -1
- package/es/types/index.js.map +1 -1
- package/js/api/resources/BalanceSheetModule.js +30 -0
- package/js/api/resources/BalanceSheetModule.js.map +1 -0
- package/js/api/resources/Society.js +18 -0
- package/js/api/resources/Society.js.map +1 -1
- package/js/api/resources/Transaction.js +4 -0
- package/js/api/resources/Transaction.js.map +1 -1
- package/js/api/resources.js +3 -0
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/ConnectorType.js +21 -0
- package/js/types/Enum/{TypeConnector.js.map → ConnectorType.js.map} +1 -1
- package/js/types/Form/FormConnector.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +35 -0
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -0
- package/js/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js +27 -0
- package/js/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js.map +1 -0
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +35 -0
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -0
- package/js/types/Interface/api/pdf/BillingDocumentData.js +6 -0
- package/js/types/Interface/api/pdf/BillingDocumentData.js.map +1 -0
- package/js/types/Interface/api/society/CreateUserToSocietyWithPermission.js +39 -0
- package/js/types/Interface/api/society/CreateUserToSocietyWithPermission.js.map +1 -0
- package/js/types/Interface/api/society/ListUserSociety.js +27 -0
- package/js/types/Interface/api/society/ListUserSociety.js.map +1 -0
- package/js/types/Interface/api/society/ReadSocietyUsers.js +6 -0
- package/js/types/Interface/api/society/ReadSocietyUsers.js.map +1 -0
- package/js/types/Interface/api/society/UpdateUserToSocietyWithPermission.js +37 -0
- package/js/types/Interface/api/society/UpdateUserToSocietyWithPermission.js.map +1 -0
- package/js/types/Interface/api/transactions/QueryUnexport.js +31 -0
- package/js/types/Interface/api/transactions/QueryUnexport.js.map +1 -0
- package/js/types/Interface/api/user/Permissions.js +6 -0
- package/js/types/Interface/api/user/Permissions.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +1 -0
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +135 -3
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BalanceSheetModule.ts +21 -0
- package/ts/api/resources/Society.ts +17 -0
- package/ts/api/resources/Transaction.ts +4 -1
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/{TypeConnector.ts → ConnectorType.ts} +1 -1
- package/ts/types/Form/FormConnector.ts +3 -3
- package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +18 -0
- package/ts/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.ts +6 -0
- package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +18 -0
- package/ts/types/Interface/api/pdf/BillingDocumentData.ts +44 -0
- package/ts/types/Interface/api/society/CreateUserToSocietyWithPermission.ts +19 -0
- package/ts/types/Interface/api/society/ListUserSociety.ts +6 -0
- package/ts/types/Interface/api/society/ReadSocietyUsers.ts +9 -0
- package/ts/types/Interface/api/society/UpdateUserToSocietyWithPermission.ts +17 -0
- package/ts/types/Interface/api/transactions/QueryUnexport.ts +12 -0
- package/ts/types/Interface/api/user/Permissions.ts +11 -0
- package/ts/types/Interface/models/IApiError.ts +1 -0
- package/ts/types/Interface/models/IEstimateInvoice.ts +13 -13
- package/ts/types/Interface/models/IItemEstimate.ts +4 -4
- package/ts/types/Interface/models/IPermission.ts +2 -0
- package/ts/types/Interface/models/IProduct.ts +5 -5
- package/ts/types/index.ts +12 -1
- package/es/types/Enum/TypeConnector.js +0 -15
- package/js/types/Enum/TypeConnector.js +0 -21
|
@@ -10,6 +10,11 @@ import {
|
|
|
10
10
|
CreateSynchronization,
|
|
11
11
|
UpdateSociety,
|
|
12
12
|
CreateBudgetBalanceBankAccount,
|
|
13
|
+
IUser,
|
|
14
|
+
ListUserSociety,
|
|
15
|
+
CreateUserToSocietyWithPermission,
|
|
16
|
+
UpdateUserToSocietyWithPermission,
|
|
17
|
+
ReadSocietyUsers,
|
|
13
18
|
} from '../../types';
|
|
14
19
|
|
|
15
20
|
export class Society extends Resource {
|
|
@@ -43,4 +48,16 @@ export class Society extends Resource {
|
|
|
43
48
|
importBalanceBankAccount(idSociety: number, idBankAccount: number, params: CreateBudgetBalanceBankAccount): Promise<number> {
|
|
44
49
|
return this.axios.$post(`/society/${idSociety}/bankAccount/${idBankAccount}/importBalance`, params);
|
|
45
50
|
}
|
|
51
|
+
listUserSociety(idSociety: number, params: ListUserSociety):Promise<ReadSocietyUsers> {
|
|
52
|
+
return this.axios.$get(`/society/${idSociety}/users`, { params });
|
|
53
|
+
}
|
|
54
|
+
deleteUser(idSociety: number, idUser: number): Promise<true> {
|
|
55
|
+
return this.axios.$delete(`/society/${idSociety}/user/${idUser}`);
|
|
56
|
+
}
|
|
57
|
+
createUserToSocietyWithPermission(idSociety: number, data: CreateUserToSocietyWithPermission): Promise<IUser> {
|
|
58
|
+
return this.axios.$post(`/society/${idSociety}/userToSocietyWithPermission`, data);
|
|
59
|
+
}
|
|
60
|
+
updateUserToSocietyWithPermission(idSociety: number, id: number, data: UpdateUserToSocietyWithPermission): Promise<IUser> {
|
|
61
|
+
return this.axios.$put(`/society/${idSociety}/userToSocietyWithPermission/${id}`, data);
|
|
62
|
+
}
|
|
46
63
|
}
|
|
@@ -2,7 +2,7 @@ import { Resource } from '../Resource';
|
|
|
2
2
|
import {
|
|
3
3
|
AccountingJournal,
|
|
4
4
|
BasePaginate,
|
|
5
|
-
QueryPaginate, ReadFormattedAccountingTransaction, UpdateAccountingTransaction, DeleteTransactions,
|
|
5
|
+
QueryPaginate, ReadFormattedAccountingTransaction, UpdateAccountingTransaction, DeleteTransactions, QueryUnexport,
|
|
6
6
|
} from '../../types';
|
|
7
7
|
|
|
8
8
|
export class Transaction extends Resource {
|
|
@@ -18,6 +18,9 @@ export class Transaction extends Resource {
|
|
|
18
18
|
params,
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
+
unexport(idSociety: number, params: QueryUnexport): Promise<void> {
|
|
22
|
+
return this.axios.$put(`/society/${idSociety}/transactions/unexport`, params);
|
|
23
|
+
}
|
|
21
24
|
annotate(id: number, data: UpdateAccountingTransaction): Promise<ReadFormattedAccountingTransaction | Error> {
|
|
22
25
|
return this.axios.$put(`/transactions/${id}`, data);
|
|
23
26
|
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { GeneralLedger } from './resources/GeneralLedger';
|
|
|
17
17
|
import { FecFile } from './resources/FecFile';
|
|
18
18
|
import { IncomeStatement } from './resources/IncomeStatement';
|
|
19
19
|
import { BalanceSheet } from './resources/BalanceSheet';
|
|
20
|
+
import { BalanceSheetModule } from './resources/BalanceSheetModule';
|
|
20
21
|
import { Cerfa } from './resources/Cerfa';
|
|
21
22
|
import { LegalForm } from './resources/LegalForm';
|
|
22
23
|
import { Subscription } from './resources/Subscription';
|
|
@@ -51,6 +52,7 @@ export const resources = {
|
|
|
51
52
|
fecFile: FecFile,
|
|
52
53
|
incomeStatement: IncomeStatement,
|
|
53
54
|
balanceSheet: BalanceSheet,
|
|
55
|
+
balanceSheetModule: BalanceSheetModule,
|
|
54
56
|
cerfa: Cerfa,
|
|
55
57
|
legalForm: LegalForm,
|
|
56
58
|
authenticate: Authenticate,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ConnectorType } from '../Enum/ConnectorType';
|
|
2
2
|
|
|
3
3
|
export class FormConnector {
|
|
4
4
|
// @ApiProperty()
|
|
@@ -26,8 +26,8 @@ export class FormConnector {
|
|
|
26
26
|
date?: Date;
|
|
27
27
|
|
|
28
28
|
// @ApiProperty()
|
|
29
|
-
idTypeConnector:
|
|
29
|
+
idTypeConnector: ConnectorType;
|
|
30
30
|
|
|
31
31
|
// @ApiProperty()
|
|
32
|
-
idSociety
|
|
32
|
+
idSociety?: number;
|
|
33
33
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
|
|
3
|
+
export class CreateBalanceSheetModuleForm {
|
|
4
|
+
@ApiPropertyOptional()
|
|
5
|
+
inventory: boolean;
|
|
6
|
+
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
loanToDeclare: boolean;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
deadlinerecoveryImmobilization: boolean;
|
|
12
|
+
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
salariesFile: boolean;
|
|
15
|
+
|
|
16
|
+
@ApiProperty()
|
|
17
|
+
idExercice: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
|
|
3
|
+
export class UpdateBalanceSheetModuleForm {
|
|
4
|
+
@ApiPropertyOptional()
|
|
5
|
+
inventory: boolean;
|
|
6
|
+
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
loanToDeclare: boolean;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
deadlinerecoveryImmobilization: boolean;
|
|
12
|
+
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
salariesFile: boolean;
|
|
15
|
+
|
|
16
|
+
@ApiPropertyOptional()
|
|
17
|
+
idExercice: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ISociety } from '../../models/ISociety';
|
|
2
|
+
|
|
3
|
+
interface BillingDocumentItemVat {
|
|
4
|
+
computeMethod: 'percentage',
|
|
5
|
+
vatPercentageValue: number,
|
|
6
|
+
}
|
|
7
|
+
interface BillingDocumentItem {
|
|
8
|
+
name: string,
|
|
9
|
+
comment: string,
|
|
10
|
+
quantity: number,
|
|
11
|
+
discount: number,
|
|
12
|
+
code: string,
|
|
13
|
+
price: number,
|
|
14
|
+
unit: string,
|
|
15
|
+
vat: BillingDocumentItemVat,
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export type BillingDocumentData = {
|
|
19
|
+
society: Partial<ISociety>,
|
|
20
|
+
deposit: number;
|
|
21
|
+
template: number | null;
|
|
22
|
+
generalComment: string | null;
|
|
23
|
+
generalDiscount: number | null;
|
|
24
|
+
recipient: {
|
|
25
|
+
id?: number;
|
|
26
|
+
fullname: string | null;
|
|
27
|
+
company: string;
|
|
28
|
+
address?: string | null;
|
|
29
|
+
zipCode?: string | null;
|
|
30
|
+
city?: string | null;
|
|
31
|
+
phone?: string | null;
|
|
32
|
+
nTva?: string | null;
|
|
33
|
+
thirdPartyCountry: {
|
|
34
|
+
name: string;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
references: {
|
|
38
|
+
createdDate: Date | null;
|
|
39
|
+
ref: string | null;
|
|
40
|
+
paymentPlan: string | null;
|
|
41
|
+
dueDate: Date | null;
|
|
42
|
+
},
|
|
43
|
+
items: BillingDocumentItem[]
|
|
44
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
import { Permissions } from '../user/Permissions';
|
|
3
|
+
|
|
4
|
+
export class CreateUserToSocietyWithPermission {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
email: string;
|
|
7
|
+
@ApiProperty()
|
|
8
|
+
firstname: string;
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
lastname: string;
|
|
11
|
+
@ApiProperty()
|
|
12
|
+
acceptCgv?: boolean; // not sure if needed (maybe more a front notion)
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
permissions: Partial<Permissions>;
|
|
15
|
+
@ApiPropertyOptional()
|
|
16
|
+
acceptNewsletter?: boolean;
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
phone?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IUser } from '../../..';
|
|
2
|
+
import { Overwrite } from '../../../../utils';
|
|
3
|
+
import { Permissions } from '../user/Permissions';
|
|
4
|
+
|
|
5
|
+
export type ReadSocietyUsers = ReadSocietyUser[];
|
|
6
|
+
|
|
7
|
+
export type ReadSocietyUser = Overwrite<IUser, {
|
|
8
|
+
userPermissions: Permissions
|
|
9
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
import { Permissions } from '../user/Permissions';
|
|
3
|
+
|
|
4
|
+
export class UpdateUserToSocietyWithPermission {
|
|
5
|
+
@ApiPropertyOptional()
|
|
6
|
+
email: string;
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
phone: string;
|
|
9
|
+
@ApiPropertyOptional()
|
|
10
|
+
password: string;
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
firstname: string;
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
lastname: string;
|
|
15
|
+
@ApiPropertyOptional()
|
|
16
|
+
permissions: Partial<Permissions>;
|
|
17
|
+
}
|
|
@@ -49,6 +49,7 @@ export enum Code {
|
|
|
49
49
|
|
|
50
50
|
// Email error
|
|
51
51
|
emailAlreadyExist = 'email_already_exist',
|
|
52
|
+
phoneAlreadyExist = 'phone_already_exist',
|
|
52
53
|
societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',
|
|
53
54
|
societyCustomEmailNotFound = 'society_custom_email_not_found',
|
|
54
55
|
emailNotFound = 'email_not_found',
|
|
@@ -56,17 +56,17 @@ export interface IEstimateInvoice {
|
|
|
56
56
|
deletedAt?: Date | null;
|
|
57
57
|
|
|
58
58
|
// Associations
|
|
59
|
-
estimatesInvoicesProducts
|
|
60
|
-
productItemsEstimates
|
|
61
|
-
estimateInvoiceEstimateInvoiceRepeat
|
|
62
|
-
estimateInvoicePaymentExpectationCustomer
|
|
63
|
-
estimatesInvoicesThirdParty
|
|
64
|
-
estimatesInvoicesFrequency
|
|
65
|
-
estimatesInvoicesType
|
|
66
|
-
estimatesInvoicesSociety
|
|
67
|
-
estimatesInvoicesForThisAdvance
|
|
68
|
-
assetRelatedToThisEstimateInvoice
|
|
69
|
-
estimatesInvoicesForThisAsset
|
|
70
|
-
estimatesInvoicesForThisRepeat
|
|
71
|
-
societyRelance
|
|
59
|
+
estimatesInvoicesProducts?: IProduct[];
|
|
60
|
+
productItemsEstimates?: IItemEstimate[];
|
|
61
|
+
estimateInvoiceEstimateInvoiceRepeat?: IEstimateInvoiceRepeat;
|
|
62
|
+
estimateInvoicePaymentExpectationCustomer?: IPaymentExpectationCustomer;
|
|
63
|
+
estimatesInvoicesThirdParty?: IThirdParty;
|
|
64
|
+
estimatesInvoicesFrequency?: IFrequency;
|
|
65
|
+
estimatesInvoicesType?: IEstimateInvoiceType;
|
|
66
|
+
estimatesInvoicesSociety?: ISociety;
|
|
67
|
+
estimatesInvoicesForThisAdvance?: IEstimateInvoice;
|
|
68
|
+
assetRelatedToThisEstimateInvoice?: IEstimateInvoice;
|
|
69
|
+
estimatesInvoicesForThisAsset?: IEstimateInvoice;
|
|
70
|
+
estimatesInvoicesForThisRepeat?: IEstimateInvoice;
|
|
71
|
+
societyRelance?: ISocietyRelance;
|
|
72
72
|
}
|
|
@@ -22,8 +22,8 @@ export interface IItemEstimate {
|
|
|
22
22
|
updatedAt?: Date | null;
|
|
23
23
|
|
|
24
24
|
// Associations
|
|
25
|
-
itemsEstimatesTva
|
|
26
|
-
itemsEstimatesProduct
|
|
27
|
-
itemsEstimatesUnity
|
|
28
|
-
itemsEstimatesTypeProduct
|
|
25
|
+
itemsEstimatesTva?: IVat;
|
|
26
|
+
itemsEstimatesProduct?: IProduct;
|
|
27
|
+
itemsEstimatesUnity?: IUnit;
|
|
28
|
+
itemsEstimatesTypeProduct?: IProductType;
|
|
29
29
|
}
|
|
@@ -21,9 +21,9 @@ export interface IProduct {
|
|
|
21
21
|
deletedAt?: Date | null;
|
|
22
22
|
|
|
23
23
|
// Associations
|
|
24
|
-
estimatesInvoices
|
|
25
|
-
productTva
|
|
26
|
-
productUnity
|
|
27
|
-
productTypeProduct
|
|
28
|
-
productSociety
|
|
24
|
+
estimatesInvoices?: IEstimateInvoice[];
|
|
25
|
+
productTva?: IVat;
|
|
26
|
+
productUnity?: IUnit;
|
|
27
|
+
productTypeProduct?: IProductType;
|
|
28
|
+
productSociety?: ISociety;
|
|
29
29
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -297,7 +297,7 @@ export * from './Enum/LegalForm';
|
|
|
297
297
|
export * from './Enum/VatRegime';
|
|
298
298
|
export * from './Enum/AccountType';
|
|
299
299
|
export * from './Enum/BankAccountType';
|
|
300
|
-
export * from './Enum/
|
|
300
|
+
export * from './Enum/ConnectorType';
|
|
301
301
|
export * from './Enum/Vat';
|
|
302
302
|
export * from './Enum/AccountingJournal';
|
|
303
303
|
export * from './Enum/ImmobilizationType';
|
|
@@ -348,9 +348,11 @@ export * from './Interface/api/account/QueryAccountSociety';
|
|
|
348
348
|
export * from './Interface/api/account/QueryGenericAccount';
|
|
349
349
|
export * from './Interface/api/accountingTransaction/QueryTransaction';
|
|
350
350
|
export * from './Interface/api/user/QueryConfirm';
|
|
351
|
+
export * from './Interface/api/user/QuerySocieties';
|
|
351
352
|
export * from './Interface/api/user/QueryResendConfirmationLink';
|
|
352
353
|
export * from './Interface/api/user/CreateUser';
|
|
353
354
|
export * from './Interface/api/user/QueryUserSmsConfirmation';
|
|
355
|
+
export * from './Interface/api/user/Permissions';
|
|
354
356
|
export * from './Interface/api/account/ReadAccounts';
|
|
355
357
|
export * from './Interface/api/simulationColors/ReadSimulationColors';
|
|
356
358
|
export * from './Interface/api/survey/QuerySurveys';
|
|
@@ -360,6 +362,10 @@ export * from './Interface/api/society/LegalFormSiren';
|
|
|
360
362
|
export * from './Interface/api/society/GetDataSociety';
|
|
361
363
|
export * from './Interface/api/society/CreateSociety';
|
|
362
364
|
export * from './Interface/api/society/UpdateSociety';
|
|
365
|
+
export * from './Interface/api/society/ListUserSociety';
|
|
366
|
+
export * from './Interface/api/society/CreateUserToSocietyWithPermission';
|
|
367
|
+
export * from './Interface/api/society/UpdateUserToSocietyWithPermission';
|
|
368
|
+
export * from './Interface/api/society/ReadSocietyUsers';
|
|
363
369
|
export * from './Interface/api/BasePaginate';
|
|
364
370
|
export * from './Interface/api/BaseRequest';
|
|
365
371
|
export * from './Interface/api/generalLedger/IGeneralLedgerAccount';
|
|
@@ -368,6 +374,7 @@ export * from './Interface/api/generalLedger/IGeneralLedgerAccountingEntry';
|
|
|
368
374
|
export * from './Interface/api/stock/StockEntries';
|
|
369
375
|
export * from './Interface/api/dashboard/QueryTurnoverProfitAndLoss';
|
|
370
376
|
export * from './Interface/api/dashboard/ResultTurnOverProfitAndLoss';
|
|
377
|
+
export * from './Interface/api/pdf/BillingDocumentData';
|
|
371
378
|
|
|
372
379
|
// export * from './Interface/api/survey/QuerySurvey';
|
|
373
380
|
export * from './Interface/api/survey/ReadSurvey';
|
|
@@ -415,3 +422,7 @@ export * from './Interface/api/societyPromoCode/CreateSocietyPromoCode';
|
|
|
415
422
|
export * from './Interface/api/loan/UpdateLoan';
|
|
416
423
|
export * from './Interface/api/zticket/CreateZTicket';
|
|
417
424
|
export * from './Interface/api/zticket/QueryZTicket';
|
|
425
|
+
export * from './Interface/api/balanceSheetModule/CreateBalanceSheetModule';
|
|
426
|
+
export * from './Interface/api/balanceSheetModule/UpdateBalanceSheetModule';
|
|
427
|
+
export * from './Interface/api/balanceSheetModule/GetBalanceSheetModule';
|
|
428
|
+
export * from './Interface/api/transactions/QueryUnexport';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export var TypeConnector;
|
|
2
|
-
(function (TypeConnector) {
|
|
3
|
-
TypeConnector[TypeConnector["SEELSY"] = 1] = "SEELSY";
|
|
4
|
-
TypeConnector[TypeConnector["PRESTASHOP"] = 2] = "PRESTASHOP";
|
|
5
|
-
TypeConnector[TypeConnector["ZOHO"] = 3] = "ZOHO";
|
|
6
|
-
TypeConnector[TypeConnector["DOLIBARR"] = 4] = "DOLIBARR";
|
|
7
|
-
TypeConnector[TypeConnector["STRIPE_CONNECT"] = 5] = "STRIPE_CONNECT";
|
|
8
|
-
TypeConnector[TypeConnector["STRIPE"] = 6] = "STRIPE";
|
|
9
|
-
TypeConnector[TypeConnector["JS"] = 7] = "JS";
|
|
10
|
-
TypeConnector[TypeConnector["AUTOLOGIN"] = 8] = "AUTOLOGIN";
|
|
11
|
-
TypeConnector[TypeConnector["SHOPIFY"] = 9] = "SHOPIFY";
|
|
12
|
-
TypeConnector[TypeConnector["WOOCOMMERCE"] = 10] = "WOOCOMMERCE";
|
|
13
|
-
TypeConnector[TypeConnector["ACTIVATION"] = 11] = "ACTIVATION";
|
|
14
|
-
})(TypeConnector || (TypeConnector = {}));
|
|
15
|
-
//# sourceMappingURL=TypeConnector.js.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var TypeConnector = exports.TypeConnector = undefined;
|
|
7
|
-
|
|
8
|
-
(function (TypeConnector) {
|
|
9
|
-
TypeConnector[TypeConnector["SEELSY"] = 1] = "SEELSY";
|
|
10
|
-
TypeConnector[TypeConnector["PRESTASHOP"] = 2] = "PRESTASHOP";
|
|
11
|
-
TypeConnector[TypeConnector["ZOHO"] = 3] = "ZOHO";
|
|
12
|
-
TypeConnector[TypeConnector["DOLIBARR"] = 4] = "DOLIBARR";
|
|
13
|
-
TypeConnector[TypeConnector["STRIPE_CONNECT"] = 5] = "STRIPE_CONNECT";
|
|
14
|
-
TypeConnector[TypeConnector["STRIPE"] = 6] = "STRIPE";
|
|
15
|
-
TypeConnector[TypeConnector["JS"] = 7] = "JS";
|
|
16
|
-
TypeConnector[TypeConnector["AUTOLOGIN"] = 8] = "AUTOLOGIN";
|
|
17
|
-
TypeConnector[TypeConnector["SHOPIFY"] = 9] = "SHOPIFY";
|
|
18
|
-
TypeConnector[TypeConnector["WOOCOMMERCE"] = 10] = "WOOCOMMERCE";
|
|
19
|
-
TypeConnector[TypeConnector["ACTIVATION"] = 11] = "ACTIVATION";
|
|
20
|
-
})(TypeConnector || (exports.TypeConnector = TypeConnector = {}));
|
|
21
|
-
//# sourceMappingURL=TypeConnector.js.map
|