@silexpert/core 0.4.16 → 0.4.18
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/Report.d.ts +1 -0
- package/es/api/resources/Report.d.ts.map +1 -1
- package/es/api/resources/Report.js +3 -0
- package/es/api/resources/Report.js.map +1 -1
- package/es/api/resources/Search.d.ts +7 -0
- package/es/api/resources/Search.d.ts.map +1 -0
- package/es/api/resources/Search.js +10 -0
- package/es/api/resources/Search.js.map +1 -0
- package/es/api/resources/Society.d.ts +3 -1
- package/es/api/resources/Society.d.ts.map +1 -1
- package/es/api/resources/Society.js +6 -0
- package/es/api/resources/Society.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/Ged.d.ts +6 -0
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +22 -2
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/LegalForm.d.ts +17 -0
- package/es/types/Enum/LegalForm.d.ts.map +1 -1
- package/es/types/Enum/LegalForm.js +17 -0
- package/es/types/Enum/LegalForm.js.map +1 -1
- package/es/types/Enum/LetterState.d.ts +27 -0
- package/es/types/Enum/LetterState.d.ts.map +1 -0
- package/es/types/Enum/LetterState.js +27 -0
- package/es/types/Enum/LetterState.js.map +1 -0
- package/es/types/Enum/ReportType.d.ts +4 -0
- package/es/types/Enum/ReportType.d.ts.map +1 -1
- package/es/types/Enum/ReportType.js +4 -0
- package/es/types/Enum/ReportType.js.map +1 -1
- package/es/types/Interface/api/letter/CreateLetter.d.ts +1 -1
- package/es/types/Interface/api/letter/CreateLetter.d.ts.map +1 -1
- package/es/types/Interface/api/letter/CreateLetter.js +4 -4
- package/es/types/Interface/api/letter/CreateLetter.js.map +1 -1
- package/es/types/Interface/api/pappers/CreatePappers.d.ts +27 -0
- package/es/types/Interface/api/pappers/CreatePappers.d.ts.map +1 -0
- package/es/types/Interface/api/pappers/CreatePappers.js +2 -0
- package/es/types/Interface/api/pappers/CreatePappers.js.map +1 -0
- package/es/types/Interface/api/pappers/QueryPappers.d.ts +267 -0
- package/es/types/Interface/api/pappers/QueryPappers.d.ts.map +1 -0
- package/es/types/Interface/api/pappers/QueryPappers.js +104 -0
- package/es/types/Interface/api/pappers/QueryPappers.js.map +1 -0
- package/es/types/Interface/api/pappers/ReadPappers.d.ts +62 -0
- package/es/types/Interface/api/pappers/ReadPappers.d.ts.map +1 -0
- package/es/types/Interface/api/pappers/ReadPappers.js +3 -0
- package/es/types/Interface/api/pappers/ReadPappers.js.map +1 -0
- package/es/types/Interface/api/report/CreateReport.d.ts +6 -0
- package/es/types/Interface/api/report/CreateReport.d.ts.map +1 -1
- package/es/types/Interface/api/report/CreateReport.js +24 -0
- package/es/types/Interface/api/report/CreateReport.js.map +1 -1
- package/es/types/Interface/api/report/DeleteReport.d.ts +5 -0
- package/es/types/Interface/api/report/DeleteReport.d.ts.map +1 -0
- package/es/types/Interface/api/report/DeleteReport.js +17 -0
- package/es/types/Interface/api/report/DeleteReport.js.map +1 -0
- package/es/types/Interface/api/society/CreateSociety.d.ts +11 -0
- package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/CreateSociety.js +24 -0
- package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/es/types/Interface/api/society/UpdateSociety.d.ts +17 -0
- package/es/types/Interface/api/society/UpdateSociety.d.ts.map +1 -0
- package/es/types/Interface/api/society/UpdateSociety.js +57 -0
- package/es/types/Interface/api/society/UpdateSociety.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/ILetter.d.ts +1 -0
- package/es/types/Interface/models/ILetter.d.ts.map +1 -1
- package/es/types/Interface/models/ILetter.js.map +1 -1
- package/es/types/index.d.ts +7 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +7 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Report.js +4 -0
- package/js/api/resources/Report.js.map +1 -1
- package/js/api/resources/Search.js +26 -0
- package/js/api/resources/Search.js.map +1 -0
- package/js/api/resources/Society.js +8 -0
- package/js/api/resources/Society.js.map +1 -1
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/Ged.js +25 -4
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/LegalForm.js +34 -17
- package/js/types/Enum/LegalForm.js.map +1 -1
- package/js/types/Enum/LetterState.js +32 -0
- package/js/types/Enum/LetterState.js.map +1 -0
- package/js/types/Enum/ReportType.js +4 -0
- package/js/types/Enum/ReportType.js.map +1 -1
- package/js/types/Interface/api/letter/CreateLetter.js +2 -2
- package/js/types/Interface/api/letter/CreateLetter.js.map +1 -1
- package/js/types/Interface/api/pappers/CreatePappers.js +6 -0
- package/js/types/Interface/api/pappers/CreatePappers.js.map +1 -0
- package/js/types/Interface/api/pappers/QueryPappers.js +85 -0
- package/js/types/Interface/api/pappers/QueryPappers.js.map +1 -0
- package/js/types/Interface/api/pappers/ReadPappers.js +10 -0
- package/js/types/Interface/api/pappers/ReadPappers.js.map +1 -0
- package/js/types/Interface/api/report/CreateReport.js +12 -0
- package/js/types/Interface/api/report/CreateReport.js.map +1 -1
- package/js/types/Interface/api/report/DeleteReport.js +27 -0
- package/js/types/Interface/api/report/DeleteReport.js.map +1 -0
- package/js/types/Interface/api/society/CreateSociety.js +12 -0
- package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/js/types/Interface/api/society/UpdateSociety.js +47 -0
- package/js/types/Interface/api/society/UpdateSociety.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +2 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +84 -0
- package/js/types/index.js.map +1 -1
- package/package.json +7 -11
- package/ts/api/resources/Report.ts +4 -1
- package/ts/api/resources/Search.ts +11 -0
- package/ts/api/resources/Society.ts +8 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/Ged.ts +22 -2
- package/ts/types/Enum/LegalForm.ts +17 -0
- package/ts/types/Enum/LetterState.ts +26 -0
- package/ts/types/Enum/ReportType.ts +4 -0
- package/ts/types/Interface/api/letter/CreateLetter.ts +3 -3
- package/ts/types/Interface/api/pappers/CreatePappers.ts +29 -0
- package/ts/types/Interface/api/pappers/QueryPappers.ts +323 -0
- package/ts/types/Interface/api/pappers/ReadPappers.ts +65 -0
- package/ts/types/Interface/api/report/CreateReport.ts +18 -0
- package/ts/types/Interface/api/report/DeleteReport.ts +7 -0
- package/ts/types/Interface/api/society/CreateSociety.ts +24 -0
- package/ts/types/Interface/api/society/UpdateSociety.ts +36 -0
- package/ts/types/Interface/models/IApiError.ts +1 -0
- package/ts/types/Interface/models/ILetter.ts +1 -0
- package/ts/types/index.ts +7 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/api/resources/Report.ts"],"names":[],"mappings":";;;;;;;AAGA;;AAEM,MAAO,MAAP,SAAsB,kBAAtB,CAA8B;AAClC,EAAA,WAAW,CAAC,MAAD,EAMV;AACC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,UAAhB,EAA4B;AAAE,MAAA;AAAF,KAA5B,CAAP;AACD;;AACD,EAAA,MAAM,CAAC,MAAD,EAAmB;AACvB,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,UAAhB,EAA4B,MAA5B,CAAP;AACD;;AACD,EAAA,MAAM,CAAC,MAAD,EAAqB;AACzB,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,UAAjB,EAA6B,MAA7B,CAAP;AACD;;
|
|
1
|
+
{"version":3,"sources":["../../../ts/api/resources/Report.ts"],"names":[],"mappings":";;;;;;;AAGA;;AAEM,MAAO,MAAP,SAAsB,kBAAtB,CAA8B;AAClC,EAAA,WAAW,CAAC,MAAD,EAMV;AACC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,UAAhB,EAA4B;AAAE,MAAA;AAAF,KAA5B,CAAP;AACD;;AACD,EAAA,MAAM,CAAC,MAAD,EAAmB;AACvB,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,UAAhB,EAA4B,MAA5B,CAAP;AACD;;AACD,EAAA,MAAM,CAAC,MAAD,EAAqB;AACzB,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,UAAjB,EAA6B,MAA7B,CAAP;AACD;;AACD,EAAA,MAAM,CAAC,MAAD,EAAY;AAChB,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,YAAY,MAAM,CAAC,EAAE,EAAxC,CAAP;AACD;;AAlBiC;;QAAvB,M,GAAA,M","sourcesContent":["import {\n BasePaginate, CreateReport, ReadReport, // DeleteReport,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Report extends Resource {\n getPaginate(params: {\n idSociety?: number;\n idReportType?: number;\n search?: string;\n page?: number;\n limit?: number;\n }): Promise<BasePaginate<ReadReport> | Error> {\n return this.axios.$get('/reports', { params });\n }\n update(params: ReadReport): Promise<[number, Report[]]> {\n return this.axios.$put('/reports', params);\n }\n create(params: CreateReport): Promise<Report> {\n return this.axios.$post('/reports', params);\n }\n delete(params: any): Promise<Report> {\n return this.axios.$delete(`/reports/${params.id}`);\n }\n}"],"sourceRoot":"","file":"Report.js"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Search = undefined;
|
|
7
|
+
|
|
8
|
+
var _Resource = require("../Resource");
|
|
9
|
+
|
|
10
|
+
class Search extends _Resource.Resource {
|
|
11
|
+
getBusiness(query) {
|
|
12
|
+
return this.axios.$get('/search/business', {
|
|
13
|
+
params: query
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
getDocumentFromToken(query) {
|
|
18
|
+
return this.axios.$get('/search/business/document', {
|
|
19
|
+
params: query
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
exports.Search = Search;
|
|
26
|
+
//# sourceMappingURL=Search.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../ts/api/resources/Search.ts"],"names":[],"mappings":";;;;;;;AACA;;AAEM,MAAO,MAAP,SAAsB,kBAAtB,CAA8B;AAClC,EAAA,WAAW,CAAC,KAAD,EAA+B;AACxC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,kBAAhB,EAAoC;AAAE,MAAA,MAAM,EAAE;AAAV,KAApC,CAAP;AACD;;AACD,EAAA,oBAAoB,CAAC,KAAD,EAAuC;AACzD,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,2BAAhB,EAA6C;AAAE,MAAA,MAAM,EAAE;AAAV,KAA7C,CAAP;AACD;;AANiC;;QAAvB,M,GAAA,M","sourcesContent":["import { QueryGetBusinessPappers, ReadBusinessPappers, QueryGetBusinessDocumentPappers } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Search extends Resource {\n getBusiness(query: QueryGetBusinessPappers): Promise<ReadBusinessPappers> {\n return this.axios.$get('/search/business', { params: query });\n }\n getDocumentFromToken(query: QueryGetBusinessDocumentPappers): Promise<void> {\n return this.axios.$get('/search/business/document', { params: query });\n }\n}"],"sourceRoot":"","file":"Search.js"}
|
|
@@ -22,6 +22,10 @@ class Society extends _Resource.Resource {
|
|
|
22
22
|
|
|
23
23
|
createSociety(data) {
|
|
24
24
|
return this.axios.$post('/society/create', data);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
updateSociety(id, data) {
|
|
28
|
+
return this.axios.$put(`/society/${id}/updateSociety`, data);
|
|
25
29
|
} // this endpoint is used to fetch from extern api for legalForm
|
|
26
30
|
|
|
27
31
|
|
|
@@ -31,6 +35,10 @@ class Society extends _Resource.Resource {
|
|
|
31
35
|
});
|
|
32
36
|
}
|
|
33
37
|
|
|
38
|
+
synchronize(id, params) {
|
|
39
|
+
return this.axios.$post(`/society/${id}/synchronize`, params);
|
|
40
|
+
}
|
|
41
|
+
|
|
34
42
|
}
|
|
35
43
|
|
|
36
44
|
exports.Society = Society;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/api/resources/Society.ts"],"names":[],"mappings":";;;;;;;AAAA;;
|
|
1
|
+
{"version":3,"sources":["../../../ts/api/resources/Society.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAaM,MAAO,OAAP,SAAuB,kBAAvB,CAA+B;AACnC,EAAA,eAAe,GAAA;AACb,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,uBAAhB,CAAP;AACD;;AAED,EAAA,kBAAkB,CAAC,IAAD,EAAwB;AACxC,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,uBAAjB,EAA0C,IAA1C,CAAP;AACD;;AAED,EAAA,kBAAkB,CAAC,IAAD,EAAwB;AACxC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,uBAAhB,EAAyC,IAAzC,CAAP;AACD;;AACD,EAAA,aAAa,CAAC,IAAD,EAAoB;AAC/B,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,iBAAjB,EAAoC,IAApC,CAAP;AACD;;AACD,EAAA,aAAa,CAAC,EAAD,EAAa,IAAb,EAAgC;AAC3C,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,YAAY,EAAE,gBAA9B,EAAgD,IAAhD,CAAP;AACD,GAjBkC,CAkBnC;;;AACA,EAAA,cAAc,CAAC,MAAD,EAAuB;AACnC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,sBAAhB,EAAwC;AAAE,MAAA;AAAF,KAAxC,CAAP;AACD;;AACD,EAAA,WAAW,CAAC,EAAD,EAAa,MAAb,EAA0C;AACnD,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,YAAY,EAAE,cAA/B,EAA+C,MAA/C,CAAP;AACD;;AAxBkC;;QAAxB,O,GAAA,O","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateInvoiceMail,\n UpdateInvoiceMail,\n IMailSociety,\n ISociety,\n LegalFormSiren,\n GetDataSociety,\n CreateSociety,\n CreateSynchronization,\n UpdateSociety,\n} from '../../types';\n\nexport class Society extends Resource {\n getInvoiceEmail(): Promise<IMailSociety | Error> {\n return this.axios.$get('/society/invoiceEmail');\n }\n\n createInvoiceEmail(data: CreateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$post('/society/invoiceEmail', data);\n }\n\n updateInvoiceEmail(data: UpdateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$put('/society/invoiceEmail', data);\n }\n createSociety(data: CreateSociety): Promise<ISociety> {\n return this.axios.$post('/society/create', data);\n }\n updateSociety(id: number, data: UpdateSociety): Promise<ISociety> {\n return this.axios.$put(`/society/${id}/updateSociety`, data);\n }\n // this endpoint is used to fetch from extern api for legalForm\n getDataSociety(params: GetDataSociety): Promise<LegalFormSiren[]> {\n return this.axios.$get('/society/dataSociety', { params });\n }\n synchronize(id: number, params: CreateSynchronization): Promise<string> {\n return this.axios.$post(`/society/${id}/synchronize`, params);\n }\n}\n"],"sourceRoot":"","file":"Society.js"}
|
package/js/api/resources.js
CHANGED
|
@@ -47,6 +47,8 @@ var _LegalForm = require("./resources/LegalForm");
|
|
|
47
47
|
|
|
48
48
|
var _Authenticate = require("./resources/Authenticate");
|
|
49
49
|
|
|
50
|
+
var _Search = require("./resources/Search");
|
|
51
|
+
|
|
50
52
|
const resources = exports.resources = {
|
|
51
53
|
simulation: _Simulation.Simulation,
|
|
52
54
|
country: _Country.Country,
|
|
@@ -68,6 +70,7 @@ const resources = exports.resources = {
|
|
|
68
70
|
balanceSheet: _BalanceSheet.BalanceSheet,
|
|
69
71
|
cerfa: _Cerfa.Cerfa,
|
|
70
72
|
legalForm: _LegalForm.LegalForm,
|
|
71
|
-
authenticate: _Authenticate.Authenticate
|
|
73
|
+
authenticate: _Authenticate.Authenticate,
|
|
74
|
+
search: _Search.Search
|
|
72
75
|
};
|
|
73
76
|
//# sourceMappingURL=resources.js.map
|
package/js/api/resources.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../ts/api/resources.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEO,MAAM,SAAS,WAAT,SAAS,GAAG;AACvB,EAAA,UAAU,EAAE,sBADW;AAEvB,EAAA,OAAO,EAAE,gBAFc;AAGvB,EAAA,0BAA0B,EAAE,sDAHL;AAIvB,EAAA,cAAc,EAAE,8BAJO;AAKvB,EAAA,WAAW,EAAE,wBALU;AAMvB,EAAA,WAAW,EAAE,wBANU;AAOvB,EAAA,OAAO,EAAE,gBAPc;AAQvB,EAAA,IAAI,EAAE,UARiB;AASvB,EAAA,MAAM,EAAE,cATe;AAUvB,EAAA,MAAM,EAAE,cAVe;AAWvB,EAAA,MAAM,EAAE,cAXe;AAYvB,EAAA,SAAS,EAAE,oBAZY;AAavB,EAAA,OAAO,EAAE,gBAbc;AAcvB,EAAA,OAAO,EAAE,gBAdc;AAevB,EAAA,aAAa,EAAE,4BAfQ;AAgBvB,EAAA,OAAO,EAAE,gBAhBc;AAiBvB,EAAA,eAAe,EAAE,gCAjBM;AAkBvB,EAAA,YAAY,EAAE,0BAlBS;AAmBvB,EAAA,KAAK,EAAE,YAnBgB;AAoBvB,EAAA,SAAS,EAAE,oBApBY;AAqBvB,EAAA,YAAY,EAAE;
|
|
1
|
+
{"version":3,"sources":["../../ts/api/resources.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEO,MAAM,SAAS,WAAT,SAAS,GAAG;AACvB,EAAA,UAAU,EAAE,sBADW;AAEvB,EAAA,OAAO,EAAE,gBAFc;AAGvB,EAAA,0BAA0B,EAAE,sDAHL;AAIvB,EAAA,cAAc,EAAE,8BAJO;AAKvB,EAAA,WAAW,EAAE,wBALU;AAMvB,EAAA,WAAW,EAAE,wBANU;AAOvB,EAAA,OAAO,EAAE,gBAPc;AAQvB,EAAA,IAAI,EAAE,UARiB;AASvB,EAAA,MAAM,EAAE,cATe;AAUvB,EAAA,MAAM,EAAE,cAVe;AAWvB,EAAA,MAAM,EAAE,cAXe;AAYvB,EAAA,SAAS,EAAE,oBAZY;AAavB,EAAA,OAAO,EAAE,gBAbc;AAcvB,EAAA,OAAO,EAAE,gBAdc;AAevB,EAAA,aAAa,EAAE,4BAfQ;AAgBvB,EAAA,OAAO,EAAE,gBAhBc;AAiBvB,EAAA,eAAe,EAAE,gCAjBM;AAkBvB,EAAA,YAAY,EAAE,0BAlBS;AAmBvB,EAAA,KAAK,EAAE,YAnBgB;AAoBvB,EAAA,SAAS,EAAE,oBApBY;AAqBvB,EAAA,YAAY,EAAE,0BArBS;AAsBvB,EAAA,MAAM,EAAE;AAtBe,CAAlB","sourcesContent":["import { Country } from './resources/Country';\nimport { Simulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { Report } from './resources/Report';\nimport { Letter } from './resources/Letter';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { FecFile } from './resources/FecFile';\nimport { IncomeStatement } from './resources/IncomeStatement';\nimport { BalanceSheet } from './resources/BalanceSheet';\nimport { Cerfa } from './resources/Cerfa';\nimport { LegalForm } from './resources/LegalForm';\nimport { Authenticate } from './resources/Authenticate';\nimport { Search } from './resources/Search';\n\nexport const resources = {\n simulation: Simulation,\n country: Country,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n user: User,\n survey: Survey,\n report: Report,\n letter: Letter,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n generalLedger: GeneralLedger,\n fecFile: FecFile,\n incomeStatement: IncomeStatement,\n balanceSheet: BalanceSheet,\n cerfa: Cerfa,\n legalForm: LegalForm,\n authenticate: Authenticate,\n search: Search,\n};\n"],"sourceRoot":"","file":"resources.js"}
|
package/js/types/Enum/Ged.js
CHANGED
|
@@ -19,15 +19,14 @@ var GedCategory = exports.GedCategory = undefined;
|
|
|
19
19
|
var GedFolder = exports.GedFolder = undefined;
|
|
20
20
|
|
|
21
21
|
(function (GedFolder) {
|
|
22
|
-
|
|
23
|
-
// Mission letters = 2,
|
|
22
|
+
GedFolder[GedFolder["KBIS"] = 1] = "KBIS"; // Mission letters = 2,
|
|
24
23
|
// Mandates & RIB = 3,
|
|
25
24
|
// Balance-GL Journals = 5,
|
|
26
25
|
// Closes & Balance Sheets = 7,
|
|
27
26
|
// VAT declarations = 10,
|
|
28
27
|
// IS declarations = 11,
|
|
29
|
-
|
|
30
|
-
// Training and professional tax = 14,
|
|
28
|
+
|
|
29
|
+
GedFolder[GedFolder["STATUTES"] = 13] = "STATUTES"; // Training and professional tax = 14,
|
|
31
30
|
// DADS-U & DUE = 15,
|
|
32
31
|
// URSSAF & Pôle-Emploi = 16,
|
|
33
32
|
// Pay slips = 17,
|
|
@@ -46,6 +45,7 @@ var GedFolder = exports.GedFolder = undefined;
|
|
|
46
45
|
// Miscellaneous = 31,
|
|
47
46
|
// Legal Announcements = 32,
|
|
48
47
|
// Certificates = 33,
|
|
48
|
+
|
|
49
49
|
GedFolder[GedFolder["PARTNERS"] = 34] = "PARTNERS"; // Incoming mails = 35,
|
|
50
50
|
// Outgoing mail = 36,
|
|
51
51
|
// Bank Statements = 37,
|
|
@@ -53,4 +53,25 @@ var GedFolder = exports.GedFolder = undefined;
|
|
|
53
53
|
// Pending points = 39,
|
|
54
54
|
// Balance-GL Journals Year N-1 = 40
|
|
55
55
|
})(GedFolder || (exports.GedFolder = GedFolder = {}));
|
|
56
|
+
|
|
57
|
+
var GedFileType = exports.GedFileType = undefined;
|
|
58
|
+
|
|
59
|
+
(function (GedFileType) {
|
|
60
|
+
GedFileType[GedFileType["STATUTES"] = 1] = "STATUTES"; // 2,'Carte d\'identité'
|
|
61
|
+
|
|
62
|
+
GedFileType[GedFileType["KBIS"] = 3] = "KBIS"; // 4,'RIB'
|
|
63
|
+
// 5,'Mémento Fiscal'
|
|
64
|
+
// 6,'SEPA'
|
|
65
|
+
// 7,'Plaquette'
|
|
66
|
+
// 8,'M0'
|
|
67
|
+
// 9,'Dbe'
|
|
68
|
+
// 10,'Autre'
|
|
69
|
+
// 11,'Inscription au répertoire SIRENE / Répertoire des métiers'
|
|
70
|
+
// 12,'Déclaration du patrimoine affectée'
|
|
71
|
+
// 13,'Déclaration des bénéficiaires effectifs'
|
|
72
|
+
// 14,'Liste des souscripteurs pour connaître la répartition des actions'
|
|
73
|
+
// 15,'Récépissé d’inscription de l’association en préfecture'
|
|
74
|
+
// 16,'Liste des représentants de l’association'
|
|
75
|
+
// 17,'Règlement intérieur'
|
|
76
|
+
})(GedFileType || (exports.GedFileType = GedFileType = {}));
|
|
56
77
|
//# sourceMappingURL=Ged.js.map
|
package/js/types/Enum/Ged.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/types/Enum/Ged.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,WASX,WATW,WASX,YATD;;AAA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AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACC,CAlBD,EAAY,WAAW,aAAX,WAAW,GAAX,WAAW,GAAA,EAAA,CAAvB","sourcesContent":["export enum GedCategory {\n COMPANY = 1,\n ACCOUNTING_AND_TAX = 2,\n SOCIAL = 3,\n JURIDIC = 4,\n GENERALITY = 5,\n BILLING = 6,\n MAIL = 7,\n BANK_STATEMENT = 8,\n}\n\nexport enum GedFolder {\n KBIS = 1,\n // Mission letters = 2,\n // Mandates & RIB = 3,\n // Balance-GL Journals = 5,\n // Closes & Balance Sheets = 7,\n // VAT declarations = 10,\n // IS declarations = 11,\n STATUTES = 13,\n // Training and professional tax = 14,\n // DADS-U & DUE = 15,\n // URSSAF & Pôle-Emploi = 16,\n // Pay slips = 17,\n // TNS = 18,\n // HP of GA = 19,\n // Contracts & Leases = 20,\n // Insurance = 22,\n // Cabinet invoices = 23,\n // Others = 24,\n // Vehicles = 25,\n // Borrowing tables = 26,\n // RSI & URSSAF = 27,\n // Previous GA balance & PV = 28,\n // Slips for the CFE = 29,\n // Suppliers / customers appendices = 30,\n // Miscellaneous = 31,\n // Legal Announcements = 32,\n // Certificates = 33,\n PARTNERS = 34,\n // Incoming mails = 35,\n // Outgoing mail = 36,\n // Bank Statements = 37,\n // Formalism = 38,\n // Pending points = 39,\n // Balance-GL Journals Year N-1 = 40\n}\n\nexport enum GedFileType {\n STATUTES = 1,\n // 2,'Carte d\\'identité'\n KBIS = 3,\n// 4,'RIB'\n// 5,'Mémento Fiscal'\n// 6,'SEPA'\n// 7,'Plaquette'\n// 8,'M0'\n// 9,'Dbe'\n// 10,'Autre'\n// 11,'Inscription au répertoire SIRENE / Répertoire des métiers'\n// 12,'Déclaration du patrimoine affectée'\n// 13,'Déclaration des bénéficiaires effectifs'\n// 14,'Liste des souscripteurs pour connaître la répartition des actions'\n// 15,'Récépissé d’inscription de l’association en préfecture'\n// 16,'Liste des représentants de l’association'\n// 17,'Règlement intérieur'\n}\n"],"sourceRoot":"","file":"Ged.js"}
|
|
@@ -10,7 +10,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
10
10
|
alias: 'ei',
|
|
11
11
|
diaCode: 11,
|
|
12
12
|
hideVat: false,
|
|
13
|
-
individual: true
|
|
13
|
+
individual: true,
|
|
14
|
+
pappersLabel: 'Entrepreneur individuel'
|
|
14
15
|
},
|
|
15
16
|
EIRL: {
|
|
16
17
|
id: 2,
|
|
@@ -18,7 +19,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
18
19
|
alias: 'eirl',
|
|
19
20
|
diaCode: 11,
|
|
20
21
|
hideVat: false,
|
|
21
|
-
individual: true
|
|
22
|
+
individual: true,
|
|
23
|
+
pappersLabel: 'Indivision entre personnes physiques'
|
|
22
24
|
},
|
|
23
25
|
EURL: {
|
|
24
26
|
id: 3,
|
|
@@ -26,7 +28,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
26
28
|
alias: 'eurl',
|
|
27
29
|
diaCode: 12212,
|
|
28
30
|
hideVat: false,
|
|
29
|
-
individual: false
|
|
31
|
+
individual: false,
|
|
32
|
+
pappersLabel: 'EURL, entreprise unipersonnelle à responsabilité limitée'
|
|
30
33
|
},
|
|
31
34
|
SARL: {
|
|
32
35
|
id: 4,
|
|
@@ -34,7 +37,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
34
37
|
alias: 'sarl',
|
|
35
38
|
diaCode: 12211,
|
|
36
39
|
hideVat: false,
|
|
37
|
-
individual: false
|
|
40
|
+
individual: false,
|
|
41
|
+
pappersLabel: 'SARL, société à responsabilité limitée'
|
|
38
42
|
},
|
|
39
43
|
SASU: {
|
|
40
44
|
id: 5,
|
|
@@ -42,7 +46,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
42
46
|
alias: 'sasu',
|
|
43
47
|
diaCode: 12223,
|
|
44
48
|
hideVat: false,
|
|
45
|
-
individual: false
|
|
49
|
+
individual: false,
|
|
50
|
+
pappersLabel: 'SASU, société par actions simplifiée unipersonnelle'
|
|
46
51
|
},
|
|
47
52
|
SAS: {
|
|
48
53
|
id: 6,
|
|
@@ -50,7 +55,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
50
55
|
alias: 'sas',
|
|
51
56
|
diaCode: 12223,
|
|
52
57
|
hideVat: false,
|
|
53
|
-
individual: false
|
|
58
|
+
individual: false,
|
|
59
|
+
pappersLabel: 'SAS, société par actions simplifiée'
|
|
54
60
|
},
|
|
55
61
|
SCI: {
|
|
56
62
|
id: 7,
|
|
@@ -58,7 +64,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
58
64
|
alias: 'sci',
|
|
59
65
|
diaCode: 12131,
|
|
60
66
|
hideVat: false,
|
|
61
|
-
individual: false
|
|
67
|
+
individual: false,
|
|
68
|
+
pappersLabel: 'SCI, société civile immobilière'
|
|
62
69
|
},
|
|
63
70
|
GIE: {
|
|
64
71
|
id: 8,
|
|
@@ -66,7 +73,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
66
73
|
alias: 'gie',
|
|
67
74
|
diaCode: 13,
|
|
68
75
|
hideVat: false,
|
|
69
|
-
individual: false
|
|
76
|
+
individual: false,
|
|
77
|
+
pappersLabel: 'GIE, groupement d\'intérêt économique'
|
|
70
78
|
},
|
|
71
79
|
SELARL: {
|
|
72
80
|
id: 9,
|
|
@@ -74,7 +82,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
74
82
|
alias: 'selarl',
|
|
75
83
|
diaCode: 12213,
|
|
76
84
|
hideVat: false,
|
|
77
|
-
individual: false
|
|
85
|
+
individual: false,
|
|
86
|
+
pappersLabel: 'SERL, société d\'exercice libéral à responsabilité limitée'
|
|
78
87
|
},
|
|
79
88
|
ASSOCIATION: {
|
|
80
89
|
id: 10,
|
|
@@ -82,7 +91,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
82
91
|
alias: 'association',
|
|
83
92
|
diaCode: 2,
|
|
84
93
|
hideVat: true,
|
|
85
|
-
individual: false
|
|
94
|
+
individual: false,
|
|
95
|
+
pappersLabel: 'Association déclarée'
|
|
86
96
|
},
|
|
87
97
|
AUTO_ENTREPRENEUR: {
|
|
88
98
|
id: 11,
|
|
@@ -90,7 +100,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
90
100
|
alias: 'auto-entrepreneur',
|
|
91
101
|
diaCode: null,
|
|
92
102
|
hideVat: true,
|
|
93
|
-
individual: true
|
|
103
|
+
individual: true,
|
|
104
|
+
pappersLabel: 'Entrepreneur individuel'
|
|
94
105
|
},
|
|
95
106
|
SA: {
|
|
96
107
|
id: 12,
|
|
@@ -98,7 +109,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
98
109
|
alias: 'sa',
|
|
99
110
|
diaCode: 12221,
|
|
100
111
|
hideVat: false,
|
|
101
|
-
individual: false
|
|
112
|
+
individual: false,
|
|
113
|
+
pappersLabel: 'SA à conseil d\'administration (s.a.i.)'
|
|
102
114
|
},
|
|
103
115
|
SNC: {
|
|
104
116
|
id: 13,
|
|
@@ -106,7 +118,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
106
118
|
alias: 'snc',
|
|
107
119
|
diaCode: 1212,
|
|
108
120
|
hideVat: false,
|
|
109
|
-
individual: false
|
|
121
|
+
individual: false,
|
|
122
|
+
pappersLabel: 'Société en nom collectif'
|
|
110
123
|
},
|
|
111
124
|
OTHER: {
|
|
112
125
|
id: 14,
|
|
@@ -130,7 +143,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
130
143
|
alias: 'scop',
|
|
131
144
|
diaCode: null,
|
|
132
145
|
hideVat: false,
|
|
133
|
-
individual: false
|
|
146
|
+
individual: false,
|
|
147
|
+
pappersLabel: 'SCOP, SARL coopérative ouvrière de production'
|
|
134
148
|
},
|
|
135
149
|
SCE_DROIT_ETRANGER: {
|
|
136
150
|
id: 17,
|
|
@@ -146,7 +160,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
146
160
|
alias: 'earl',
|
|
147
161
|
diaCode: 12137,
|
|
148
162
|
hideVat: false,
|
|
149
|
-
individual: false
|
|
163
|
+
individual: false,
|
|
164
|
+
pappersLabel: 'SCOP, SARL coopérative ouvrière de production'
|
|
150
165
|
},
|
|
151
166
|
SCP: {
|
|
152
167
|
id: 19,
|
|
@@ -154,7 +169,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
154
169
|
alias: 'scp',
|
|
155
170
|
diaCode: null,
|
|
156
171
|
hideVat: false,
|
|
157
|
-
individual: false
|
|
172
|
+
individual: false,
|
|
173
|
+
pappersLabel: 'SCP d\'avocats'
|
|
158
174
|
},
|
|
159
175
|
SOCIETE_CIVILE: {
|
|
160
176
|
id: 20,
|
|
@@ -162,7 +178,8 @@ const LegalForm = exports.LegalForm = {
|
|
|
162
178
|
alias: 'SOC',
|
|
163
179
|
diaCode: null,
|
|
164
180
|
hideVat: false,
|
|
165
|
-
individual: false
|
|
181
|
+
individual: false,
|
|
182
|
+
pappersLabel: 'Autre société civile'
|
|
166
183
|
}
|
|
167
184
|
};
|
|
168
185
|
//# sourceMappingURL=LegalForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/types/Enum/LegalForm.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,SAAS,WAAT,SAAS,GAAG;AACvB,EAAA,EAAE,EAAE;AACF,IAAA,EAAE,EAAE,CADF;AAEF,IAAA,IAAI,EAAE,IAFJ;AAGF,IAAA,KAAK,EAAE,IAHL;AAIF,IAAA,OAAO,EAAE,EAJP;AAKF,IAAA,OAAO,EAAE,KALP;AAMF,IAAA,UAAU,EAAE;
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/LegalForm.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,SAAS,WAAT,SAAS,GAAG;AACvB,EAAA,EAAE,EAAE;AACF,IAAA,EAAE,EAAE,CADF;AAEF,IAAA,IAAI,EAAE,IAFJ;AAGF,IAAA,KAAK,EAAE,IAHL;AAIF,IAAA,OAAO,EAAE,EAJP;AAKF,IAAA,OAAO,EAAE,KALP;A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;AAClB,IAAA,EAAE,EAAE,EADc;AAElB,IAAA,IAAI,EAAE,oBAFY;AAGlB,IAAA,KAAK,EAAE,oBAHW;AAIlB,IAAA,OAAO,EAAE,KAJS;AAKlB,IAAA,OAAO,EAAE,KALS;AAMlB,IAAA,UAAU,EAAE;AANM,GA/IG;AAuJvB,EAAA,IAAI,EAAE;AACJ,IAAA,EAAE,EAAE,EADA;AAEJ,IAAA,IAAI,EAAE,MAFF;AAGJ,IAAA,KAAK,EAAE,MAHH;AAIJ,IAAA,OAAO,EAAE,KAJL;AAKJ,IAAA,OAAO,EAAE,KALL;AAMJ,IAAA,UAAU,EAAE,KANR;AAOJ,IAAA,YAAY,EAAE;AAPV,GAvJiB;AAgKvB,EAAA,GAAG,EAAE;AACH,IAAA,EAAE,EAAE,EADD;AAEH,IAAA,IAAI,EAAE,KAFH;AAGH,IAAA,KAAK,EAAE,KAHJ;AAIH,IAAA,OAAO,EAAE,IAJN;AAKH,IAAA,OAAO,EAAE,KALN;AAMH,IAAA,UAAU,EAAE,KANT;AAOH,IAAA,YAAY,EAAE;AAPX,GAhKkB;AAyKvB,EAAA,cAAc,EAAE;AACd,IAAA,EAAE,EAAE,EADU;AAEd,IAAA,IAAI,EAAE,gBAFQ;AAGd,IAAA,KAAK,EAAE,KAHO;AAId,IAAA,OAAO,EAAE,IAJK;AAKd,IAAA,OAAO,EAAE,KALK;AAMd,IAAA,UAAU,EAAE,KANE;AAOd,IAAA,YAAY,EAAE;AAPA;AAzKO,CAAlB","sourcesContent":["export const LegalForm = {\n EI: {\n id: 1,\n name: 'EI',\n alias: 'ei',\n diaCode: 11,\n hideVat: false,\n individual: true,\n pappersLabel: 'Entrepreneur individuel',\n },\n EIRL: {\n id: 2,\n name: 'EIRL',\n alias: 'eirl',\n diaCode: 11,\n hideVat: false,\n individual: true,\n pappersLabel: 'Indivision entre personnes physiques',\n },\n EURL: {\n id: 3,\n name: 'EURL',\n alias: 'eurl',\n diaCode: 12212,\n hideVat: false,\n individual: false,\n pappersLabel: 'EURL, entreprise unipersonnelle à responsabilité limitée',\n },\n SARL: {\n id: 4,\n name: 'SARL',\n alias: 'sarl',\n diaCode: 12211,\n hideVat: false,\n individual: false,\n pappersLabel: 'SARL, société à responsabilité limitée',\n },\n SASU: {\n id: 5,\n name: 'SASU',\n alias: 'sasu',\n diaCode: 12223,\n hideVat: false,\n individual: false,\n pappersLabel: 'SASU, société par actions simplifiée unipersonnelle',\n },\n SAS: {\n id: 6,\n name: 'SAS',\n alias: 'sas',\n diaCode: 12223,\n hideVat: false,\n individual: false,\n pappersLabel: 'SAS, société par actions simplifiée',\n },\n SCI: {\n id: 7,\n name: 'SCI',\n alias: 'sci',\n diaCode: 12131,\n hideVat: false,\n individual: false,\n pappersLabel: 'SCI, société civile immobilière',\n },\n GIE: {\n id: 8,\n name: 'GIE',\n alias: 'gie',\n diaCode: 13,\n hideVat: false,\n individual: false,\n pappersLabel: 'GIE, groupement d\\'intérêt économique',\n },\n SELARL: {\n id: 9,\n name: 'SELARL',\n alias: 'selarl',\n diaCode: 12213,\n hideVat: false,\n individual: false,\n pappersLabel: 'SERL, société d\\'exercice libéral à responsabilité limitée',\n },\n ASSOCIATION: {\n id: 10,\n name: 'Association',\n alias: 'association',\n diaCode: 2,\n hideVat: true,\n individual: false,\n pappersLabel: 'Association déclarée',\n },\n AUTO_ENTREPRENEUR: {\n id: 11,\n name: 'Auto-Entrepreneur',\n alias: 'auto-entrepreneur',\n diaCode: null,\n hideVat: true,\n individual: true,\n pappersLabel: 'Entrepreneur individuel',\n },\n SA: {\n id: 12,\n name: 'SA',\n alias: 'sa',\n diaCode: 12221,\n hideVat: false,\n individual: false,\n pappersLabel: 'SA à conseil d\\'administration (s.a.i.)',\n },\n SNC: {\n id: 13,\n name: 'SNC',\n alias: 'snc',\n diaCode: 1212,\n hideVat: false,\n individual: false,\n pappersLabel: 'Société en nom collectif',\n },\n OTHER: {\n id: 14,\n name: 'Autre',\n alias: 'autre',\n diaCode: null,\n hideVat: false,\n individual: false,\n },\n SUCCURSALE: {\n id: 15,\n name: 'Succursale',\n alias: 'succursale',\n diaCode: null,\n hideVat: false,\n individual: false,\n },\n SCOP: {\n id: 16,\n name: 'SCOP',\n alias: 'scop',\n diaCode: null,\n hideVat: false,\n individual: false,\n pappersLabel: 'SCOP, SARL coopérative ouvrière de production',\n },\n SCE_DROIT_ETRANGER: {\n id: 17,\n name: 'Sce Droit Etranger',\n alias: 'sce droit etranger',\n diaCode: 12131,\n hideVat: false,\n individual: false,\n },\n EARL: {\n id: 18,\n name: 'EARL',\n alias: 'earl',\n diaCode: 12137,\n hideVat: false,\n individual: false,\n pappersLabel: 'SCOP, SARL coopérative ouvrière de production',\n },\n SCP: {\n id: 19,\n name: 'SCP',\n alias: 'scp',\n diaCode: null,\n hideVat: false,\n individual: false,\n pappersLabel: 'SCP d\\'avocats',\n },\n SOCIETE_CIVILE: {\n id: 20,\n name: 'Société Civile',\n alias: 'SOC',\n diaCode: null,\n hideVat: false,\n individual: false,\n pappersLabel: 'Autre société civile',\n },\n};"],"sourceRoot":"","file":"LegalForm.js"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
const LetterState = exports.LetterState = {
|
|
7
|
+
RECEIVED_SIMPLE_LETTER: {
|
|
8
|
+
id: 1,
|
|
9
|
+
name: 'Reçu courrier simple'
|
|
10
|
+
},
|
|
11
|
+
RECEIVED_AR_LETTER: {
|
|
12
|
+
id: 2,
|
|
13
|
+
name: 'Reçu courrier LRAR'
|
|
14
|
+
},
|
|
15
|
+
SENDING_SIMPLE_LETTER: {
|
|
16
|
+
id: 3,
|
|
17
|
+
name: 'À envoyer courrier simple'
|
|
18
|
+
},
|
|
19
|
+
SENDING_AR_LETTER: {
|
|
20
|
+
id: 4,
|
|
21
|
+
name: 'À envoyer avec LRAR'
|
|
22
|
+
},
|
|
23
|
+
SENT_SIMPLE_LETTER: {
|
|
24
|
+
id: 5,
|
|
25
|
+
name: 'Envoyé courrier simple'
|
|
26
|
+
},
|
|
27
|
+
SENT_AR_LETTER: {
|
|
28
|
+
id: 6,
|
|
29
|
+
name: 'Envoyé avec LRAR'
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=LetterState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/LetterState.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,WAAW,WAAX,WAAW,GAAG;AACzB,EAAA,sBAAsB,EAAE;AACtB,IAAA,EAAE,EAAE,CADkB;AAEtB,IAAA,IAAI,EAAE;AAFgB,GADC;AAKzB,EAAA,kBAAkB,EAAE;AAClB,IAAA,EAAE,EAAE,CADc;AAElB,IAAA,IAAI,EAAE;AAFY,GALK;AASzB,EAAA,qBAAqB,EAAE;AACrB,IAAA,EAAE,EAAE,CADiB;AAErB,IAAA,IAAI,EAAE;AAFe,GATE;AAazB,EAAA,iBAAiB,EAAE;AACjB,IAAA,EAAE,EAAE,CADa;AAEjB,IAAA,IAAI,EAAE;AAFW,GAbM;AAiBzB,EAAA,kBAAkB,EAAE;AAClB,IAAA,EAAE,EAAE,CADc;AAElB,IAAA,IAAI,EAAE;AAFY,GAjBK;AAqBzB,EAAA,cAAc,EAAE;AACd,IAAA,EAAE,EAAE,CADU;AAEd,IAAA,IAAI,EAAE;AAFQ;AArBS,CAApB","sourcesContent":["export const LetterState = {\n RECEIVED_SIMPLE_LETTER: {\n id: 1,\n name: 'Reçu courrier simple',\n },\n RECEIVED_AR_LETTER: {\n id: 2,\n name: 'Reçu courrier LRAR',\n },\n SENDING_SIMPLE_LETTER: {\n id: 3,\n name: 'À envoyer courrier simple',\n },\n SENDING_AR_LETTER: {\n id: 4,\n name: 'À envoyer avec LRAR',\n },\n SENT_SIMPLE_LETTER: {\n id: 5,\n name: 'Envoyé courrier simple',\n },\n SENT_AR_LETTER: {\n id: 6,\n name: 'Envoyé avec LRAR',\n },\n};"],"sourceRoot":"","file":"LetterState.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/types/Enum/ReportType.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,UAAU,WAAV,UAAU,GAAG;AACxB,EAAA,MAAM,EAAE;AACN,IAAA,EAAE,EAAE,CADE;AAEN,IAAA,IAAI,EAAE;AAFA,GADgB;AAKxB,EAAA,KAAK,EAAE;AACL,IAAA,EAAE,EAAE,CADC;AAEL,IAAA,IAAI,EAAE;AAFD,GALiB;AASxB,EAAA,QAAQ,EAAE;AACR,IAAA,EAAE,EAAE,CADI;AAER,IAAA,IAAI,EAAE;AAFE,GATc;AAaxB,EAAA,OAAO,EAAE;AACP,IAAA,EAAE,EAAE,CADG;AAEP,IAAA,IAAI,EAAE;AAFC,GAbe;AAiBxB,EAAA,WAAW,EAAE;AACX,IAAA,EAAE,EAAE,CADO;AAEX,IAAA,IAAI,EAAE;AAFK,GAjBW;AAqBxB,EAAA,gBAAgB,EAAE;AAChB,IAAA,EAAE,EAAE,CADY;AAEhB,IAAA,IAAI,EAAE;AAFU;
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/ReportType.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,UAAU,WAAV,UAAU,GAAG;AACxB,EAAA,MAAM,EAAE;AACN,IAAA,EAAE,EAAE,CADE;AAEN,IAAA,IAAI,EAAE;AAFA,GADgB;AAKxB,EAAA,KAAK,EAAE;AACL,IAAA,EAAE,EAAE,CADC;AAEL,IAAA,IAAI,EAAE;AAFD,GALiB;AASxB,EAAA,QAAQ,EAAE;AACR,IAAA,EAAE,EAAE,CADI;AAER,IAAA,IAAI,EAAE;AAFE,GATc;AAaxB,EAAA,OAAO,EAAE;AACP,IAAA,EAAE,EAAE,CADG;AAEP,IAAA,IAAI,EAAE;AAFC,GAbe;AAiBxB,EAAA,WAAW,EAAE;AACX,IAAA,EAAE,EAAE,CADO;AAEX,IAAA,IAAI,EAAE;AAFK,GAjBW;AAqBxB,EAAA,gBAAgB,EAAE;AAChB,IAAA,EAAE,EAAE,CADY;AAEhB,IAAA,IAAI,EAAE;AAFU,GArBM;AAyBxB,EAAA,WAAW,EAAE;AACX,IAAA,EAAE,EAAE,CADO;AAEX,IAAA,IAAI,EAAE;AAFK;AAzBW,CAAnB","sourcesContent":["export const ReportType = {\n LETTER: {\n id: 1,\n name: 'Lettre à l\\'ordre',\n },\n FRAUD: {\n id: 2,\n name: 'Suspicion de fraude',\n },\n ATTITUDE: {\n id: 3,\n name: 'Attitude déplacée',\n },\n BLOCKED: {\n id: 4,\n name: 'Dossier bloqué',\n },\n NO_RESPONSE: {\n id: 5,\n name: 'Pas de réponse',\n },\n NEGATIVE_OPINION: {\n id: 6,\n name: 'Avis négatif',\n },\n LATE_ANSWER: {\n id: 6,\n name: 'Réponse de + de 3 mois',\n },\n};"],"sourceRoot":"","file":"ReportType.js"}
|
|
@@ -33,12 +33,12 @@ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Date)], CreateL
|
|
|
33
33
|
|
|
34
34
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], CreateLetter.prototype, "complement", void 0);
|
|
35
35
|
|
|
36
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateLetter.prototype, "fileType", void 0);
|
|
37
|
-
|
|
38
36
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], CreateLetter.prototype, "isLRAR", void 0);
|
|
39
37
|
|
|
40
38
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], CreateLetter.prototype, "isDone", void 0);
|
|
41
39
|
|
|
40
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateLetter.prototype, "state", void 0);
|
|
41
|
+
|
|
42
42
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], CreateLetter.prototype, "needResponse", void 0);
|
|
43
43
|
|
|
44
44
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], CreateLetter.prototype, "ARNumber", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../ts/types/Interface/api/letter/CreateLetter.ts"],"names":[],"mappings":";;;;;;;AACA;;;;;;;;;;;;;;AAEM,MAAO,YAAP,CAAmB;;QAAZ,Y,GAAA,Y;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,sBAAA,E,cAAA,E,KAAqB,CAArB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,UAAA,E,KAAkB,CAAlB,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,sBAAA,E,WAAA,E,KAAkB,CAAlB,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,0BAAY,I,CAAZ,CAAA,E,sBAAA,E,YAAA,E,KAAiB,CAAjB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,YAAA,E,KAAoB,CAApB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/letter/CreateLetter.ts"],"names":[],"mappings":";;;;;;;AACA;;;;;;;;;;;;;;AAEM,MAAO,YAAP,CAAmB;;QAAZ,Y,GAAA,Y;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,sBAAA,E,cAAA,E,KAAqB,CAArB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,UAAA,E,KAAkB,CAAlB,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,sBAAA,E,WAAA,E,KAAkB,CAAlB,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,0BAAY,I,CAAZ,CAAA,E,sBAAA,E,YAAA,E,KAAiB,CAAjB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,YAAA,E,KAAoB,CAApB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sBAAA,E,QAAA,E,KAAiB,CAAjB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sBAAA,E,QAAA,E,KAAiB,CAAjB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,OAAA,E,KAAe,CAAf,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sBAAA,E,cAAA,E,KAAuB,CAAvB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,UAAA,E,KAAkB,CAAlB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sBAAA,E,cAAA,E,KAAsB,CAAtB,CAAA","sourcesContent":["import { ILetter } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateLetter implements ILetter {\n @ApiProperty()\n idLetterType: number;\n\n @ApiPropertyOptional()\n idReport?: number;\n\n @ApiProperty()\n idSociety: number;\n\n @ApiProperty()\n letterDate: Date;\n\n @ApiPropertyOptional()\n complement?: string;\n\n @ApiPropertyOptional()\n isLRAR?: boolean;\n\n @ApiPropertyOptional()\n isDone?: boolean;\n\n @ApiPropertyOptional()\n state?: number;\n\n @ApiPropertyOptional()\n needResponse?: boolean;\n\n @ApiPropertyOptional()\n ARNumber?: string;\n\n @ApiPropertyOptional()\n idAccountant?: number;\n}\n"],"sourceRoot":"","file":"CreateLetter.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"CreatePappers.js"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.QuerySearchBusinessPappers = exports.GetBusinessPappersResponse = exports.QueryGetBusinessPappers = exports.QueryGetBusinessDocumentPappers = undefined;
|
|
7
|
+
|
|
8
|
+
var _utils = require("../../../../utils");
|
|
9
|
+
|
|
10
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11
|
+
var c = arguments.length,
|
|
12
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
13
|
+
d;
|
|
14
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* DOCUMENTS ENTREPRISE
|
|
24
|
+
*/
|
|
25
|
+
class QueryGetBusinessDocumentPappers {}
|
|
26
|
+
|
|
27
|
+
exports.QueryGetBusinessDocumentPappers = QueryGetBusinessDocumentPappers;
|
|
28
|
+
|
|
29
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], QueryGetBusinessDocumentPappers.prototype, "token", void 0);
|
|
30
|
+
|
|
31
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QueryGetBusinessDocumentPappers.prototype, "name", void 0);
|
|
32
|
+
/**
|
|
33
|
+
* FICHE ENTREPRISE
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class QueryGetBusinessPappers {}
|
|
38
|
+
|
|
39
|
+
exports.QueryGetBusinessPappers = QueryGetBusinessPappers;
|
|
40
|
+
|
|
41
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QueryGetBusinessPappers.prototype, "siren", void 0);
|
|
42
|
+
|
|
43
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QueryGetBusinessPappers.prototype, "siret", void 0);
|
|
44
|
+
|
|
45
|
+
class GetBusinessPappersResponse {}
|
|
46
|
+
|
|
47
|
+
exports.GetBusinessPappersResponse = GetBusinessPappersResponse;
|
|
48
|
+
/**
|
|
49
|
+
* RECHERCHE ENTREPRISE
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
class QuerySearchBusinessPappers {}
|
|
53
|
+
|
|
54
|
+
exports.QuerySearchBusinessPappers = QuerySearchBusinessPappers;
|
|
55
|
+
|
|
56
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QuerySearchBusinessPappers.prototype, "limit", void 0);
|
|
57
|
+
|
|
58
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], QuerySearchBusinessPappers.prototype, "page", void 0);
|
|
59
|
+
|
|
60
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Array)], QuerySearchBusinessPappers.prototype, "databases", void 0);
|
|
61
|
+
|
|
62
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QuerySearchBusinessPappers.prototype, "precision", void 0);
|
|
63
|
+
|
|
64
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QuerySearchBusinessPappers.prototype, "query", void 0);
|
|
65
|
+
|
|
66
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QuerySearchBusinessPappers.prototype, "nafCode", void 0);
|
|
67
|
+
|
|
68
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QuerySearchBusinessPappers.prototype, "department", void 0);
|
|
69
|
+
|
|
70
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QuerySearchBusinessPappers.prototype, "region", void 0);
|
|
71
|
+
|
|
72
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QuerySearchBusinessPappers.prototype, "zipCode", void 0);
|
|
73
|
+
|
|
74
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QuerySearchBusinessPappers.prototype, "collectiveAgreement", void 0);
|
|
75
|
+
|
|
76
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QuerySearchBusinessPappers.prototype, "legalCategory", void 0);
|
|
77
|
+
|
|
78
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], QuerySearchBusinessPappers.prototype, "active", void 0);
|
|
79
|
+
|
|
80
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QuerySearchBusinessPappers.prototype, "minimumTurnover", void 0);
|
|
81
|
+
|
|
82
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QuerySearchBusinessPappers.prototype, "maximumTurnover", void 0);
|
|
83
|
+
|
|
84
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QuerySearchBusinessPappers.prototype, "publicationType", void 0);
|
|
85
|
+
//# sourceMappingURL=QueryPappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/pappers/QueryPappers.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAyLA;;AAEG;AAEG,MAAO,+BAAP,CAAsC;;QAA/B,+B,GAAA,+B;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,yCAAA,E,OAAA,E,KAAc,CAAd,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,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,E,KAA6B,CAA7B,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,oCAAA,E,eAAA,E,KAAuB,CAAvB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,oCAAA,E,QAAA,E,KAAiB,CAAjB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,oCAAA,E,iBAAA,E,KAAyB,CAAzB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,oCAAA,E,iBAAA,E,KAAyB,CAAzB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,oCAAA,E,iBAAA,E,KAAyC,CAAzC,CAAA","sourcesContent":["import { ApiPropertyOptional, ApiProperty } from '../../../../utils';\n\nexport type DatabasePappers = 'entreprises' | 'dirigeants' | 'documents' | 'publications';\nexport type PrecisionPappers = 'approximative' | 'standard' | 'exacte';\nexport type PublicationTypePappers = 'Création' | 'Immatriculation' | 'Modification' | 'Vente' | 'Radiation' | 'Procédure collective' | 'Dépôt des comptes';\n\nexport type LegalCategoryPappers = {\n nom: string | null;\n idcc: number | null;\n confirme: boolean | null;\n};\n\nexport type HeadOfficePappers = {\n siret: string | null;\n siret_formate: string | null;\n nic: string | null;\n code_postal: string | null;\n ville: string | null;\n latitude: number | null;\n longitude: number | null;\n etablissement_cesse: boolean | null;\n siege: boolean | null;\n etablissement_employeur: boolean | null;\n effectif: string | null;\n effectif_min: number | null;\n effectif_max: number | null;\n tranche_effectif: string | null;\n annee_effectif: number | null;\n code_naf: string | null;\n libelle_code_naf: string | null;\n date_de_creation: string | null;\n numero_voie: number | null;\n indice_repetition: string | null;\n type_voie: string | null;\n libelle_voie: string | null;\n complement_adresse: string | null;\n adresse_ligne_1: string | null;\n adresse_ligne_2: string | null;\n};\n\nexport type EstablishmentPappers = {\n siret: string | null;\n siret_formate: string | null;\n nic: string | null;\n code_postal: string | null;\n ville: string | null;\n latitude: number | null;\n longitude: number | null;\n etablissement_cesse: boolean | null;\n siege: boolean | null;\n etablissement_employeur: boolean | null;\n effectif: string | null;\n effectif_min: number | null;\n effectif_max: number | null;\n tranche_effectif: number | null;\n annee_effectif: number | null;\n code_naf: string | null;\n libelle_code_naf: string | null;\n date_de_creation: string | null;\n numero_voie: number | null;\n indice_repetition: string | null;\n type_voie: string | null;\n libelle_voie: string | null;\n complement_adresse: string | null;\n adresse_ligne_1: string | null;\n adresse_ligne_2: string | null;\n};\n\nexport type FinancePappers = {\n annee: number | null;\n date_de_cloture_exercice: string | null;\n duree_exercice: number | null;\n chiffre_affaires: number | null;\n resultat: number | null;\n effectif: number | null;\n};\n\nexport type RepresentativePappers = {\n qualite: string | null;\n personne_morale: boolean | null;\n date_prise_de_poste: string | null;\n nom: string | null;\n prenom: string | null;\n nom_complet: string | null;\n date_de_naissance: string | null;\n date_de_naissance_formate: string | null;\n age: number | null;\n nationalite: string | null;\n ville_de_naissance: string | null;\n pays_de_naissance: string | null;\n adresse_ligne_1: string | null;\n adresse_ligne_2: string | null;\n adresse_ligne_3: string | null;\n code_postal: string | null;\n ville: string | null;\n pays: string | null;\n};\n\nexport type BeneficialOwnerPappers = {\n date_greffe: string | null;\n nom: string | null;\n nom_usage: string | null;\n prenom: string | null;\n pseudonyme: string | null;\n date_de_naissance_formatee: string | null;\n nationalite: string | null;\n pourcentage_parts: number | null;\n pourcentage_parts_directes: number | null;\n pourcentage_parts_indirectes: number | null;\n pourcentage_parts_vocation_titulaire: number | null;\n details_parts_directes: any | null;\n details_parts_indirectes: any | null;\n details_parts_vocation_titulaire: any | null;\n pourcentage_votes: number | null;\n pourcentage_votes_directs: number | null;\n pourcentage_votes_indirect: number | null;\n details_votes_directs: any | null;\n details_votes_indirects: any | null;\n details_societe_de_gestion: any | null;\n detention_pouvoir_decision_ag: boolean | null;\n detention_pouvoir_nom_membre_conseil_administration: boolean | null;\n detention_autres_moyens_controle: boolean | null;\n beneficiaire_representant_legal: boolean | null;\n representant_legal_placement_sans_gestion_delegation: boolean\n};\n\nexport type Act = {\n type: string | null;\n decision: string | null;\n date_acte: string | null;\n date_acte_formate: string | null;\n};\n\nexport type ActDepositPappers = {\n date_depot: string | null;\n date_depot_formate: string | null;\n disponible: boolean | null;\n nom_fichier_pdf: string | null;\n token: string | null;\n actes: Act[] | null;\n};\n\nexport type ReportPappers = {\n date_depot: string | null;\n date_depot_formate: string | null;\n date_cloture: string | null;\n annee_cloture: number | null;\n confidentialite: boolean | null;\n confidentialite_compte_de_resultat: boolean | null;\n disponible: boolean | null;\n nom_fichier_pdf: string | null;\n token: string | null;\n};\n\nexport type BODACCPublicationPappers = {\n numero_parution: string | null;\n date: string | null;\n numero_annonce: string | null;\n bodacc: string | null;\n type: string | null;\n};\n\nexport type CollectiveProceedingPappers = {\n type: string | null;\n date_debut:string | null;\n date_fin: string | null;\n publications_bodacc: BODACCPublicationPappers[] | null;\n};\n\nexport type LastsStatusPappers = {\n date_depot: string | null;\n date_depot_formate: string | null;\n disponible: boolean | null;\n nom_fichier_pdf: string | null;\n token: string | null;\n type: string | null;\n decision: string | null;\n date_acte: string | null;\n date_acte_formate: string | null;\n};\n\nexport type ImmatriculationPappers = {\n token: string;\n};\n\n/**\n * DOCUMENTS ENTREPRISE\n */\n\nexport class QueryGetBusinessDocumentPappers {\n @ApiProperty()\n token: string;\n\n @ApiPropertyOptional()\n name?: string;\n}\n\n/**\n * FICHE ENTREPRISE\n */\n\nexport class QueryGetBusinessPappers {\n @ApiPropertyOptional()\n siren?: string;\n\n @ApiPropertyOptional()\n siret?: string;\n}\n\nexport class GetBusinessPappersResponse {\n siren: string | null;\n siren_formate: string | null;\n nom_entreprise: string | null;\n personne_morale: boolean;\n denomination: string | null;\n nom: string | null;\n prenom: string | null;\n sexe: string | null;\n code_naf: string | null;\n libelle_code_naf: string | null;\n domaine_activite: string | null;\n conventions_collectives: LegalCategoryPappers[] | null;\n date_creation: string | null;\n date_creation_formate: string | null;\n entreprise_cessee: boolean;\n date_cessation: string | null;\n entreprise_employeuse: boolean;\n categorie_juridique: string | null;\n forme_juridique: string | null;\n effectif: string | null;\n effectif_min: number | null;\n effectif_max: number | null;\n tranche_effectif: string | null;\n annee_effectif: number | null;\n dernier_traitement: string | null;\n siege: HeadOfficePappers | null;\n diffusable: boolean;\n sigle: any | null;\n objet_social: string | null;\n capital: number | null;\n capital_formate: string | null;\n capital_actuel_si_variable: any | null;\n numero_rcs: string | null;\n date_cloture_exercice: string | null;\n date_cloture_exercice_exceptionnelle: string | null;\n date_cloture_exercice_exceptionnelle_formate: string | null;\n prochaine_date_cloture_exercice: string | null;\n prochaine_date_cloture_exercice_formate: string | null;\n economie_sociale_solidaire: boolean;\n duree_personne_morale: any | null;\n derniere_mise_a_jour_sirene: string | null;\n derniere_mise_a_jour_rcs: string | null;\n statut_rcs: string | null;\n greffe: string | null;\n date_immatriculation_rcs: string | null;\n date_premiere_immatriculation_rcs: string | null;\n date_radiation_rcs: string | null;\n numero_tva_intracommunautaire: string | null;\n associe_unique: boolean;\n etablissements: EstablishmentPappers[] | null;\n finances: FinancePappers[] | null;\n representants: RepresentativePappers[] | null;\n beneficiaires_effectifs: BeneficialOwnerPappers[] | null;\n depots_actes: ActDepositPappers[] | null;\n comptes: ReportPappers[] | null;\n publications_bodacc: BODACCPublicationPappers[] | null;\n procedures_collectives: CollectiveProceedingPappers[] | null;\n procedure_collective_existe: boolean;\n procedure_collective_en_cours: boolean;\n derniers_statuts: LastsStatusPappers | null;\n extrait_immatriculation: ImmatriculationPappers | null;\n}\n\n/**\n * RECHERCHE ENTREPRISE\n */\n\nexport class QuerySearchBusinessPappers {\n @ApiPropertyOptional()\n limit?: number; // par_page\n\n @ApiPropertyOptional()\n page?: number;\n\n @ApiPropertyOptional()\n databases?: DatabasePappers[]; // bases\n\n @ApiPropertyOptional()\n precision?: PrecisionPappers;\n\n @ApiPropertyOptional()\n query?: string; // q\n\n @ApiPropertyOptional()\n nafCode?: string; // code_naf\n\n @ApiPropertyOptional()\n department?: string; // departement\n\n @ApiPropertyOptional()\n region?: string;\n\n @ApiPropertyOptional()\n zipCode?: string; // code_postal\n\n @ApiPropertyOptional()\n collectiveAgreement?: string; // convention_collective\n\n @ApiPropertyOptional()\n legalCategory?: string; // categorie_juridique\n\n @ApiPropertyOptional()\n active?: boolean; // entreprise_cessee\n\n @ApiPropertyOptional()\n minimumTurnover?: string; // chiffre_affaires_min\n\n @ApiPropertyOptional()\n maximumTurnover?: string; // chiffre_affaires_max\n\n @ApiPropertyOptional()\n publicationType?: PublicationTypePappers; // type_publication\n}"],"sourceRoot":"","file":"QueryPappers.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/pappers/ReadPappers.ts"],"names":[],"mappings":";;;;;;AA6CM,MAAO,mBAAP,CAA0B;;QAAnB,mB,GAAA,mB","sourcesContent":["export type ReadBusinessPartnerPappers = {\n firstname: string | null;\n lastname: string | null;\n birthdate: string | null;\n nationality: string | null;\n sharesHeldRate: number | null;\n isCorporation: boolean;\n};\n\nexport type ReadBusinessOwnerPappers = {\n grade: string | null;\n isCorporation: boolean;\n firstname: string | null;\n lastname: string | null;\n fullname: string | null;\n birthdate: string;\n nationality: string | null;\n birthPlace: string | null;\n countryBirth: string | null;\n address: string | null;\n address2: string | null;\n address3: string | null;\n zipCode: string | null;\n city: string | null;\n country: string | null;\n};\n\nexport type ReadStatusPappers = {\n date: string;\n available: boolean;\n name: string;\n token: string | null;\n type: string | null;\n};\n\nexport type ReadHeadOfficePappers = {\n addressNumber: number | null;\n suffix: string | null;\n street: string | null;\n address: string | null;\n address2: string | null;\n zipCode: string;\n city: string;\n};\n\nexport class ReadBusinessPappers {\n siren: string | null;\n name: string | null;\n firstname: string | null;\n lastname: string | null;\n civility: string | null;\n activity: string | null;\n isCorporation: boolean;\n nafCode: string | null;\n legalForm: string | null;\n minimumEmployees: number | null;\n maximumEmployees: number | null;\n active: boolean;\n headOffice: ReadHeadOfficePappers;\n capital: number | null;\n owners: ReadBusinessOwnerPappers[] | null;\n partners: ReadBusinessPartnerPappers[] | null;\n status: ReadStatusPappers | null;\n registration: string;\n}"],"sourceRoot":"","file":"ReadPappers.js"}
|