@silexpert/core 1.1.240 → 1.1.242
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/resources/Echo.d.ts +8 -0
- package/dist/cjs/api/resources/Echo.d.ts.map +1 -0
- package/dist/cjs/api/resources/Echo.js +17 -0
- package/dist/cjs/api/resources/Echo.js.map +1 -0
- package/dist/cjs/api/resources/LegalNotice.d.ts +4 -2
- package/dist/cjs/api/resources/LegalNotice.d.ts.map +1 -1
- package/dist/cjs/api/resources/LegalNotice.js +6 -0
- package/dist/cjs/api/resources/LegalNotice.js.map +1 -1
- package/dist/cjs/api/resources/Synchronisation.d.ts +6 -0
- package/dist/cjs/api/resources/Synchronisation.d.ts.map +1 -0
- package/dist/cjs/api/resources/Synchronisation.js +11 -0
- package/dist/cjs/api/resources/Synchronisation.js.map +1 -0
- package/dist/cjs/api/resources/UpToDate.d.ts +6 -0
- package/dist/cjs/api/resources/UpToDate.d.ts.map +1 -0
- package/dist/cjs/api/resources/UpToDate.js +11 -0
- package/dist/cjs/api/resources/UpToDate.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +6 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +6 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/ZoneCode.d.ts +653 -0
- package/dist/cjs/types/Enum/ZoneCode.d.ts.map +1 -0
- package/dist/cjs/types/Enum/ZoneCode.js +765 -0
- package/dist/cjs/types/Enum/ZoneCode.js.map +1 -0
- package/dist/cjs/types/Interface/api/cerfa/Utils.d.ts +5 -5
- package/dist/cjs/types/Interface/api/cerfa/Utils.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/Utils.js.map +1 -1
- package/dist/cjs/types/Interface/api/echo/CreateOrder.d.ts +22 -0
- package/dist/cjs/types/Interface/api/echo/CreateOrder.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/echo/CreateOrder.js +93 -0
- package/dist/cjs/types/Interface/api/echo/CreateOrder.js.map +1 -0
- package/dist/cjs/types/Interface/api/echo/Mission.d.ts +5 -0
- package/dist/cjs/types/Interface/api/echo/Mission.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/echo/Mission.js +3 -0
- package/dist/cjs/types/Interface/api/echo/Mission.js.map +1 -0
- package/dist/cjs/types/Interface/api/echo/NewsPaper.d.ts +18 -0
- package/dist/cjs/types/Interface/api/echo/NewsPaper.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/echo/NewsPaper.js +3 -0
- package/dist/cjs/types/Interface/api/echo/NewsPaper.js.map +1 -0
- package/dist/cjs/types/Interface/api/echo/Order.d.ts +9 -0
- package/dist/cjs/types/Interface/api/echo/Order.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/echo/Order.js +3 -0
- package/dist/cjs/types/Interface/api/echo/Order.js.map +1 -0
- package/dist/cjs/types/Interface/api/synchronisation/Query.d.ts +12 -0
- package/dist/cjs/types/Interface/api/synchronisation/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/synchronisation/Query.js +70 -0
- package/dist/cjs/types/Interface/api/synchronisation/Query.js.map +1 -0
- package/dist/cjs/types/Interface/models/IBankAccount.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IBankAccount.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IBankAccount.js.map +1 -1
- package/dist/cjs/types/Interface/models/ILegalNotice.d.ts +3 -0
- package/dist/cjs/types/Interface/models/ILegalNotice.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ILegalNotice.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUpToDateBankAccount.d.ts +34 -0
- package/dist/cjs/types/Interface/models/IUpToDateBankAccount.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IUpToDateBankAccount.js +3 -0
- package/dist/cjs/types/Interface/models/IUpToDateBankAccount.js.map +1 -0
- package/dist/cjs/types/index.d.ts +7 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +7 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Echo.d.ts +8 -0
- package/dist/mjs/api/resources/Echo.d.ts.map +1 -0
- package/dist/mjs/api/resources/Echo.js +13 -0
- package/dist/mjs/api/resources/Echo.js.map +1 -0
- package/dist/mjs/api/resources/LegalNotice.d.ts +4 -2
- package/dist/mjs/api/resources/LegalNotice.d.ts.map +1 -1
- package/dist/mjs/api/resources/LegalNotice.js +6 -0
- package/dist/mjs/api/resources/LegalNotice.js.map +1 -1
- package/dist/mjs/api/resources/Synchronisation.d.ts +6 -0
- package/dist/mjs/api/resources/Synchronisation.d.ts.map +1 -0
- package/dist/mjs/api/resources/Synchronisation.js +10 -0
- package/dist/mjs/api/resources/Synchronisation.js.map +1 -0
- package/dist/mjs/api/resources/UpToDate.d.ts +6 -0
- package/dist/mjs/api/resources/UpToDate.d.ts.map +1 -0
- package/dist/mjs/api/resources/UpToDate.js +7 -0
- package/dist/mjs/api/resources/UpToDate.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +6 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +6 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/ZoneCode.d.ts +653 -0
- package/dist/mjs/types/Enum/ZoneCode.d.ts.map +1 -0
- package/dist/mjs/types/Enum/ZoneCode.js +762 -0
- package/dist/mjs/types/Enum/ZoneCode.js.map +1 -0
- package/dist/mjs/types/Interface/api/cerfa/Utils.d.ts +5 -5
- package/dist/mjs/types/Interface/api/cerfa/Utils.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/Utils.js.map +1 -1
- package/dist/mjs/types/Interface/api/echo/CreateOrder.d.ts +22 -0
- package/dist/mjs/types/Interface/api/echo/CreateOrder.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/echo/CreateOrder.js +101 -0
- package/dist/mjs/types/Interface/api/echo/CreateOrder.js.map +1 -0
- package/dist/mjs/types/Interface/api/echo/Mission.d.ts +5 -0
- package/dist/mjs/types/Interface/api/echo/Mission.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/echo/Mission.js +2 -0
- package/dist/mjs/types/Interface/api/echo/Mission.js.map +1 -0
- package/dist/mjs/types/Interface/api/echo/NewsPaper.d.ts +18 -0
- package/dist/mjs/types/Interface/api/echo/NewsPaper.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/echo/NewsPaper.js +2 -0
- package/dist/mjs/types/Interface/api/echo/NewsPaper.js.map +1 -0
- package/dist/mjs/types/Interface/api/echo/Order.d.ts +9 -0
- package/dist/mjs/types/Interface/api/echo/Order.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/echo/Order.js +2 -0
- package/dist/mjs/types/Interface/api/echo/Order.js.map +1 -0
- package/dist/mjs/types/Interface/api/synchronisation/Query.d.ts +12 -0
- package/dist/mjs/types/Interface/api/synchronisation/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/synchronisation/Query.js +75 -0
- package/dist/mjs/types/Interface/api/synchronisation/Query.js.map +1 -0
- package/dist/mjs/types/Interface/models/IBankAccount.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IBankAccount.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IBankAccount.js.map +1 -1
- package/dist/mjs/types/Interface/models/ILegalNotice.d.ts +3 -0
- package/dist/mjs/types/Interface/models/ILegalNotice.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ILegalNotice.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUpToDateBankAccount.d.ts +34 -0
- package/dist/mjs/types/Interface/models/IUpToDateBankAccount.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IUpToDateBankAccount.js +2 -0
- package/dist/mjs/types/Interface/models/IUpToDateBankAccount.js.map +1 -0
- package/dist/mjs/types/index.d.ts +7 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +7 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Echo.ts +16 -0
- package/ts/api/resources/LegalNotice.ts +10 -2
- package/ts/api/resources/Synchronisation.ts +11 -0
- package/ts/api/resources/UpToDate.ts +8 -0
- package/ts/api/resources.ts +6 -0
- package/ts/types/Enum/ZoneCode.ts +764 -0
- package/ts/types/Interface/api/cerfa/Utils.ts +5 -5
- package/ts/types/Interface/api/echo/CreateOrder.ts +64 -0
- package/ts/types/Interface/api/echo/Mission.ts +4 -0
- package/ts/types/Interface/api/echo/NewsPaper.ts +18 -0
- package/ts/types/Interface/api/echo/Order.ts +8 -0
- package/ts/types/Interface/api/synchronisation/Query.ts +47 -0
- package/ts/types/Interface/models/IBankAccount.ts +2 -0
- package/ts/types/Interface/models/ILegalNotice.ts +3 -0
- package/ts/types/Interface/models/IUpToDateBankAccount.ts +37 -0
- package/ts/types/index.ts +7 -0
|
@@ -47,11 +47,11 @@ export interface CerfaPartners {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export interface CerfaAddressFromQuestion {
|
|
50
|
-
city: string;
|
|
51
|
-
idCountry: number;
|
|
52
|
-
number: string;
|
|
53
|
-
street: string;
|
|
54
|
-
zipCode: string;
|
|
50
|
+
city: string | null;
|
|
51
|
+
idCountry: number | null;
|
|
52
|
+
number: string | null;
|
|
53
|
+
street: string | null;
|
|
54
|
+
zipCode: string | null;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
export interface NameAndAddress {
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { IsIn, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { DepartmentCode } from '../../../Enum/ZoneCode';
|
|
4
|
+
|
|
5
|
+
export class PublicationContent {
|
|
6
|
+
@ApiProperty()
|
|
7
|
+
@IsString()
|
|
8
|
+
text_html: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export class Publication {
|
|
12
|
+
@ApiProperty()
|
|
13
|
+
@IsString()
|
|
14
|
+
ad_type_id: string;
|
|
15
|
+
|
|
16
|
+
@ApiProperty()
|
|
17
|
+
content: PublicationContent;
|
|
18
|
+
|
|
19
|
+
@ApiProperty()
|
|
20
|
+
@IsString()
|
|
21
|
+
header: string;
|
|
22
|
+
|
|
23
|
+
@ApiProperty()
|
|
24
|
+
@IsString()
|
|
25
|
+
legal_name: string;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
@IsString()
|
|
29
|
+
@IsOptional()
|
|
30
|
+
logo_base_64?: string | null;
|
|
31
|
+
}
|
|
32
|
+
export class CreateEchoOrder {
|
|
33
|
+
@ApiProperty()
|
|
34
|
+
departement: DepartmentCode;
|
|
35
|
+
|
|
36
|
+
@ApiProperty()
|
|
37
|
+
@IsString()
|
|
38
|
+
newspaper_id: string;
|
|
39
|
+
|
|
40
|
+
@ApiProperty()
|
|
41
|
+
@IsInt()
|
|
42
|
+
paper_proof_qty: number;
|
|
43
|
+
|
|
44
|
+
@ApiProperty()
|
|
45
|
+
publication: Publication;
|
|
46
|
+
|
|
47
|
+
@ApiProperty()
|
|
48
|
+
@IsString()
|
|
49
|
+
publishing_date_from: string;
|
|
50
|
+
|
|
51
|
+
@ApiProperty()
|
|
52
|
+
@IsString()
|
|
53
|
+
publishing_date_to: string;
|
|
54
|
+
|
|
55
|
+
@ApiProperty()
|
|
56
|
+
@IsString()
|
|
57
|
+
selection_mode: string;
|
|
58
|
+
|
|
59
|
+
@ApiProperty()
|
|
60
|
+
@IsString()
|
|
61
|
+
@IsIn(['simulation', 'order'])
|
|
62
|
+
type: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type NewsPaper = {
|
|
2
|
+
newspaper_accept_logo_header: boolean,
|
|
3
|
+
newspaper_id: string,
|
|
4
|
+
newspaper_name: string,
|
|
5
|
+
newspaper_publication_info: {
|
|
6
|
+
next_publication_closing_datetime: string,
|
|
7
|
+
next_publication_date: string,
|
|
8
|
+
publishing_date_frequency: PublishingDateFrequency[]
|
|
9
|
+
},
|
|
10
|
+
newspaper_publishing_medium: string
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export type PublishingDateFrequency = {
|
|
14
|
+
closing_day: number,
|
|
15
|
+
closing_time: string,
|
|
16
|
+
plus_7: boolean,
|
|
17
|
+
publishing_day: number
|
|
18
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { IsArray, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class QuerySynchronisationPaginated {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsNumber()
|
|
7
|
+
limit: number;
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsNumber()
|
|
11
|
+
page: number;
|
|
12
|
+
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
@IsString()
|
|
15
|
+
@IsOptional()
|
|
16
|
+
search?: string;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsOptional()
|
|
20
|
+
@IsArray()
|
|
21
|
+
accountants?: number[];
|
|
22
|
+
|
|
23
|
+
@ApiPropertyOptional()
|
|
24
|
+
@IsOptional()
|
|
25
|
+
@IsNumber()
|
|
26
|
+
customerSuccess?: number;
|
|
27
|
+
|
|
28
|
+
@ApiPropertyOptional()
|
|
29
|
+
@IsOptional()
|
|
30
|
+
@IsArray()
|
|
31
|
+
synchroStates?: number[];
|
|
32
|
+
|
|
33
|
+
@ApiPropertyOptional()
|
|
34
|
+
@IsOptional()
|
|
35
|
+
@IsArray()
|
|
36
|
+
banks?: number[];
|
|
37
|
+
|
|
38
|
+
@ApiPropertyOptional()
|
|
39
|
+
@IsOptional()
|
|
40
|
+
@IsNumber()
|
|
41
|
+
jeDeclareState?: number;
|
|
42
|
+
|
|
43
|
+
@ApiPropertyOptional()
|
|
44
|
+
@IsOptional()
|
|
45
|
+
@IsNumber()
|
|
46
|
+
connector?: number;
|
|
47
|
+
}
|
|
@@ -5,6 +5,7 @@ import { IAccount } from './IAccount';
|
|
|
5
5
|
import { IBankList } from './IBankList';
|
|
6
6
|
import { IBalanceBankAccount } from './IBalanceBankAccount';
|
|
7
7
|
import { ISimulation } from './ISimulation';
|
|
8
|
+
import { IUpToDateBankAccount } from './IUpToDateBankAccount';
|
|
8
9
|
|
|
9
10
|
// bankAccounts
|
|
10
11
|
export interface IBankAccount {
|
|
@@ -45,4 +46,5 @@ export interface IBankAccount {
|
|
|
45
46
|
bankList?: IBankList;
|
|
46
47
|
balanceBankAccounts?: IBalanceBankAccount[];
|
|
47
48
|
simulations?: ISimulation[];
|
|
49
|
+
upToDateBankAccount?: IUpToDateBankAccount;
|
|
48
50
|
}
|
|
@@ -7,6 +7,7 @@ export interface ILegalNotice {
|
|
|
7
7
|
ref: string | null;
|
|
8
8
|
folderCode: string | null;
|
|
9
9
|
nameOfNewspaper: string | null;
|
|
10
|
+
department: string | null;
|
|
10
11
|
amountPurchaseHt: number | null;
|
|
11
12
|
amountSaleHt: number | null;
|
|
12
13
|
status: number;
|
|
@@ -17,6 +18,8 @@ export interface ILegalNotice {
|
|
|
17
18
|
isPaid: boolean;
|
|
18
19
|
processed: boolean;
|
|
19
20
|
societyWithoutRegister: string | null;
|
|
21
|
+
idMission?: string | null;
|
|
22
|
+
idNewsPaper?: string | null;
|
|
20
23
|
idSociety: number | null;
|
|
21
24
|
idOperationLegalNotice: number;
|
|
22
25
|
idPrestation: number | null;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ISociety } from './ISociety';
|
|
2
|
+
import { IBankAccount } from './IBankAccount';
|
|
3
|
+
import { IMonth } from './IMonth';
|
|
4
|
+
import { IWebMail } from './IWebMail';
|
|
5
|
+
import { IMail } from './IMail';
|
|
6
|
+
|
|
7
|
+
// bankAccounts
|
|
8
|
+
export interface IUpToDateBankAccount {
|
|
9
|
+
id?: number;
|
|
10
|
+
idBankAccount: number;
|
|
11
|
+
idSociety: number;
|
|
12
|
+
year?: number | null;
|
|
13
|
+
idMonth?: number | null;
|
|
14
|
+
upToDateBankAccount?: Date | null;
|
|
15
|
+
upToDateBalance?: Date | null;
|
|
16
|
+
currentMandate?: Date | null;
|
|
17
|
+
signedMandate?: Date | null;
|
|
18
|
+
idMailRelanceAnnotation?: number | null;
|
|
19
|
+
idMailAskCsv?: number | null;
|
|
20
|
+
idMailRelanceDesyncho?: number | null;
|
|
21
|
+
idNewMailRelanceAnnotation?: number | null;
|
|
22
|
+
idNewMailAskCsv?: number | null;
|
|
23
|
+
idNewMailRelanceDesyncho?: number | null;
|
|
24
|
+
createdAt?: Date | null;
|
|
25
|
+
updatedAt?: Date | null;
|
|
26
|
+
|
|
27
|
+
// Associations
|
|
28
|
+
bankAccount?: IBankAccount;
|
|
29
|
+
society?: ISociety;
|
|
30
|
+
month?: IMonth;
|
|
31
|
+
mailAskCsv?: IWebMail;
|
|
32
|
+
mailRelanceAnnotation?: IWebMail;
|
|
33
|
+
mailRelanceDesynchro?: IWebMail;
|
|
34
|
+
newMailAskCsv?: IMail;
|
|
35
|
+
newMailRelanceAnnotation?: IMail;
|
|
36
|
+
newMailRelanceDesynchro?: IMail;
|
|
37
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -252,6 +252,7 @@ export * from './Interface/models/IStripeEventType';
|
|
|
252
252
|
export * from './Interface/models/ISubscriptionType';
|
|
253
253
|
export * from './Interface/models/IThirdPartyType';
|
|
254
254
|
export * from './Interface/models/IVehicleType';
|
|
255
|
+
export * from './Interface/models/IUpToDateBankAccount';
|
|
255
256
|
export * from './Interface/models/IUser';
|
|
256
257
|
export * from './Interface/models/IUserBrand';
|
|
257
258
|
export * from './Interface/models/IUserNotification';
|
|
@@ -527,6 +528,7 @@ export * from './Enum/EquipmentAvailability';
|
|
|
527
528
|
export * from './Enum/SpecialDayType';
|
|
528
529
|
export * from './Enum/Degree';
|
|
529
530
|
export * from './Enum/Brevo';
|
|
531
|
+
export * from './Enum/ZoneCode';
|
|
530
532
|
|
|
531
533
|
// Interfaces API
|
|
532
534
|
export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
|
|
@@ -924,6 +926,7 @@ export * from './Interface/api/mobile/UpdateMobile';
|
|
|
924
926
|
export * from './Interface/api/mobile/QueryMobileMigration';
|
|
925
927
|
export * from './Interface/api/societyEvent/QuerySocietyEvent';
|
|
926
928
|
export * from './Interface/api/societyEvent/CreateSocietyEvent';
|
|
929
|
+
export * from './Interface/api/synchronisation/Query';
|
|
927
930
|
export * from './Interface/api/task/QueryGetAllTask';
|
|
928
931
|
export * from './Interface/api/regulate/QueryGetAll';
|
|
929
932
|
export * from './Interface/api/regulate/RegulateWithStats';
|
|
@@ -1036,6 +1039,10 @@ export * from './Interface/api/paymentExpectation/CreatePaymentExpecation';
|
|
|
1036
1039
|
export * from './Interface/api/expertAnnuary/Query';
|
|
1037
1040
|
export * from './Interface/api/brevo/BrevoElement';
|
|
1038
1041
|
export * from './Interface/api/bankAccount/Create';
|
|
1042
|
+
export * from './Interface/api/echo/Mission';
|
|
1043
|
+
export * from './Interface/api/echo/CreateOrder';
|
|
1044
|
+
export * from './Interface/api/echo/NewsPaper';
|
|
1045
|
+
export * from './Interface/api/echo/Order';
|
|
1039
1046
|
|
|
1040
1047
|
// Enums types
|
|
1041
1048
|
export * from './Interface/enum/Util';
|