@silexpert/core 0.4.5 → 0.4.6
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/PaymentExpectationCustomer.js.map +1 -1
- package/es/api/resources/Society.d.ts +8 -0
- package/es/api/resources/Society.d.ts.map +1 -0
- package/es/api/resources/Society.js +13 -0
- package/es/api/resources/Society.js.map +1 -0
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/Vat.d.ts +18 -0
- package/es/types/Enum/Vat.d.ts.map +1 -1
- package/es/types/Enum/Vat.js +27 -0
- package/es/types/Enum/Vat.js.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js +4 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/es/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/accountingTransaction/QueryTransaction.js +2 -1
- package/es/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/es/types/Interface/api/mailInvoice/CreateInvoiceMail.d.ts +4 -0
- package/es/types/Interface/api/mailInvoice/CreateInvoiceMail.d.ts.map +1 -0
- package/es/types/Interface/api/mailInvoice/CreateInvoiceMail.js +17 -0
- package/es/types/Interface/api/mailInvoice/CreateInvoiceMail.js.map +1 -0
- package/es/types/Interface/api/mailInvoice/UpdateInvoiceMail.d.ts +4 -0
- package/es/types/Interface/api/mailInvoice/UpdateInvoiceMail.d.ts.map +1 -0
- package/es/types/Interface/api/mailInvoice/UpdateInvoiceMail.js +17 -0
- package/es/types/Interface/api/mailInvoice/UpdateInvoiceMail.js.map +1 -0
- package/es/types/Interface/models/IApiError.d.ts +7 -3
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +11 -6
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +0 -2
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/index.d.ts +2 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +2 -1
- package/es/types/index.js.map +1 -1
- package/es/utils/decorators.d.ts +2 -0
- package/es/utils/decorators.d.ts.map +1 -1
- package/es/utils/decorators.js +11 -5
- package/es/utils/decorators.js.map +1 -1
- package/export-models.json +0 -74
- package/js/api/resources/PaymentExpectationCustomer.js.map +1 -1
- package/js/api/resources/Society.js +26 -0
- package/js/api/resources/Society.js.map +1 -0
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/Vat.js +27 -0
- package/js/types/Enum/Vat.js.map +1 -1
- package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js +6 -2
- package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/js/types/Interface/api/accountingTransaction/QueryTransaction.js +1 -1
- package/js/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/js/types/Interface/api/mailInvoice/CreateInvoiceMail.js +27 -0
- package/js/types/Interface/api/mailInvoice/CreateInvoiceMail.js.map +1 -0
- package/js/types/Interface/api/mailInvoice/UpdateInvoiceMail.js +27 -0
- package/js/types/Interface/api/mailInvoice/UpdateInvoiceMail.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +12 -7
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +24 -12
- package/js/types/index.js.map +1 -1
- package/js/utils/decorators.js +16 -7
- package/js/utils/decorators.js.map +1 -1
- package/package.json +16 -16
- package/table.json +0 -1
- package/ts/api/resources/PaymentExpectationCustomer.ts +1 -1
- package/ts/api/resources/Society.ts +20 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/Vat.ts +27 -0
- package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +4 -3
- package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +3 -2
- package/ts/types/Interface/api/mailInvoice/CreateInvoiceMail.ts +6 -0
- package/ts/types/Interface/api/mailInvoice/UpdateInvoiceMail.ts +6 -0
- package/ts/types/Interface/models/IApiError.ts +7 -2
- package/ts/types/Interface/models/ISociety.ts +0 -2
- package/ts/types/index.ts +2 -1
- package/ts/utils/decorators.ts +12 -5
- package/es/types/Interface/models/ISocietyProcessRegister.d.ts +0 -10
- package/es/types/Interface/models/ISocietyProcessRegister.d.ts.map +0 -1
- package/es/types/Interface/models/ISocietyProcessRegister.js +0 -2
- package/es/types/Interface/models/ISocietyProcessRegister.js.map +0 -1
- package/js/types/Interface/models/ISocietyProcessRegister.js +0 -6
- package/js/types/Interface/models/ISocietyProcessRegister.js.map +0 -1
- package/ts/types/Interface/models/ISocietyProcessRegister.ts +0 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../ts/api/resources/PaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,0BAA2B,SAAQ,QAAQ;IACtD,GAAG,CAAC,MAA0C;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,YAAY,CAAC,MAAoD;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,gCAAgC,EAAE;YACnF,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IACD,KAAK,CAAC,MAAyD;QAC7D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,sCAAsC,EAAE;YACzF,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IACD,GAAG,CAAC,MAA0C;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,iCAAiC,EAAE,MAAM,CAAC,CAAC;IACrE,CAAC;IACD,OAAO,CAAC,MAA8C;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,qCAAqC,EAAE,MAAM,CAAC,CAAC;IACzE,CAAC;IACD,MAAM,CAAC,MAAoD;QACzD,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,MAAM,CAAC,SAAS,kCAAkC,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC;IACvG,CAAC;IACD,MAAM,CAAC,MAAqD;QAC1D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,kCAAkC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACnH,CAAC;IACD,MAAM,CAAC,MAA+C;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,SAAS,6BAA6B,EAAE,MAAM,CAAC,CAAC;IAC7F,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n QueryGetPaymentExpectationCustomer, IPaymentExpectationCustomer, QueryPayPaymentExpectationCustomer, QueryConfirmPaymentExpectationCustomer, QueryGetSocietyPaymentsExpectationsCustomers, QueryDeleteSocietyPaymentExpectationCustomer, BasePaginate, UpdateRefundSocietyPaymentExpectationCustomer, CreateSocietyPaymentExpectationCustomer, ReadPaymentExpectationCustomerStat, QueryGetSocietyPaymentsExpectationsCustomersStats,\n} from '../../types';\n\nexport class PaymentExpectationCustomer extends Resource {\n get(params: QueryGetPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params });\n }\n getBySociety(params: QueryGetSocietyPaymentsExpectationsCustomers): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers`, {\n params,\n });\n }\n stats(params: QueryGetSocietyPaymentsExpectationsCustomersStats): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers/stats`, {\n params,\n });\n }\n pay(params: QueryPayPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(params: QueryConfirmPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(params: QueryDeleteSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`);\n }\n refund(params: UpdateRefundSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`, params);\n }\n create(params: CreateSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(`/society/${params.idSociety}/paymentExpectationCustomer`, params);\n }\n}"]}
|
|
1
|
+
{"version":3,"file":"PaymentExpectationCustomer.js","sourceRoot":"","sources":["../../../ts/api/resources/PaymentExpectationCustomer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,0BAA2B,SAAQ,QAAQ;IACtD,GAAG,CAAC,MAA0C;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,YAAY,CAAC,MAAoD;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,gCAAgC,EAAE;YACnF,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IACD,KAAK,CAAC,MAAyD;QAC7D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,sCAAsC,EAAE;YACzF,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IACD,GAAG,CAAC,MAA0C;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,iCAAiC,EAAE,MAAM,CAAC,CAAC;IACrE,CAAC;IACD,OAAO,CAAC,MAA8C;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,qCAAqC,EAAE,MAAM,CAAC,CAAC;IACzE,CAAC;IACD,MAAM,CAAC,MAAoD;QACzD,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,MAAM,CAAC,SAAS,kCAAkC,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC;IACvG,CAAC;IACD,MAAM,CAAC,MAAqD;QAC1D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,kCAAkC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACnH,CAAC;IACD,MAAM,CAAC,MAA+C;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,SAAS,6BAA6B,EAAE,MAAM,CAAC,CAAC;IAC7F,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n QueryGetPaymentExpectationCustomer, IPaymentExpectationCustomer, QueryPayPaymentExpectationCustomer, QueryConfirmPaymentExpectationCustomer, QueryGetSocietyPaymentsExpectationsCustomers, QueryDeleteSocietyPaymentExpectationCustomer, BasePaginate, UpdateRefundSocietyPaymentExpectationCustomer, CreateSocietyPaymentExpectationCustomer, ReadPaymentExpectationCustomerStat, QueryGetSocietyPaymentsExpectationsCustomersStats,\n} from '../../types';\n\nexport class PaymentExpectationCustomer extends Resource {\n get(params: QueryGetPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params });\n }\n getBySociety(params: QueryGetSocietyPaymentsExpectationsCustomers): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers`, {\n params,\n });\n }\n stats(params: QueryGetSocietyPaymentsExpectationsCustomersStats): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers/stats`, {\n params,\n });\n }\n pay(params: QueryPayPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(params: QueryConfirmPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(params: QueryDeleteSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`);\n }\n refund(params: UpdateRefundSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`, params);\n }\n create(params: CreateSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(`/society/${params.idSociety}/paymentExpectationCustomer`, params);\n }\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import { CreateInvoiceMail, UpdateInvoiceMail, IMailSociety } from '../../types';
|
|
3
|
+
export declare class Society extends Resource {
|
|
4
|
+
getInvoiceEmail(): Promise<IMailSociety | Error>;
|
|
5
|
+
createInvoiceEmail(data: CreateInvoiceMail): Promise<IMailSociety | Error>;
|
|
6
|
+
updateInvoiceEmail(data: UpdateInvoiceMail): Promise<IMailSociety | Error>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=Society.d.ts.map
|
|
@@ -0,0 +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,EACb,MAAM,aAAa,CAAC;AAErB,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,eAAe,IAAI,OAAO,CAAC,YAAY,GAAG,KAAK,CAAC;IAIhD,kBAAkB,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,GAAG,KAAK,CAAC;IAI1E,kBAAkB,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,GAAG,KAAK,CAAC;CAG3E"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
export class Society extends Resource {
|
|
3
|
+
getInvoiceEmail() {
|
|
4
|
+
return this.axios.$get('/society/invoiceEmail');
|
|
5
|
+
}
|
|
6
|
+
createInvoiceEmail(data) {
|
|
7
|
+
return this.axios.$post('/society/invoiceEmail', data);
|
|
8
|
+
}
|
|
9
|
+
updateInvoiceEmail(data) {
|
|
10
|
+
return this.axios.$put('/society/invoiceEmail', data);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=Society.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Society.js","sourceRoot":"","sources":["../../../ts/api/resources/Society.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAOvC,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;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateInvoiceMail,\n UpdateInvoiceMail,\n IMailSociety,\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}\n"]}
|
package/es/api/resources.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { Transaction } from './resources/Transaction';
|
|
|
7
7
|
import { Account } from './resources/Account';
|
|
8
8
|
import { User } from './resources/User';
|
|
9
9
|
import { Survey } from './resources/Survey';
|
|
10
|
+
import { Society } from './resources/Society';
|
|
10
11
|
export declare const resources: {
|
|
11
12
|
simulation: typeof Simulation;
|
|
12
13
|
country: typeof Country;
|
|
@@ -17,5 +18,6 @@ export declare const resources: {
|
|
|
17
18
|
account: typeof Account;
|
|
18
19
|
user: typeof User;
|
|
19
20
|
survey: typeof Survey;
|
|
21
|
+
society: typeof Society;
|
|
20
22
|
};
|
|
21
23
|
//# sourceMappingURL=resources.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,eAAO,MAAM,SAAS;;;;;;;;;;;CAWrB,CAAC"}
|
package/es/api/resources.js
CHANGED
|
@@ -7,6 +7,7 @@ import { Transaction } from './resources/Transaction';
|
|
|
7
7
|
import { Account } from './resources/Account';
|
|
8
8
|
import { User } from './resources/User';
|
|
9
9
|
import { Survey } from './resources/Survey';
|
|
10
|
+
import { Society } from './resources/Society';
|
|
10
11
|
export const resources = {
|
|
11
12
|
simulation: Simulation,
|
|
12
13
|
country: Country,
|
|
@@ -17,5 +18,6 @@ export const resources = {
|
|
|
17
18
|
account: Account,
|
|
18
19
|
user: User,
|
|
19
20
|
survey: Survey,
|
|
21
|
+
society: Society,
|
|
20
22
|
};
|
|
21
23
|
//# sourceMappingURL=resources.js.map
|
package/es/api/resources.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,UAAU,EAAE,UAAU;IACtB,OAAO,EAAE,OAAO;IAChB,0BAA0B,EAAE,0BAA0B;IACtD,cAAc,EAAE,cAAc;IAC9B,WAAW,EAAE,WAAW;IACxB,WAAW,EAAE,WAAW;IACxB,OAAO,EAAE,OAAO;IAChB,IAAI,EAAE,IAAI;IACV,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,OAAO;CACjB,CAAC","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 { Society } from './resources/Society';\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 society: Society,\n};\n"]}
|
package/es/types/Enum/Vat.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const Vat: {
|
|
2
2
|
WITHOUT_TAXE: {
|
|
3
3
|
id: number;
|
|
4
|
+
idTva: number;
|
|
4
5
|
value: number;
|
|
6
|
+
displayOrder: number;
|
|
5
7
|
name: string;
|
|
6
8
|
collected: number;
|
|
7
9
|
deductible: number;
|
|
@@ -9,7 +11,9 @@ export declare const Vat: {
|
|
|
9
11
|
};
|
|
10
12
|
TX_5_5: {
|
|
11
13
|
id: number;
|
|
14
|
+
idTva: number;
|
|
12
15
|
value: number;
|
|
16
|
+
displayOrder: number;
|
|
13
17
|
name: string;
|
|
14
18
|
collected: number;
|
|
15
19
|
deductible: number;
|
|
@@ -17,7 +21,9 @@ export declare const Vat: {
|
|
|
17
21
|
};
|
|
18
22
|
TX_10: {
|
|
19
23
|
id: number;
|
|
24
|
+
idTva: number;
|
|
20
25
|
value: number;
|
|
26
|
+
displayOrder: number;
|
|
21
27
|
name: string;
|
|
22
28
|
collected: number;
|
|
23
29
|
deductible: number;
|
|
@@ -25,7 +31,9 @@ export declare const Vat: {
|
|
|
25
31
|
};
|
|
26
32
|
TX_20: {
|
|
27
33
|
id: number;
|
|
34
|
+
idTva: number;
|
|
28
35
|
value: number;
|
|
36
|
+
displayOrder: number;
|
|
29
37
|
name: string;
|
|
30
38
|
collected: number;
|
|
31
39
|
deductible: number;
|
|
@@ -33,7 +41,9 @@ export declare const Vat: {
|
|
|
33
41
|
};
|
|
34
42
|
TX_2_1: {
|
|
35
43
|
id: number;
|
|
44
|
+
idTva: number;
|
|
36
45
|
value: number;
|
|
46
|
+
displayOrder: number;
|
|
37
47
|
name: string;
|
|
38
48
|
collected: number;
|
|
39
49
|
deductible: number;
|
|
@@ -41,7 +51,9 @@ export declare const Vat: {
|
|
|
41
51
|
};
|
|
42
52
|
TX_8_5: {
|
|
43
53
|
id: number;
|
|
54
|
+
idTva: number;
|
|
44
55
|
value: number;
|
|
56
|
+
displayOrder: number;
|
|
45
57
|
name: string;
|
|
46
58
|
collected: number;
|
|
47
59
|
deductible: number;
|
|
@@ -49,7 +61,9 @@ export declare const Vat: {
|
|
|
49
61
|
};
|
|
50
62
|
MARGE: {
|
|
51
63
|
id: number;
|
|
64
|
+
idTva: number;
|
|
52
65
|
value: number;
|
|
66
|
+
displayOrder: number;
|
|
53
67
|
name: string;
|
|
54
68
|
collected: number;
|
|
55
69
|
deductible: number;
|
|
@@ -57,7 +71,9 @@ export declare const Vat: {
|
|
|
57
71
|
};
|
|
58
72
|
INTRACOM: {
|
|
59
73
|
id: number;
|
|
74
|
+
idTva: number;
|
|
60
75
|
value: number;
|
|
76
|
+
displayOrder: number;
|
|
61
77
|
name: string;
|
|
62
78
|
collected: number;
|
|
63
79
|
deductible: number;
|
|
@@ -65,7 +81,9 @@ export declare const Vat: {
|
|
|
65
81
|
};
|
|
66
82
|
MANUAL: {
|
|
67
83
|
id: number;
|
|
84
|
+
idTva: number;
|
|
68
85
|
value: number;
|
|
86
|
+
displayOrder: number;
|
|
69
87
|
name: string;
|
|
70
88
|
collected: number;
|
|
71
89
|
deductible: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Vat.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/Vat.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"Vat.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/Vat.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGf,CAAC"}
|
package/es/types/Enum/Vat.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export const Vat = {
|
|
2
2
|
WITHOUT_TAXE: {
|
|
3
3
|
id: 1,
|
|
4
|
+
// TODO We should remove idTva when GET vat is remove from api v1
|
|
5
|
+
idTva: 1,
|
|
4
6
|
value: 0,
|
|
7
|
+
displayOrder: 6,
|
|
5
8
|
name: 'Hors-Taxe',
|
|
6
9
|
collected: 212,
|
|
7
10
|
deductible: 221,
|
|
@@ -9,7 +12,10 @@ export const Vat = {
|
|
|
9
12
|
},
|
|
10
13
|
TX_5_5: {
|
|
11
14
|
id: 2,
|
|
15
|
+
// TODO We should remove idTva when GET vat is remove from api v1
|
|
16
|
+
idTva: 2,
|
|
12
17
|
value: 5.5,
|
|
18
|
+
displayOrder: 4,
|
|
13
19
|
name: 'TVA 5.5%',
|
|
14
20
|
collected: 209,
|
|
15
21
|
deductible: 4,
|
|
@@ -17,7 +23,10 @@ export const Vat = {
|
|
|
17
23
|
},
|
|
18
24
|
TX_10: {
|
|
19
25
|
id: 3,
|
|
26
|
+
// TODO We should remove idTva when GET vat is remove from api v1
|
|
27
|
+
idTva: 3,
|
|
20
28
|
value: 10,
|
|
29
|
+
displayOrder: 2,
|
|
21
30
|
name: 'TVA 10%',
|
|
22
31
|
collected: 210,
|
|
23
32
|
deductible: 5,
|
|
@@ -25,7 +34,10 @@ export const Vat = {
|
|
|
25
34
|
},
|
|
26
35
|
TX_20: {
|
|
27
36
|
id: 4,
|
|
37
|
+
// TODO We should remove idTva when GET vat is remove from api v1
|
|
38
|
+
idTva: 4,
|
|
28
39
|
value: 20,
|
|
40
|
+
displayOrder: 1,
|
|
29
41
|
name: 'TVA 20%',
|
|
30
42
|
collected: 211,
|
|
31
43
|
deductible: 6,
|
|
@@ -33,7 +45,10 @@ export const Vat = {
|
|
|
33
45
|
},
|
|
34
46
|
TX_2_1: {
|
|
35
47
|
id: 6,
|
|
48
|
+
// TODO We should remove idTva when GET vat is remove from api v1
|
|
49
|
+
idTva: 6,
|
|
36
50
|
value: 2.1,
|
|
51
|
+
displayOrder: 5,
|
|
37
52
|
name: 'TVA 2.1%',
|
|
38
53
|
collected: 222,
|
|
39
54
|
deductible: 7,
|
|
@@ -41,7 +56,10 @@ export const Vat = {
|
|
|
41
56
|
},
|
|
42
57
|
TX_8_5: {
|
|
43
58
|
id: 7,
|
|
59
|
+
// TODO We should remove idTva when GET vat is remove from api v1
|
|
60
|
+
idTva: 7,
|
|
44
61
|
value: 8.5,
|
|
62
|
+
displayOrder: 3,
|
|
45
63
|
name: 'TVA 8.5%',
|
|
46
64
|
collected: 345,
|
|
47
65
|
deductible: 8,
|
|
@@ -49,7 +67,10 @@ export const Vat = {
|
|
|
49
67
|
},
|
|
50
68
|
MARGE: {
|
|
51
69
|
id: 8,
|
|
70
|
+
// TODO We should remove idTva when GET vat is remove from api v1
|
|
71
|
+
idTva: 8,
|
|
52
72
|
value: 0,
|
|
73
|
+
displayOrder: 9,
|
|
53
74
|
name: 'Sur Marge',
|
|
54
75
|
collected: 211,
|
|
55
76
|
deductible: 9,
|
|
@@ -57,7 +78,10 @@ export const Vat = {
|
|
|
57
78
|
},
|
|
58
79
|
INTRACOM: {
|
|
59
80
|
id: 9,
|
|
81
|
+
// TODO We should remove idTva when GET vat is remove from api v1
|
|
82
|
+
idTva: 9,
|
|
60
83
|
value: 20,
|
|
84
|
+
displayOrder: 7,
|
|
61
85
|
name: 'TVA intracom',
|
|
62
86
|
collected: 207,
|
|
63
87
|
deductible: 208,
|
|
@@ -65,7 +89,10 @@ export const Vat = {
|
|
|
65
89
|
},
|
|
66
90
|
MANUAL: {
|
|
67
91
|
id: 11,
|
|
92
|
+
// TODO We should remove idTva when GET vat is remove from api v1
|
|
93
|
+
idTva: 11,
|
|
68
94
|
value: 0,
|
|
95
|
+
displayOrder: 8,
|
|
69
96
|
name: 'TVA manuelle',
|
|
70
97
|
collected: 0,
|
|
71
98
|
deductible: 0,
|
package/es/types/Enum/Vat.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Vat.js","sourceRoot":"","sources":["../../../ts/types/Enum/Vat.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,YAAY,EAAE;QACZ,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,CAAC;QACR,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,GAAG;QACd,UAAU,EAAE,GAAG;QACf,cAAc,EAAE,EAAE;KACnB;IACD,MAAM,EAAE;QACN,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,GAAG;QACV,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,GAAG;QACd,UAAU,EAAE,CAAC;QACb,cAAc,EAAE,EAAE;KACnB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,GAAG;QACd,UAAU,EAAE,CAAC;QACb,cAAc,EAAE,EAAE;KACnB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,GAAG;QACd,UAAU,EAAE,CAAC;QACb,cAAc,EAAE,EAAE;KACnB;IACD,MAAM,EAAE;QACN,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,GAAG;QACV,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,GAAG;QACd,UAAU,EAAE,CAAC;QACb,cAAc,EAAE,EAAE;KACnB;IACD,MAAM,EAAE;QACN,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,GAAG;QACV,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,GAAG;QACd,UAAU,EAAE,CAAC;QACb,cAAc,EAAE,EAAE;KACnB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,CAAC;QACR,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,GAAG;QACd,UAAU,EAAE,CAAC;QACb,cAAc,EAAE,IAAI;KACrB;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,cAAc;QACpB,SAAS,EAAE,GAAG;QACd,UAAU,EAAE,GAAG;QACf,cAAc,EAAE,GAAG;KACpB;IACD,MAAM,EAAE;QACN,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,CAAC;QACR,IAAI,EAAE,cAAc;QACpB,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,CAAC;QACb,cAAc,EAAE,IAAI;KACrB;CACF,CAAC","sourcesContent":["export const Vat = {\n WITHOUT_TAXE: {\n id: 1,\n value: 0,\n name: 'Hors-Taxe',\n collected: 212,\n deductible: 221,\n immobilization: 19,\n },\n TX_5_5: {\n id: 2,\n value: 5.5,\n name: 'TVA 5.5%',\n collected: 209,\n deductible: 4,\n immobilization: 10,\n },\n TX_10: {\n id: 3,\n value: 10,\n name: 'TVA 10%',\n collected: 210,\n deductible: 5,\n immobilization: 11,\n },\n TX_20: {\n id: 4,\n value: 20,\n name: 'TVA 20%',\n collected: 211,\n deductible: 6,\n immobilization: 12,\n },\n TX_2_1: {\n id: 6,\n value: 2.1,\n name: 'TVA 2.1%',\n collected: 222,\n deductible: 7,\n immobilization: 13,\n },\n TX_8_5: {\n id: 7,\n value: 8.5,\n name: 'TVA 8.5%',\n collected: 345,\n deductible: 8,\n immobilization: 15,\n },\n MARGE: {\n id: 8,\n value: 0,\n name: 'Sur Marge',\n collected: 211,\n deductible: 9,\n immobilization: null,\n },\n INTRACOM: {\n id: 9,\n value: 20,\n name: 'TVA intracom',\n collected: 207,\n deductible: 208,\n immobilization: 208,\n },\n MANUAL: {\n id: 11,\n value: 0,\n name: 'TVA manuelle',\n collected: 0,\n deductible: 0,\n immobilization: null,\n },\n};"]}
|
|
1
|
+
{"version":3,"file":"Vat.js","sourceRoot":"","sources":["../../../ts/types/Enum/Vat.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,YAAY,EAAE;QACZ,EAAE,EAAE,CAAC;QACL,iEAAiE;QACjE,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,CAAC;QACR,YAAY,EAAE,CAAC;QACf,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,GAAG;QACd,UAAU,EAAE,GAAG;QACf,cAAc,EAAE,EAAE;KACnB;IACD,MAAM,EAAE;QACN,EAAE,EAAE,CAAC;QACL,iEAAiE;QACjE,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,GAAG;QACV,YAAY,EAAE,CAAC;QACf,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,GAAG;QACd,UAAU,EAAE,CAAC;QACb,cAAc,EAAE,EAAE;KACnB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,CAAC;QACL,iEAAiE;QACjE,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,EAAE;QACT,YAAY,EAAE,CAAC;QACf,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,GAAG;QACd,U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T,KAAK,EAAE,CAAC;QACR,YAAY,EAAE,CAAC;QACf,IAAI,EAAE,cAAc;QACpB,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,CAAC;QACb,cAAc,EAAE,IAAI;KACrB;CACF,CAAC","sourcesContent":["export const Vat = {\n WITHOUT_TAXE: {\n id: 1,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 1,\n value: 0,\n displayOrder: 6,\n name: 'Hors-Taxe',\n collected: 212,\n deductible: 221,\n immobilization: 19,\n },\n TX_5_5: {\n id: 2,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 2,\n value: 5.5,\n displayOrder: 4,\n name: 'TVA 5.5%',\n collected: 209,\n deductible: 4,\n immobilization: 10,\n },\n TX_10: {\n id: 3,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 3,\n value: 10,\n displayOrder: 2,\n name: 'TVA 10%',\n collected: 210,\n deductible: 5,\n immobilization: 11,\n },\n TX_20: {\n id: 4,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 4,\n value: 20,\n displayOrder: 1,\n name: 'TVA 20%',\n collected: 211,\n deductible: 6,\n immobilization: 12,\n },\n TX_2_1: {\n id: 6,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 6,\n value: 2.1,\n displayOrder: 5,\n name: 'TVA 2.1%',\n collected: 222,\n deductible: 7,\n immobilization: 13,\n },\n TX_8_5: {\n id: 7,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 7,\n value: 8.5,\n displayOrder: 3,\n name: 'TVA 8.5%',\n collected: 345,\n deductible: 8,\n immobilization: 15,\n },\n MARGE: {\n id: 8,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 8,\n value: 0,\n displayOrder: 9,\n name: 'Sur Marge',\n collected: 211,\n deductible: 9,\n immobilization: null,\n },\n INTRACOM: {\n id: 9,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 9,\n value: 20,\n displayOrder: 7,\n name: 'TVA intracom',\n collected: 207,\n deductible: 208,\n immobilization: 208,\n },\n MANUAL: {\n id: 11,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 11,\n value: 0,\n displayOrder: 8,\n name: 'TVA manuelle',\n collected: 0,\n deductible: 0,\n immobilization: null,\n },\n};"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnnotateAccountingTransaction.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGnE,oBAAY,kBAAkB,GAAG,eAAe,CAAC;AAEjD,
|
|
1
|
+
{"version":3,"file":"AnnotateAccountingTransaction.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGnE,oBAAY,kBAAkB,GAAG,eAAe,CAAC;AAEjD,qBAAa,SAAS;IACpB,GAAG,CAAC,EAAG,MAAM,GAAG;QACd,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IACJ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAGD,oBAAY,6BAA6B,GAAG,SAAS,EAAE,CAAC;AAExD,qBAAa,2BAA2B;IAGtC,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC;IAEtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB;AAGD,MAAM,WAAW,kCAAmC,SAAQ,sBAAsB;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,6BAA6B,CAAC;CACzC"}
|
|
@@ -7,11 +7,14 @@ 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 { ApiPropertyOptional } from '../../../../utils';
|
|
10
|
+
import { ApiPropertyOptional, Type } from '../../../../utils';
|
|
11
|
+
export class FormEntry {
|
|
12
|
+
}
|
|
11
13
|
export class UpdateAccountingTransaction {
|
|
12
14
|
}
|
|
13
15
|
__decorate([
|
|
14
16
|
ApiPropertyOptional(),
|
|
17
|
+
Type(() => FormEntry),
|
|
15
18
|
__metadata("design:type", Array)
|
|
16
19
|
], UpdateAccountingTransaction.prototype, "entries", void 0);
|
|
17
20
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnnotateAccountingTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"AnnotateAccountingTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAI9D,MAAM,OAAO,SAAS;CAYrB;AAKD,MAAM,OAAO,2BAA2B;CAQvC;AALC;IAFC,mBAAmB,EAAE;IACrB,IAAI,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC;;4DACA;AAEtB;IADC,mBAAmB,EAAE;;4DACL;AAEjB;IADC,mBAAmB,EAAE;;6DACC","sourcesContent":["import { IAccountingTransaction, IImmobilization } from '../../..';\nimport { ApiPropertyOptional, Type } from '../../../../utils';\n\nexport type FormImmobilization = IImmobilization;\n\nexport class FormEntry {\n vat? : number | {\n idVat: number;\n amount: number;\n }[];\n idAccount?: number;\n idThirdParty?: number;\n amountAllTaxIncludedPurchase?: number;\n designation?: string;\n amountAllTaxIncluded?: number;\n immobilization?: FormImmobilization; // pour la création d'une immo\n idImmobilization?: number; //\n}\n\n// Permet d'annoté une transaction bancaire Split, Marge, Intracom, Immo etc...\nexport type AnnotateAccountingTransaction = FormEntry[];\n\nexport class UpdateAccountingTransaction {\n @ApiPropertyOptional()\n @Type(() => FormEntry)\n entries?: FormEntry[];\n @ApiPropertyOptional()\n comment?: string;\n @ApiPropertyOptional()\n exported?: Date | null;\n}\n\n// Permet d'afficher une transaction bancaire avec les informations de base ainsi que les informations d'annotations\nexport interface ReadFormattedAccountingTransaction extends IAccountingTransaction {\n amount: number;\n comment: string | null;\n designation: string | null;\n debit: number;\n credit: number;\n autoAnnotateWithML: boolean;\n entries?: AnnotateAccountingTransaction;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTransaction.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingTransaction/QueryTransaction.ts"],"names":[],"mappings":"AAEA,qBAAa,gBAAgB;IAC3B,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryTransaction.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingTransaction/QueryTransaction.ts"],"names":[],"mappings":"AAEA,qBAAa,gBAAgB;IAC3B,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAId,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAG9B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAGzB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,cAAc,CAAC,EAAE,OAAO,CAAC;IAGzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B"}
|
|
@@ -7,7 +7,7 @@ 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 { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
10
|
+
import { ApiProperty, ApiPropertyOptional, Type } from '../../../../utils';
|
|
11
11
|
export class QueryTransaction {
|
|
12
12
|
}
|
|
13
13
|
__decorate([
|
|
@@ -20,6 +20,7 @@ __decorate([
|
|
|
20
20
|
], QueryTransaction.prototype, "limit", void 0);
|
|
21
21
|
__decorate([
|
|
22
22
|
ApiProperty(),
|
|
23
|
+
Type(() => Number),
|
|
23
24
|
__metadata("design:type", Array)
|
|
24
25
|
], QueryTransaction.prototype, "idAccountingJournal", void 0);
|
|
25
26
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingTransaction/QueryTransaction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingTransaction/QueryTransaction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAE3E,MAAM,OAAO,gBAAgB;CA0C5B;AAtCC;IADC,WAAW,EAAE;;8CACD;AAGb;IADC,WAAW,EAAE;;+CACA;AAId;IAFC,WAAW,EAAE;IACb,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;6DACW;AAG9B;IADC,mBAAmB,EAAE;;uDACG;AAGzB;IADC,mBAAmB,EAAE;;uDACC;AAGvB;IADC,mBAAmB,EAAE;;iDACL;AAGjB;IADC,mBAAmB,EAAE;;gDACN;AAGhB;IADC,mBAAmB,EAAE;;oDACD;AAGrB;IADC,mBAAmB,EAAE;;oDACD;AAGrB;IADC,mBAAmB,EAAE;;mDACH;AAGnB;IADC,mBAAmB,EAAE;;iDACL;AAGjB;IADC,mBAAmB,EAAE;;wDACG;AAGzB;IADC,mBAAmB,EAAE;;0DACK","sourcesContent":["import { ApiProperty, ApiPropertyOptional, Type } from '../../../../utils';\n\nexport class QueryTransaction {\n id: number;\n\n @ApiProperty()\n page: number;\n\n @ApiProperty()\n limit: number;\n\n @ApiProperty()\n @Type(() => Number)\n idAccountingJournal: number[];\n\n @ApiPropertyOptional()\n idBankAccount?: number[];\n\n @ApiPropertyOptional()\n idAccountType?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n toAnnotate?: boolean;\n\n @ApiPropertyOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n withoutReceipt?: boolean;\n\n @ApiPropertyOptional()\n invoiceRequested?: boolean;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateInvoiceMail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mailInvoice/CreateInvoiceMail.ts"],"names":[],"mappings":"AAEA,qBAAa,iBAAiB;IAE5B,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -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 { ApiProperty } from '../../../../utils';
|
|
11
|
+
export class CreateInvoiceMail {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiProperty(),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], CreateInvoiceMail.prototype, "prefix", void 0);
|
|
17
|
+
//# sourceMappingURL=CreateInvoiceMail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateInvoiceMail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mailInvoice/CreateInvoiceMail.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,iBAAiB;CAG7B;AADC;IADC,WAAW,EAAE;;iDACC","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class CreateInvoiceMail {\n @ApiProperty()\n prefix: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateInvoiceMail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mailInvoice/UpdateInvoiceMail.ts"],"names":[],"mappings":"AAEA,qBAAa,iBAAiB;IAE5B,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -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 { ApiProperty } from '../../../../utils';
|
|
11
|
+
export class UpdateInvoiceMail {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiProperty(),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], UpdateInvoiceMail.prototype, "prefix", void 0);
|
|
17
|
+
//# sourceMappingURL=UpdateInvoiceMail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateInvoiceMail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mailInvoice/UpdateInvoiceMail.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,iBAAiB;CAG7B;AADC;IADC,WAAW,EAAE;;iDACC","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class UpdateInvoiceMail {\n @ApiProperty()\n prefix: string;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum
|
|
1
|
+
export declare enum ErrorType {
|
|
2
2
|
apiError = "api_error",
|
|
3
3
|
authError = "authentication_error",
|
|
4
4
|
resourceError = "rsc_error"
|
|
@@ -32,10 +32,14 @@ export declare enum Code {
|
|
|
32
32
|
amountImmobilizationLessThanAmountTransaction = "amount_immobilization_less_than_amount_transaction",
|
|
33
33
|
amountImmobilizationLessThanAmountAllTaxIncluded = "amount_immobilization_less_than_amount_all_tax_included",
|
|
34
34
|
amountImmobilizationIsGreaterThanTotalAmountTransactions = "amount_immobilization_is_greater_than_total_amount_transactions",
|
|
35
|
-
mergeFailed = "merge_failed"
|
|
35
|
+
mergeFailed = "merge_failed",
|
|
36
|
+
emailAlreadyExist = "email_already_exist",
|
|
37
|
+
societyCustomEmailAlreadyExist = "society_custom_email_already_exist",
|
|
38
|
+
societyCustomEmailNotFound = "society_custom_email_not_found",
|
|
39
|
+
emailNotFound = "email_not_found"
|
|
36
40
|
}
|
|
37
41
|
export interface IApiError {
|
|
38
|
-
type:
|
|
42
|
+
type: ErrorType;
|
|
39
43
|
code: Code;
|
|
40
44
|
message: string;
|
|
41
45
|
param?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,
|
|
1
|
+
{"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,SA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error";
|
|
4
|
+
ErrorType["authError"] = "authentication_error";
|
|
5
|
+
ErrorType["resourceError"] = "rsc_error";
|
|
6
|
+
})(ErrorType || (ErrorType = {}));
|
|
7
7
|
export var Code;
|
|
8
8
|
(function (Code) {
|
|
9
9
|
// HTTP Error
|
|
@@ -38,5 +38,10 @@ export var Code;
|
|
|
38
38
|
Code["amountImmobilizationIsGreaterThanTotalAmountTransactions"] = "amount_immobilization_is_greater_than_total_amount_transactions";
|
|
39
39
|
// PDF error
|
|
40
40
|
Code["mergeFailed"] = "merge_failed";
|
|
41
|
+
// Email error
|
|
42
|
+
Code["emailAlreadyExist"] = "email_already_exist";
|
|
43
|
+
Code["societyCustomEmailAlreadyExist"] = "society_custom_email_already_exist";
|
|
44
|
+
Code["societyCustomEmailNotFound"] = "society_custom_email_not_found";
|
|
45
|
+
Code["emailNotFound"] = "email_not_found";
|
|
41
46
|
})(Code || (Code = {}));
|
|
42
47
|
//# sourceMappingURL=IApiError.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,wCAA2B,CAAA;AAC7B,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAED,MAAM,CAAN,IAAY,IAyCX;AAzCD,WAAY,IAAI;IACd,aAAa;IACb,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,uCAA+B,CAAA;IAC/B,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAC7C,gDAAwC,CAAA;IAExC,mBAAmB;IACnB,mDAA2C,CAAA;IAC3C,kFAA0E,CAAA;IAC1E,8EAAsE,CAAA;IACtE,wIAAgI,CAAA;IAChI,iDAAyC,CAAA;IACzC,wFAAgF,CAAA;IAChF,iFAAyE,CAAA;IACzE,kFAA0E,CAAA;IAC1E,6EAAqE,CAAA;IACrE,8EAAsE,CAAA;IACtE,wEAAgE,CAAA;IAChE,yDAAiD,CAAA;IACjD,kDAA0C,CAAA;IAC1C,iGAAyF,CAAA;IACzF,uFAA+E,CAAA;IAC/E,iGAAyF,CAAA;IACzF,iFAAyE,CAAA;IACzE,4GAAoG,CAAA;IACpG,oHAA4G,CAAA;IAC5G,oIAA4H,CAAA;IAE5H,YAAY;IACZ,oCAA4B,CAAA;IAE5B,cAAc;IACd,iDAAyC,CAAA;IACzC,6EAAqE,CAAA;IACrE,qEAA6D,CAAA;IAC7D,yCAAiC,CAAA;AACnC,CAAC,EAzCW,IAAI,KAAJ,IAAI,QAyCf","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\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\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
|
|
@@ -19,7 +19,6 @@ import { ISubscriptionType } from './ISubscriptionType';
|
|
|
19
19
|
import { ISocietyConfig } from './ISocietyConfig';
|
|
20
20
|
import { ISocietyGescom } from './ISocietyGescom';
|
|
21
21
|
import { ISocietyCgv } from './ISocietyCgv';
|
|
22
|
-
import { ISocietyProcessRegister } from './ISocietyProcessRegister';
|
|
23
22
|
import { IFormalism } from './IFormalism';
|
|
24
23
|
import { ISocietyNote } from './ISocietyNote';
|
|
25
24
|
import { ITaxSystem } from './ITaxSystem';
|
|
@@ -150,7 +149,6 @@ export interface ISociety {
|
|
|
150
149
|
config?: ISocietyConfig;
|
|
151
150
|
gescom?: ISocietyGescom;
|
|
152
151
|
societyCgv?: ISocietyCgv;
|
|
153
|
-
processRegister?: ISocietyProcessRegister;
|
|
154
152
|
formalism?: IFormalism;
|
|
155
153
|
notes?: ISocietyNote;
|
|
156
154
|
taxSystem?: ITaxSystem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISociety.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ISociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAk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