conductor-node 10.2.0 → 10.3.1
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 +1 -1
- package/dist/src/integrations/BaseIntegration.d.ts +6 -1
- package/dist/src/integrations/BaseIntegration.js +10 -2
- package/dist/src/integrations/qbd/QbdIntegration.d.ts +167 -167
- package/dist/src/integrations/qbd/QbdIntegration.js +176 -169
- package/dist/src/integrations/qbd/qbdTypes.d.ts +4 -4
- package/dist/src/resources/IntegrationConnectionsResource.d.ts +2 -2
- package/package.json +1 -1
|
@@ -5419,9 +5419,9 @@ export interface InvoiceAdd {
|
|
|
5419
5419
|
/** A list of credits to set. Setting, or applying, a credit means using an available credit to lower the balance of a transaction such as an invoice or a bill. (Creating a credit, on the other hand, means making a credit available to be applied in the future.) Notice that if you use a credit (`SetCredit`) only, in your `ReceivePaymentAdd` or `BillPaymentCreditCardAdd` request, then no transaction ID is created, because, from the viewpoint of QuickBooks, there was no transaction. Setting a credit merely creates links between existing transactions (for example, between a credit memo transaction and an invoice transaction), and no information about these links will be returned to you in the response. If you need to retrieve which transactions were linked in the `SetCredit`, for Bill Payment, you must do a `BillQuery` and specify `IncludeLinkedTxns`. */
|
|
5420
5420
|
SetCredit?: SetCredit | SetCredit[];
|
|
5421
5421
|
/** Represents one line in the invoice. Compare with `InvoiceLineGroup`, which represents a previously defined group of lines in the invoice. */
|
|
5422
|
-
InvoiceLineAdd?: InvoiceLineAdd;
|
|
5422
|
+
InvoiceLineAdd?: InvoiceLineAdd | InvoiceLineAdd[];
|
|
5423
5423
|
/** Represents a previously defined group of lines in the invoice. Compare with `InvoiceLine`, which represents just one line in the invoice. */
|
|
5424
|
-
InvoiceLineGroupAdd?: InvoiceLineGroupAdd;
|
|
5424
|
+
InvoiceLineGroupAdd?: InvoiceLineGroupAdd | InvoiceLineGroupAdd[];
|
|
5425
5425
|
}
|
|
5426
5426
|
export interface InvoiceAddRq {
|
|
5427
5427
|
InvoiceAdd: InvoiceAdd;
|
|
@@ -5984,9 +5984,9 @@ export interface InvoiceRet {
|
|
|
5984
5984
|
The list of linked transactions is similar to the History view of a transaction in the user interface, but not identical, as the SDK list contains only linked transactions, not items. */
|
|
5985
5985
|
LinkedTxn?: LinkedTxn | LinkedTxn[];
|
|
5986
5986
|
/** Represents one line in the invoice. Compare with `InvoiceLineGroup`, which represents a previously defined group of lines in the invoice. */
|
|
5987
|
-
InvoiceLineRet?: InvoiceLineRet;
|
|
5987
|
+
InvoiceLineRet?: InvoiceLineRet | InvoiceLineRet[];
|
|
5988
5988
|
/** Represents a previously defined group of lines in the invoice. Compare with `InvoiceLine`, which represents just one line in the invoice. */
|
|
5989
|
-
InvoiceLineGroupRet?: InvoiceLineGroupRet;
|
|
5989
|
+
InvoiceLineGroupRet?: InvoiceLineGroupRet | InvoiceLineGroupRet[];
|
|
5990
5990
|
/** A list of `IDataExtRet` objects, each of which represents a field that has been added to QuickBooks as a data extension. */
|
|
5991
5991
|
DataExtRet?: DataExtRet | DataExtRet[];
|
|
5992
5992
|
}
|
|
@@ -24,7 +24,7 @@ export interface IntegrationConnection {
|
|
|
24
24
|
* @deprecated We will soon remove this endpoint as we migrate to the new
|
|
25
25
|
* end-user + auth-session model.
|
|
26
26
|
*/
|
|
27
|
-
export interface
|
|
27
|
+
export interface IntegrationConnectionCreateOldInput {
|
|
28
28
|
/**
|
|
29
29
|
* The identifier of the third-party platform to integrate (e.g.,
|
|
30
30
|
* "quickbooks-desktop").
|
|
@@ -59,7 +59,7 @@ export default class IntegrationConnectionsResource extends BaseResource {
|
|
|
59
59
|
/**
|
|
60
60
|
* Creates a new integration-connection.
|
|
61
61
|
*/
|
|
62
|
-
create(input:
|
|
62
|
+
create(input: IntegrationConnectionCreateOldInput): Promise<IntegrationConnection>;
|
|
63
63
|
/**
|
|
64
64
|
* Retrieves the specified integration-connection.
|
|
65
65
|
*/
|