@eway-crm/connector 1.0.218 → 1.0.219

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.
@@ -29,7 +29,7 @@ export declare class ApiFetchClient {
29
29
  getLicense(): Promise<IApiLicense>;
30
30
  getClientVersionId(clientVersionName: string): Promise<number | undefined>;
31
31
  queryAmount(folderName: string, filter?: object | null): Promise<IApiResult>;
32
- query<TResult extends IApiResult>(folderName: string, fields?: object | null, filter?: object | null, sort?: object | null): Promise<IApiResult>;
33
- callMethod<TResult extends IApiResult>(methodName: string, data: TInputData, method?: string): Promise<IApiResult>;
32
+ query<TResult extends IApiResult>(folderName: string, fields?: object | null, filter?: object | null, sort?: object | null): Promise<TResult>;
33
+ callMethod<TResult extends IApiResult>(methodName: string, data: TInputData, method?: string): Promise<TResult>;
34
34
  static getTokenData(wsUrl: string, authorizationCode: string, redirectUrl: string, clientId: string, clientSecret: string): Promise<ITokenSuccess>;
35
35
  }
@@ -29,7 +29,7 @@ export declare class ApiFetchClient {
29
29
  getLicense(): Promise<IApiLicense>;
30
30
  getClientVersionId(clientVersionName: string): Promise<number | undefined>;
31
31
  queryAmount(folderName: string, filter?: object | null): Promise<IApiResult>;
32
- query<TResult extends IApiResult>(folderName: string, fields?: object | null, filter?: object | null, sort?: object | null): Promise<IApiResult>;
33
- callMethod<TResult extends IApiResult>(methodName: string, data: TInputData, method?: string): Promise<IApiResult>;
32
+ query<TResult extends IApiResult>(folderName: string, fields?: object | null, filter?: object | null, sort?: object | null): Promise<TResult>;
33
+ callMethod<TResult extends IApiResult>(methodName: string, data: TInputData, method?: string): Promise<TResult>;
34
34
  static getTokenData(wsUrl: string, authorizationCode: string, redirectUrl: string, clientId: string, clientSecret: string): Promise<ITokenSuccess>;
35
35
  }
package/lib/index.d.ts CHANGED
@@ -1679,8 +1679,8 @@ declare class ApiFetchClient {
1679
1679
  getLicense(): Promise<IApiLicense>;
1680
1680
  getClientVersionId(clientVersionName: string): Promise<number | undefined>;
1681
1681
  queryAmount(folderName: string, filter?: object | null): Promise<IApiResult>;
1682
- query<TResult extends IApiResult>(folderName: string, fields?: object | null, filter?: object | null, sort?: object | null): Promise<IApiResult>;
1683
- callMethod<TResult extends IApiResult>(methodName: string, data: TInputData, method?: string): Promise<IApiResult>;
1682
+ query<TResult extends IApiResult>(folderName: string, fields?: object | null, filter?: object | null, sort?: object | null): Promise<TResult>;
1683
+ callMethod<TResult extends IApiResult>(methodName: string, data: TInputData, method?: string): Promise<TResult>;
1684
1684
  static getTokenData(wsUrl: string, authorizationCode: string, redirectUrl: string, clientId: string, clientSecret: string): Promise<ITokenSuccess>;
1685
1685
  }
1686
1686
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eway-crm/connector",
3
- "version": "1.0.218",
3
+ "version": "1.0.219",
4
4
  "description": "eWay-CRM API JavaScript connector library.",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.js",