@silexpert/core 0.4.35 → 0.4.37
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/BalanceSheetModule.d.ts +10 -0
- package/es/api/resources/BalanceSheetModule.d.ts.map +1 -0
- package/es/api/resources/BalanceSheetModule.js +16 -0
- package/es/api/resources/BalanceSheetModule.js.map +1 -0
- package/es/api/resources/Loan.d.ts +2 -2
- package/es/api/resources/Loan.d.ts.map +1 -1
- package/es/api/resources/Loan.js +4 -4
- package/es/api/resources/Loan.js.map +1 -1
- package/es/api/resources/User.d.ts +3 -1
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +6 -0
- package/es/api/resources/User.js.map +1 -1
- package/es/types/Enum/{TypeConnector.d.ts → ConnectorType.d.ts} +2 -2
- package/es/types/Enum/{TypeConnector.d.ts.map → ConnectorType.d.ts.map} +1 -1
- package/es/types/Enum/ConnectorType.js +15 -0
- package/es/types/Enum/{TypeConnector.js.map → ConnectorType.js.map} +1 -1
- package/es/types/Form/FormConnector.d.ts +3 -3
- package/es/types/Form/FormConnector.d.ts.map +1 -1
- package/es/types/Form/FormConnector.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +8 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +33 -0
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.d.ts +4 -0
- package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js +17 -0
- package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +8 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +33 -0
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -0
- package/es/types/Interface/api/loan/UpdateLoan.js +8 -8
- package/es/types/Interface/api/loan/UpdateLoan.js.map +1 -1
- package/es/types/Interface/api/pdf/BillingDocumentData.d.ts +44 -0
- package/es/types/Interface/api/pdf/BillingDocumentData.d.ts.map +1 -0
- package/es/types/Interface/api/pdf/BillingDocumentData.js +2 -0
- package/es/types/Interface/api/pdf/BillingDocumentData.js.map +1 -0
- package/es/types/Interface/api/user/CreateUserToSocietyWithPermission.d.ts +10 -0
- package/es/types/Interface/api/user/CreateUserToSocietyWithPermission.d.ts.map +1 -0
- package/es/types/Interface/api/user/CreateUserToSocietyWithPermission.js +41 -0
- package/es/types/Interface/api/user/CreateUserToSocietyWithPermission.js.map +1 -0
- package/es/types/Interface/api/user/Permissions.d.ts +13 -0
- package/es/types/Interface/api/user/Permissions.d.ts.map +1 -0
- package/es/types/Interface/api/user/Permissions.js +2 -0
- package/es/types/Interface/api/user/Permissions.js.map +1 -0
- package/es/types/Interface/api/user/UpdateUserToSocietyWithPermission.d.ts +10 -0
- package/es/types/Interface/api/user/UpdateUserToSocietyWithPermission.d.ts.map +1 -0
- package/es/types/Interface/api/user/UpdateUserToSocietyWithPermission.js +37 -0
- package/es/types/Interface/api/user/UpdateUserToSocietyWithPermission.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/IEstimateInvoice.d.ts +13 -13
- package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
- package/es/types/Interface/models/IItemEstimate.d.ts +4 -4
- package/es/types/Interface/models/IItemEstimate.d.ts.map +1 -1
- package/es/types/Interface/models/IItemEstimate.js.map +1 -1
- package/es/types/Interface/models/IPermission.d.ts +2 -0
- package/es/types/Interface/models/IPermission.d.ts.map +1 -1
- package/es/types/Interface/models/IPermission.js.map +1 -1
- package/es/types/Interface/models/IProduct.d.ts +5 -5
- package/es/types/Interface/models/IProduct.d.ts.map +1 -1
- package/es/types/Interface/models/IProduct.js.map +1 -1
- package/es/types/index.d.ts +9 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +9 -1
- package/es/types/index.js.map +1 -1
- package/js/api/resources/BalanceSheetModule.js +30 -0
- package/js/api/resources/BalanceSheetModule.js.map +1 -0
- package/js/api/resources/Loan.js +4 -4
- package/js/api/resources/Loan.js.map +1 -1
- package/js/api/resources/User.js +8 -0
- package/js/api/resources/User.js.map +1 -1
- package/js/types/Enum/ConnectorType.js +21 -0
- package/js/types/Enum/{TypeConnector.js.map → ConnectorType.js.map} +1 -1
- package/js/types/Form/FormConnector.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +35 -0
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -0
- package/js/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js +27 -0
- package/js/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js.map +1 -0
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +35 -0
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -0
- package/js/types/Interface/api/loan/UpdateLoan.js +7 -7
- package/js/types/Interface/api/loan/UpdateLoan.js.map +1 -1
- package/js/types/Interface/api/pdf/BillingDocumentData.js +6 -0
- package/js/types/Interface/api/pdf/BillingDocumentData.js.map +1 -0
- package/js/types/Interface/api/user/CreateUserToSocietyWithPermission.js +39 -0
- package/js/types/Interface/api/user/CreateUserToSocietyWithPermission.js.map +1 -0
- package/js/types/Interface/api/user/Permissions.js +6 -0
- package/js/types/Interface/api/user/Permissions.js.map +1 -0
- package/js/types/Interface/api/user/UpdateUserToSocietyWithPermission.js +37 -0
- package/js/types/Interface/api/user/UpdateUserToSocietyWithPermission.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +1 -0
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +99 -3
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BalanceSheetModule.ts +21 -0
- package/ts/api/resources/Loan.ts +4 -4
- package/ts/api/resources/User.ts +7 -1
- package/ts/types/Enum/{TypeConnector.ts → ConnectorType.ts} +1 -1
- package/ts/types/Form/FormConnector.ts +3 -3
- package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +18 -0
- package/ts/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.ts +6 -0
- package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +18 -0
- package/ts/types/Interface/api/loan/UpdateLoan.ts +8 -8
- package/ts/types/Interface/api/pdf/BillingDocumentData.ts +44 -0
- package/ts/types/Interface/api/user/CreateUserToSocietyWithPermission.ts +18 -0
- package/ts/types/Interface/api/user/Permissions.ts +12 -0
- package/ts/types/Interface/api/user/UpdateUserToSocietyWithPermission.ts +17 -0
- package/ts/types/Interface/models/IApiError.ts +1 -0
- package/ts/types/Interface/models/IEstimateInvoice.ts +13 -13
- package/ts/types/Interface/models/IItemEstimate.ts +4 -4
- package/ts/types/Interface/models/IPermission.ts +2 -0
- package/ts/types/Interface/models/IProduct.ts +5 -5
- package/ts/types/index.ts +9 -1
- package/es/types/Enum/TypeConnector.js +0 -15
- package/js/types/Enum/TypeConnector.js +0 -21
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import { CreateBalanceSheetModuleForm, IBalanceSheetModule } from '../../types';
|
|
3
|
+
import { UpdateBalanceSheetModuleForm } from '../../types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule';
|
|
4
|
+
export declare class BalanceSheetModule extends Resource {
|
|
5
|
+
getBalanceSheetModule(id: number): Promise<IBalanceSheetModule>;
|
|
6
|
+
getBalanceSheetModules(): Promise<IBalanceSheetModule[]>;
|
|
7
|
+
createBalanceSheetModule(payload: CreateBalanceSheetModuleForm): Promise<IBalanceSheetModule>;
|
|
8
|
+
updateBalanceSheetModule(payload: UpdateBalanceSheetModuleForm): Promise<IBalanceSheetModule>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=BalanceSheetModule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BalanceSheetModule.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/BalanceSheetModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,EAAE,4BAA4B,EAAE,MAAM,uEAAuE,CAAC;AAErH,qBAAa,kBAAmB,SAAQ,QAAQ;IAC9C,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI/D,sBAAsB,IAAI,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAIxD,wBAAwB,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI7F,wBAAwB,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAG9F"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
export class BalanceSheetModule extends Resource {
|
|
3
|
+
getBalanceSheetModule(id) {
|
|
4
|
+
return this.axios.$get(`/balancesheetmodule/${id}`);
|
|
5
|
+
}
|
|
6
|
+
getBalanceSheetModules() {
|
|
7
|
+
return this.axios.$get('/balancesheetmodules');
|
|
8
|
+
}
|
|
9
|
+
createBalanceSheetModule(payload) {
|
|
10
|
+
return this.axios.$post('/balancesheetmodule', payload);
|
|
11
|
+
}
|
|
12
|
+
updateBalanceSheetModule(payload) {
|
|
13
|
+
return this.axios.$put('/balancesheetmodule/:idBalanceSheetModule', payload);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=BalanceSheetModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BalanceSheetModule.js","sourceRoot":"","sources":["../../../ts/api/resources/BalanceSheetModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIvC,MAAM,OAAO,kBAAmB,SAAQ,QAAQ;IAC9C,qBAAqB,CAAC,EAAU;QAC9B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,CAAC,CAAC;IACtD,CAAC;IAED,sBAAsB;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;IACjD,CAAC;IAED,wBAAwB,CAAC,OAAqC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED,wBAAwB,CAAC,OAAqC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,2CAA2C,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateBalanceSheetModuleForm, IBalanceSheetModule } from '../../types';\nimport { UpdateBalanceSheetModuleForm } from '../../types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule';\n\nexport class BalanceSheetModule extends Resource {\n getBalanceSheetModule(id: number): Promise<IBalanceSheetModule> {\n return this.axios.$get(`/balancesheetmodule/${id}`);\n }\n\n getBalanceSheetModules(): Promise<IBalanceSheetModule[]> {\n return this.axios.$get('/balancesheetmodules');\n }\n\n createBalanceSheetModule(payload: CreateBalanceSheetModuleForm): Promise<IBalanceSheetModule> {\n return this.axios.$post('/balancesheetmodule', payload);\n }\n\n updateBalanceSheetModule(payload: UpdateBalanceSheetModuleForm): Promise<IBalanceSheetModule> {\n return this.axios.$put('/balancesheetmodule/:idBalanceSheetModule', payload);\n }\n}\n"]}
|
|
@@ -6,7 +6,7 @@ export declare class Loan extends Resource {
|
|
|
6
6
|
idLoan: number;
|
|
7
7
|
}): Promise<ILoan>;
|
|
8
8
|
createLoan(payload: CreateLoanForm): Promise<ILoan>;
|
|
9
|
-
updateLoan(payload: UpdateLoanForm): Promise<ILoan>;
|
|
10
|
-
deleteLoan(): Promise<true>;
|
|
9
|
+
updateLoan(idLoan: number, payload: UpdateLoanForm): Promise<ILoan>;
|
|
10
|
+
deleteLoan(idLoan: number): Promise<true>;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=Loan.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loan.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Loan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEpE,qBAAa,IAAK,SAAQ,QAAQ;IAChC,QAAQ,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAI5B,OAAO,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,KAAK,CAAC;IAInD,UAAU,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,KAAK,CAAC;IAInD,UAAU,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"Loan.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Loan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEpE,qBAAa,IAAK,SAAQ,QAAQ;IAChC,QAAQ,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAI5B,OAAO,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,KAAK,CAAC;IAInD,UAAU,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,KAAK,CAAC;IAInD,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,KAAK,CAAC;IAInE,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAG1C"}
|
package/es/api/resources/Loan.js
CHANGED
|
@@ -9,11 +9,11 @@ export class Loan extends Resource {
|
|
|
9
9
|
createLoan(payload) {
|
|
10
10
|
return this.axios.$post('/loan', payload);
|
|
11
11
|
}
|
|
12
|
-
updateLoan(payload) {
|
|
13
|
-
return this.axios.$
|
|
12
|
+
updateLoan(idLoan, payload) {
|
|
13
|
+
return this.axios.$put(`/loan/${idLoan}`, payload);
|
|
14
14
|
}
|
|
15
|
-
deleteLoan() {
|
|
16
|
-
return this.axios.$delete(
|
|
15
|
+
deleteLoan(idLoan) {
|
|
16
|
+
return this.axios.$delete(`/loan/${idLoan}`);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=Loan.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loan.js","sourceRoot":"","sources":["../../../ts/api/resources/Loan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,IAAK,SAAQ,QAAQ;IAChC,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;IAED,OAAO,CAAC,MAA0B;QAChC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IACnD,CAAC;IAED,UAAU,CAAC,OAAuB;QAChC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IAED,UAAU,CAAC,OAAuB;
|
|
1
|
+
{"version":3,"file":"Loan.js","sourceRoot":"","sources":["../../../ts/api/resources/Loan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,IAAK,SAAQ,QAAQ;IAChC,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;IAED,OAAO,CAAC,MAA0B;QAChC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IACnD,CAAC;IAED,UAAU,CAAC,OAAuB;QAChC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IAED,UAAU,CAAC,MAAc,EAAE,OAAuB;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED,UAAU,CAAC,MAAc;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,MAAM,EAAE,CAAC,CAAC;IAC/C,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateLoanForm, ILoan, UpdateLoanForm } from '../../types';\n\nexport class Loan extends Resource {\n getLoans(): Promise<ILoan[]> {\n return this.axios.$get('/loans');\n }\n\n getLoan(params: { idLoan: number }): Promise<ILoan> {\n return this.axios.$get(`/loan/${params.idLoan}`);\n }\n\n createLoan(payload: CreateLoanForm): Promise<ILoan> {\n return this.axios.$post('/loan', payload);\n }\n\n updateLoan(idLoan: number, payload: UpdateLoanForm): Promise<ILoan> {\n return this.axios.$put(`/loan/${idLoan}`, payload);\n }\n\n deleteLoan(idLoan: number): Promise<true> {\n return this.axios.$delete(`/loan/${idLoan}`);\n }\n}\n"]}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import { IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, QueryUserSmsConfirmation } from '../../types';
|
|
2
|
+
import { IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, QueryUserSmsConfirmation, CreateUserToSocietyWithPermission, UpdateUserToSocietyWithPermission } from '../../types';
|
|
3
3
|
export declare class User extends Resource {
|
|
4
4
|
confirm(params: QueryConfirm): Promise<IUser>;
|
|
5
5
|
resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean>;
|
|
6
6
|
create(data: CreateUser): Promise<IUser>;
|
|
7
|
+
createUserToSocietyWithPermission(data: CreateUserToSocietyWithPermission): Promise<IUser>;
|
|
8
|
+
updateUserToSocietyWithPermission(id: number, data: UpdateUserToSocietyWithPermission): Promise<IUser>;
|
|
7
9
|
sendNewCode(id: number): Promise<IUser>;
|
|
8
10
|
verifySmsCodeConfirmation(id: number, params: QueryUserSmsConfirmation): Promise<IUser>;
|
|
9
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,KAAK,EAAE,YAAY,EAAE,2BAA2B,EAAE,UAAU,EAAE,wBAAwB,
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,KAAK,EAAE,YAAY,EAAE,2BAA2B,EAAE,UAAU,EAAE,wBAAwB,EAAE,iCAAiC,EAAE,iCAAiC,EAC7J,MAAM,aAAa,CAAC;AAErB,qBAAa,IAAK,SAAQ,QAAQ;IAChC,OAAO,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC;IAG7C,2BAA2B,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,OAAO,CAAC;IAGlF,MAAM,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC;IAGxC,iCAAiC,CAAC,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,KAAK,CAAC;IAG1F,iCAAiC,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,KAAK,CAAC;IAGtG,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAGvC,yBAAyB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,KAAK,CAAC;CAGxF"}
|
package/es/api/resources/User.js
CHANGED
|
@@ -9,6 +9,12 @@ export class User extends Resource {
|
|
|
9
9
|
create(data) {
|
|
10
10
|
return this.axios.$post('user/create', data);
|
|
11
11
|
}
|
|
12
|
+
createUserToSocietyWithPermission(data) {
|
|
13
|
+
return this.axios.$post('user/createUserToSocietyWithPermission', data);
|
|
14
|
+
}
|
|
15
|
+
updateUserToSocietyWithPermission(id, data) {
|
|
16
|
+
return this.axios.$put(`user/updateUserToSocietyWithPermission/${id}`, data);
|
|
17
|
+
}
|
|
12
18
|
sendNewCode(id) {
|
|
13
19
|
return this.axios.$put(`user/${id}/sendNewSmsCode`);
|
|
14
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,IAAK,SAAQ,QAAQ;IAChC,OAAO,CAAC,MAAoB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;IACD,2BAA2B,CAAC,MAAmC;QAC7D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,MAAM,CAAC,EAAE,8BAA8B,CAAC,CAAC;IAC1E,CAAC;IACD,MAAM,CAAC,IAAgB;QACrB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;IACD,WAAW,CAAC,EAAU;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,iBAAiB,CAAC,CAAC;IACtD,CAAC;IACD,yBAAyB,CAAC,EAAU,EAAE,MAAgC;QACpE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,4BAA4B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, QueryUserSmsConfirmation,\n} from '../../types';\n\nexport class User extends Resource {\n confirm(params: QueryConfirm): Promise<IUser> {\n return this.axios.$put('user/confirm', params);\n }\n resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {\n return this.axios.$put(`user/${params.id}/resendConfirmationEmailLink`);\n }\n create(data: CreateUser): Promise<IUser> {\n return this.axios.$post('user/create', data);\n }\n sendNewCode(id: number): Promise<IUser> {\n return this.axios.$put(`user/${id}/sendNewSmsCode`);\n }\n verifySmsCodeConfirmation(id: number, params: QueryUserSmsConfirmation): Promise<IUser> {\n return this.axios.$get(`user/${id}/verifySmsCodeConfirmation`, { params });\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,IAAK,SAAQ,QAAQ;IAChC,OAAO,CAAC,MAAoB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;IACD,2BAA2B,CAAC,MAAmC;QAC7D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,MAAM,CAAC,EAAE,8BAA8B,CAAC,CAAC;IAC1E,CAAC;IACD,MAAM,CAAC,IAAgB;QACrB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;IACD,iCAAiC,CAAC,IAAuC;QACvE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,wCAAwC,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;IACD,iCAAiC,CAAC,EAAU,EAAE,IAAuC;QACnF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0CAA0C,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;IACD,WAAW,CAAC,EAAU;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,iBAAiB,CAAC,CAAC;IACtD,CAAC;IACD,yBAAyB,CAAC,EAAU,EAAE,MAAgC;QACpE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,4BAA4B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, QueryUserSmsConfirmation, CreateUserToSocietyWithPermission, UpdateUserToSocietyWithPermission,\n} from '../../types';\n\nexport class User extends Resource {\n confirm(params: QueryConfirm): Promise<IUser> {\n return this.axios.$put('user/confirm', params);\n }\n resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {\n return this.axios.$put(`user/${params.id}/resendConfirmationEmailLink`);\n }\n create(data: CreateUser): Promise<IUser> {\n return this.axios.$post('user/create', data);\n }\n createUserToSocietyWithPermission(data: CreateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$post('user/createUserToSocietyWithPermission', data);\n }\n updateUserToSocietyWithPermission(id: number, data: UpdateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$put(`user/updateUserToSocietyWithPermission/${id}`, data);\n }\n sendNewCode(id: number): Promise<IUser> {\n return this.axios.$put(`user/${id}/sendNewSmsCode`);\n }\n verifySmsCodeConfirmation(id: number, params: QueryUserSmsConfirmation): Promise<IUser> {\n return this.axios.$get(`user/${id}/verifySmsCodeConfirmation`, { params });\n }\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum
|
|
1
|
+
export declare enum ConnectorType {
|
|
2
2
|
SEELSY = 1,
|
|
3
3
|
PRESTASHOP = 2,
|
|
4
4
|
ZOHO = 3,
|
|
@@ -11,4 +11,4 @@ export declare enum TypeConnector {
|
|
|
11
11
|
WOOCOMMERCE = 10,
|
|
12
12
|
ACTIVATION = 11
|
|
13
13
|
}
|
|
14
|
-
//# sourceMappingURL=
|
|
14
|
+
//# sourceMappingURL=ConnectorType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"ConnectorType.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/ConnectorType.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,MAAM,IAAI;IACV,UAAU,IAAI;IACd,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,cAAc,IAAI;IAClB,MAAM,IAAI;IACV,EAAE,IAAI;IACN,SAAS,IAAI;IACb,OAAO,IAAI;IACX,WAAW,KAAK;IAChB,UAAU,KAAK;CAChB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export var ConnectorType;
|
|
2
|
+
(function (ConnectorType) {
|
|
3
|
+
ConnectorType[ConnectorType["SEELSY"] = 1] = "SEELSY";
|
|
4
|
+
ConnectorType[ConnectorType["PRESTASHOP"] = 2] = "PRESTASHOP";
|
|
5
|
+
ConnectorType[ConnectorType["ZOHO"] = 3] = "ZOHO";
|
|
6
|
+
ConnectorType[ConnectorType["DOLIBARR"] = 4] = "DOLIBARR";
|
|
7
|
+
ConnectorType[ConnectorType["STRIPE_CONNECT"] = 5] = "STRIPE_CONNECT";
|
|
8
|
+
ConnectorType[ConnectorType["STRIPE"] = 6] = "STRIPE";
|
|
9
|
+
ConnectorType[ConnectorType["JS"] = 7] = "JS";
|
|
10
|
+
ConnectorType[ConnectorType["AUTOLOGIN"] = 8] = "AUTOLOGIN";
|
|
11
|
+
ConnectorType[ConnectorType["SHOPIFY"] = 9] = "SHOPIFY";
|
|
12
|
+
ConnectorType[ConnectorType["WOOCOMMERCE"] = 10] = "WOOCOMMERCE";
|
|
13
|
+
ConnectorType[ConnectorType["ACTIVATION"] = 11] = "ACTIVATION";
|
|
14
|
+
})(ConnectorType || (ConnectorType = {}));
|
|
15
|
+
//# sourceMappingURL=ConnectorType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"ConnectorType.js","sourceRoot":"","sources":["../../../ts/types/Enum/ConnectorType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,aAYX;AAZD,WAAY,aAAa;IACvB,qDAAU,CAAA;IACV,6DAAc,CAAA;IACd,iDAAQ,CAAA;IACR,yDAAY,CAAA;IACZ,qEAAkB,CAAA;IAClB,qDAAU,CAAA;IACV,6CAAM,CAAA;IACN,2DAAa,CAAA;IACb,uDAAW,CAAA;IACX,gEAAgB,CAAA;IAChB,8DAAe,CAAA;AACjB,CAAC,EAZW,aAAa,KAAb,aAAa,QAYxB","sourcesContent":["export enum ConnectorType {\n SEELSY = 1,\n PRESTASHOP = 2,\n ZOHO = 3,\n DOLIBARR = 4,\n STRIPE_CONNECT = 5,\n STRIPE = 6,\n JS = 7,\n AUTOLOGIN = 8,\n SHOPIFY = 9,\n WOOCOMMERCE = 10,\n ACTIVATION = 11,\n}"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ConnectorType } from '../Enum/ConnectorType';
|
|
2
2
|
export declare class FormConnector {
|
|
3
3
|
username?: string;
|
|
4
4
|
pass?: string;
|
|
@@ -8,7 +8,7 @@ export declare class FormConnector {
|
|
|
8
8
|
token3?: string;
|
|
9
9
|
token4?: string;
|
|
10
10
|
date?: Date;
|
|
11
|
-
idTypeConnector:
|
|
12
|
-
idSociety
|
|
11
|
+
idTypeConnector: ConnectorType;
|
|
12
|
+
idSociety?: number;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=FormConnector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,qBAAa,aAAa;IAExB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,IAAI,CAAC;IAGZ,eAAe,EAAE,aAAa,CAAC;IAG/B,SAAS,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,qBAAa,aAAa;IAExB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,IAAI,CAAC;IAGZ,eAAe,EAAE,aAAa,CAAC;IAG/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,aAAa;CA8BzB","sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,aAAa;CA8BzB","sourcesContent":["import { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n // @ApiProperty()\n username?: string;\n\n // @ApiProperty()\n pass?: string;\n\n // @ApiProperty()\n url?: string;\n\n // @ApiProperty()\n token?: string;\n\n // @ApiProperty()\n token2?: string;\n\n // @ApiProperty()\n token3?: string;\n\n // @ApiProperty()\n token4?: string;\n\n // @ApiProperty()\n date?: Date;\n\n // @ApiProperty()\n idTypeConnector: ConnectorType;\n\n // @ApiProperty()\n idSociety?: number;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateBalanceSheetModule.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts"],"names":[],"mappings":"AAEA,qBAAa,4BAA4B;IAEvC,SAAS,EAAE,OAAO,CAAC;IAGnB,aAAa,EAAE,OAAO,CAAC;IAGvB,8BAA8B,EAAE,OAAO,CAAC;IAGxC,YAAY,EAAE,OAAO,CAAC;IAGtB,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
export class CreateBalanceSheetModuleForm {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiPropertyOptional(),
|
|
15
|
+
__metadata("design:type", Boolean)
|
|
16
|
+
], CreateBalanceSheetModuleForm.prototype, "inventory", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiPropertyOptional(),
|
|
19
|
+
__metadata("design:type", Boolean)
|
|
20
|
+
], CreateBalanceSheetModuleForm.prototype, "loanToDeclare", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ApiPropertyOptional(),
|
|
23
|
+
__metadata("design:type", Boolean)
|
|
24
|
+
], CreateBalanceSheetModuleForm.prototype, "deadlinerecoveryImmobilization", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiPropertyOptional(),
|
|
27
|
+
__metadata("design:type", Boolean)
|
|
28
|
+
], CreateBalanceSheetModuleForm.prototype, "salariesFile", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiProperty(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], CreateBalanceSheetModuleForm.prototype, "idExercice", void 0);
|
|
33
|
+
//# sourceMappingURL=CreateBalanceSheetModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateBalanceSheetModule.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,4BAA4B;CAexC;AAbC;IADC,mBAAmB,EAAE;;+DACH;AAGnB;IADC,mBAAmB,EAAE;;mEACC;AAGvB;IADC,mBAAmB,EAAE;;oFACkB;AAGxC;IADC,mBAAmB,EAAE;;kEACA;AAGtB;IADC,WAAW,EAAE;;gEACK","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateBalanceSheetModuleForm {\n @ApiPropertyOptional()\n inventory: boolean;\n\n @ApiPropertyOptional()\n loanToDeclare: boolean;\n\n @ApiPropertyOptional()\n deadlinerecoveryImmobilization: boolean;\n\n @ApiPropertyOptional()\n salariesFile: boolean;\n\n @ApiProperty()\n idExercice: number;\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetBalanceSheetModule.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.ts"],"names":[],"mappings":"AAEA,qBAAa,qBAAqB;IAEhC,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
export class GetBalanceSheetModule {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiPropertyOptional(),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], GetBalanceSheetModule.prototype, "idExercice", void 0);
|
|
17
|
+
//# sourceMappingURL=GetBalanceSheetModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetBalanceSheetModule.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,qBAAqB;CAGjC;AADC;IADC,mBAAmB,EAAE;;yDACH","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class GetBalanceSheetModule {\n @ApiPropertyOptional()\n idExercice: number;\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateBalanceSheetModule.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts"],"names":[],"mappings":"AAEA,qBAAa,4BAA4B;IAEvC,SAAS,EAAE,OAAO,CAAC;IAGnB,aAAa,EAAE,OAAO,CAAC;IAGvB,8BAA8B,EAAE,OAAO,CAAC;IAGxC,YAAY,EAAE,OAAO,CAAC;IAGtB,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
export class UpdateBalanceSheetModuleForm {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiPropertyOptional(),
|
|
15
|
+
__metadata("design:type", Boolean)
|
|
16
|
+
], UpdateBalanceSheetModuleForm.prototype, "inventory", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiPropertyOptional(),
|
|
19
|
+
__metadata("design:type", Boolean)
|
|
20
|
+
], UpdateBalanceSheetModuleForm.prototype, "loanToDeclare", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ApiPropertyOptional(),
|
|
23
|
+
__metadata("design:type", Boolean)
|
|
24
|
+
], UpdateBalanceSheetModuleForm.prototype, "deadlinerecoveryImmobilization", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiPropertyOptional(),
|
|
27
|
+
__metadata("design:type", Boolean)
|
|
28
|
+
], UpdateBalanceSheetModuleForm.prototype, "salariesFile", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], UpdateBalanceSheetModuleForm.prototype, "idExercice", void 0);
|
|
33
|
+
//# sourceMappingURL=UpdateBalanceSheetModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateBalanceSheetModule.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,4BAA4B;CAexC;AAbC;IADC,mBAAmB,EAAE;;+DACH;AAGnB;IADC,mBAAmB,EAAE;;mEACC;AAGvB;IADC,mBAAmB,EAAE;;oFACkB;AAGxC;IADC,mBAAmB,EAAE;;kEACA;AAGtB;IADC,mBAAmB,EAAE;;gEACH","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateBalanceSheetModuleForm {\n @ApiPropertyOptional()\n inventory: boolean;\n\n @ApiPropertyOptional()\n loanToDeclare: boolean;\n\n @ApiPropertyOptional()\n deadlinerecoveryImmobilization: boolean;\n\n @ApiPropertyOptional()\n salariesFile: boolean;\n\n @ApiPropertyOptional()\n idExercice: number;\n}"]}
|
|
@@ -7,35 +7,35 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
11
11
|
export class UpdateLoanForm {
|
|
12
12
|
}
|
|
13
13
|
__decorate([
|
|
14
|
-
|
|
14
|
+
ApiPropertyOptional(),
|
|
15
15
|
__metadata("design:type", String)
|
|
16
16
|
], UpdateLoanForm.prototype, "name", void 0);
|
|
17
17
|
__decorate([
|
|
18
|
-
|
|
18
|
+
ApiPropertyOptional(),
|
|
19
19
|
__metadata("design:type", String)
|
|
20
20
|
], UpdateLoanForm.prototype, "lenderDesignation", void 0);
|
|
21
21
|
__decorate([
|
|
22
|
-
|
|
22
|
+
ApiPropertyOptional(),
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
24
|
], UpdateLoanForm.prototype, "number", void 0);
|
|
25
25
|
__decorate([
|
|
26
|
-
|
|
26
|
+
ApiPropertyOptional(),
|
|
27
27
|
__metadata("design:type", Number)
|
|
28
28
|
], UpdateLoanForm.prototype, "amount", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
31
|
__metadata("design:type", Number)
|
|
32
32
|
], UpdateLoanForm.prototype, "assetBeforeExercice", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
-
|
|
34
|
+
ApiPropertyOptional(),
|
|
35
35
|
__metadata("design:type", Number)
|
|
36
36
|
], UpdateLoanForm.prototype, "assetAfterExercice", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
|
|
38
|
+
ApiPropertyOptional(),
|
|
39
39
|
__metadata("design:type", Number)
|
|
40
40
|
], UpdateLoanForm.prototype, "idExercice", void 0);
|
|
41
41
|
//# sourceMappingURL=UpdateLoan.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateLoan.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/loan/UpdateLoan.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"UpdateLoan.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/loan/UpdateLoan.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,cAAc;CAqB1B;AAnBC;IADC,mBAAmB,EAAE;;4CACR;AAGd;IADC,mBAAmB,EAAE;;yDACK;AAG3B;IADC,mBAAmB,EAAE;;8CACN;AAGhB;IADC,mBAAmB,EAAE;;8CACN;AAGhB;IADC,mBAAmB,EAAE;;2DACO;AAG7B;IADC,mBAAmB,EAAE;;0DACM;AAG5B;IADC,mBAAmB,EAAE;;kDACF","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateLoanForm {\n @ApiPropertyOptional()\n name?: string;\n\n @ApiPropertyOptional()\n lenderDesignation?: string;\n\n @ApiPropertyOptional()\n number?: number;\n\n @ApiPropertyOptional()\n amount?: number;\n\n @ApiPropertyOptional()\n assetBeforeExercice?: number;\n\n @ApiPropertyOptional()\n assetAfterExercice?: number;\n\n @ApiPropertyOptional()\n idExercice?: number;\n}"]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ISociety } from '../../models/ISociety';
|
|
2
|
+
interface BillingDocumentItemVat {
|
|
3
|
+
computeMethod: 'percentage';
|
|
4
|
+
vatPercentageValue: number;
|
|
5
|
+
}
|
|
6
|
+
interface BillingDocumentItem {
|
|
7
|
+
name: string;
|
|
8
|
+
comment: string;
|
|
9
|
+
quantity: number;
|
|
10
|
+
discount: number;
|
|
11
|
+
code: string;
|
|
12
|
+
price: number;
|
|
13
|
+
unit: string;
|
|
14
|
+
vat: BillingDocumentItemVat;
|
|
15
|
+
}
|
|
16
|
+
export declare type BillingDocumentData = {
|
|
17
|
+
society: Partial<ISociety>;
|
|
18
|
+
deposit: number;
|
|
19
|
+
template: number | null;
|
|
20
|
+
generalComment: string | null;
|
|
21
|
+
generalDiscount: number | null;
|
|
22
|
+
recipient: {
|
|
23
|
+
id?: number;
|
|
24
|
+
fullname: string | null;
|
|
25
|
+
company: string;
|
|
26
|
+
address?: string | null;
|
|
27
|
+
zipCode?: string | null;
|
|
28
|
+
city?: string | null;
|
|
29
|
+
phone?: string | null;
|
|
30
|
+
nTva?: string | null;
|
|
31
|
+
thirdPartyCountry: {
|
|
32
|
+
name: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
references: {
|
|
36
|
+
createdDate: Date | null;
|
|
37
|
+
ref: string | null;
|
|
38
|
+
paymentPlan: string | null;
|
|
39
|
+
dueDate: Date | null;
|
|
40
|
+
};
|
|
41
|
+
items: BillingDocumentItem[];
|
|
42
|
+
};
|
|
43
|
+
export {};
|
|
44
|
+
//# sourceMappingURL=BillingDocumentData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingDocumentData.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pdf/BillingDocumentData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,UAAU,sBAAsB;IAC9B,aAAa,EAAE,YAAY,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AACD,UAAU,mBAAmB;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,sBAAsB,CAAC;CAC7B;AAED,oBAAY,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE;QACT,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,iBAAiB,EAAE;YACjB,IAAI,EAAE,MAAM,CAAC;SACd,CAAA;KACF,CAAC;IACF,UAAU,EAAE;QACV,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;QACzB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;QACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;KACtB,CAAC;IACF,KAAK,EAAE,mBAAmB,EAAE,CAAA;CAC7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingDocumentData.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pdf/BillingDocumentData.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from '../../models/ISociety';\n\ninterface BillingDocumentItemVat {\n computeMethod: 'percentage',\n vatPercentageValue: number,\n}\ninterface BillingDocumentItem {\n name: string,\n comment: string,\n quantity: number,\n discount: number,\n code: string,\n price: number,\n unit: string,\n vat: BillingDocumentItemVat,\n}\n\nexport type BillingDocumentData = {\n society: Partial<ISociety>,\n deposit: number;\n template: number | null;\n generalComment: string | null;\n generalDiscount: number | null;\n recipient: {\n id?: number;\n fullname: string | null;\n company: string;\n address?: string | null;\n zipCode?: string | null;\n city?: string | null;\n phone?: string | null;\n nTva?: string | null;\n thirdPartyCountry: {\n name: string;\n }\n };\n references: {\n createdDate: Date | null;\n ref: string | null;\n paymentPlan: string | null;\n dueDate: Date | null;\n },\n items: BillingDocumentItem[]\n};"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class CreateUserToSocietyWithPermission {
|
|
2
|
+
email: string;
|
|
3
|
+
phone: string;
|
|
4
|
+
password: string;
|
|
5
|
+
firstname: string;
|
|
6
|
+
lastname: string;
|
|
7
|
+
acceptCgv?: boolean;
|
|
8
|
+
acceptNewsletter?: boolean;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=CreateUserToSocietyWithPermission.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateUserToSocietyWithPermission.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/CreateUserToSocietyWithPermission.ts"],"names":[],"mappings":"AAEA,qBAAa,iCAAiC;IAE5C,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
export class CreateUserToSocietyWithPermission {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiProperty(),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], CreateUserToSocietyWithPermission.prototype, "email", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiProperty(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], CreateUserToSocietyWithPermission.prototype, "phone", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ApiProperty(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CreateUserToSocietyWithPermission.prototype, "password", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiProperty(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateUserToSocietyWithPermission.prototype, "firstname", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiProperty(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreateUserToSocietyWithPermission.prototype, "lastname", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
ApiProperty(),
|
|
35
|
+
__metadata("design:type", Boolean)
|
|
36
|
+
], CreateUserToSocietyWithPermission.prototype, "acceptCgv", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
ApiPropertyOptional(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], CreateUserToSocietyWithPermission.prototype, "acceptNewsletter", void 0);
|
|
41
|
+
//# sourceMappingURL=CreateUserToSocietyWithPermission.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateUserToSocietyWithPermission.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/CreateUserToSocietyWithPermission.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,iCAAiC;CAe7C;AAbC;IADC,WAAW,EAAE;;gEACA;AAEd;IADC,WAAW,EAAE;;gEACA;AAEd;IADC,WAAW,EAAE;;mEACG;AAEjB;IADC,WAAW,EAAE;;oEACI;AAElB;IADC,WAAW,EAAE;;mEACG;AAEjB;IADC,WAAW,EAAE;;oEACM;AAEpB;IADC,mBAAmB,EAAE;;2EACK","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateUserToSocietyWithPermission {\n @ApiProperty()\n email: string;\n @ApiProperty()\n phone: string;\n @ApiProperty()\n password: string;\n @ApiProperty()\n firstname: string;\n @ApiProperty()\n lastname: string;\n @ApiProperty()\n acceptCgv?: boolean; // not sure if needed (maybe more a front notion)\n @ApiPropertyOptional()\n acceptNewsletter?: boolean;\n}"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface Permissions {
|
|
2
|
+
gescom: boolean;
|
|
3
|
+
compta: boolean;
|
|
4
|
+
stats: boolean;
|
|
5
|
+
docTreso: boolean;
|
|
6
|
+
services: boolean;
|
|
7
|
+
social: boolean;
|
|
8
|
+
tva: boolean;
|
|
9
|
+
simulation: boolean;
|
|
10
|
+
simulationMultiple: boolean;
|
|
11
|
+
balanceSheet: boolean;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=Permissions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Permissions.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/Permissions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,GAAG,EAAE,OAAO,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,YAAY,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Permissions.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/Permissions.ts"],"names":[],"mappings":"","sourcesContent":["export interface Permissions {\n gescom: boolean;\n compta: boolean;\n stats: boolean;\n docTreso: boolean;\n services: boolean;\n social: boolean;\n tva: boolean;\n simulation: boolean;\n simulationMultiple: boolean;\n balanceSheet: boolean;\n}"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Permissions } from './Permissions';
|
|
2
|
+
export declare class UpdateUserToSocietyWithPermission {
|
|
3
|
+
email: string;
|
|
4
|
+
phone: string;
|
|
5
|
+
password: string;
|
|
6
|
+
firstname: string;
|
|
7
|
+
lastname: string;
|
|
8
|
+
permissions: Partial<Permissions>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=UpdateUserToSocietyWithPermission.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateUserToSocietyWithPermission.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/UpdateUserToSocietyWithPermission.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,iCAAiC;IAE5C,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,CAAC;IAEjB,WAAW,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;CACnC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
export class UpdateUserToSocietyWithPermission {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiPropertyOptional(),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], UpdateUserToSocietyWithPermission.prototype, "email", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiPropertyOptional(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], UpdateUserToSocietyWithPermission.prototype, "phone", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ApiPropertyOptional(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], UpdateUserToSocietyWithPermission.prototype, "password", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiPropertyOptional(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], UpdateUserToSocietyWithPermission.prototype, "firstname", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], UpdateUserToSocietyWithPermission.prototype, "lastname", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
ApiPropertyOptional(),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], UpdateUserToSocietyWithPermission.prototype, "permissions", void 0);
|
|
37
|
+
//# sourceMappingURL=UpdateUserToSocietyWithPermission.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateUserToSocietyWithPermission.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/UpdateUserToSocietyWithPermission.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGxD,MAAM,OAAO,iCAAiC;CAa7C;AAXC;IADC,mBAAmB,EAAE;;gEACR;AAEd;IADC,mBAAmB,EAAE;;gEACR;AAEd;IADC,mBAAmB,EAAE;;mEACL;AAEjB;IADC,mBAAmB,EAAE;;oEACJ;AAElB;IADC,mBAAmB,EAAE;;mEACL;AAEjB;IADC,mBAAmB,EAAE;;sEACY","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\nimport { Permissions } from './Permissions';\n\nexport class UpdateUserToSocietyWithPermission {\n @ApiPropertyOptional()\n email: string;\n @ApiPropertyOptional()\n phone: string;\n @ApiPropertyOptional()\n password: string;\n @ApiPropertyOptional()\n firstname: string;\n @ApiPropertyOptional()\n lastname: string;\n @ApiPropertyOptional()\n permissions: Partial<Permissions>;\n}"]}
|