conductor-node 3.5.5 → 3.5.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/dist/src/Client.d.ts +2 -2
- package/dist/src/Client.js +2 -2
- package/dist/src/index.d.ts +1 -1
- package/dist/src/{BaseClient.d.ts → integrations/BaseClient.d.ts} +1 -1
- package/dist/src/{BaseClient.js → integrations/BaseClient.js} +0 -0
- package/dist/src/{qbd/ClientQbd.d.ts → integrations/qbd/QbdClient.d.ts} +3 -3
- package/dist/src/{qbd/ClientQbd.js → integrations/qbd/QbdClient.js} +3 -3
- package/dist/src/{qbd → integrations/qbd}/qbdTypes.d.ts +0 -0
- package/dist/src/{qbd → integrations/qbd}/qbdTypes.js +0 -0
- package/dist/src/integrations/types.d.ts +2 -0
- package/dist/src/{integrationTypes.js → integrations/types.js} +0 -0
- package/package.json +1 -1
- package/dist/src/integrationTypes.d.ts +0 -2
package/dist/src/Client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Environment } from "./environment";
|
|
2
|
-
import
|
|
2
|
+
import QbdClient from "./integrations/qbd/QbdClient";
|
|
3
3
|
export interface ClientOptions {
|
|
4
4
|
/** Log the each request and response. */
|
|
5
5
|
verbose?: boolean;
|
|
@@ -11,7 +11,7 @@ export interface IntegrationRequestParams {
|
|
|
11
11
|
}
|
|
12
12
|
export default class Client {
|
|
13
13
|
/** QuickBooks Desktop integration. */
|
|
14
|
-
readonly qbd:
|
|
14
|
+
readonly qbd: QbdClient;
|
|
15
15
|
private readonly serverURL;
|
|
16
16
|
private readonly gqlClient;
|
|
17
17
|
private readonly verbose;
|
package/dist/src/Client.js
CHANGED
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const environment_1 = require("./environment");
|
|
7
|
-
const
|
|
7
|
+
const QbdClient_1 = __importDefault(require("./integrations/qbd/QbdClient"));
|
|
8
8
|
const graphql_request_1 = require("graphql-request");
|
|
9
9
|
class Client {
|
|
10
10
|
/** QuickBooks Desktop integration. */
|
|
@@ -20,7 +20,7 @@ class Client {
|
|
|
20
20
|
authorization: `Bearer ${apiKey}`,
|
|
21
21
|
},
|
|
22
22
|
});
|
|
23
|
-
this.qbd = new
|
|
23
|
+
this.qbd = new QbdClient_1.default(this);
|
|
24
24
|
}
|
|
25
25
|
async integrationUserConnections() {
|
|
26
26
|
const data = await this.gqlClient.request(`#graphql
|
package/dist/src/index.d.ts
CHANGED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import BaseClient from "
|
|
2
|
-
import type * as QbdTypes from "
|
|
3
|
-
export default class
|
|
1
|
+
import BaseClient from "../../integrations/BaseClient";
|
|
2
|
+
import type * as QbdTypes from "../../integrations/qbd/qbdTypes";
|
|
3
|
+
export default class QbdClient extends BaseClient {
|
|
4
4
|
account: {
|
|
5
5
|
/**
|
|
6
6
|
* Perform the same activities as a user does in the QB New Account form,
|
|
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const BaseClient_1 = __importDefault(require("
|
|
7
|
-
class
|
|
6
|
+
const BaseClient_1 = __importDefault(require("../../integrations/BaseClient"));
|
|
7
|
+
class QbdClient extends BaseClient_1.default {
|
|
8
8
|
account = {
|
|
9
9
|
/**
|
|
10
10
|
* Perform the same activities as a user does in the QB New Account form,
|
|
@@ -645,4 +645,4 @@ class ClientQbd extends BaseClient_1.default {
|
|
|
645
645
|
return responseBody;
|
|
646
646
|
}
|
|
647
647
|
}
|
|
648
|
-
exports.default =
|
|
648
|
+
exports.default = QbdClient;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED