Skip to content

Commit 52adecd

Browse files
committed
fixes
1 parent 27272a3 commit 52adecd

File tree

10 files changed

+26
-26
lines changed

10 files changed

+26
-26
lines changed

components/quickbooks/actions/delete-purchase/delete-purchase.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default {
2525
const {
2626
quickbooks,
2727
purchaseId,
28-
minorversion,
28+
minorVersion,
2929
} = this;
3030

3131
const [
@@ -40,7 +40,7 @@ export default {
4040
SyncToken,
4141
},
4242
params: {
43-
minorversion,
43+
minorversion: minorVersion,
4444
operation: "delete",
4545
},
4646
});

components/quickbooks/actions/update-item/update-item.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import quickbooks from "../../quickbooks.app.mjs";
22
import { ConfigurationError } from "@pipedream/platform";
33

44
export default {
5-
key: "quickbooks_sandbox-update-item",
5+
key: "quickbooks-update-item",
66
name: "Update Item",
77
description: "Updates an item. [See the documentation](https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/item#full-update-an-item)",
88
version: "0.0.1",
@@ -102,7 +102,7 @@ export default {
102102
optional: true,
103103
},
104104
salesTaxIncluded: {
105-
type: "string",
105+
type: "boolean",
106106
label: "Sales Tax Included",
107107
description: "True if the sales tax is included in the item amount, and therefore is not calculated for the transaction.",
108108
optional: true,
@@ -339,7 +339,7 @@ export default {
339339
},
340340
};
341341

342-
if (this.prefVendorRefValue || this.parentRefName) {
342+
if (this.parentRefValue || this.parentRefName) {
343343
data["ParentRef"] = {
344344
value: this.parentRefValue,
345345
name: this.parentRefName,
@@ -350,7 +350,7 @@ export default {
350350
$,
351351
data,
352352
params: {
353-
minorversion: this.minorversion,
353+
minorversion: this.minorVersion,
354354
},
355355
});
356356

components/quickbooks/quickbooks.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ export default {
327327
},
328328
purchaseOrderId: {
329329
type: "string",
330-
label: "Item Id",
330+
label: "Purchase Order Id",
331331
description: "The identifier of a purchase order",
332332
async options({ page }) {
333333
return this.getPropOptions({

components/quickbooks_sandbox/quickbooks_sandbox.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
type: "app",
66
app: "quickbooks_sandbox",
77
methods: {
8-
...common.mehtods,
8+
...common.methods,
99
_apiUrl() {
1010
return "https://quickbooks.api.intuit.com/v3";
1111
},

components/quickbooks_sandbox/sources/new-customer-created/new-customer-created.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import app from "../../monday_oauth.app.mjs";
2-
import common from "../../../monday/sources/new-customer-created/new-customer-created.mjs";
1+
import app from "../../quickbooks_sandbox.app.mjs";
2+
import common from "../../../quickbooks/sources/new-customer-created/new-customer-created.mjs";
33

44
import { adjustPropDefinitions } from "../../common/utils.mjs";
55

@@ -16,7 +16,7 @@ export default {
1616
description,
1717
type,
1818
props: {
19-
monday: app,
19+
quickbooks: app,
2020
...props,
2121
},
2222
};

components/quickbooks_sandbox/sources/new-customer-updated/new-customer-updated.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import app from "../../monday_oauth.app.mjs";
2-
import common from "../../../monday/sources/new-customer-updated/new-customer-updated.mjs";
1+
import app from "../../quickbooks_sandbox.app.mjs";
2+
import common from "../../../quickbooks/sources/new-customer-updated/new-customer-updated.mjs";
33

44
import { adjustPropDefinitions } from "../../common/utils.mjs";
55

@@ -16,7 +16,7 @@ export default {
1616
description,
1717
type,
1818
props: {
19-
monday: app,
19+
quickbooks: app,
2020
...props,
2121
},
2222
};

components/quickbooks_sandbox/sources/new-invoice-created/new-invoice-created.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import app from "../../monday_oauth.app.mjs";
2-
import common from "../../../monday/sources/new-invoice-created/new-invoice-created.mjs";
1+
import app from "../../quickbooks_sandbox.app.mjs";
2+
import common from "../../../quickbooks/sources/new-invoice-created/new-invoice-created.mjs";
33

44
import { adjustPropDefinitions } from "../../common/utils.mjs";
55

@@ -16,7 +16,7 @@ export default {
1616
description,
1717
type,
1818
props: {
19-
monday: app,
19+
quickbooks: app,
2020
...props,
2121
},
2222
};

components/quickbooks_sandbox/sources/new-invoice-updated/new-invoice-updated.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import app from "../../monday_oauth.app.mjs";
2-
import common from "../../../monday/sources/new-invoice-updated/new-invoice-updated.mjs";
1+
import app from "../../quickbooks_sandbox.app.mjs";
2+
import common from "../../../quickbooks/sources/new-invoice-updated/new-invoice-updated.mjs";
33

44
import { adjustPropDefinitions } from "../../common/utils.mjs";
55

@@ -16,7 +16,7 @@ export default {
1616
description,
1717
type,
1818
props: {
19-
monday: app,
19+
quickbooks: app,
2020
...props,
2121
},
2222
};

components/quickbooks_sandbox/sources/new-item-created/new-item-created.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import app from "../../monday_oauth.app.mjs";
2-
import common from "../../../monday/sources/new-item-created/new-item-created.mjs";
1+
import app from "../../quickbooks_sandbox.app.mjs";
2+
import common from "../../../quickbooks/sources/new-item-created/new-item-created.mjs";
33

44
import { adjustPropDefinitions } from "../../common/utils.mjs";
55

@@ -16,7 +16,7 @@ export default {
1616
description,
1717
type,
1818
props: {
19-
monday: app,
19+
quickbooks: app,
2020
...props,
2121
},
2222
};

components/quickbooks_sandbox/sources/new-item-updated/new-item-updated.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import app from "../../monday_oauth.app.mjs";
2-
import common from "../../../monday/sources/new-item-updated/new-item-updated.mjs";
1+
import app from "../../quickbooks_sandbox.app.mjs";
2+
import common from "../../../quickbooks/sources/new-item-updated/new-item-updated.mjs";
33

44
import { adjustPropDefinitions } from "../../common/utils.mjs";
55

@@ -16,7 +16,7 @@ export default {
1616
description,
1717
type,
1818
props: {
19-
monday: app,
19+
quickbooks: app,
2020
...props,
2121
},
2222
};

0 commit comments

Comments
 (0)