@silexpert/core 1.0.152 → 1.0.154
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/Rule.d.ts +4 -2
- package/es/api/resources/Rule.d.ts.map +1 -1
- package/es/api/resources/Rule.js +6 -0
- package/es/api/resources/Rule.js.map +1 -1
- package/es/api/resources/Shine.js +4 -4
- package/es/api/resources/Shine.js.map +1 -1
- package/es/types/Enum/PrestationType.d.ts +1 -1
- package/es/types/Enum/PrestationType.js +1 -1
- package/es/types/Enum/PrestationType.js.map +1 -1
- package/es/types/Interface/api/partner/Query.d.ts +3 -3
- package/es/types/Interface/api/partner/Query.d.ts.map +1 -1
- package/es/types/Interface/api/partner/Query.js +3 -3
- package/es/types/Interface/api/partner/Query.js.map +1 -1
- package/es/types/Interface/api/rule/Create.d.ts +10 -0
- package/es/types/Interface/api/rule/Create.d.ts.map +1 -0
- package/es/types/Interface/api/rule/Create.js +46 -0
- package/es/types/Interface/api/rule/Create.js.map +1 -0
- package/es/types/Interface/api/rule/Update.d.ts +4 -0
- package/es/types/Interface/api/rule/Update.d.ts.map +1 -0
- package/es/types/Interface/api/rule/Update.js +21 -0
- package/es/types/Interface/api/rule/Update.js.map +1 -0
- package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -0
- package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/es/types/Interface/models/IRule.d.ts +2 -0
- package/es/types/Interface/models/IRule.d.ts.map +1 -1
- package/es/types/Interface/models/IRule.js.map +1 -1
- package/es/types/index.d.ts +3 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +3 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Rule.js +6 -0
- package/js/api/resources/Rule.js.map +1 -1
- package/js/api/resources/Shine.js +4 -4
- package/js/api/resources/Shine.js.map +1 -1
- package/js/types/Enum/PrestationType.js +1 -1
- package/js/types/Enum/PrestationType.js.map +1 -1
- package/js/types/Interface/api/partner/Query.js +3 -3
- package/js/types/Interface/api/partner/Query.js.map +1 -1
- package/js/types/Interface/api/rule/Create.js +29 -0
- package/js/types/Interface/api/rule/Create.js.map +1 -0
- package/js/types/Interface/api/rule/Update.js +23 -0
- package/js/types/Interface/api/rule/Update.js.map +1 -0
- package/js/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/js/types/Interface/models/IRule.js.map +1 -1
- package/js/types/index.js +30 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Rule.ts +12 -2
- package/ts/api/resources/Shine.ts +4 -4
- package/ts/types/Enum/PrestationType.ts +1 -1
- package/ts/types/Interface/api/partner/Query.ts +3 -3
- package/ts/types/Interface/api/rule/Create.ts +29 -0
- package/ts/types/Interface/api/rule/Update.ts +10 -0
- package/ts/types/Interface/models/IAccountingTransaction.ts +1 -0
- package/ts/types/Interface/models/IRule.ts +2 -0
- package/ts/types/index.ts +3 -0
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { BasePaginate } from '../../types';
|
|
1
|
+
import { BasePaginate, CreateRule, IRule, UpdateRule } from '../../types';
|
|
2
2
|
import { QueryRule, QueryMostFrequent } from '../../types/Interface/api/rule/Query';
|
|
3
3
|
import { ReadMostFrequentOccurence } from '../../types/Interface/api/rule/Read';
|
|
4
4
|
import { Resource } from '../Resource';
|
|
5
5
|
export declare class Rule extends Resource {
|
|
6
|
-
getAll(params: QueryRule): Promise<BasePaginate<
|
|
6
|
+
getAll(params: QueryRule): Promise<BasePaginate<IRule>>;
|
|
7
7
|
getMostFrequent(params: QueryMostFrequent): Promise<ReadMostFrequentOccurence[]>;
|
|
8
|
+
create(params: CreateRule): Promise<IRule>;
|
|
9
|
+
update(idRule: number, params: UpdateRule): Promise<IRule>;
|
|
8
10
|
}
|
|
9
11
|
//# sourceMappingURL=Rule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rule.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Rule.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Rule.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Rule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAC5C,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,IAAK,SAAQ,QAAQ;IAChC,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAIvD,eAAe,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,yBAAyB,EAAE,CAAC;IAIhF,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC;IAI1C,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC;CAG3D"}
|
package/es/api/resources/Rule.js
CHANGED
|
@@ -6,5 +6,11 @@ export class Rule extends Resource {
|
|
|
6
6
|
getMostFrequent(params) {
|
|
7
7
|
return this.axios.$get('rules/most-frequent', { params });
|
|
8
8
|
}
|
|
9
|
+
create(params) {
|
|
10
|
+
return this.axios.$post('rules', params);
|
|
11
|
+
}
|
|
12
|
+
update(idRule, params) {
|
|
13
|
+
return this.axios.$post(`rules/${idRule}`, params);
|
|
14
|
+
}
|
|
9
15
|
}
|
|
10
16
|
//# sourceMappingURL=Rule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rule.js","sourceRoot":"","sources":["../../../ts/api/resources/Rule.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Rule.js","sourceRoot":"","sources":["../../../ts/api/resources/Rule.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,IAAK,SAAQ,QAAQ;IAChC,MAAM,CAAC,MAAiB;QACtB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9C,CAAC;IAED,eAAe,CAAC,MAAyB;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5D,CAAC;IAED,MAAM,CAAC,MAAkB;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAC3C,CAAC;IAED,MAAM,CAAC,MAAc,EAAE,MAAkB;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,MAAM,EAAE,EAAE,MAAM,CAAC,CAAC;IACrD,CAAC;CACF","sourcesContent":["import {\n BasePaginate, CreateRule, IRule, UpdateRule,\n} from '../../types';\nimport { QueryRule, QueryMostFrequent } from '../../types/Interface/api/rule/Query';\nimport { ReadMostFrequentOccurence } from '../../types/Interface/api/rule/Read';\nimport { Resource } from '../Resource';\n\nexport class Rule extends Resource {\n getAll(params: QueryRule): Promise<BasePaginate<IRule>> {\n return this.axios.$get('rules', { params });\n }\n\n getMostFrequent(params: QueryMostFrequent): Promise<ReadMostFrequentOccurence[]> {\n return this.axios.$get('rules/most-frequent', { params });\n }\n\n create(params: CreateRule): Promise<IRule> {\n return this.axios.$post('rules', params);\n }\n\n update(idRule: number, params: UpdateRule): Promise<IRule> {\n return this.axios.$post(`rules/${idRule}`, params);\n }\n}\n"]}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
2
|
export class Shine extends Resource {
|
|
3
3
|
connect(idSociety, params) {
|
|
4
|
-
return this.axios.$get(`/shine/${idSociety}/connect`, { params });
|
|
4
|
+
return this.axios.$get(`/connectors/shine/${idSociety}/connect`, { params });
|
|
5
5
|
}
|
|
6
6
|
importBankAccount(idSociety, params) {
|
|
7
|
-
return this.axios.$post(`/shine/${idSociety}/importBankAccount`, params);
|
|
7
|
+
return this.axios.$post(`/connectors/shine/${idSociety}/importBankAccount`, params);
|
|
8
8
|
}
|
|
9
9
|
importTransactions(params) {
|
|
10
|
-
return this.axios.$post('/shine/importTransactions', params);
|
|
10
|
+
return this.axios.$post('/connectors/shine/importTransactions', params);
|
|
11
11
|
}
|
|
12
12
|
refreshConnection(idBankConnection) {
|
|
13
|
-
return this.axios.$put(`/shine/${idBankConnection}/refresh-connection`);
|
|
13
|
+
return this.axios.$put(`/connectors/shine/${idBankConnection}/refresh-connection`);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=Shine.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Shine.js","sourceRoot":"","sources":["../../../ts/api/resources/Shine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,KAAM,SAAQ,QAAQ;IACjC,OAAO,CAAC,SAAiB,EAAE,MAAkB;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"Shine.js","sourceRoot":"","sources":["../../../ts/api/resources/Shine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,KAAM,SAAQ,QAAQ;IACjC,OAAO,CAAC,SAAiB,EAAE,MAAkB;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,qBAAqB,SAAS,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC/E,CAAC;IACD,iBAAiB,CAAC,SAAiB,EAAE,MAA0B;QAC7D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,qBAAqB,SAAS,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACtF,CAAC;IACD,kBAAkB,CAAC,MAA+B;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,sCAAsC,EAAE,MAAM,CAAC,CAAC;IAC1E,CAAC;IACD,iBAAiB,CAAC,gBAAwB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,qBAAqB,gBAAgB,qBAAqB,CAAC,CAAC;IACrF,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n IBankAccount, CreateShineTransactions, GetConnect, CreateShineAccount, ConnectResponse, IBankConnection,\n} from '../../types';\n\nexport class Shine extends Resource {\n connect(idSociety: number, params: GetConnect): Promise<ConnectResponse> {\n return this.axios.$get(`/connectors/shine/${idSociety}/connect`, { params });\n }\n importBankAccount(idSociety: number, params: CreateShineAccount): Promise<IBankAccount> {\n return this.axios.$post(`/connectors/shine/${idSociety}/importBankAccount`, params);\n }\n importTransactions(params: CreateShineTransactions): Promise<number> {\n return this.axios.$post('/connectors/shine/importTransactions', params);\n }\n refreshConnection(idBankConnection: number): Promise<IBankConnection> {\n return this.axios.$put(`/connectors/shine/${idBankConnection}/refresh-connection`);\n }\n}"]}
|
|
@@ -2722,7 +2722,7 @@ export declare const PrestationDetail: {
|
|
|
2722
2722
|
isCatalog: number;
|
|
2723
2723
|
hidden: number;
|
|
2724
2724
|
isComplementary: number;
|
|
2725
|
-
signaturePosition:
|
|
2725
|
+
signaturePosition: string;
|
|
2726
2726
|
signaturePage: null;
|
|
2727
2727
|
};
|
|
2728
2728
|
COMPTA_POURCENTAGE_EXPRESS: {
|