@silexpert/core 2.0.68-1 → 2.0.68-2

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,9 +1,9 @@
1
- import type { AcdCompte, CreateAcdAuthentication } from '../../index.js';
1
+ import type { CreateAcdAuthentication, IAccount } from '../../index.js';
2
2
  import { Resource } from '../Resource.js';
3
3
  export declare class Acd extends Resource {
4
4
  authenticate(body: CreateAcdAuthentication): Promise<{
5
5
  token: string;
6
6
  }>;
7
- getAccounts(): Promise<AcdCompte[]>;
7
+ getAccounts(): Promise<IAccount[]>;
8
8
  }
9
9
  //# sourceMappingURL=Acd.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Acd.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Acd.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,qBAAa,GAAI,SAAQ,QAAQ;IAC/B,YAAY,CAAC,IAAI,EAAE,uBAAuB,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAIvE,WAAW,IAAI,OAAO,CAAC,SAAS,EAAE,CAAC;CAGpC"}
1
+ {"version":3,"file":"Acd.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Acd.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,qBAAa,GAAI,SAAQ,QAAQ;IAC/B,YAAY,CAAC,IAAI,EAAE,uBAAuB,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAIvE,WAAW,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;CAGnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Acd.js","sourceRoot":"","sources":["../../../ts/api/resources/Acd.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,OAAO,GAAI,SAAQ,QAAQ;IAC/B,YAAY,CAAC,IAA6B;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,8BAA8B,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IAED,WAAW;QACT,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;IACrD,CAAC;CACF","sourcesContent":["import type { AcdCompte, CreateAcdAuthentication } from '../../index.js';\nimport { Resource } from '../Resource.js';\n\nexport class Acd extends Resource {\n authenticate(body: CreateAcdAuthentication): Promise<{ token: string }> {\n return this.axios.$post('/connectors/acd/authenticate', body);\n }\n\n getAccounts(): Promise<AcdCompte[]> {\n return this.axios.$get('/connectors/acd/accounts');\n }\n}\n"]}
1
+ {"version":3,"file":"Acd.js","sourceRoot":"","sources":["../../../ts/api/resources/Acd.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,OAAO,GAAI,SAAQ,QAAQ;IAC/B,YAAY,CAAC,IAA6B;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,8BAA8B,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IAED,WAAW;QACT,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;IACrD,CAAC;CACF","sourcesContent":["import type { CreateAcdAuthentication, IAccount } from '../../index.js';\nimport { Resource } from '../Resource.js';\n\nexport class Acd extends Resource {\n authenticate(body: CreateAcdAuthentication): Promise<{ token: string }> {\n return this.axios.$post('/connectors/acd/authenticate', body);\n }\n\n getAccounts(): Promise<IAccount[]> {\n return this.axios.$get('/connectors/acd/accounts');\n }\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "2.0.68-1",
3
+ "version": "2.0.68-2",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "keywords": [
6
6
  "accounting",
@@ -1,4 +1,4 @@
1
- import type { AcdCompte, CreateAcdAuthentication } from '../../index.js';
1
+ import type { CreateAcdAuthentication, IAccount } from '../../index.js';
2
2
  import { Resource } from '../Resource.js';
3
3
 
4
4
  export class Acd extends Resource {
@@ -6,7 +6,7 @@ export class Acd extends Resource {
6
6
  return this.axios.$post('/connectors/acd/authenticate', body);
7
7
  }
8
8
 
9
- getAccounts(): Promise<AcdCompte[]> {
9
+ getAccounts(): Promise<IAccount[]> {
10
10
  return this.axios.$get('/connectors/acd/accounts');
11
11
  }
12
12
  }