@silexpert/core 0.4.53 → 0.4.54
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/IncomeAllocation.d.ts +1 -1
- package/es/api/resources/IncomeAllocation.d.ts.map +1 -1
- package/es/api/resources/IncomeAllocation.js.map +1 -1
- package/es/api/resources/Society.d.ts +1 -1
- package/es/api/resources/Society.d.ts.map +1 -1
- package/es/api/resources/Society.js +2 -2
- package/es/api/resources/Society.js.map +1 -1
- package/js/api/resources/IncomeAllocation.js.map +1 -1
- package/js/api/resources/Society.js +2 -2
- package/js/api/resources/Society.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/IncomeAllocation.ts +1 -1
- package/ts/api/resources/Society.ts +2 -2
|
@@ -5,7 +5,7 @@ export declare class IncomeAllocation extends Resource {
|
|
|
5
5
|
createAnnualGeneralMeeting(idExercice: number, formData: FormData): Promise<IGedFile>;
|
|
6
6
|
getAnnualGeneralMeeting(idExercice: number): Promise<IFile | null>;
|
|
7
7
|
create(params: CreateIncomeAllocation): Promise<IAccountingEntry[]>;
|
|
8
|
-
get(idExercice: number): Promise<ReadIncomeAllocation
|
|
8
|
+
get(idExercice: number): Promise<ReadIncomeAllocation>;
|
|
9
9
|
delete(idExercice: number): Promise<boolean>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=IncomeAllocation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IncomeAllocation.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/IncomeAllocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,sBAAsB,EAAE,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,QAAQ,EAAE,gBAAgB,EAC/F,MAAM,aAAa,CAAC;AAErB,qBAAa,gBAAiB,SAAQ,QAAQ;IAC5C,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAI5D,0BAA0B,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIrF,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAIlE,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAInE,GAAG,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"IncomeAllocation.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/IncomeAllocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,sBAAsB,EAAE,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,QAAQ,EAAE,gBAAgB,EAC/F,MAAM,aAAa,CAAC;AAErB,qBAAa,gBAAiB,SAAQ,QAAQ;IAC5C,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAI5D,0BAA0B,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIrF,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAIlE,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAInE,GAAG,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAItD,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAG7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IncomeAllocation.js","sourceRoot":"","sources":["../../../ts/api/resources/IncomeAllocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,gBAAiB,SAAQ,QAAQ;IAC5C,gBAAgB,CAAC,UAAkB;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,4CAA4C,UAAU,EAAE,CAAC,CAAC;IACnF,CAAC;IAED,0BAA0B,CAAC,UAAkB,EAAE,QAAkB;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mDAAmD,UAAU,EAAE,EAAE,QAAQ,CAAC,CAAC;IACrG,CAAC;IAED,uBAAuB,CAAC,UAAkB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mDAAmD,UAAU,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED,MAAM,CAAC,MAA8B;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;IAED,GAAG,CAAC,UAAkB;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,UAAU,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,MAAM,CAAC,UAAkB;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,8BAA8B,UAAU,EAAE,CAAC,CAAC;IACxE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateIncomeAllocation, IFile, TypeAndAmount, ReadIncomeAllocation, IGedFile, IAccountingEntry,\n} from '../../types';\n\nexport class IncomeAllocation extends Resource {\n getTypeAndAmount(idExercice: number): Promise<TypeAndAmount> {\n return this.axios.$get(`/incomeAllocation/typeAndAmount/exercice/${idExercice}`);\n }\n\n createAnnualGeneralMeeting(idExercice: number, formData: FormData): Promise<IGedFile> {\n return this.axios.$post(`/incomeAllocation/annualGeneralMeeting/exercice/${idExercice}`, formData);\n }\n\n getAnnualGeneralMeeting(idExercice: number): Promise<IFile | null> {\n return this.axios.$get(`/incomeAllocation/annualGeneralMeeting/exercice/${idExercice}`);\n }\n\n create(params: CreateIncomeAllocation): Promise<IAccountingEntry[]> {\n return this.axios.$post('/incomeAllocation/', params);\n }\n\n get(idExercice: number): Promise<ReadIncomeAllocation
|
|
1
|
+
{"version":3,"file":"IncomeAllocation.js","sourceRoot":"","sources":["../../../ts/api/resources/IncomeAllocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,gBAAiB,SAAQ,QAAQ;IAC5C,gBAAgB,CAAC,UAAkB;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,4CAA4C,UAAU,EAAE,CAAC,CAAC;IACnF,CAAC;IAED,0BAA0B,CAAC,UAAkB,EAAE,QAAkB;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mDAAmD,UAAU,EAAE,EAAE,QAAQ,CAAC,CAAC;IACrG,CAAC;IAED,uBAAuB,CAAC,UAAkB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mDAAmD,UAAU,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED,MAAM,CAAC,MAA8B;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;IAED,GAAG,CAAC,UAAkB;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,UAAU,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,MAAM,CAAC,UAAkB;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,8BAA8B,UAAU,EAAE,CAAC,CAAC;IACxE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateIncomeAllocation, IFile, TypeAndAmount, ReadIncomeAllocation, IGedFile, IAccountingEntry,\n} from '../../types';\n\nexport class IncomeAllocation extends Resource {\n getTypeAndAmount(idExercice: number): Promise<TypeAndAmount> {\n return this.axios.$get(`/incomeAllocation/typeAndAmount/exercice/${idExercice}`);\n }\n\n createAnnualGeneralMeeting(idExercice: number, formData: FormData): Promise<IGedFile> {\n return this.axios.$post(`/incomeAllocation/annualGeneralMeeting/exercice/${idExercice}`, formData);\n }\n\n getAnnualGeneralMeeting(idExercice: number): Promise<IFile | null> {\n return this.axios.$get(`/incomeAllocation/annualGeneralMeeting/exercice/${idExercice}`);\n }\n\n create(params: CreateIncomeAllocation): Promise<IAccountingEntry[]> {\n return this.axios.$post('/incomeAllocation/', params);\n }\n\n get(idExercice: number): Promise<ReadIncomeAllocation> {\n return this.axios.$get(`/incomeAllocation/exercice/${idExercice}`);\n }\n\n delete(idExercice: number): Promise<boolean> {\n return this.axios.$delete(`/incomeAllocation/exercice/${idExercice}`);\n }\n}\n"]}
|
|
@@ -4,7 +4,7 @@ export declare class Society extends Resource {
|
|
|
4
4
|
getInvoiceEmail(): Promise<IMailSociety | Error>;
|
|
5
5
|
createInvoiceEmail(data: CreateInvoiceMail): Promise<IMailSociety | Error>;
|
|
6
6
|
updateInvoiceEmail(data: UpdateInvoiceMail): Promise<IMailSociety | Error>;
|
|
7
|
-
createSociety(data: CreateSociety, fromSubscription: boolean | string): Promise<ISociety>;
|
|
7
|
+
createSociety(data: CreateSociety, fromSubscription: boolean | string, isCreatedInApp: boolean): Promise<ISociety>;
|
|
8
8
|
updateSociety(id: number, data: UpdateSociety): Promise<ISociety>;
|
|
9
9
|
getDataSociety(params: GetDataSociety): Promise<LegalFormSiren[]>;
|
|
10
10
|
synchronize(id: number, params: CreateSynchronization): Promise<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Society.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Society.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ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E,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC;IAGlH,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIjE,cAAc,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAGjE,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC;IAGvE,2BAA2B,IAAI,OAAO,CAAC,IAAI,CAAC;IAG5C,wBAAwB,CAAC,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,8BAA8B,GAAG,OAAO,CAAC,MAAM,CAAC;IAG3H,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,GAAE,OAAO,CAAC,gBAAgB,CAAC;IAGrF,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAG5D,iCAAiC,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,KAAK,CAAC;IAG7G,iCAAiC,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,KAAK,CAAC;IAGzH,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAGpC"}
|
|
@@ -9,8 +9,8 @@ export class Society extends Resource {
|
|
|
9
9
|
updateInvoiceEmail(data) {
|
|
10
10
|
return this.axios.$put('/society/invoiceEmail', data);
|
|
11
11
|
}
|
|
12
|
-
createSociety(data, fromSubscription) {
|
|
13
|
-
return this.axios.$post(`/society/create?fromSubscription=${fromSubscription}`, data);
|
|
12
|
+
createSociety(data, fromSubscription, isCreatedInApp) {
|
|
13
|
+
return this.axios.$post(`/society/create?fromSubscription=${fromSubscription}&isCreatedInApp=${isCreatedInApp}`, data);
|
|
14
14
|
}
|
|
15
15
|
updateSociety(id, data) {
|
|
16
16
|
return this.axios.$put(`/society/${id}/updateSociety`, data);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Society.js","sourceRoot":"","sources":["../../../ts/api/resources/Society.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAmBvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,eAAe;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IAClD,CAAC;IAED,kBAAkB,CAAC,IAAuB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAED,kBAAkB,CAAC,IAAuB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IACD,aAAa,CAAC,IAAmB,EAAE,gBAAkC;
|
|
1
|
+
{"version":3,"file":"Society.js","sourceRoot":"","sources":["../../../ts/api/resources/Society.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAmBvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,eAAe;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IAClD,CAAC;IAED,kBAAkB,CAAC,IAAuB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAED,kBAAkB,CAAC,IAAuB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IACD,aAAa,CAAC,IAAmB,EAA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S,8BAA8B,EAAE,IAAI,CAAC,CAAC;IACrF,CAAC;IACD,iCAAiC,CAAC,SAAiB,EAAE,EAAU,EAAE,IAAuC;QACtG,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,SAAS,gCAAgC,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;IAC1F,CAAC;IACD,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;IAC9C,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateInvoiceMail,\n UpdateInvoiceMail,\n IMailSociety,\n ISociety,\n LegalFormSiren,\n GetDataSociety,\n CreateSociety,\n CreateSynchronization,\n UpdateSociety,\n CreateBudgetBalanceBankAccount,\n IUser,\n ListUserSociety,\n CreateUserToSocietyWithPermission,\n UpdateUserToSocietyWithPermission,\n ReadSocietyUsers,\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, fromSubscription: boolean | string, isCreatedInApp: boolean): Promise<ISociety> {\n return this.axios.$post(`/society/create?fromSubscription=${fromSubscription}&isCreatedInApp=${isCreatedInApp}`, data);\n }\n updateSociety(id: number, data: UpdateSociety): Promise<ISociety> {\n return this.axios.$put(`/society/${id}/updateSociety`, data);\n }\n // this endpoint is used to fetch from extern api for legalForm\n getDataSociety(params: GetDataSociety): Promise<LegalFormSiren[]> {\n return this.axios.$get('/society/dataSociety', { params });\n }\n synchronize(id: number, params: CreateSynchronization): Promise<string> {\n return this.axios.$post(`/society/${id}/synchronize`, params);\n }\n autoImportationTransactions(): Promise<void> {\n return this.axios.$post('/society/bankAccount/autoImportationTransactions');\n }\n importBalanceBankAccount(idSociety: number, idBankAccount: number, params: CreateBudgetBalanceBankAccount): Promise<number> {\n return this.axios.$post(`/society/${idSociety}/bankAccount/${idBankAccount}/importBalance`, params);\n }\n listUserSociety(idSociety: number, params: ListUserSociety):Promise<ReadSocietyUsers> {\n return this.axios.$get(`/society/${idSociety}/users`, { params });\n }\n deleteUser(idSociety: number, idUser: number): Promise<true> {\n return this.axios.$delete(`/society/${idSociety}/user/${idUser}`);\n }\n createUserToSocietyWithPermission(idSociety: number, data: CreateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$post(`/society/${idSociety}/userToSocietyWithPermission`, data);\n }\n updateUserToSocietyWithPermission(idSociety: number, id: number, data: UpdateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$put(`/society/${idSociety}/userToSocietyWithPermission/${id}`, data);\n }\n delete(id: number): Promise<number> {\n return this.axios.$delete(`/society/${id}`);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/api/resources/IncomeAllocation.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAKM,MAAO,gBAAP,SAAgC,kBAAhC,CAAwC;AAC5C,EAAA,gBAAgB,CAAC,UAAD,EAAmB;AACjC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,4CAA4C,UAAU,EAAtE,CAAP;AACD;;AAED,EAAA,0BAA0B,CAAC,UAAD,EAAqB,QAArB,EAAuC;AAC/D,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,mDAAmD,UAAU,EAA9E,EAAkF,QAAlF,CAAP;AACD;;AAED,EAAA,uBAAuB,CAAC,UAAD,EAAmB;AACxC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,mDAAmD,UAAU,EAA7E,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,MAAD,EAA+B;AACnC,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,oBAAjB,EAAuC,MAAvC,CAAP;AACD;;AAED,EAAA,GAAG,CAAC,UAAD,EAAmB;AACpB,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,8BAA8B,UAAU,EAAxD,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,UAAD,EAAmB;AACvB,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,8BAA8B,UAAU,EAA3D,CAAP;AACD;;AAvB2C;;QAAjC,gB,GAAA,gB","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateIncomeAllocation, IFile, TypeAndAmount, ReadIncomeAllocation, IGedFile, IAccountingEntry,\n} from '../../types';\n\nexport class IncomeAllocation extends Resource {\n getTypeAndAmount(idExercice: number): Promise<TypeAndAmount> {\n return this.axios.$get(`/incomeAllocation/typeAndAmount/exercice/${idExercice}`);\n }\n\n createAnnualGeneralMeeting(idExercice: number, formData: FormData): Promise<IGedFile> {\n return this.axios.$post(`/incomeAllocation/annualGeneralMeeting/exercice/${idExercice}`, formData);\n }\n\n getAnnualGeneralMeeting(idExercice: number): Promise<IFile | null> {\n return this.axios.$get(`/incomeAllocation/annualGeneralMeeting/exercice/${idExercice}`);\n }\n\n create(params: CreateIncomeAllocation): Promise<IAccountingEntry[]> {\n return this.axios.$post('/incomeAllocation/', params);\n }\n\n get(idExercice: number): Promise<ReadIncomeAllocation
|
|
1
|
+
{"version":3,"sources":["../../../ts/api/resources/IncomeAllocation.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAKM,MAAO,gBAAP,SAAgC,kBAAhC,CAAwC;AAC5C,EAAA,gBAAgB,CAAC,UAAD,EAAmB;AACjC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,4CAA4C,UAAU,EAAtE,CAAP;AACD;;AAED,EAAA,0BAA0B,CAAC,UAAD,EAAqB,QAArB,EAAuC;AAC/D,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,mDAAmD,UAAU,EAA9E,EAAkF,QAAlF,CAAP;AACD;;AAED,EAAA,uBAAuB,CAAC,UAAD,EAAmB;AACxC,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,mDAAmD,UAAU,EAA7E,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,MAAD,EAA+B;AACnC,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,oBAAjB,EAAuC,MAAvC,CAAP;AACD;;AAED,EAAA,GAAG,CAAC,UAAD,EAAmB;AACpB,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,8BAA8B,UAAU,EAAxD,CAAP;AACD;;AAED,EAAA,MAAM,CAAC,UAAD,EAAmB;AACvB,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,8BAA8B,UAAU,EAA3D,CAAP;AACD;;AAvB2C;;QAAjC,gB,GAAA,gB","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateIncomeAllocation, IFile, TypeAndAmount, ReadIncomeAllocation, IGedFile, IAccountingEntry,\n} from '../../types';\n\nexport class IncomeAllocation extends Resource {\n getTypeAndAmount(idExercice: number): Promise<TypeAndAmount> {\n return this.axios.$get(`/incomeAllocation/typeAndAmount/exercice/${idExercice}`);\n }\n\n createAnnualGeneralMeeting(idExercice: number, formData: FormData): Promise<IGedFile> {\n return this.axios.$post(`/incomeAllocation/annualGeneralMeeting/exercice/${idExercice}`, formData);\n }\n\n getAnnualGeneralMeeting(idExercice: number): Promise<IFile | null> {\n return this.axios.$get(`/incomeAllocation/annualGeneralMeeting/exercice/${idExercice}`);\n }\n\n create(params: CreateIncomeAllocation): Promise<IAccountingEntry[]> {\n return this.axios.$post('/incomeAllocation/', params);\n }\n\n get(idExercice: number): Promise<ReadIncomeAllocation> {\n return this.axios.$get(`/incomeAllocation/exercice/${idExercice}`);\n }\n\n delete(idExercice: number): Promise<boolean> {\n return this.axios.$delete(`/incomeAllocation/exercice/${idExercice}`);\n }\n}\n"],"sourceRoot":"","file":"IncomeAllocation.js"}
|
|
@@ -20,8 +20,8 @@ class Society extends _Resource.Resource {
|
|
|
20
20
|
return this.axios.$put('/society/invoiceEmail', data);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
createSociety(data, fromSubscription) {
|
|
24
|
-
return this.axios.$post(`/society/create?fromSubscription=${fromSubscription}`, data);
|
|
23
|
+
createSociety(data, fromSubscription, isCreatedInApp) {
|
|
24
|
+
return this.axios.$post(`/society/create?fromSubscription=${fromSubscription}&isCreatedInApp=${isCreatedInApp}`, data);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
updateSociety(id, data) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/api/resources/Society.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAmBM,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,EAAsB,gBAAtB,
|
|
1
|
+
{"version":3,"sources":["../../../ts/api/resources/Society.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAmBM,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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;AAC1F,WAAO,KAAK,KAAL,CAAW,KAAX,CAAiB,YAAY,SAAS,8BAAtC,EAAsE,IAAtE,CAAP;AACD;;AACD,EAAA,iCAAiC,CAAC,SAAD,EAAoB,EAApB,EAAgC,IAAhC,EAAuE;AACtG,WAAO,KAAK,KAAL,CAAW,IAAX,CAAgB,YAAY,SAAS,gCAAgC,EAAE,EAAvE,EAA2E,IAA3E,CAAP;AACD;;AACD,EAAA,MAAM,CAAC,EAAD,EAAW;AACf,WAAO,KAAK,KAAL,CAAW,OAAX,CAAmB,YAAY,EAAE,EAAjC,CAAP;AACD;;AA7CkC;;QAAxB,O,GAAA,O","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateInvoiceMail,\n UpdateInvoiceMail,\n IMailSociety,\n ISociety,\n LegalFormSiren,\n GetDataSociety,\n CreateSociety,\n CreateSynchronization,\n UpdateSociety,\n CreateBudgetBalanceBankAccount,\n IUser,\n ListUserSociety,\n CreateUserToSocietyWithPermission,\n UpdateUserToSocietyWithPermission,\n ReadSocietyUsers,\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, fromSubscription: boolean | string, isCreatedInApp: boolean): Promise<ISociety> {\n return this.axios.$post(`/society/create?fromSubscription=${fromSubscription}&isCreatedInApp=${isCreatedInApp}`, data);\n }\n updateSociety(id: number, data: UpdateSociety): Promise<ISociety> {\n return this.axios.$put(`/society/${id}/updateSociety`, data);\n }\n // this endpoint is used to fetch from extern api for legalForm\n getDataSociety(params: GetDataSociety): Promise<LegalFormSiren[]> {\n return this.axios.$get('/society/dataSociety', { params });\n }\n synchronize(id: number, params: CreateSynchronization): Promise<string> {\n return this.axios.$post(`/society/${id}/synchronize`, params);\n }\n autoImportationTransactions(): Promise<void> {\n return this.axios.$post('/society/bankAccount/autoImportationTransactions');\n }\n importBalanceBankAccount(idSociety: number, idBankAccount: number, params: CreateBudgetBalanceBankAccount): Promise<number> {\n return this.axios.$post(`/society/${idSociety}/bankAccount/${idBankAccount}/importBalance`, params);\n }\n listUserSociety(idSociety: number, params: ListUserSociety):Promise<ReadSocietyUsers> {\n return this.axios.$get(`/society/${idSociety}/users`, { params });\n }\n deleteUser(idSociety: number, idUser: number): Promise<true> {\n return this.axios.$delete(`/society/${idSociety}/user/${idUser}`);\n }\n createUserToSocietyWithPermission(idSociety: number, data: CreateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$post(`/society/${idSociety}/userToSocietyWithPermission`, data);\n }\n updateUserToSocietyWithPermission(idSociety: number, id: number, data: UpdateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$put(`/society/${idSociety}/userToSocietyWithPermission/${id}`, data);\n }\n delete(id: number): Promise<number> {\n return this.axios.$delete(`/society/${id}`);\n }\n}\n"],"sourceRoot":"","file":"Society.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.54",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "js/index.js",
|
|
@@ -20,7 +20,7 @@ export class IncomeAllocation extends Resource {
|
|
|
20
20
|
return this.axios.$post('/incomeAllocation/', params);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
get(idExercice: number): Promise<ReadIncomeAllocation
|
|
23
|
+
get(idExercice: number): Promise<ReadIncomeAllocation> {
|
|
24
24
|
return this.axios.$get(`/incomeAllocation/exercice/${idExercice}`);
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -29,8 +29,8 @@ export class Society extends Resource {
|
|
|
29
29
|
updateInvoiceEmail(data: UpdateInvoiceMail): Promise<IMailSociety | Error> {
|
|
30
30
|
return this.axios.$put('/society/invoiceEmail', data);
|
|
31
31
|
}
|
|
32
|
-
createSociety(data: CreateSociety, fromSubscription: boolean | string): Promise<ISociety> {
|
|
33
|
-
return this.axios.$post(`/society/create?fromSubscription=${fromSubscription}`, data);
|
|
32
|
+
createSociety(data: CreateSociety, fromSubscription: boolean | string, isCreatedInApp: boolean): Promise<ISociety> {
|
|
33
|
+
return this.axios.$post(`/society/create?fromSubscription=${fromSubscription}&isCreatedInApp=${isCreatedInApp}`, data);
|
|
34
34
|
}
|
|
35
35
|
updateSociety(id: number, data: UpdateSociety): Promise<ISociety> {
|
|
36
36
|
return this.axios.$put(`/society/${id}/updateSociety`, data);
|