@silexpert/core 1.3.114-2 → 1.3.114-4
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/Inpi.d.ts +24 -0
- package/dist/cjs/api/resources/Inpi.d.ts.map +1 -1
- package/dist/cjs/api/resources/Inpi.js +32 -0
- package/dist/cjs/api/resources/Inpi.js.map +1 -1
- package/dist/cjs/types/Enum/EntityType.d.ts +2 -2
- package/dist/cjs/types/Enum/EntityType.js +2 -2
- package/dist/cjs/types/Enum/EntityType.js.map +1 -1
- package/dist/cjs/types/Enum/StatsCaStateDetail.d.ts +18 -0
- package/dist/cjs/types/Enum/StatsCaStateDetail.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatsCaStateDetail.js +19 -1
- package/dist/cjs/types/Enum/StatsCaStateDetail.js.map +1 -1
- package/dist/cjs/types/Enum/Unit.d.ts +10 -3
- package/dist/cjs/types/Enum/Unit.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Unit.js +11 -0
- package/dist/cjs/types/Enum/Unit.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts +1 -1
- package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +2 -3
- package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/dist/cjs/types/Interface/api/inpi/inpi.d.ts +58 -0
- package/dist/cjs/types/Interface/api/inpi/inpi.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/inpi/inpi.js.map +1 -1
- package/dist/mjs/api/resources/Inpi.d.ts +24 -0
- package/dist/mjs/api/resources/Inpi.d.ts.map +1 -1
- package/dist/mjs/api/resources/Inpi.js +32 -0
- package/dist/mjs/api/resources/Inpi.js.map +1 -1
- package/dist/mjs/types/Enum/EntityType.d.ts +2 -2
- package/dist/mjs/types/Enum/EntityType.js +2 -2
- package/dist/mjs/types/Enum/EntityType.js.map +1 -1
- package/dist/mjs/types/Enum/StatsCaStateDetail.d.ts +18 -0
- package/dist/mjs/types/Enum/StatsCaStateDetail.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatsCaStateDetail.js +18 -0
- package/dist/mjs/types/Enum/StatsCaStateDetail.js.map +1 -1
- package/dist/mjs/types/Enum/Unit.d.ts +10 -3
- package/dist/mjs/types/Enum/Unit.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Unit.js +11 -0
- package/dist/mjs/types/Enum/Unit.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts +1 -1
- package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +2 -3
- package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/dist/mjs/types/Interface/api/inpi/inpi.d.ts +58 -0
- package/dist/mjs/types/Interface/api/inpi/inpi.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/inpi/inpi.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Inpi.ts +36 -0
- package/ts/types/Enum/EntityType.ts +2 -2
- package/ts/types/Enum/StatsCaStateDetail.ts +19 -0
- package/ts/types/Enum/Unit.ts +11 -0
- package/ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts +2 -3
- package/ts/types/Interface/api/inpi/inpi.ts +64 -0
|
@@ -25,3 +25,22 @@ export const StatsCaStateDetail = {
|
|
|
25
25
|
alias: 'checkLab',
|
|
26
26
|
},
|
|
27
27
|
};
|
|
28
|
+
|
|
29
|
+
export const StatsCaSpePrestationDetail = {
|
|
30
|
+
NO_ADDITIONAL: {
|
|
31
|
+
id: 0,
|
|
32
|
+
name: 'Sans ventes addi.',
|
|
33
|
+
},
|
|
34
|
+
ADDITIONAL_ONLY: {
|
|
35
|
+
id: 1,
|
|
36
|
+
name: 'Ventes addi. seulement',
|
|
37
|
+
},
|
|
38
|
+
SOCIAL_ONLY: {
|
|
39
|
+
id: 2,
|
|
40
|
+
name: 'Social Uniquement',
|
|
41
|
+
},
|
|
42
|
+
CREATION_ONLY: {
|
|
43
|
+
id: 3,
|
|
44
|
+
name: 'Création Uniquement',
|
|
45
|
+
},
|
|
46
|
+
};
|
package/ts/types/Enum/Unit.ts
CHANGED
|
@@ -27,6 +27,7 @@ export enum UnitId {
|
|
|
27
27
|
NIGHT = 18,
|
|
28
28
|
TON = 19,
|
|
29
29
|
HECTARE = 20,
|
|
30
|
+
MINUTE = 21,
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
export type IUnitList = Array<{ name: string; id: number; shortName: string }>;
|
|
@@ -132,6 +133,11 @@ export const Unit: IUnit = {
|
|
|
132
133
|
name: 'Hectare',
|
|
133
134
|
shortName: 'ha',
|
|
134
135
|
},
|
|
136
|
+
MINUTE: {
|
|
137
|
+
id: UnitId.MINUTE,
|
|
138
|
+
name: 'Minute',
|
|
139
|
+
shortName: 'min',
|
|
140
|
+
},
|
|
135
141
|
};
|
|
136
142
|
|
|
137
143
|
export const UnitList = [
|
|
@@ -235,4 +241,9 @@ export const UnitList = [
|
|
|
235
241
|
name: 'Hectare',
|
|
236
242
|
shortName: 'ha',
|
|
237
243
|
},
|
|
244
|
+
{
|
|
245
|
+
id: UnitId.MINUTE,
|
|
246
|
+
name: 'Minutre',
|
|
247
|
+
shortname: 'min',
|
|
248
|
+
},
|
|
238
249
|
];
|
|
@@ -17,9 +17,8 @@ export class QueryPaginatedSocietyWithStatsCa extends OptionalQueryPaginate {
|
|
|
17
17
|
|
|
18
18
|
@ApiPropertyOptional()
|
|
19
19
|
@IsOptional()
|
|
20
|
-
@
|
|
21
|
-
|
|
22
|
-
isAdditionalSales?: boolean;
|
|
20
|
+
@IsInt()
|
|
21
|
+
isAdditionalSales?: number;
|
|
23
22
|
|
|
24
23
|
@ApiPropertyOptional()
|
|
25
24
|
@IsOptional()
|
|
@@ -560,3 +560,67 @@ interface AdresseDomicile3 {
|
|
|
560
560
|
commune: string;
|
|
561
561
|
codeInseeCommune: string;
|
|
562
562
|
}
|
|
563
|
+
|
|
564
|
+
export type Confidentiality = 'Public' | 'Publication simplifiee' | 'Partiellement confidentiel';
|
|
565
|
+
|
|
566
|
+
export interface RneActe {
|
|
567
|
+
id: string;
|
|
568
|
+
siren: string;
|
|
569
|
+
denomination?: string;
|
|
570
|
+
dateDepot?: string;
|
|
571
|
+
numChrono?: string;
|
|
572
|
+
nomDocument?: string;
|
|
573
|
+
confidentiality?: Confidentiality;
|
|
574
|
+
deleted?: boolean;
|
|
575
|
+
// présent dans ton JSON : liste indicative du/des type(s) d'acte + décision
|
|
576
|
+
typeRdd?: Array<{ typeActe: string; decision?: string }>;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export interface RneBilanMeta {
|
|
580
|
+
id: string;
|
|
581
|
+
siren: string;
|
|
582
|
+
denomination?: string;
|
|
583
|
+
dateDepot?: string;
|
|
584
|
+
numChrono?: string;
|
|
585
|
+
nomDocument?: string;
|
|
586
|
+
confidentiality?: Confidentiality;
|
|
587
|
+
deleted?: boolean;
|
|
588
|
+
dateCloture?: string;
|
|
589
|
+
typeBilan?: string;
|
|
590
|
+
version?: string;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
export interface RneBilanSaisiMeta {
|
|
594
|
+
id: string;
|
|
595
|
+
siren: string;
|
|
596
|
+
denomination?: string;
|
|
597
|
+
dateDepot?: string;
|
|
598
|
+
numDepot?: string;
|
|
599
|
+
confidentiality?: Confidentiality;
|
|
600
|
+
deleted?: boolean;
|
|
601
|
+
dateCloture?: string;
|
|
602
|
+
typeBilan?: string;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
export interface RneAttachmentsResponse {
|
|
606
|
+
actes: RneActe[];
|
|
607
|
+
bilans: RneBilanMeta[];
|
|
608
|
+
bilansSaisis: RneBilanSaisiMeta[];
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
// DTO unifié pour le front (liste unique "documents")
|
|
612
|
+
export type DocumentType = 'acte' | 'bilan' | 'bilanSaisi';
|
|
613
|
+
|
|
614
|
+
export interface UiDocument {
|
|
615
|
+
id: string;
|
|
616
|
+
type: DocumentType;
|
|
617
|
+
siren: string;
|
|
618
|
+
title: string;
|
|
619
|
+
subtitle?: string;
|
|
620
|
+
dateDepot?: string;
|
|
621
|
+
dateCloture?: string;
|
|
622
|
+
confidentiality?: Confidentiality;
|
|
623
|
+
deleted?: boolean;
|
|
624
|
+
downloadUrl?: string;
|
|
625
|
+
nomDocument?: string;
|
|
626
|
+
}
|