@silexpert/core 2.0.15 → 2.0.16
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/api/resources/Inpi.d.ts +2 -1
- package/dist/api/resources/Inpi.d.ts.map +1 -1
- package/dist/api/resources/Inpi.js +3 -0
- package/dist/api/resources/Inpi.js.map +1 -1
- package/dist/types/Enum/BrandTeamsytemFacture.d.ts.map +1 -1
- package/dist/types/Enum/BrandTeamsytemFacture.js +1 -0
- package/dist/types/Enum/BrandTeamsytemFacture.js.map +1 -1
- package/dist/types/Enum/PartneredAccountantServiceType.d.ts +3 -0
- package/dist/types/Enum/PartneredAccountantServiceType.d.ts.map +1 -1
- package/dist/types/Enum/PartneredAccountantServiceType.js +4 -0
- package/dist/types/Enum/PartneredAccountantServiceType.js.map +1 -1
- package/dist/types/Enum/UrgencyLevel.d.ts +6 -0
- package/dist/types/Enum/UrgencyLevel.d.ts.map +1 -0
- package/dist/types/Enum/UrgencyLevel.js +7 -0
- package/dist/types/Enum/UrgencyLevel.js.map +1 -0
- package/dist/types/Interface/api/user/RegisterProspect.d.ts +3 -0
- package/dist/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/types/Interface/api/user/RegisterProspect.js +8 -0
- package/dist/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/types/Interface/models/IAccountingJournal.d.ts +1 -0
- package/dist/types/Interface/models/IAccountingJournal.d.ts.map +1 -1
- package/dist/types/Interface/models/IAccountingJournal.js +1 -0
- package/dist/types/Interface/models/IAccountingJournal.js.map +1 -1
- package/dist/types/Interface/models/IFollow.d.ts +1 -0
- package/dist/types/Interface/models/IFollow.d.ts.map +1 -1
- package/dist/types/Interface/models/IFollow.js +1 -0
- package/dist/types/Interface/models/IFollow.js.map +1 -1
- package/dist/types/Interface/models/IPartneredAccountantCredential.d.ts +12 -0
- package/dist/types/Interface/models/IPartneredAccountantCredential.d.ts.map +1 -0
- package/dist/types/Interface/models/IPartneredAccountantCredential.js +2 -0
- package/dist/types/Interface/models/IPartneredAccountantCredential.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Inpi.ts +5 -0
- package/ts/types/Enum/BrandTeamsytemFacture.ts +1 -0
- package/ts/types/Enum/PartneredAccountantServiceType.ts +4 -0
- package/ts/types/Enum/UrgencyLevel.ts +5 -0
- package/ts/types/Interface/api/user/RegisterProspect.ts +7 -0
- package/ts/types/Interface/models/IAccountingJournal.ts +2 -0
- package/ts/types/Interface/models/IFollow.ts +1 -0
- package/ts/types/Interface/models/IPartneredAccountantCredential.ts +12 -0
- package/ts/types/index.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.16",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"type": "module",
|
package/ts/api/resources/Inpi.ts
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
QueryInpiPaymentPaginated,
|
|
10
10
|
QueryInpiPaymentStatistic,
|
|
11
11
|
QueryInpiPaymentCreate,
|
|
12
|
+
InpiResults,
|
|
12
13
|
} from '../../types/index.js';
|
|
13
14
|
|
|
14
15
|
export class Inpi extends Resource {
|
|
@@ -104,6 +105,10 @@ export class Inpi extends Resource {
|
|
|
104
105
|
return this.axios.$get(`/inpi/companies/${siret}`);
|
|
105
106
|
}
|
|
106
107
|
|
|
108
|
+
public getCompanyInfoByName(companyName: string): Promise<InpiResults> {
|
|
109
|
+
return this.axios.$get('/inpi/companies/name', { params: { companyName } });
|
|
110
|
+
}
|
|
111
|
+
|
|
107
112
|
/**
|
|
108
113
|
* Retourne la liste des documents (actes, bilans, bilans saisis) d'une société via son SIRET
|
|
109
114
|
* @param { string } siret
|
|
@@ -24,6 +24,7 @@ export const BrandTeamsystemFacture: Brand[] = [
|
|
|
24
24
|
},
|
|
25
25
|
// TODO: à mettre à jour avec les bonnes informations de Teamsystem Facture
|
|
26
26
|
listMails: {
|
|
27
|
+
recovery: 'recouvrement@clementine.fr',
|
|
27
28
|
administratif: 'help@teamsystemfacture.fr',
|
|
28
29
|
app: 'help@teamsystemfacture.fr',
|
|
29
30
|
bonjour: 'help@teamsystemfacture.fr',
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
13
13
|
import { Activity } from '../../../Enum/Activity.js';
|
|
14
14
|
import { Civility } from '../../../Enum/Civility.js';
|
|
15
|
+
import { UrgencyLevel } from '../../../Enum/UrgencyLevel.js';
|
|
15
16
|
import { IAnalyticsUtm } from '../../models/IAnalyticsUtm.js';
|
|
16
17
|
import { LegalFormTypeEnum } from '../../../Enum/LegalForm.js';
|
|
17
18
|
import { UpdateOrCreateVisualizedInformation } from '../visualizedInformation/Update.js';
|
|
@@ -73,6 +74,7 @@ export interface RegisterProspect {
|
|
|
73
74
|
permissions?: IPermission;
|
|
74
75
|
analyticsUtm?: Omit<Partial<IAnalyticsUtm>, 'idSociety'>;
|
|
75
76
|
comment?: string;
|
|
77
|
+
urgencyLevel?: UrgencyLevel | null;
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
class ProspectInfoBody implements ProspectInfo {
|
|
@@ -274,4 +276,9 @@ export class RegisterProspectBody implements RegisterProspect {
|
|
|
274
276
|
@IsOptional()
|
|
275
277
|
@IsString()
|
|
276
278
|
ebookTag?: string;
|
|
279
|
+
|
|
280
|
+
@ApiPropertyOptional()
|
|
281
|
+
@IsOptional()
|
|
282
|
+
@IsEnum(UrgencyLevel)
|
|
283
|
+
urgencyLevel?: UrgencyLevel | null;
|
|
277
284
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PartneredAccountantPartneredIds } from '#types/Enum/PartneredAccountantServiceType.js';
|
|
2
|
+
|
|
3
|
+
export interface IPartneredAccountantCredential {
|
|
4
|
+
id?: number;
|
|
5
|
+
login: string | null;
|
|
6
|
+
password: string | null;
|
|
7
|
+
link: string | null;
|
|
8
|
+
idPartnerSource: PartneredAccountantPartneredIds;
|
|
9
|
+
idPartneredAccountant: number;
|
|
10
|
+
createdAt?: Date | null;
|
|
11
|
+
updatedAt?: Date | null;
|
|
12
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from './Interface/models/IAccountsSocieties.js';
|
|
|
19
19
|
export * from './Interface/models/IActivity.js';
|
|
20
20
|
export * from './Interface/models/IAdditionalBalance.js';
|
|
21
21
|
export * from './Interface/models/IAlert.js';
|
|
22
|
+
export * from './Interface/models/IPartneredAccountantCredential.js';
|
|
22
23
|
export * from './Interface/models/IAccountCentury.js';
|
|
23
24
|
export * from './Interface/models/IAllowedIp.js';
|
|
24
25
|
export * from './Interface/models/IAnalyticsUtm.js';
|
|
@@ -582,6 +583,7 @@ export * from './Enum/InformationRequestState.js';
|
|
|
582
583
|
export * from './Enum/Revenue.js';
|
|
583
584
|
export * from './Enum/EbookIntention.js';
|
|
584
585
|
export * from './Enum/UsersHistory.js';
|
|
586
|
+
export * from './Enum/UrgencyLevel.js';
|
|
585
587
|
|
|
586
588
|
// Interfaces API
|
|
587
589
|
export * from './Interface/api/acd/Create.js';
|