conductor-node 14.8.1 → 14.10.0
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/CHANGELOG.md +32 -0
- package/bin/cli +12 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +11 -0
- package/client.js.map +1 -1
- package/client.mjs +11 -0
- package/client.mjs.map +1 -1
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/qbd/bill-check-payments.d.mts +52 -1
- package/resources/qbd/bill-check-payments.d.mts.map +1 -1
- package/resources/qbd/bill-check-payments.d.ts +52 -1
- package/resources/qbd/bill-check-payments.d.ts.map +1 -1
- package/resources/qbd/bill-check-payments.js +20 -0
- package/resources/qbd/bill-check-payments.js.map +1 -1
- package/resources/qbd/bill-check-payments.mjs +20 -0
- package/resources/qbd/bill-check-payments.mjs.map +1 -1
- package/resources/qbd/bill-credit-card-payments.d.mts +54 -1
- package/resources/qbd/bill-credit-card-payments.d.mts.map +1 -1
- package/resources/qbd/bill-credit-card-payments.d.ts +54 -1
- package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -1
- package/resources/qbd/bill-credit-card-payments.js +21 -0
- package/resources/qbd/bill-credit-card-payments.js.map +1 -1
- package/resources/qbd/bill-credit-card-payments.mjs +21 -0
- package/resources/qbd/bill-credit-card-payments.mjs.map +1 -1
- package/resources/qbd/bills.d.mts +51 -1
- package/resources/qbd/bills.d.mts.map +1 -1
- package/resources/qbd/bills.d.ts +51 -1
- package/resources/qbd/bills.d.ts.map +1 -1
- package/resources/qbd/bills.js +20 -0
- package/resources/qbd/bills.js.map +1 -1
- package/resources/qbd/bills.mjs +20 -0
- package/resources/qbd/bills.mjs.map +1 -1
- package/resources/qbd/checks.d.mts +51 -1
- package/resources/qbd/checks.d.mts.map +1 -1
- package/resources/qbd/checks.d.ts +51 -1
- package/resources/qbd/checks.d.ts.map +1 -1
- package/resources/qbd/checks.js +20 -0
- package/resources/qbd/checks.js.map +1 -1
- package/resources/qbd/checks.mjs +20 -0
- package/resources/qbd/checks.mjs.map +1 -1
- package/resources/qbd/credit-card-charges.d.mts +52 -1
- package/resources/qbd/credit-card-charges.d.mts.map +1 -1
- package/resources/qbd/credit-card-charges.d.ts +52 -1
- package/resources/qbd/credit-card-charges.d.ts.map +1 -1
- package/resources/qbd/credit-card-charges.js +20 -0
- package/resources/qbd/credit-card-charges.js.map +1 -1
- package/resources/qbd/credit-card-charges.mjs +20 -0
- package/resources/qbd/credit-card-charges.mjs.map +1 -1
- package/resources/qbd/credit-card-credits.d.mts +52 -1
- package/resources/qbd/credit-card-credits.d.mts.map +1 -1
- package/resources/qbd/credit-card-credits.d.ts +52 -1
- package/resources/qbd/credit-card-credits.d.ts.map +1 -1
- package/resources/qbd/credit-card-credits.js +20 -0
- package/resources/qbd/credit-card-credits.js.map +1 -1
- package/resources/qbd/credit-card-credits.mjs +20 -0
- package/resources/qbd/credit-card-credits.mjs.map +1 -1
- package/resources/qbd/credit-card-refunds.d.mts +52 -1
- package/resources/qbd/credit-card-refunds.d.mts.map +1 -1
- package/resources/qbd/credit-card-refunds.d.ts +52 -1
- package/resources/qbd/credit-card-refunds.d.ts.map +1 -1
- package/resources/qbd/credit-card-refunds.js +20 -0
- package/resources/qbd/credit-card-refunds.js.map +1 -1
- package/resources/qbd/credit-card-refunds.mjs +20 -0
- package/resources/qbd/credit-card-refunds.mjs.map +1 -1
- package/resources/qbd/credit-memos.d.mts +51 -1
- package/resources/qbd/credit-memos.d.mts.map +1 -1
- package/resources/qbd/credit-memos.d.ts +51 -1
- package/resources/qbd/credit-memos.d.ts.map +1 -1
- package/resources/qbd/credit-memos.js +20 -0
- package/resources/qbd/credit-memos.js.map +1 -1
- package/resources/qbd/credit-memos.mjs +20 -0
- package/resources/qbd/credit-memos.mjs.map +1 -1
- package/resources/qbd/customers.d.mts +16 -2
- package/resources/qbd/customers.d.mts.map +1 -1
- package/resources/qbd/customers.d.ts +16 -2
- package/resources/qbd/customers.d.ts.map +1 -1
- package/resources/qbd/customers.js +3 -0
- package/resources/qbd/customers.js.map +1 -1
- package/resources/qbd/customers.mjs +3 -0
- package/resources/qbd/customers.mjs.map +1 -1
- package/resources/qbd/index.d.mts +14 -14
- package/resources/qbd/index.d.mts.map +1 -1
- package/resources/qbd/index.d.ts +14 -14
- package/resources/qbd/index.d.ts.map +1 -1
- package/resources/qbd/index.js.map +1 -1
- package/resources/qbd/index.mjs.map +1 -1
- package/resources/qbd/inventory-adjustments.d.mts +53 -1
- package/resources/qbd/inventory-adjustments.d.mts.map +1 -1
- package/resources/qbd/inventory-adjustments.d.ts +53 -1
- package/resources/qbd/inventory-adjustments.d.ts.map +1 -1
- package/resources/qbd/inventory-adjustments.js +21 -0
- package/resources/qbd/inventory-adjustments.js.map +1 -1
- package/resources/qbd/inventory-adjustments.mjs +21 -0
- package/resources/qbd/inventory-adjustments.mjs.map +1 -1
- package/resources/qbd/invoices.d.mts +51 -1
- package/resources/qbd/invoices.d.mts.map +1 -1
- package/resources/qbd/invoices.d.ts +51 -1
- package/resources/qbd/invoices.d.ts.map +1 -1
- package/resources/qbd/invoices.js +20 -0
- package/resources/qbd/invoices.js.map +1 -1
- package/resources/qbd/invoices.mjs +20 -0
- package/resources/qbd/invoices.mjs.map +1 -1
- package/resources/qbd/item-receipts.d.mts +51 -1
- package/resources/qbd/item-receipts.d.mts.map +1 -1
- package/resources/qbd/item-receipts.d.ts +51 -1
- package/resources/qbd/item-receipts.d.ts.map +1 -1
- package/resources/qbd/item-receipts.js +20 -0
- package/resources/qbd/item-receipts.js.map +1 -1
- package/resources/qbd/item-receipts.mjs +20 -0
- package/resources/qbd/item-receipts.mjs.map +1 -1
- package/resources/qbd/journal-entries.d.mts +51 -1
- package/resources/qbd/journal-entries.d.mts.map +1 -1
- package/resources/qbd/journal-entries.d.ts +51 -1
- package/resources/qbd/journal-entries.d.ts.map +1 -1
- package/resources/qbd/journal-entries.js +20 -0
- package/resources/qbd/journal-entries.js.map +1 -1
- package/resources/qbd/journal-entries.mjs +20 -0
- package/resources/qbd/journal-entries.mjs.map +1 -1
- package/resources/qbd/qbd.d.mts +28 -28
- package/resources/qbd/qbd.d.mts.map +1 -1
- package/resources/qbd/qbd.d.ts +28 -28
- package/resources/qbd/qbd.d.ts.map +1 -1
- package/resources/qbd/qbd.js.map +1 -1
- package/resources/qbd/qbd.mjs.map +1 -1
- package/resources/qbd/sales-receipts.d.mts +51 -1
- package/resources/qbd/sales-receipts.d.mts.map +1 -1
- package/resources/qbd/sales-receipts.d.ts +51 -1
- package/resources/qbd/sales-receipts.d.ts.map +1 -1
- package/resources/qbd/sales-receipts.js +20 -0
- package/resources/qbd/sales-receipts.js.map +1 -1
- package/resources/qbd/sales-receipts.mjs +20 -0
- package/resources/qbd/sales-receipts.mjs.map +1 -1
- package/resources/qbd/vendor-credits.d.mts +51 -1
- package/resources/qbd/vendor-credits.d.mts.map +1 -1
- package/resources/qbd/vendor-credits.d.ts +51 -1
- package/resources/qbd/vendor-credits.d.ts.map +1 -1
- package/resources/qbd/vendor-credits.js +20 -0
- package/resources/qbd/vendor-credits.js.map +1 -1
- package/resources/qbd/vendor-credits.mjs +20 -0
- package/resources/qbd/vendor-credits.mjs.map +1 -1
- package/resources/qbd/vendors.d.mts +3 -3
- package/resources/qbd/vendors.d.mts.map +1 -1
- package/resources/qbd/vendors.d.ts +3 -3
- package/resources/qbd/vendors.d.ts.map +1 -1
- package/src/client.ts +12 -0
- package/src/internal/types.ts +6 -8
- package/src/resources/qbd/bill-check-payments.ts +71 -0
- package/src/resources/qbd/bill-credit-card-payments.ts +73 -0
- package/src/resources/qbd/bills.ts +66 -0
- package/src/resources/qbd/checks.ts +66 -0
- package/src/resources/qbd/credit-card-charges.ts +71 -0
- package/src/resources/qbd/credit-card-credits.ts +71 -0
- package/src/resources/qbd/credit-card-refunds.ts +71 -0
- package/src/resources/qbd/credit-memos.ts +70 -0
- package/src/resources/qbd/customers.ts +17 -2
- package/src/resources/qbd/index.ts +28 -0
- package/src/resources/qbd/inventory-adjustments.ts +72 -0
- package/src/resources/qbd/invoices.ts +66 -0
- package/src/resources/qbd/item-receipts.ts +70 -0
- package/src/resources/qbd/journal-entries.ts +70 -0
- package/src/resources/qbd/qbd.ts +56 -0
- package/src/resources/qbd/sales-receipts.ts +70 -0
- package/src/resources/qbd/vendor-credits.ts +70 -0
- package/src/resources/qbd/vendors.ts +3 -3
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -123,6 +123,32 @@ export class BillCreditCardPayments extends APIResource {
|
|
|
123
123
|
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Voids a bill credit card payment by setting its amount to zero while keeping a
|
|
129
|
+
* record of it in QuickBooks. The void will fail if the bill credit card payment
|
|
130
|
+
* is currently in use or has any linked transactions that are in use.
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* ```ts
|
|
134
|
+
* const response =
|
|
135
|
+
* await conductor.qbd.billCreditCardPayments.void(
|
|
136
|
+
* '123ABC-1234567890',
|
|
137
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
138
|
+
* );
|
|
139
|
+
* ```
|
|
140
|
+
*/
|
|
141
|
+
void(
|
|
142
|
+
id: string,
|
|
143
|
+
params: BillCreditCardPaymentVoidParams,
|
|
144
|
+
options?: RequestOptions,
|
|
145
|
+
): APIPromise<BillCreditCardPaymentVoidResponse> {
|
|
146
|
+
const { conductorEndUserId } = params;
|
|
147
|
+
return this._client.post(path`/quickbooks-desktop/bill-credit-card-payments/${id}/void`, {
|
|
148
|
+
...options,
|
|
149
|
+
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
150
|
+
});
|
|
151
|
+
}
|
|
126
152
|
}
|
|
127
153
|
|
|
128
154
|
export type BillCreditCardPaymentsCursorPage = CursorPage<BillCreditCardPayment>;
|
|
@@ -605,6 +631,44 @@ export interface BillCreditCardPaymentDeleteResponse {
|
|
|
605
631
|
refNumber: string | null;
|
|
606
632
|
}
|
|
607
633
|
|
|
634
|
+
export interface BillCreditCardPaymentVoidResponse {
|
|
635
|
+
/**
|
|
636
|
+
* The QuickBooks-assigned unique identifier of the voided bill credit card
|
|
637
|
+
* payment.
|
|
638
|
+
*/
|
|
639
|
+
id: string;
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* The date and time when this bill credit card payment was created, in ISO 8601
|
|
643
|
+
* format (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the
|
|
644
|
+
* local timezone of the end-user's computer.
|
|
645
|
+
*/
|
|
646
|
+
createdAt: string | null;
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* The type of object. This value is always `"qbd_bill_credit_card_payment"`.
|
|
650
|
+
*/
|
|
651
|
+
objectType: 'qbd_bill_credit_card_payment';
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* The case-sensitive user-defined reference number of the voided bill credit card
|
|
655
|
+
* payment.
|
|
656
|
+
*/
|
|
657
|
+
refNumber: string | null;
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* The date and time when this bill credit card payment was last updated, in ISO
|
|
661
|
+
* 8601 format (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in
|
|
662
|
+
* the local timezone of the end-user's computer.
|
|
663
|
+
*/
|
|
664
|
+
updatedAt: string | null;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Indicates whether the bill credit card payment was voided.
|
|
668
|
+
*/
|
|
669
|
+
voided: boolean;
|
|
670
|
+
}
|
|
671
|
+
|
|
608
672
|
export interface BillCreditCardPaymentCreateParams {
|
|
609
673
|
/**
|
|
610
674
|
* Body param: The bills to be paid by this bill credit card payment. This will
|
|
@@ -917,14 +981,23 @@ export interface BillCreditCardPaymentDeleteParams {
|
|
|
917
981
|
conductorEndUserId: string;
|
|
918
982
|
}
|
|
919
983
|
|
|
984
|
+
export interface BillCreditCardPaymentVoidParams {
|
|
985
|
+
/**
|
|
986
|
+
* The ID of the End-User to receive this request.
|
|
987
|
+
*/
|
|
988
|
+
conductorEndUserId: string;
|
|
989
|
+
}
|
|
990
|
+
|
|
920
991
|
export declare namespace BillCreditCardPayments {
|
|
921
992
|
export {
|
|
922
993
|
type BillCreditCardPayment as BillCreditCardPayment,
|
|
923
994
|
type BillCreditCardPaymentDeleteResponse as BillCreditCardPaymentDeleteResponse,
|
|
995
|
+
type BillCreditCardPaymentVoidResponse as BillCreditCardPaymentVoidResponse,
|
|
924
996
|
type BillCreditCardPaymentsCursorPage as BillCreditCardPaymentsCursorPage,
|
|
925
997
|
type BillCreditCardPaymentCreateParams as BillCreditCardPaymentCreateParams,
|
|
926
998
|
type BillCreditCardPaymentRetrieveParams as BillCreditCardPaymentRetrieveParams,
|
|
927
999
|
type BillCreditCardPaymentListParams as BillCreditCardPaymentListParams,
|
|
928
1000
|
type BillCreditCardPaymentDeleteParams as BillCreditCardPaymentDeleteParams,
|
|
1001
|
+
type BillCreditCardPaymentVoidParams as BillCreditCardPaymentVoidParams,
|
|
929
1002
|
};
|
|
930
1003
|
}
|
|
@@ -124,6 +124,27 @@ export class Bills extends APIResource {
|
|
|
124
124
|
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Voids a bill by setting its amount to zero while keeping a record of it in
|
|
130
|
+
* QuickBooks. The void will fail if the bill is currently in use or has any linked
|
|
131
|
+
* transactions that are in use.
|
|
132
|
+
*
|
|
133
|
+
* @example
|
|
134
|
+
* ```ts
|
|
135
|
+
* const response = await conductor.qbd.bills.void(
|
|
136
|
+
* '123ABC-1234567890',
|
|
137
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
138
|
+
* );
|
|
139
|
+
* ```
|
|
140
|
+
*/
|
|
141
|
+
void(id: string, params: BillVoidParams, options?: RequestOptions): APIPromise<BillVoidResponse> {
|
|
142
|
+
const { conductorEndUserId } = params;
|
|
143
|
+
return this._client.post(path`/quickbooks-desktop/bills/${id}/void`, {
|
|
144
|
+
...options,
|
|
145
|
+
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
146
|
+
});
|
|
147
|
+
}
|
|
127
148
|
}
|
|
128
149
|
|
|
129
150
|
export type BillsCursorPage = CursorPage<Bill>;
|
|
@@ -1709,6 +1730,42 @@ export interface BillDeleteResponse {
|
|
|
1709
1730
|
refNumber: string | null;
|
|
1710
1731
|
}
|
|
1711
1732
|
|
|
1733
|
+
export interface BillVoidResponse {
|
|
1734
|
+
/**
|
|
1735
|
+
* The QuickBooks-assigned unique identifier of the voided bill.
|
|
1736
|
+
*/
|
|
1737
|
+
id: string;
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* The date and time when this bill was created, in ISO 8601 format
|
|
1741
|
+
* (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local
|
|
1742
|
+
* timezone of the end-user's computer.
|
|
1743
|
+
*/
|
|
1744
|
+
createdAt: string | null;
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* The type of object. This value is always `"qbd_bill"`.
|
|
1748
|
+
*/
|
|
1749
|
+
objectType: 'qbd_bill';
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* The case-sensitive user-defined reference number of the voided bill.
|
|
1753
|
+
*/
|
|
1754
|
+
refNumber: string | null;
|
|
1755
|
+
|
|
1756
|
+
/**
|
|
1757
|
+
* The date and time when this bill was last updated, in ISO 8601 format
|
|
1758
|
+
* (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local
|
|
1759
|
+
* timezone of the end-user's computer.
|
|
1760
|
+
*/
|
|
1761
|
+
updatedAt: string | null;
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* Indicates whether the bill was voided.
|
|
1765
|
+
*/
|
|
1766
|
+
voided: boolean;
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1712
1769
|
export interface BillCreateParams {
|
|
1713
1770
|
/**
|
|
1714
1771
|
* Body param: The date of this bill, in ISO 8601 format (YYYY-MM-DD).
|
|
@@ -3106,15 +3163,24 @@ export interface BillDeleteParams {
|
|
|
3106
3163
|
conductorEndUserId: string;
|
|
3107
3164
|
}
|
|
3108
3165
|
|
|
3166
|
+
export interface BillVoidParams {
|
|
3167
|
+
/**
|
|
3168
|
+
* The ID of the End-User to receive this request.
|
|
3169
|
+
*/
|
|
3170
|
+
conductorEndUserId: string;
|
|
3171
|
+
}
|
|
3172
|
+
|
|
3109
3173
|
export declare namespace Bills {
|
|
3110
3174
|
export {
|
|
3111
3175
|
type Bill as Bill,
|
|
3112
3176
|
type BillDeleteResponse as BillDeleteResponse,
|
|
3177
|
+
type BillVoidResponse as BillVoidResponse,
|
|
3113
3178
|
type BillsCursorPage as BillsCursorPage,
|
|
3114
3179
|
type BillCreateParams as BillCreateParams,
|
|
3115
3180
|
type BillRetrieveParams as BillRetrieveParams,
|
|
3116
3181
|
type BillUpdateParams as BillUpdateParams,
|
|
3117
3182
|
type BillListParams as BillListParams,
|
|
3118
3183
|
type BillDeleteParams as BillDeleteParams,
|
|
3184
|
+
type BillVoidParams as BillVoidParams,
|
|
3119
3185
|
};
|
|
3120
3186
|
}
|
|
@@ -123,6 +123,27 @@ export class Checks extends APIResource {
|
|
|
123
123
|
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Voids a check by setting its amount to zero while keeping a record of it in
|
|
129
|
+
* QuickBooks. The void will fail if the check is currently in use or has any
|
|
130
|
+
* linked transactions that are in use.
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* ```ts
|
|
134
|
+
* const response = await conductor.qbd.checks.void(
|
|
135
|
+
* '123ABC-1234567890',
|
|
136
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
137
|
+
* );
|
|
138
|
+
* ```
|
|
139
|
+
*/
|
|
140
|
+
void(id: string, params: CheckVoidParams, options?: RequestOptions): APIPromise<CheckVoidResponse> {
|
|
141
|
+
const { conductorEndUserId } = params;
|
|
142
|
+
return this._client.post(path`/quickbooks-desktop/checks/${id}/void`, {
|
|
143
|
+
...options,
|
|
144
|
+
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
145
|
+
});
|
|
146
|
+
}
|
|
126
147
|
}
|
|
127
148
|
|
|
128
149
|
export type ChecksCursorPage = CursorPage<Check>;
|
|
@@ -1659,6 +1680,42 @@ export interface CheckDeleteResponse {
|
|
|
1659
1680
|
refNumber: string | null;
|
|
1660
1681
|
}
|
|
1661
1682
|
|
|
1683
|
+
export interface CheckVoidResponse {
|
|
1684
|
+
/**
|
|
1685
|
+
* The QuickBooks-assigned unique identifier of the voided check.
|
|
1686
|
+
*/
|
|
1687
|
+
id: string;
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* The date and time when this check was created, in ISO 8601 format
|
|
1691
|
+
* (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local
|
|
1692
|
+
* timezone of the end-user's computer.
|
|
1693
|
+
*/
|
|
1694
|
+
createdAt: string | null;
|
|
1695
|
+
|
|
1696
|
+
/**
|
|
1697
|
+
* The type of object. This value is always `"qbd_check"`.
|
|
1698
|
+
*/
|
|
1699
|
+
objectType: 'qbd_check';
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* The case-sensitive user-defined reference number of the voided check.
|
|
1703
|
+
*/
|
|
1704
|
+
refNumber: string | null;
|
|
1705
|
+
|
|
1706
|
+
/**
|
|
1707
|
+
* The date and time when this check was last updated, in ISO 8601 format
|
|
1708
|
+
* (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local
|
|
1709
|
+
* timezone of the end-user's computer.
|
|
1710
|
+
*/
|
|
1711
|
+
updatedAt: string | null;
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
* Indicates whether the check was voided.
|
|
1715
|
+
*/
|
|
1716
|
+
voided: boolean;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1662
1719
|
export interface CheckCreateParams {
|
|
1663
1720
|
/**
|
|
1664
1721
|
* Body param: The bank account from which the funds are being drawn for this
|
|
@@ -3068,15 +3125,24 @@ export interface CheckDeleteParams {
|
|
|
3068
3125
|
conductorEndUserId: string;
|
|
3069
3126
|
}
|
|
3070
3127
|
|
|
3128
|
+
export interface CheckVoidParams {
|
|
3129
|
+
/**
|
|
3130
|
+
* The ID of the End-User to receive this request.
|
|
3131
|
+
*/
|
|
3132
|
+
conductorEndUserId: string;
|
|
3133
|
+
}
|
|
3134
|
+
|
|
3071
3135
|
export declare namespace Checks {
|
|
3072
3136
|
export {
|
|
3073
3137
|
type Check as Check,
|
|
3074
3138
|
type CheckDeleteResponse as CheckDeleteResponse,
|
|
3139
|
+
type CheckVoidResponse as CheckVoidResponse,
|
|
3075
3140
|
type ChecksCursorPage as ChecksCursorPage,
|
|
3076
3141
|
type CheckCreateParams as CheckCreateParams,
|
|
3077
3142
|
type CheckRetrieveParams as CheckRetrieveParams,
|
|
3078
3143
|
type CheckUpdateParams as CheckUpdateParams,
|
|
3079
3144
|
type CheckListParams as CheckListParams,
|
|
3080
3145
|
type CheckDeleteParams as CheckDeleteParams,
|
|
3146
|
+
type CheckVoidParams as CheckVoidParams,
|
|
3081
3147
|
};
|
|
3082
3148
|
}
|
|
@@ -139,6 +139,31 @@ export class CreditCardCharges extends APIResource {
|
|
|
139
139
|
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Voids a credit card charge by setting its amount to zero while keeping a record
|
|
145
|
+
* of it in QuickBooks. The void will fail if the credit card charge is currently
|
|
146
|
+
* in use or has any linked transactions that are in use.
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* ```ts
|
|
150
|
+
* const response = await conductor.qbd.creditCardCharges.void(
|
|
151
|
+
* '123ABC-1234567890',
|
|
152
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
153
|
+
* );
|
|
154
|
+
* ```
|
|
155
|
+
*/
|
|
156
|
+
void(
|
|
157
|
+
id: string,
|
|
158
|
+
params: CreditCardChargeVoidParams,
|
|
159
|
+
options?: RequestOptions,
|
|
160
|
+
): APIPromise<CreditCardChargeVoidResponse> {
|
|
161
|
+
const { conductorEndUserId } = params;
|
|
162
|
+
return this._client.post(path`/quickbooks-desktop/credit-card-charges/${id}/void`, {
|
|
163
|
+
...options,
|
|
164
|
+
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
165
|
+
});
|
|
166
|
+
}
|
|
142
167
|
}
|
|
143
168
|
|
|
144
169
|
export type CreditCardChargesCursorPage = CursorPage<CreditCardCharge>;
|
|
@@ -1523,6 +1548,43 @@ export interface CreditCardChargeDeleteResponse {
|
|
|
1523
1548
|
refNumber: string | null;
|
|
1524
1549
|
}
|
|
1525
1550
|
|
|
1551
|
+
export interface CreditCardChargeVoidResponse {
|
|
1552
|
+
/**
|
|
1553
|
+
* The QuickBooks-assigned unique identifier of the voided credit card charge.
|
|
1554
|
+
*/
|
|
1555
|
+
id: string;
|
|
1556
|
+
|
|
1557
|
+
/**
|
|
1558
|
+
* The date and time when this credit card charge was created, in ISO 8601 format
|
|
1559
|
+
* (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local
|
|
1560
|
+
* timezone of the end-user's computer.
|
|
1561
|
+
*/
|
|
1562
|
+
createdAt: string | null;
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* The type of object. This value is always `"qbd_credit_card_charge"`.
|
|
1566
|
+
*/
|
|
1567
|
+
objectType: 'qbd_credit_card_charge';
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* The case-sensitive user-defined reference number of the voided credit card
|
|
1571
|
+
* charge.
|
|
1572
|
+
*/
|
|
1573
|
+
refNumber: string | null;
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* The date and time when this credit card charge was last updated, in ISO 8601
|
|
1577
|
+
* format (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the
|
|
1578
|
+
* local timezone of the end-user's computer.
|
|
1579
|
+
*/
|
|
1580
|
+
updatedAt: string | null;
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* Indicates whether the credit card charge was voided.
|
|
1584
|
+
*/
|
|
1585
|
+
voided: boolean;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1526
1588
|
export interface CreditCardChargeCreateParams {
|
|
1527
1589
|
/**
|
|
1528
1590
|
* Body param: The bank or credit card account to which money is owed for this
|
|
@@ -2710,15 +2772,24 @@ export interface CreditCardChargeDeleteParams {
|
|
|
2710
2772
|
conductorEndUserId: string;
|
|
2711
2773
|
}
|
|
2712
2774
|
|
|
2775
|
+
export interface CreditCardChargeVoidParams {
|
|
2776
|
+
/**
|
|
2777
|
+
* The ID of the End-User to receive this request.
|
|
2778
|
+
*/
|
|
2779
|
+
conductorEndUserId: string;
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2713
2782
|
export declare namespace CreditCardCharges {
|
|
2714
2783
|
export {
|
|
2715
2784
|
type CreditCardCharge as CreditCardCharge,
|
|
2716
2785
|
type CreditCardChargeDeleteResponse as CreditCardChargeDeleteResponse,
|
|
2786
|
+
type CreditCardChargeVoidResponse as CreditCardChargeVoidResponse,
|
|
2717
2787
|
type CreditCardChargesCursorPage as CreditCardChargesCursorPage,
|
|
2718
2788
|
type CreditCardChargeCreateParams as CreditCardChargeCreateParams,
|
|
2719
2789
|
type CreditCardChargeRetrieveParams as CreditCardChargeRetrieveParams,
|
|
2720
2790
|
type CreditCardChargeUpdateParams as CreditCardChargeUpdateParams,
|
|
2721
2791
|
type CreditCardChargeListParams as CreditCardChargeListParams,
|
|
2722
2792
|
type CreditCardChargeDeleteParams as CreditCardChargeDeleteParams,
|
|
2793
|
+
type CreditCardChargeVoidParams as CreditCardChargeVoidParams,
|
|
2723
2794
|
};
|
|
2724
2795
|
}
|
|
@@ -137,6 +137,31 @@ export class CreditCardCredits extends APIResource {
|
|
|
137
137
|
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Voids a credit card credit by setting its amount to zero while keeping a record
|
|
143
|
+
* of it in QuickBooks. The void will fail if the credit card credit is currently
|
|
144
|
+
* in use or has any linked transactions that are in use.
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* ```ts
|
|
148
|
+
* const response = await conductor.qbd.creditCardCredits.void(
|
|
149
|
+
* '123ABC-1234567890',
|
|
150
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
151
|
+
* );
|
|
152
|
+
* ```
|
|
153
|
+
*/
|
|
154
|
+
void(
|
|
155
|
+
id: string,
|
|
156
|
+
params: CreditCardCreditVoidParams,
|
|
157
|
+
options?: RequestOptions,
|
|
158
|
+
): APIPromise<CreditCardCreditVoidResponse> {
|
|
159
|
+
const { conductorEndUserId } = params;
|
|
160
|
+
return this._client.post(path`/quickbooks-desktop/credit-card-credits/${id}/void`, {
|
|
161
|
+
...options,
|
|
162
|
+
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
163
|
+
});
|
|
164
|
+
}
|
|
140
165
|
}
|
|
141
166
|
|
|
142
167
|
export type CreditCardCreditsCursorPage = CursorPage<CreditCardCredit>;
|
|
@@ -1519,6 +1544,43 @@ export interface CreditCardCreditDeleteResponse {
|
|
|
1519
1544
|
refNumber: string | null;
|
|
1520
1545
|
}
|
|
1521
1546
|
|
|
1547
|
+
export interface CreditCardCreditVoidResponse {
|
|
1548
|
+
/**
|
|
1549
|
+
* The QuickBooks-assigned unique identifier of the voided credit card credit.
|
|
1550
|
+
*/
|
|
1551
|
+
id: string;
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* The date and time when this credit card credit was created, in ISO 8601 format
|
|
1555
|
+
* (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local
|
|
1556
|
+
* timezone of the end-user's computer.
|
|
1557
|
+
*/
|
|
1558
|
+
createdAt: string | null;
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* The type of object. This value is always `"qbd_credit_card_credit"`.
|
|
1562
|
+
*/
|
|
1563
|
+
objectType: 'qbd_credit_card_credit';
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* The case-sensitive user-defined reference number of the voided credit card
|
|
1567
|
+
* credit.
|
|
1568
|
+
*/
|
|
1569
|
+
refNumber: string | null;
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
* The date and time when this credit card credit was last updated, in ISO 8601
|
|
1573
|
+
* format (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the
|
|
1574
|
+
* local timezone of the end-user's computer.
|
|
1575
|
+
*/
|
|
1576
|
+
updatedAt: string | null;
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* Indicates whether the credit card credit was voided.
|
|
1580
|
+
*/
|
|
1581
|
+
voided: boolean;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1522
1584
|
export interface CreditCardCreditCreateParams {
|
|
1523
1585
|
/**
|
|
1524
1586
|
* Body param: The bank or credit card account to which this credit card credit is
|
|
@@ -2705,15 +2767,24 @@ export interface CreditCardCreditDeleteParams {
|
|
|
2705
2767
|
conductorEndUserId: string;
|
|
2706
2768
|
}
|
|
2707
2769
|
|
|
2770
|
+
export interface CreditCardCreditVoidParams {
|
|
2771
|
+
/**
|
|
2772
|
+
* The ID of the End-User to receive this request.
|
|
2773
|
+
*/
|
|
2774
|
+
conductorEndUserId: string;
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2708
2777
|
export declare namespace CreditCardCredits {
|
|
2709
2778
|
export {
|
|
2710
2779
|
type CreditCardCredit as CreditCardCredit,
|
|
2711
2780
|
type CreditCardCreditDeleteResponse as CreditCardCreditDeleteResponse,
|
|
2781
|
+
type CreditCardCreditVoidResponse as CreditCardCreditVoidResponse,
|
|
2712
2782
|
type CreditCardCreditsCursorPage as CreditCardCreditsCursorPage,
|
|
2713
2783
|
type CreditCardCreditCreateParams as CreditCardCreditCreateParams,
|
|
2714
2784
|
type CreditCardCreditRetrieveParams as CreditCardCreditRetrieveParams,
|
|
2715
2785
|
type CreditCardCreditUpdateParams as CreditCardCreditUpdateParams,
|
|
2716
2786
|
type CreditCardCreditListParams as CreditCardCreditListParams,
|
|
2717
2787
|
type CreditCardCreditDeleteParams as CreditCardCreditDeleteParams,
|
|
2788
|
+
type CreditCardCreditVoidParams as CreditCardCreditVoidParams,
|
|
2718
2789
|
};
|
|
2719
2790
|
}
|
|
@@ -118,6 +118,31 @@ export class CreditCardRefunds extends APIResource {
|
|
|
118
118
|
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Voids a credit card refund by setting its amount to zero while keeping a record
|
|
124
|
+
* of it in QuickBooks. The void will fail if the credit card refund is currently
|
|
125
|
+
* in use or has any linked transactions that are in use.
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* ```ts
|
|
129
|
+
* const response = await conductor.qbd.creditCardRefunds.void(
|
|
130
|
+
* '123ABC-1234567890',
|
|
131
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
132
|
+
* );
|
|
133
|
+
* ```
|
|
134
|
+
*/
|
|
135
|
+
void(
|
|
136
|
+
id: string,
|
|
137
|
+
params: CreditCardRefundVoidParams,
|
|
138
|
+
options?: RequestOptions,
|
|
139
|
+
): APIPromise<CreditCardRefundVoidResponse> {
|
|
140
|
+
const { conductorEndUserId } = params;
|
|
141
|
+
return this._client.post(path`/quickbooks-desktop/credit-card-refunds/${id}/void`, {
|
|
142
|
+
...options,
|
|
143
|
+
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
144
|
+
});
|
|
145
|
+
}
|
|
121
146
|
}
|
|
122
147
|
|
|
123
148
|
export type CreditCardRefundsCursorPage = CursorPage<CreditCardRefund>;
|
|
@@ -724,6 +749,43 @@ export interface CreditCardRefundDeleteResponse {
|
|
|
724
749
|
refNumber: string | null;
|
|
725
750
|
}
|
|
726
751
|
|
|
752
|
+
export interface CreditCardRefundVoidResponse {
|
|
753
|
+
/**
|
|
754
|
+
* The QuickBooks-assigned unique identifier of the voided credit card refund.
|
|
755
|
+
*/
|
|
756
|
+
id: string;
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* The date and time when this credit card refund was created, in ISO 8601 format
|
|
760
|
+
* (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local
|
|
761
|
+
* timezone of the end-user's computer.
|
|
762
|
+
*/
|
|
763
|
+
createdAt: string | null;
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* The type of object. This value is always `"qbd_credit_card_refund"`.
|
|
767
|
+
*/
|
|
768
|
+
objectType: 'qbd_credit_card_refund';
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* The case-sensitive user-defined reference number of the voided credit card
|
|
772
|
+
* refund.
|
|
773
|
+
*/
|
|
774
|
+
refNumber: string | null;
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* The date and time when this credit card refund was last updated, in ISO 8601
|
|
778
|
+
* format (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the
|
|
779
|
+
* local timezone of the end-user's computer.
|
|
780
|
+
*/
|
|
781
|
+
updatedAt: string | null;
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* Indicates whether the credit card refund was voided.
|
|
785
|
+
*/
|
|
786
|
+
voided: boolean;
|
|
787
|
+
}
|
|
788
|
+
|
|
727
789
|
export interface CreditCardRefundCreateParams {
|
|
728
790
|
/**
|
|
729
791
|
* Body param: The customer or customer-job associated with this credit card
|
|
@@ -1238,14 +1300,23 @@ export interface CreditCardRefundDeleteParams {
|
|
|
1238
1300
|
conductorEndUserId: string;
|
|
1239
1301
|
}
|
|
1240
1302
|
|
|
1303
|
+
export interface CreditCardRefundVoidParams {
|
|
1304
|
+
/**
|
|
1305
|
+
* The ID of the End-User to receive this request.
|
|
1306
|
+
*/
|
|
1307
|
+
conductorEndUserId: string;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1241
1310
|
export declare namespace CreditCardRefunds {
|
|
1242
1311
|
export {
|
|
1243
1312
|
type CreditCardRefund as CreditCardRefund,
|
|
1244
1313
|
type CreditCardRefundDeleteResponse as CreditCardRefundDeleteResponse,
|
|
1314
|
+
type CreditCardRefundVoidResponse as CreditCardRefundVoidResponse,
|
|
1245
1315
|
type CreditCardRefundsCursorPage as CreditCardRefundsCursorPage,
|
|
1246
1316
|
type CreditCardRefundCreateParams as CreditCardRefundCreateParams,
|
|
1247
1317
|
type CreditCardRefundRetrieveParams as CreditCardRefundRetrieveParams,
|
|
1248
1318
|
type CreditCardRefundListParams as CreditCardRefundListParams,
|
|
1249
1319
|
type CreditCardRefundDeleteParams as CreditCardRefundDeleteParams,
|
|
1320
|
+
type CreditCardRefundVoidParams as CreditCardRefundVoidParams,
|
|
1250
1321
|
};
|
|
1251
1322
|
}
|
|
@@ -126,6 +126,31 @@ export class CreditMemos extends APIResource {
|
|
|
126
126
|
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Voids a credit memo by setting its amount to zero while keeping a record of it
|
|
132
|
+
* in QuickBooks. The void will fail if the credit memo is currently in use or has
|
|
133
|
+
* any linked transactions that are in use.
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* ```ts
|
|
137
|
+
* const response = await conductor.qbd.creditMemos.void(
|
|
138
|
+
* '123ABC-1234567890',
|
|
139
|
+
* { conductorEndUserId: 'end_usr_1234567abcdefg' },
|
|
140
|
+
* );
|
|
141
|
+
* ```
|
|
142
|
+
*/
|
|
143
|
+
void(
|
|
144
|
+
id: string,
|
|
145
|
+
params: CreditMemoVoidParams,
|
|
146
|
+
options?: RequestOptions,
|
|
147
|
+
): APIPromise<CreditMemoVoidResponse> {
|
|
148
|
+
const { conductorEndUserId } = params;
|
|
149
|
+
return this._client.post(path`/quickbooks-desktop/credit-memos/${id}/void`, {
|
|
150
|
+
...options,
|
|
151
|
+
headers: buildHeaders([{ 'Conductor-End-User-Id': conductorEndUserId }, options?.headers]),
|
|
152
|
+
});
|
|
153
|
+
}
|
|
129
154
|
}
|
|
130
155
|
|
|
131
156
|
export type CreditMemosCursorPage = CursorPage<CreditMemo>;
|
|
@@ -1724,6 +1749,42 @@ export interface CreditMemoDeleteResponse {
|
|
|
1724
1749
|
refNumber: string | null;
|
|
1725
1750
|
}
|
|
1726
1751
|
|
|
1752
|
+
export interface CreditMemoVoidResponse {
|
|
1753
|
+
/**
|
|
1754
|
+
* The QuickBooks-assigned unique identifier of the voided credit memo.
|
|
1755
|
+
*/
|
|
1756
|
+
id: string;
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* The date and time when this credit memo was created, in ISO 8601 format
|
|
1760
|
+
* (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local
|
|
1761
|
+
* timezone of the end-user's computer.
|
|
1762
|
+
*/
|
|
1763
|
+
createdAt: string | null;
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* The type of object. This value is always `"qbd_credit_memo"`.
|
|
1767
|
+
*/
|
|
1768
|
+
objectType: 'qbd_credit_memo';
|
|
1769
|
+
|
|
1770
|
+
/**
|
|
1771
|
+
* The case-sensitive user-defined reference number of the voided credit memo.
|
|
1772
|
+
*/
|
|
1773
|
+
refNumber: string | null;
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* The date and time when this credit memo was last updated, in ISO 8601 format
|
|
1777
|
+
* (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local
|
|
1778
|
+
* timezone of the end-user's computer.
|
|
1779
|
+
*/
|
|
1780
|
+
updatedAt: string | null;
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* Indicates whether the credit memo was voided.
|
|
1784
|
+
*/
|
|
1785
|
+
voided: boolean;
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1727
1788
|
export interface CreditMemoCreateParams {
|
|
1728
1789
|
/**
|
|
1729
1790
|
* Body param: The customer or customer-job associated with this credit memo.
|
|
@@ -3220,15 +3281,24 @@ export interface CreditMemoDeleteParams {
|
|
|
3220
3281
|
conductorEndUserId: string;
|
|
3221
3282
|
}
|
|
3222
3283
|
|
|
3284
|
+
export interface CreditMemoVoidParams {
|
|
3285
|
+
/**
|
|
3286
|
+
* The ID of the End-User to receive this request.
|
|
3287
|
+
*/
|
|
3288
|
+
conductorEndUserId: string;
|
|
3289
|
+
}
|
|
3290
|
+
|
|
3223
3291
|
export declare namespace CreditMemos {
|
|
3224
3292
|
export {
|
|
3225
3293
|
type CreditMemo as CreditMemo,
|
|
3226
3294
|
type CreditMemoDeleteResponse as CreditMemoDeleteResponse,
|
|
3295
|
+
type CreditMemoVoidResponse as CreditMemoVoidResponse,
|
|
3227
3296
|
type CreditMemosCursorPage as CreditMemosCursorPage,
|
|
3228
3297
|
type CreditMemoCreateParams as CreditMemoCreateParams,
|
|
3229
3298
|
type CreditMemoRetrieveParams as CreditMemoRetrieveParams,
|
|
3230
3299
|
type CreditMemoUpdateParams as CreditMemoUpdateParams,
|
|
3231
3300
|
type CreditMemoListParams as CreditMemoListParams,
|
|
3232
3301
|
type CreditMemoDeleteParams as CreditMemoDeleteParams,
|
|
3302
|
+
type CreditMemoVoidParams as CreditMemoVoidParams,
|
|
3233
3303
|
};
|
|
3234
3304
|
}
|