@silexpert/core 0.4.14 → 0.4.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/es/api/resources/Authenticate.d.ts +9 -0
- package/es/api/resources/Authenticate.d.ts.map +1 -0
- package/es/api/resources/Authenticate.js +7 -0
- package/es/api/resources/Authenticate.js.map +1 -0
- package/es/api/resources/Cerfa.d.ts +10 -0
- package/es/api/resources/Cerfa.d.ts.map +1 -0
- package/es/api/resources/Cerfa.js +12 -0
- package/es/api/resources/Cerfa.js.map +1 -0
- package/es/api/resources/LegalForm.d.ts +6 -0
- package/es/api/resources/LegalForm.d.ts.map +1 -0
- package/es/api/resources/LegalForm.js +7 -0
- package/es/api/resources/LegalForm.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 +7 -0
- package/es/api/resources/Society.js.map +1 -1
- package/es/api/resources.d.ts +6 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +6 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/DefaultPermissions.d.ts +13 -0
- package/es/types/Enum/DefaultPermissions.d.ts.map +1 -0
- package/es/types/Enum/DefaultPermissions.js +13 -0
- package/es/types/Enum/DefaultPermissions.js.map +1 -0
- package/es/types/Enum/LegalForm.d.ts +1 -0
- package/es/types/Enum/LegalForm.d.ts.map +1 -1
- package/es/types/Enum/LegalForm.js +1 -0
- package/es/types/Enum/LegalForm.js.map +1 -1
- package/es/types/Enum/Vehicle.d.ts +8 -0
- package/es/types/Enum/Vehicle.d.ts.map +1 -0
- package/es/types/Enum/Vehicle.js +9 -0
- package/es/types/Enum/Vehicle.js.map +1 -0
- package/es/types/Enum/VehicleType.d.ts +15 -0
- package/es/types/Enum/VehicleType.d.ts.map +1 -0
- package/es/types/Enum/VehicleType.js +15 -0
- package/es/types/Enum/VehicleType.js.map +1 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +292 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.js +113 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -0
- package/es/types/Interface/api/society/CreateSociety.d.ts +13 -0
- package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -0
- package/es/types/Interface/api/society/CreateSociety.js +41 -0
- package/es/types/Interface/api/society/CreateSociety.js.map +1 -0
- package/es/types/Interface/api/society/GetDataSociety.d.ts +5 -0
- package/es/types/Interface/api/society/GetDataSociety.d.ts.map +1 -0
- package/es/types/Interface/api/society/GetDataSociety.js +2 -0
- package/es/types/Interface/api/society/GetDataSociety.js.map +1 -0
- package/es/types/Interface/api/society/LegalFormSiren.d.ts +6 -0
- package/es/types/Interface/api/society/LegalFormSiren.d.ts.map +1 -0
- package/es/types/Interface/api/society/LegalFormSiren.js +2 -0
- package/es/types/Interface/api/society/LegalFormSiren.js.map +1 -0
- package/es/types/Interface/models/IApiError.d.ts +3 -1
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +3 -0
- package/es/types/Interface/models/IApiError.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 +8 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/objectUtils/overwrite.d.ts.map +1 -1
- package/es/utils/objectUtils/overwrite.js.map +1 -1
- package/js/api/resources/Authenticate.js +18 -0
- package/js/api/resources/Authenticate.js.map +1 -0
- package/js/api/resources/Cerfa.js +23 -0
- package/js/api/resources/Cerfa.js.map +1 -0
- package/js/api/resources/LegalForm.js +18 -0
- package/js/api/resources/LegalForm.js.map +1 -0
- package/js/api/resources/Society.js +11 -0
- package/js/api/resources/Society.js.map +1 -1
- package/js/api/resources.js +10 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/DefaultPermissions.js +18 -0
- package/js/types/Enum/DefaultPermissions.js.map +1 -0
- package/js/types/Enum/LegalForm.js +1 -0
- package/js/types/Enum/LegalForm.js.map +1 -1
- package/js/types/Enum/Vehicle.js +15 -0
- package/js/types/Enum/Vehicle.js.map +1 -0
- package/js/types/Enum/VehicleType.js +20 -0
- package/js/types/Enum/VehicleType.js.map +1 -0
- package/js/types/Interface/api/cerfa/CreateCerfa.js +75 -0
- package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -0
- package/js/types/Interface/api/society/CreateSociety.js +39 -0
- package/js/types/Interface/api/society/CreateSociety.js.map +1 -0
- package/js/types/Interface/api/society/{ReadSociety.js → GetDataSociety.js} +1 -1
- package/js/types/Interface/api/society/{ReadSociety.js.map → GetDataSociety.js.map} +1 -1
- package/js/types/Interface/api/society/LegalFormSiren.js +6 -0
- package/js/types/Interface/api/society/LegalFormSiren.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +5 -2
- 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 +15 -15
- package/ts/api/resources/Authenticate.ts +7 -0
- package/ts/api/resources/Cerfa.ts +13 -0
- package/ts/api/resources/LegalForm.ts +8 -0
- package/ts/api/resources/Society.ts +11 -0
- package/ts/api/resources.ts +6 -0
- package/ts/types/Enum/DefaultPermissions.ts +12 -0
- package/ts/types/Enum/LegalForm.ts +1 -0
- package/ts/types/Enum/Vehicle.ts +7 -0
- package/ts/types/Enum/VehicleType.ts +14 -0
- package/ts/types/Interface/api/cerfa/CreateCerfa.ts +350 -0
- package/ts/types/Interface/api/society/CreateSociety.ts +24 -0
- package/ts/types/Interface/api/society/GetDataSociety.ts +4 -0
- package/ts/types/Interface/api/society/LegalFormSiren.ts +5 -0
- package/ts/types/Interface/models/IApiError.ts +3 -0
- package/ts/types/index.ts +8 -0
- package/ts/utils/objectUtils/overwrite.ts +1 -1
- package/es/types/Interface/api/society/ReadSociety.d.ts +0 -5
- package/es/types/Interface/api/society/ReadSociety.d.ts.map +0 -1
- package/es/types/Interface/api/society/ReadSociety.js +0 -2
- package/es/types/Interface/api/society/ReadSociety.js.map +0 -1
- package/ts/types/Interface/api/society/ReadSociety.ts +0 -5
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Authenticate = undefined;
|
|
7
|
+
|
|
8
|
+
var _Resource = require("../Resource");
|
|
9
|
+
|
|
10
|
+
class Authenticate extends _Resource.Resource {
|
|
11
|
+
authentificateAfterCreation(params) {
|
|
12
|
+
return this.axios.$post('authenticate/authenticateAfterCreation', params);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
exports.Authenticate = Authenticate;
|
|
18
|
+
//# sourceMappingURL=Authenticate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAEM,MAAO,YAAP,SAA4B,kBAA5B,CAAoC;AACxC,EAAA,2BAA2B,CAAC,MAAD,EAAuB;AAChD,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,wCAAjB,EAA2D,MAA3D,CAAP;AACD;;AAHuC;;QAA7B,Y,GAAA,Y","sourcesContent":["import { Resource } from '../Resource';\n\nexport class Authenticate extends Resource {\n authentificateAfterCreation(params: { id: number }): Promise<{ token: string }> {\n return this.axios.$post('authenticate/authenticateAfterCreation', params);\n }\n}"],"sourceRoot":"","file":"Authenticate.js"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Cerfa = undefined;
|
|
7
|
+
|
|
8
|
+
var _Resource = require("../Resource");
|
|
9
|
+
|
|
10
|
+
class Cerfa extends _Resource.Resource {
|
|
11
|
+
get2035Pdf(params) {
|
|
12
|
+
return this.axios.$post(`/exercice/${params.idExercice}/cerfa/2035`, params.data, {
|
|
13
|
+
responseType: 'arraybuffer',
|
|
14
|
+
headers: {
|
|
15
|
+
Accept: 'application/pdf'
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
exports.Cerfa = Cerfa;
|
|
23
|
+
//# sourceMappingURL=Cerfa.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../ts/api/resources/Cerfa.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,KAAP,SAAqB,kBAArB,CAA6B;AACjC,EAAA,UAAU,CAAC,MAAD,EAAyD;AACjE,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,aAAa,MAAM,CAAC,UAAU,aAA/C,EAA8D,MAAM,CAAC,IAArE,EAA2E;AAChF,MAAA,YAAY,EAAE,aADkE;AAEhF,MAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE;AADD;AAFuE,KAA3E,CAAP;AAMD;;AARgC;;QAAtB,K,GAAA,K","sourcesContent":["import { Resource } from '../Resource';\nimport { ParamsGenerate2035 } from '../..';\n\nexport class Cerfa extends Resource {\n get2035Pdf(params: { idExercice: number, data: ParamsGenerate2035 }): Promise<Buffer> {\n return this.axios.$post(`/exercice/${params.idExercice}/cerfa/2035`, params.data, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}\n"],"sourceRoot":"","file":"Cerfa.js"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.LegalForm = undefined;
|
|
7
|
+
|
|
8
|
+
var _Resource = require("../Resource");
|
|
9
|
+
|
|
10
|
+
class LegalForm extends _Resource.Resource {
|
|
11
|
+
getAll() {
|
|
12
|
+
return this.axios.$get('/legalForm');
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
exports.LegalForm = LegalForm;
|
|
18
|
+
//# sourceMappingURL=LegalForm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../ts/api/resources/LegalForm.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGM,MAAO,SAAP,SAAyB,kBAAzB,CAAiC;AACrC,EAAA,MAAM,GAAA;AACJ,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,YAAhB,CAAP;AACD;;AAHoC;;QAA1B,S,GAAA,S","sourcesContent":["import { Resource } from '../Resource';\nimport { ILegalForm } from '../../types';\n\nexport class LegalForm extends Resource {\n getAll(): Promise<ILegalForm> {\n return this.axios.$get('/legalForm');\n }\n}"],"sourceRoot":"","file":"LegalForm.js"}
|
|
@@ -20,6 +20,17 @@ class Society extends _Resource.Resource {
|
|
|
20
20
|
return this.axios.$put('/society/invoiceEmail', data);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
createSociety(data) {
|
|
24
|
+
return this.axios.$post('/society/create', data);
|
|
25
|
+
} // this endpoint is used to fetch from extern api for legalForm
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
getDataSociety(params) {
|
|
29
|
+
return this.axios.$get('/society/dataSociety', {
|
|
30
|
+
params
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
23
34
|
}
|
|
24
35
|
|
|
25
36
|
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;;AAWM,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,GAdkC,CAenC;;;AACA,EAAA,cAAc,CAAC,MAAD,EAAuB;AACnC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,sBAAhB,EAAwC;AAAE,MAAA;AAAF,KAAxC,CAAP;AACD;;AAlBkC;;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} 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 // 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}\n"],"sourceRoot":"","file":"Society.js"}
|
package/js/api/resources.js
CHANGED
|
@@ -41,6 +41,12 @@ var _IncomeStatement = require("./resources/IncomeStatement");
|
|
|
41
41
|
|
|
42
42
|
var _BalanceSheet = require("./resources/BalanceSheet");
|
|
43
43
|
|
|
44
|
+
var _Cerfa = require("./resources/Cerfa");
|
|
45
|
+
|
|
46
|
+
var _LegalForm = require("./resources/LegalForm");
|
|
47
|
+
|
|
48
|
+
var _Authenticate = require("./resources/Authenticate");
|
|
49
|
+
|
|
44
50
|
const resources = exports.resources = {
|
|
45
51
|
simulation: _Simulation.Simulation,
|
|
46
52
|
country: _Country.Country,
|
|
@@ -59,6 +65,9 @@ const resources = exports.resources = {
|
|
|
59
65
|
generalLedger: _GeneralLedger.GeneralLedger,
|
|
60
66
|
fecFile: _FecFile.FecFile,
|
|
61
67
|
incomeStatement: _IncomeStatement.IncomeStatement,
|
|
62
|
-
balanceSheet: _BalanceSheet.BalanceSheet
|
|
68
|
+
balanceSheet: _BalanceSheet.BalanceSheet,
|
|
69
|
+
cerfa: _Cerfa.Cerfa,
|
|
70
|
+
legalForm: _LegalForm.LegalForm,
|
|
71
|
+
authenticate: _Authenticate.Authenticate
|
|
63
72
|
};
|
|
64
73
|
//# 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;;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;
|
|
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;AArBS,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';\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};\n"],"sourceRoot":"","file":"resources.js"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
const DefaultPermissions = exports.DefaultPermissions = {
|
|
7
|
+
gescom: true,
|
|
8
|
+
compta: true,
|
|
9
|
+
stats: true,
|
|
10
|
+
docTreso: true,
|
|
11
|
+
services: true,
|
|
12
|
+
social: false,
|
|
13
|
+
tva: false,
|
|
14
|
+
simulation: false,
|
|
15
|
+
simulationMultiple: false,
|
|
16
|
+
balanceSheet: false
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=DefaultPermissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/DefaultPermissions.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,kBAAkB,WAAlB,kBAAkB,GAAG;AAChC,EAAA,MAAM,EAAE,IADwB;AAEhC,EAAA,MAAM,EAAE,IAFwB;AAGhC,EAAA,KAAK,EAAE,IAHyB;AAIhC,EAAA,QAAQ,EAAE,IAJsB;AAKhC,EAAA,QAAQ,EAAE,IALsB;AAMhC,EAAA,MAAM,EAAE,KANwB;AAOhC,EAAA,GAAG,EAAE,KAP2B;AAQhC,EAAA,UAAU,EAAE,KARoB;AAShC,EAAA,kBAAkB,EAAE,KATY;AAUhC,EAAA,YAAY,EAAE;AAVkB,CAA3B","sourcesContent":["export const DefaultPermissions = {\n gescom: true,\n compta: true,\n stats: true,\n docTreso: true,\n services: true,\n social: false,\n tva: false,\n simulation: false,\n simulationMultiple: false,\n balanceSheet: false,\n};"],"sourceRoot":"","file":"DefaultPermissions.js"}
|
|
@@ -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;AANV,GADmB;AASvB,EAAA,IAAI,EAAE;AACJ,IAAA,EAAE,EAAE,CADA;AAEJ,IAAA,
|
|
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,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AAE,KAJL;AAKJ,IAAA,OAAO,EAAE,KALL;AAMJ,IAAA,UAAU,EAAE;AANR,GAzIiB;AAiJvB,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;AANT,GAjJkB;AAyJvB,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;AANE;AAzJO,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 },\n EIRL: {\n id: 2,\n name: 'EIRL',\n alias: 'eirl',\n diaCode: 11,\n hideVat: false,\n individual: true,\n },\n EURL: {\n id: 3,\n name: 'EURL',\n alias: 'eurl',\n diaCode: 12212,\n hideVat: false,\n individual: false,\n },\n SARL: {\n id: 4,\n name: 'SARL',\n alias: 'sarl',\n diaCode: 12211,\n hideVat: false,\n individual: false,\n },\n SASU: {\n id: 5,\n name: 'SASU',\n alias: 'sasu',\n diaCode: 12223,\n hideVat: false,\n individual: false,\n },\n SAS: {\n id: 6,\n name: 'SAS',\n alias: 'sas',\n diaCode: 12223,\n hideVat: false,\n individual: false,\n },\n SCI: {\n id: 7,\n name: 'SCI',\n alias: 'sci',\n diaCode: 12131,\n hideVat: false,\n individual: false,\n },\n GIE: {\n id: 8,\n name: 'GIE',\n alias: 'gie',\n diaCode: 13,\n hideVat: false,\n individual: false,\n },\n SELARL: {\n id: 9,\n name: 'SELARL',\n alias: 'selarl',\n diaCode: 12213,\n hideVat: false,\n individual: false,\n },\n ASSOCIATION: {\n id: 10,\n name: 'Association',\n alias: 'association',\n diaCode: 2,\n hideVat: true,\n individual: false,\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 },\n SA: {\n id: 12,\n name: 'SA',\n alias: 'sa',\n diaCode: 12221,\n hideVat: false,\n individual: false,\n },\n SNC: {\n id: 13,\n name: 'SNC',\n alias: 'snc',\n diaCode: 1212,\n hideVat: false,\n individual: false,\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 },\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 },\n SCP: {\n id: 19,\n name: 'SCP',\n alias: 'scp',\n diaCode: null,\n hideVat: false,\n individual: false,\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 },\n};"],"sourceRoot":"","file":"LegalForm.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var VehicleCerfaFuel = exports.VehicleCerfaFuel = undefined;
|
|
7
|
+
|
|
8
|
+
(function (VehicleCerfaFuel) {
|
|
9
|
+
VehicleCerfaFuel["ESSENCE"] = "super";
|
|
10
|
+
VehicleCerfaFuel["DIESEL"] = "diesel";
|
|
11
|
+
VehicleCerfaFuel["ESSENCE_95_98"] = "super sans plomb";
|
|
12
|
+
VehicleCerfaFuel["GAS"] = "GPL";
|
|
13
|
+
VehicleCerfaFuel["ELECTRIC"] = "\u00E9lectrique";
|
|
14
|
+
})(VehicleCerfaFuel || (exports.VehicleCerfaFuel = VehicleCerfaFuel = {}));
|
|
15
|
+
//# sourceMappingURL=Vehicle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/Vehicle.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,gBAMX,WANW,gBAMX,YAND;;AAAA,CAAA,UAAY,gBAAZ,EAA4B;AAC1B,EAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,OAAA;AACA,EAAA,gBAAA,CAAA,QAAA,CAAA,GAAA,QAAA;AACA,EAAA,gBAAA,CAAA,eAAA,CAAA,GAAA,kBAAA;AACA,EAAA,gBAAA,CAAA,KAAA,CAAA,GAAA,KAAA;AACA,EAAA,gBAAA,CAAA,UAAA,CAAA,GAAA,iBAAA;AACD,CAND,EAAY,gBAAgB,aAAhB,gBAAgB,GAAhB,gBAAgB,GAAA,EAAA,CAA5B","sourcesContent":["export enum VehicleCerfaFuel {\n ESSENCE = 'super',\n DIESEL = 'diesel',\n ESSENCE_95_98 = 'super sans plomb',\n GAS = 'GPL',\n ELECTRIC = 'électrique',\n}"],"sourceRoot":"","file":"Vehicle.js"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
const VehicleType = exports.VehicleType = {
|
|
7
|
+
TOURISM_VEHICLE: {
|
|
8
|
+
id: 1,
|
|
9
|
+
value: 'T'
|
|
10
|
+
},
|
|
11
|
+
MOTORBIKE: {
|
|
12
|
+
id: 2,
|
|
13
|
+
value: 'M'
|
|
14
|
+
},
|
|
15
|
+
MOPED: {
|
|
16
|
+
id: 3,
|
|
17
|
+
value: 'V'
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=VehicleType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../ts/types/Enum/VehicleType.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,WAAW,WAAX,WAAW,GAAG;AACzB,EAAA,eAAe,EAAE;AACf,IAAA,EAAE,EAAE,CADW;AAEf,IAAA,KAAK,EAAE;AAFQ,GADQ;AAKzB,EAAA,SAAS,EAAE;AACT,IAAA,EAAE,EAAE,CADK;AAET,IAAA,KAAK,EAAE;AAFE,GALc;AASzB,EAAA,KAAK,EAAE;AACL,IAAA,EAAE,EAAE,CADC;AAEL,IAAA,KAAK,EAAE;AAFF;AATkB,CAApB","sourcesContent":["export const VehicleType = {\n TOURISM_VEHICLE: {\n id: 1,\n value: 'T',\n },\n MOTORBIKE: {\n id: 2,\n value: 'M',\n },\n MOPED: {\n id: 3,\n value: 'V',\n },\n};"],"sourceRoot":"","file":"VehicleType.js"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ParamsGenerate2035 = 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
|
+
class ParamsGenerate2035 {}
|
|
23
|
+
|
|
24
|
+
exports.ParamsGenerate2035 = ParamsGenerate2035;
|
|
25
|
+
|
|
26
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Boolean)], ParamsGenerate2035.prototype, "isTest", void 0);
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Boolean)], ParamsGenerate2035.prototype, "isNil", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "disbursements", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "supplement", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "activityCode", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "valueAddedTax", void 0);
|
|
37
|
+
|
|
38
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "equipmentRentalCollaborationFees", void 0);
|
|
39
|
+
|
|
40
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "lumpSumAssessment", void 0);
|
|
41
|
+
|
|
42
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "personalSocialChargesObligatory", void 0);
|
|
43
|
+
|
|
44
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "contributionsMadelin", void 0);
|
|
45
|
+
|
|
46
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "retirementSavingsPlans", void 0);
|
|
47
|
+
|
|
48
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "miscellaneousToBeReinstated", void 0);
|
|
49
|
+
|
|
50
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "civilSocietyBenefit", void 0);
|
|
51
|
+
|
|
52
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "administrationFees", void 0);
|
|
53
|
+
|
|
54
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "mtbdFreeZoneAmount", void 0);
|
|
55
|
+
|
|
56
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "mtbdNewBusinessAmount", void 0);
|
|
57
|
+
|
|
58
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "mtbdInnovativeCompaniesAmount", void 0);
|
|
59
|
+
|
|
60
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "mtbdInnovativeCompaniesYoungArtists", void 0);
|
|
61
|
+
|
|
62
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "mtbdDoctorsExemptionAmount", void 0);
|
|
63
|
+
|
|
64
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "mtbdDoctorsExemptionSectorApprovedDoctors", void 0);
|
|
65
|
+
|
|
66
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "grossReceipts", void 0);
|
|
67
|
+
|
|
68
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "relatedToPurchasesAmount", void 0);
|
|
69
|
+
|
|
70
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "retrocededFees", void 0);
|
|
71
|
+
|
|
72
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "territorialContribution", void 0);
|
|
73
|
+
|
|
74
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], ParamsGenerate2035.prototype, "miscellaneousToBeDeductedTotal", void 0);
|
|
75
|
+
//# sourceMappingURL=CreateCerfa.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/cerfa/CreateCerfa.ts"],"names":[],"mappings":";;;;;;;AACA;;;;;;;;;;;;;;AAiRM,MAAO,kBAAP,CAAyB;;QAAlB,kB,GAAA,kB;;AAEX,UAAA,CAAA,CADC,yBACD,E,kCAAA,CAAA,E,4BAAA,E,QAAA,E,KAAiB,CAAjB,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,kCAAA,CAAA,E,4BAAA,E,OAAA,E,KAAe,CAAf,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,4BAAA,E,eAAA,E,KAA8B,CAA9B,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,4BAAA,E,YAAA,E,KAA2B,CAA3B,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,4BAAA,E,cAAA,E,KAA6B,CAA7B,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CA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BAAA,E,2CAAA,E,KAA0D,CAA1D,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,4BAAA,E,eAAA,E,KAA8B,CAA9B,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,4BAAA,E,0BAAA,E,KAAyC,CAAzC,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,4BAAA,E,gBAAA,E,KAA+B,CAA/B,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,4BAAA,E,yBAAA,E,KAAwC,CAAxC,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,4BAAA,E,gCAAA,E,KAA+C,CAA/C,CAAA","sourcesContent":["import { VehicleCerfaFuel } from '../../../Enum/Vehicle';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport interface DeterminedResult {\n incomeExpenditure: boolean; // d'après les règles « recettes-dépenses »\n debts: boolean; // d'après les règles « créances-dettes »\n}\n\nexport type AccountingKept = 'dutyFree' | 'taxIncluded' | 'notSubjectToVat';\nexport type CerfaCivility = 'M' | 'Mme' | 'Mlle';\n\nexport interface AccreditedOrganization {\n isMember: boolean;\n memberSince: Date;\n numberOfEmployees: string;\n netWagesReceived: number; // Salaires nets perçus\n}\n\ninterface Vehicle {\n name: string;\n type: string;\n fiscalPower: number;\n isBNCScale: boolean;\n isBICScale: boolean;\n fuel: VehicleCerfaFuel;\n professionalKilometers: number;\n deductible: number;\n depreciationPracticedAtReintegrate: number;\n}\n\nexport interface MoralShareholder {\n legalForm: string;\n name: string;\n siren?: string;\n percentShares: number;\n shares: number;\n address: {\n number: number | undefined;\n street: string;\n zipCode: string;\n city: string;\n country: string;\n };\n}\n\nexport interface PhysicShareholder {\n civility: CerfaCivility;\n firstname: string;\n lastname: string;\n percentShares: number;\n marriedName: string | null | undefined;\n shares: number | null;\n birth: {\n date: string;\n department: string | undefined;\n city: string;\n country: string;\n }\n address: {\n street: string | undefined;\n zipCode: string | undefined;\n city: string | undefined;\n country: string | undefined;\n number: string | undefined;\n }\n}\n\nexport interface Subsidiarie {\n legalForm: string;\n name: string;\n siren?: string;\n percentShares: number;\n address: {\n number: number;\n street: string;\n zipCode: string;\n city: string;\n country: string;\n };\n}\n\n/**\n * CERFA 2035 TYPES\n */\n\nexport interface Cerfa2035Society {\n name: string;\n activity: string | null;\n siret: string;\n activityCode?: string; // Code activité pour les praticiens médicaux\n ifExerciceInSociety?: boolean; // Si exercice en société\n partnersCount?: number;\n determinedResult?: DeterminedResult; // Résultat déterminé\n accountingKept: AccountingKept; // Comptabilité tenue\n accreditedOrganization?: AccreditedOrganization // Si vous êtes adhérent d'un organisme agréé (association ou organisme mixte) ou client d'un viseur fiscal\n address: string;\n zipCode: string;\n city: string;\n}\n\nexport interface Cerfa2035ProfessionalRecipes {\n collected: number;\n toDeduce: {\n disbursements: number;\n retrocededFees: {\n total: number;\n supplement: number;\n }\n };\n net: number;\n financialProducts: number;\n miscellaneousGain: number;\n total: number;\n}\n\nexport interface Cerfa2035ProfessionalExpenses {\n purchases: number;\n personnelCosts: {\n netSalariesAndBenefitsInKind: number;\n socialChargesOnSalaries: number;\n }\n duesAndTaxes: {\n valueAddedTax: number;\n territorialEconomicContribution: number;\n otherTaxes: number;\n generalDeductibleSocialContribution: number;\n };\n rentAndRentalCharges: number;\n equipmentRental: {\n total: number;\n collaborationFees: number;\n };\n maintenance: number;\n temporaryStaff: number;\n smallTools: number;\n heatingWaterGasElectricity: number;\n feesNotRetrocessions: number;\n insurancePremiums: number;\n vehicleCosts: {\n total: number;\n lumpSumAssessment: boolean;\n };\n otherTravelExpenses: number;\n totalWorkSupplies: number;\n totalTransport: number;\n personalSocialCharges: {\n obligatory: number;\n contributionsMadelin: number;\n retirementSavingsPlans: number;\n total: number;\n };\n receptionFees: number;\n officeSupplies: number;\n legalCosts: number;\n unionDues: number;\n otherManagementFees: number;\n totalDues: number;\n financialExpenses: number;\n miscellaneousLosses: number;\n total: number;\n}\n\nexport interface Cerfa2035Determination {\n surplus: number;\n shortTermCapitalGains: number;\n miscellaneousToBeReinstated: number;\n civilSocietyBenefit: number;\n totalSurplus: number;\n insufficiency: number;\n administrationFees: number;\n depreciationAllowance: number;\n shortTermLoss: number;\n miscellaneousToBeDeducted: {\n freeZone: {\n amount: number;\n };\n newBusiness: {\n onSavingsSalary: number;\n amount: number;\n };\n innovativeCompanies: {\n amount: number;\n youngArtists: number;\n }\n doctorsExemption: {\n amount: number;\n sectorApprovedDoctors: number;\n };\n total: number;\n }\n civilSocietyDeficit: number;\n totalInsufficiency: number;\n profit: number;\n deficit: number;\n}\n\nexport interface Cerfa2035ValueAddedTax {\n grossReceipts: number;\n relatedToPurchases: {\n amount: number;\n retrocededFees: number;\n };\n}\n\nexport interface Cerfa2035KilometricAllowance {\n vehicles: Vehicle[];\n costsNotCoveredByKilometricAllowances: number;\n totalDeductible: number;\n totalDepreciationPracticedAtReintegrate: number;\n}\n\nexport interface Cerfa2035Recipes {\n fees: number;\n miscellaneousGains: number;\n deductibleVat: number;\n capitalGains: number;\n total: number;\n}\n\nexport interface Cerfa2035Expenses {\n purchases: number;\n stockVariation: number;\n externalServices: number;\n rentsAndRoyalties: number;\n transport: number;\n management: number;\n vatInRecipes: number;\n turnoverTax: number;\n amortization: number;\n capitalLosses: number;\n total: number;\n}\n\nexport interface Cerfa2035MonoEstablishment {\n is: boolean; // Est mono établissement\n benchmarkTurnover: number;\n groupTurnover: number;\n workforce: number;\n period: { startDate: Date, endDate: Date };\n cessationDate: Date;\n}\n\nexport interface Cerfa2035ShareCapital {\n moralAssociates: number;\n moralAssociatesShares: number;\n physicAssociates: number;\n physicAssociatesShares: number;\n moralShareholder: MoralShareholder[];\n physicShareholder: PhysicShareholder[];\n idDeposit?: number;\n}\n\nexport interface Cerfa2035 {\n isNil: boolean;\n society: Cerfa2035Society;\n immobilizations: number;\n professionalRecipes: Cerfa2035ProfessionalRecipes;\n professionalExpenses: Cerfa2035ProfessionalExpenses;\n determination: Cerfa2035Determination;\n valueAddedTax: Cerfa2035ValueAddedTax;\n territorialContribution: number;\n kilometricAllowances: Cerfa2035KilometricAllowance;\n period: { startDate: Date, endDate: Date, months: string };\n shareCapital: Cerfa2035ShareCapital;\n subsidiaries: { total: number, list: Subsidiarie[] };\n annex?: {\n recipes: Cerfa2035Recipes;\n expenses: Cerfa2035Expenses;\n addedValue: number;\n addedValueContribution: number;\n monoEstablishment: Cerfa2035MonoEstablishment | null;\n }\n}\n\nexport class ParamsGenerate2035 {\n @ApiProperty()\n isTest?: boolean; // Modifie le chemin du PDF\n\n @ApiProperty()\n isNil: boolean; // Néant\n\n @ApiPropertyOptional()\n disbursements?: number | null; // Débours payés pour le compte des clients\n\n @ApiPropertyOptional()\n supplement?: number | null; // Honoraires rétrocédés (dont suppléments rétrocédés)\n\n @ApiPropertyOptional()\n activityCode?: string | null; // Code activité pour les praticiens médicaux\n\n @ApiPropertyOptional()\n valueAddedTax?: number | null; // Impôts et taxes : Taxe sur la valeur ajoutée\n\n @ApiPropertyOptional()\n equipmentRentalCollaborationFees?: number | null; // Location de matériel et de mobilier – dont redevances de collaboration\n\n @ApiPropertyOptional()\n lumpSumAssessment?: boolean | null; // Frais de véhicules - (cocher la case si évaluation forfaitaire)\n\n @ApiPropertyOptional()\n personalSocialChargesObligatory?: number | null; // Charges sociales personnelles - dont obligatoires\n\n @ApiPropertyOptional()\n contributionsMadelin?: number | null; // Charges sociales personnelles - dont cotisations facultatives Madelin\n\n @ApiPropertyOptional()\n retirementSavingsPlans?: number | null; // Dont facultatives aux nouveaux plans d’épargne retraite\n\n @ApiPropertyOptional()\n miscellaneousToBeReinstated?: number | null; // Divers à réintégrer\n\n @ApiPropertyOptional()\n civilSocietyBenefit?: number | null; // Bénéfice Société civile de moyen\n\n @ApiPropertyOptional()\n administrationFees?: number | null; // Frais d'établissement\n\n @ApiPropertyOptional()\n mtbdFreeZoneAmount?: number | null; // dont exonération sur le bénéfice « zone franche urbaine territoire entrepreneur »\n\n @ApiPropertyOptional()\n mtbdNewBusinessAmount?: number | null; // dont exonération sur le bénéfice « entreprise nouvelle »\n\n @ApiPropertyOptional()\n mtbdInnovativeCompaniesAmount?: number | null; // dont exonération « jeunes entreprises innovantes »\n\n @ApiPropertyOptional()\n mtbdInnovativeCompaniesYoungArtists?: number | null; // dont exonération sur le bénéfice « jeunes artistes »\n\n @ApiPropertyOptional()\n mtbdDoctorsExemptionAmount?: number | null; // dont exonération médecins « zones déficitaires en offre de soins »\n\n @ApiPropertyOptional()\n mtbdDoctorsExemptionSectorApprovedDoctors?: number | null; // dont déductions « médecins conventionnés de secteur I »\n\n @ApiPropertyOptional()\n grossReceipts?: number | null; // Montant de la TVA afférente aux recettes brutes\n\n @ApiPropertyOptional()\n relatedToPurchasesAmount?: number | null; // Montant de la TVA afférente aux achats (biens et services autres qu'immobilisations) :\n\n @ApiPropertyOptional()\n retrocededFees?: number | null; // dont montant de la TVA afférente aux honoraires rétrocédés\n\n @ApiPropertyOptional()\n territorialContribution?: number | null; // Recettes provenant d'activités exonérées à titre permanent\n\n @ApiPropertyOptional()\n miscellaneousToBeDeductedTotal?: number | null; // Divers à déduire (CL)\n}"],"sourceRoot":"","file":"CreateCerfa.js"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateSociety = 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
|
+
class CreateSociety {}
|
|
23
|
+
|
|
24
|
+
exports.CreateSociety = CreateSociety;
|
|
25
|
+
|
|
26
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateSociety.prototype, "idUser", void 0);
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateSociety.prototype, "idTypeCompta", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], CreateSociety.prototype, "name", void 0);
|
|
31
|
+
|
|
32
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateSociety.prototype, "idActivity", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateSociety.prototype, "idTvaRegime", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateSociety.prototype, "idLegalForm", void 0);
|
|
37
|
+
|
|
38
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateSociety.prototype, "exercicePeriod", void 0);
|
|
39
|
+
//# sourceMappingURL=CreateSociety.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAO,aAAP,CAAoB;;QAAb,a,GAAA,a;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,uBAAA,E,QAAA,E,KAAe,CAAf,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,uBAAA,E,cAAA,E,KAAqB,CAArB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,MAAA,E,KAAc,CAAd,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,YAAA,E,KAAoB,CAApB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,aAAA,E,KAAqB,CAArB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,aAAA,E,KAAqB,CAArB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,gBAAA,E,KAAgD,CAAhD,CAAA","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateSociety {\n @ApiProperty()\n idUser: number;\n\n @ApiProperty()\n idTypeCompta: number;\n\n @ApiPropertyOptional()\n name?: string;\n\n @ApiPropertyOptional()\n idActivity?: number;\n\n @ApiPropertyOptional()\n idTvaRegime?: number;\n\n @ApiPropertyOptional()\n idLegalForm?: number;\n\n @ApiPropertyOptional()\n exercicePeriod?: { start: string, end: string };\n}"],"sourceRoot":"","file":"CreateSociety.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"GetDataSociety.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"LegalFormSiren.js"}
|
|
@@ -45,7 +45,8 @@ var Code = exports.Code = undefined;
|
|
|
45
45
|
Code["amountImmobilizationLessThanAmountAllTaxIncluded"] = "amount_immobilization_less_than_amount_all_tax_included";
|
|
46
46
|
Code["amountImmobilizationIsGreaterThanTotalAmountTransactions"] = "amount_immobilization_is_greater_than_total_amount_transactions"; // PDF error
|
|
47
47
|
|
|
48
|
-
Code["mergeFailed"] = "merge_failed";
|
|
48
|
+
Code["mergeFailed"] = "merge_failed";
|
|
49
|
+
Code["generationError"] = "generation_error"; // Email error
|
|
49
50
|
|
|
50
51
|
Code["emailAlreadyExist"] = "email_already_exist";
|
|
51
52
|
Code["societyCustomEmailAlreadyExist"] = "society_custom_email_already_exist";
|
|
@@ -65,6 +66,8 @@ var Code = exports.Code = undefined;
|
|
|
65
66
|
Code["userDoesNotExists"] = "user-does-not-exist";
|
|
66
67
|
Code["expiredSmsCode"] = "expired-sms-code";
|
|
67
68
|
Code["userNotInFmaProcess"] = "user-not-in-maf-process";
|
|
68
|
-
Code["wrongSmsCode"] = "wrong-sms-code";
|
|
69
|
+
Code["wrongSmsCode"] = "wrong-sms-code"; // Cerfa
|
|
70
|
+
|
|
71
|
+
Code["civilityNotFound"] = "civility_not_found";
|
|
69
72
|
})(Code || (exports.Code = Code = {}));
|
|
70
73
|
//# sourceMappingURL=IApiError.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,SAIX,WAJW,SAIX,YAJD;;AAAA,CAAA,UAAY,SAAZ,EAAqB;AACnB,EAAA,SAAA,CAAA,UAAA,CAAA,GAAA,WAAA;AACA,EAAA,SAAA,CAAA,WAAA,CAAA,GAAA,sBAAA;AACA,EAAA,SAAA,CAAA,eAAA,CAAA,GAAA,WAAA;AACD,CAJD,EAAY,SAAS,aAAT,SAAS,GAAT,SAAS,GAAA,EAAA,CAArB;;AAMA,IAAY,
|
|
1
|
+
{"version":3,"sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":";;;;;A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CAAA,mBAAA,CAAA,GAAA,qBAAA;AACA,EAAA,IAAA,CAAA,gBAAA,CAAA,GAAA,kBAAA;AACA,EAAA,IAAA,CAAA,qBAAA,CAAA,GAAA,yBAAA;AACA,EAAA,IAAA,CAAA,cAAA,CAAA,GAAA,gBAAA,CA7Dc,CA+Dd;;AACA,EAAA,IAAA,CAAA,kBAAA,CAAA,GAAA,oBAAA;AACD,CAjED,EAAY,IAAI,aAAJ,IAAI,GAAJ,IAAI,GAAA,EAAA,CAAhB","sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"],"sourceRoot":"","file":"IApiError.js"}
|
package/js/types/index.js
CHANGED
|
@@ -3616,6 +3616,30 @@ Object.keys(_IncomeStatement).forEach(function (key) {
|
|
|
3616
3616
|
});
|
|
3617
3617
|
});
|
|
3618
3618
|
|
|
3619
|
+
var _Vehicle = require("./Enum/Vehicle");
|
|
3620
|
+
|
|
3621
|
+
Object.keys(_Vehicle).forEach(function (key) {
|
|
3622
|
+
if (key === "default" || key === "__esModule") return;
|
|
3623
|
+
Object.defineProperty(exports, key, {
|
|
3624
|
+
enumerable: true,
|
|
3625
|
+
get: function () {
|
|
3626
|
+
return _Vehicle[key];
|
|
3627
|
+
}
|
|
3628
|
+
});
|
|
3629
|
+
});
|
|
3630
|
+
|
|
3631
|
+
var _VehicleType = require("./Enum/VehicleType");
|
|
3632
|
+
|
|
3633
|
+
Object.keys(_VehicleType).forEach(function (key) {
|
|
3634
|
+
if (key === "default" || key === "__esModule") return;
|
|
3635
|
+
Object.defineProperty(exports, key, {
|
|
3636
|
+
enumerable: true,
|
|
3637
|
+
get: function () {
|
|
3638
|
+
return _VehicleType[key];
|
|
3639
|
+
}
|
|
3640
|
+
});
|
|
3641
|
+
});
|
|
3642
|
+
|
|
3619
3643
|
var _BalanceSheet = require("./Enum/BalanceSheet");
|
|
3620
3644
|
|
|
3621
3645
|
Object.keys(_BalanceSheet).forEach(function (key) {
|
|
@@ -3628,6 +3652,18 @@ Object.keys(_BalanceSheet).forEach(function (key) {
|
|
|
3628
3652
|
});
|
|
3629
3653
|
});
|
|
3630
3654
|
|
|
3655
|
+
var _DefaultPermissions = require("./Enum/DefaultPermissions");
|
|
3656
|
+
|
|
3657
|
+
Object.keys(_DefaultPermissions).forEach(function (key) {
|
|
3658
|
+
if (key === "default" || key === "__esModule") return;
|
|
3659
|
+
Object.defineProperty(exports, key, {
|
|
3660
|
+
enumerable: true,
|
|
3661
|
+
get: function () {
|
|
3662
|
+
return _DefaultPermissions[key];
|
|
3663
|
+
}
|
|
3664
|
+
});
|
|
3665
|
+
});
|
|
3666
|
+
|
|
3631
3667
|
var _ReadBusinessPartner = require("./Interface/api/businessPartner/ReadBusinessPartner");
|
|
3632
3668
|
|
|
3633
3669
|
Object.keys(_ReadBusinessPartner).forEach(function (key) {
|
|
@@ -3856,6 +3892,54 @@ Object.keys(_TFile).forEach(function (key) {
|
|
|
3856
3892
|
});
|
|
3857
3893
|
});
|
|
3858
3894
|
|
|
3895
|
+
var _CreateCerfa = require("./Interface/api/cerfa/CreateCerfa");
|
|
3896
|
+
|
|
3897
|
+
Object.keys(_CreateCerfa).forEach(function (key) {
|
|
3898
|
+
if (key === "default" || key === "__esModule") return;
|
|
3899
|
+
Object.defineProperty(exports, key, {
|
|
3900
|
+
enumerable: true,
|
|
3901
|
+
get: function () {
|
|
3902
|
+
return _CreateCerfa[key];
|
|
3903
|
+
}
|
|
3904
|
+
});
|
|
3905
|
+
});
|
|
3906
|
+
|
|
3907
|
+
var _LegalFormSiren = require("./Interface/api/society/LegalFormSiren");
|
|
3908
|
+
|
|
3909
|
+
Object.keys(_LegalFormSiren).forEach(function (key) {
|
|
3910
|
+
if (key === "default" || key === "__esModule") return;
|
|
3911
|
+
Object.defineProperty(exports, key, {
|
|
3912
|
+
enumerable: true,
|
|
3913
|
+
get: function () {
|
|
3914
|
+
return _LegalFormSiren[key];
|
|
3915
|
+
}
|
|
3916
|
+
});
|
|
3917
|
+
});
|
|
3918
|
+
|
|
3919
|
+
var _GetDataSociety = require("./Interface/api/society/GetDataSociety");
|
|
3920
|
+
|
|
3921
|
+
Object.keys(_GetDataSociety).forEach(function (key) {
|
|
3922
|
+
if (key === "default" || key === "__esModule") return;
|
|
3923
|
+
Object.defineProperty(exports, key, {
|
|
3924
|
+
enumerable: true,
|
|
3925
|
+
get: function () {
|
|
3926
|
+
return _GetDataSociety[key];
|
|
3927
|
+
}
|
|
3928
|
+
});
|
|
3929
|
+
});
|
|
3930
|
+
|
|
3931
|
+
var _CreateSociety = require("./Interface/api/society/CreateSociety");
|
|
3932
|
+
|
|
3933
|
+
Object.keys(_CreateSociety).forEach(function (key) {
|
|
3934
|
+
if (key === "default" || key === "__esModule") return;
|
|
3935
|
+
Object.defineProperty(exports, key, {
|
|
3936
|
+
enumerable: true,
|
|
3937
|
+
get: function () {
|
|
3938
|
+
return _CreateSociety[key];
|
|
3939
|
+
}
|
|
3940
|
+
});
|
|
3941
|
+
});
|
|
3942
|
+
|
|
3859
3943
|
var _ReadSurvey = require("./Interface/api/survey/ReadSurvey");
|
|
3860
3944
|
|
|
3861
3945
|
Object.keys(_ReadSurvey).forEach(function (key) {
|