@silexpert/core 0.4.273 → 0.4.274
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
2
|
export class Qonto extends Resource {
|
|
3
3
|
delete(idBankConnection) {
|
|
4
|
-
return this.axios.$delete(`connectors/qonto/${idBankConnection}`);
|
|
4
|
+
return this.axios.$delete(`connectors/qonto/connections/${idBankConnection}`);
|
|
5
5
|
}
|
|
6
6
|
getInformation(queries) {
|
|
7
7
|
return this.axios.$get('connectors/qonto/connections', { params: queries });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Qonto.js","sourceRoot":"","sources":["../../../ts/api/resources/Qonto.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,KAAM,SAAQ,QAAQ;IACjC,MAAM,CAAC,gBAAwB;QAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"Qonto.js","sourceRoot":"","sources":["../../../ts/api/resources/Qonto.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,KAAM,SAAQ,QAAQ;IACjC,MAAM,CAAC,gBAAwB;QAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,gCAAgC,gBAAgB,EAAE,CAAC,CAAC;IAChF,CAAC;IAED,cAAc,CAAC,OAAiC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,iBAAiB,CAAC,aAAqB,EAAE,OAA0B;QACjE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,aAAa,cAAc,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAED,kBAAkB,CAAC,gBAAwB,EAAE,OAA2B;QACtE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,gCAAgC,gBAAgB,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrG,CAAC;IAED,MAAM,CAAC,OAA8B;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED,gBAAgB,CAAC,gBAAwB,EAAE,OAAyB;QAClE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gCAAgC,gBAAgB,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;CACF","sourcesContent":["import {\n ProcessBankAccount,\n CreateQontoConnection,\n CreateImportation, GetConnectionInformation, GetQontoOrganization, IAccountingTransaction, IBankAccount, IBankConnection, ReadCreateConnection, UpdateConnection,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Qonto extends Resource {\n delete(idBankConnection: number): Promise<IBankAccount> {\n return this.axios.$delete(`connectors/qonto/connections/${idBankConnection}`);\n }\n\n getInformation(queries: GetConnectionInformation): Promise<GetQontoOrganization> {\n return this.axios.$get('connectors/qonto/connections', { params: queries });\n }\n\n importBankAccount(idBankAccount: number, payload: CreateImportation): Promise<IAccountingTransaction[]> {\n return this.axios.$post(`connectors/qonto/${idBankAccount}/importation`, payload);\n }\n\n processBankAccount(idBankConnection: number, payload: ProcessBankAccount): Promise<IBankAccount[]> {\n return this.axios.$post(`connectors/qonto/connections/${idBankConnection}/bank-accounts`, payload);\n }\n\n create(payload: CreateQontoConnection): Promise<ReadCreateConnection> {\n return this.axios.$post('connectors/qonto/connections', payload);\n }\n\n updateConnection(idBankConnection: number, payload: UpdateConnection): Promise<IBankConnection> {\n return this.axios.$put(`connectors/qonto/connections/${idBankConnection}`, payload);\n }\n}\n"]}
|
|
@@ -9,7 +9,7 @@ var _Resource = require("../Resource");
|
|
|
9
9
|
|
|
10
10
|
class Qonto extends _Resource.Resource {
|
|
11
11
|
delete(idBankConnection) {
|
|
12
|
-
return this.axios.$delete(`connectors/qonto/${idBankConnection}`);
|
|
12
|
+
return this.axios.$delete(`connectors/qonto/connections/${idBankConnection}`);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
getInformation(queries) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Qonto.js","mappings":";;;;;;;AAKA;;AAEM,MAAOA,KAAP,SAAqBC,kBAArB,CAA6B;EACjCC,MAAM,CAACC,gBAAD,EAAyB;IAC7B,OAAO,KAAKC,KAAL,CAAWC,OAAX,CAAmB,
|
|
1
|
+
{"version":3,"file":"Qonto.js","mappings":";;;;;;;AAKA;;AAEM,MAAOA,KAAP,SAAqBC,kBAArB,CAA6B;EACjCC,MAAM,CAACC,gBAAD,EAAyB;IAC7B,OAAO,KAAKC,KAAL,CAAWC,OAAX,CAAmB,gCAAgCF,gBAAgB,EAAnE,CAAP;EACD;;EAEDG,cAAc,CAACC,OAAD,EAAkC;IAC9C,OAAO,KAAKH,KAAL,CAAWI,IAAX,CAAgB,8BAAhB,EAAgD;MAAEC,MAAM,EAAEF;IAAV,CAAhD,CAAP;EACD;;EAEDG,iBAAiB,CAACC,aAAD,EAAwBC,OAAxB,EAAkD;IACjE,OAAO,KAAKR,KAAL,CAAWS,KAAX,CAAiB,oBAAoBF,aAAa,cAAlD,EAAkEC,OAAlE,CAAP;EACD;;EAEDE,kBAAkB,CAACX,gBAAD,EAA2BS,OAA3B,EAAsD;IACtE,OAAO,KAAKR,KAAL,CAAWS,KAAX,CAAiB,gCAAgCV,gBAAgB,gBAAjE,EAAmFS,OAAnF,CAAP;EACD;;EAEDG,MAAM,CAACH,OAAD,EAA+B;IACnC,OAAO,KAAKR,KAAL,CAAWS,KAAX,CAAiB,8BAAjB,EAAiDD,OAAjD,CAAP;EACD;;EAEDI,gBAAgB,CAACb,gBAAD,EAA2BS,OAA3B,EAAoD;IAClE,OAAO,KAAKR,KAAL,CAAWa,IAAX,CAAgB,gCAAgCd,gBAAgB,EAAhE,EAAoES,OAApE,CAAP;EACD;;AAvBgC;;QAAtBZ,K,GAAAA,K","names":["Qonto","Resource","delete","idBankConnection","axios","$delete","getInformation","queries","$get","params","importBankAccount","idBankAccount","payload","$post","processBankAccount","create","updateConnection","$put"],"sourceRoot":"","sources":["../../../ts/api/resources/Qonto.ts"],"sourcesContent":["import {\n ProcessBankAccount,\n CreateQontoConnection,\n CreateImportation, GetConnectionInformation, GetQontoOrganization, IAccountingTransaction, IBankAccount, IBankConnection, ReadCreateConnection, UpdateConnection,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Qonto extends Resource {\n delete(idBankConnection: number): Promise<IBankAccount> {\n return this.axios.$delete(`connectors/qonto/connections/${idBankConnection}`);\n }\n\n getInformation(queries: GetConnectionInformation): Promise<GetQontoOrganization> {\n return this.axios.$get('connectors/qonto/connections', { params: queries });\n }\n\n importBankAccount(idBankAccount: number, payload: CreateImportation): Promise<IAccountingTransaction[]> {\n return this.axios.$post(`connectors/qonto/${idBankAccount}/importation`, payload);\n }\n\n processBankAccount(idBankConnection: number, payload: ProcessBankAccount): Promise<IBankAccount[]> {\n return this.axios.$post(`connectors/qonto/connections/${idBankConnection}/bank-accounts`, payload);\n }\n\n create(payload: CreateQontoConnection): Promise<ReadCreateConnection> {\n return this.axios.$post('connectors/qonto/connections', payload);\n }\n\n updateConnection(idBankConnection: number, payload: UpdateConnection): Promise<IBankConnection> {\n return this.axios.$put(`connectors/qonto/connections/${idBankConnection}`, payload);\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.274",
|
|
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",
|
|
@@ -7,7 +7,7 @@ import { Resource } from '../Resource';
|
|
|
7
7
|
|
|
8
8
|
export class Qonto extends Resource {
|
|
9
9
|
delete(idBankConnection: number): Promise<IBankAccount> {
|
|
10
|
-
return this.axios.$delete(`connectors/qonto/${idBankConnection}`);
|
|
10
|
+
return this.axios.$delete(`connectors/qonto/connections/${idBankConnection}`);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
getInformation(queries: GetConnectionInformation): Promise<GetQontoOrganization> {
|