conductor-node 11.0.5 → 11.0.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/package.json
CHANGED
|
@@ -2728,7 +2728,7 @@ class QbdIntegration extends BaseIntegration_1.default {
|
|
|
2728
2728
|
query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { WorkersCompCodeQueryRq: params }, "WorkersCompCodeQueryRs", "WorkersCompCodeRet"),
|
|
2729
2729
|
};
|
|
2730
2730
|
async sendRequestWrapper(endUserId, params, responseWrapperKey, responseBodyKey) {
|
|
2731
|
-
const response = (await this.sendRequest(endUserId, "
|
|
2731
|
+
const response = (await this.sendRequest(endUserId, "quickbooks_desktop", params));
|
|
2732
2732
|
const responseBody = response[responseWrapperKey]?.[responseBodyKey];
|
|
2733
2733
|
if (responseBody === undefined) {
|
|
2734
2734
|
throw new error_1.ConductorIntegrationError({
|
|
@@ -56,7 +56,7 @@ export default class EndUsersResource extends BaseResource {
|
|
|
56
56
|
*
|
|
57
57
|
* @param id The ID of the end-user to ping.
|
|
58
58
|
* @param integrationSlug The integration identifier for the end-user's
|
|
59
|
-
* connection you want to ping (e.g. "
|
|
59
|
+
* connection you want to ping (e.g. "quickbooks_desktop").
|
|
60
60
|
* @returns The ping result with the duration in milliseconds.
|
|
61
61
|
*/
|
|
62
62
|
ping(id: EndUser["id"], integrationSlug: IntegrationSlug): Promise<EndUserPingOutput>;
|
|
@@ -39,7 +39,7 @@ class EndUsersResource extends BaseResource_1.default {
|
|
|
39
39
|
*
|
|
40
40
|
* @param id The ID of the end-user to ping.
|
|
41
41
|
* @param integrationSlug The integration identifier for the end-user's
|
|
42
|
-
* connection you want to ping (e.g. "
|
|
42
|
+
* connection you want to ping (e.g. "quickbooks_desktop").
|
|
43
43
|
* @returns The ping result with the duration in milliseconds.
|
|
44
44
|
*/
|
|
45
45
|
async ping(id, integrationSlug) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import BaseResource from "../resources/BaseResource";
|
|
2
|
-
export type IntegrationSlug = "
|
|
2
|
+
export type IntegrationSlug = "quickbooks_desktop";
|
|
3
3
|
export interface IntegrationConnection {
|
|
4
4
|
/**
|
|
5
5
|
* The unique identifier for the object.
|
|
@@ -11,7 +11,7 @@ export interface IntegrationConnection {
|
|
|
11
11
|
readonly endUserId: string;
|
|
12
12
|
/**
|
|
13
13
|
* The identifier of the third-party platform to integrate (e.g.,
|
|
14
|
-
* "
|
|
14
|
+
* "quickbooks_desktop").
|
|
15
15
|
*/
|
|
16
16
|
readonly integrationSlug: IntegrationSlug;
|
|
17
17
|
/**
|