@mergeapi/merge-node-client 4.0.0-alpha.0 → 4.0.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.
Files changed (236) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/accounting/resources/expenses/client/Client.d.ts +8 -26
  3. package/api/resources/accounting/resources/expenses/client/Client.js +18 -67
  4. package/api/resources/accounting/resources/expenses/client/requests/ExpenseBulkRequest.d.ts +0 -6
  5. package/api/resources/accounting/resources/expenses/client/requests/index.d.ts +0 -1
  6. package/api/resources/accounting/resources/expenses/types/index.d.ts +0 -1
  7. package/api/resources/accounting/resources/expenses/types/index.js +0 -1
  8. package/api/resources/accounting/resources/invoices/client/Client.d.ts +8 -34
  9. package/api/resources/accounting/resources/invoices/client/Client.js +18 -89
  10. package/api/resources/accounting/resources/invoices/client/requests/InvoiceBulkRequest.d.ts +0 -6
  11. package/api/resources/accounting/resources/invoices/client/requests/index.d.ts +0 -1
  12. package/api/resources/accounting/resources/invoices/types/index.d.ts +0 -3
  13. package/api/resources/accounting/resources/invoices/types/index.js +0 -3
  14. package/api/resources/accounting/resources/itemFulfillments/client/Client.d.ts +8 -20
  15. package/api/resources/accounting/resources/itemFulfillments/client/Client.js +18 -55
  16. package/api/resources/accounting/resources/itemFulfillments/client/requests/ItemFulfillmentBulkRequest.d.ts +0 -6
  17. package/api/resources/accounting/resources/itemFulfillments/client/requests/index.d.ts +0 -1
  18. package/api/resources/accounting/resources/itemFulfillments/types/index.d.ts +0 -1
  19. package/api/resources/accounting/resources/itemFulfillments/types/index.js +0 -1
  20. package/api/resources/accounting/resources/salesOrders/client/Client.d.ts +8 -28
  21. package/api/resources/accounting/resources/salesOrders/client/Client.js +20 -71
  22. package/api/resources/accounting/resources/salesOrders/client/requests/SalesOrderBulkRequest.d.ts +0 -6
  23. package/api/resources/accounting/resources/salesOrders/client/requests/index.d.ts +0 -1
  24. package/api/resources/accounting/resources/salesOrders/types/index.d.ts +0 -1
  25. package/api/resources/accounting/resources/salesOrders/types/index.js +0 -1
  26. package/api/resources/accounting/types/AsyncBulkCreateResponse.d.ts +4 -0
  27. package/api/resources/accounting/types/BankFeedTransactionRequestRequestBankFeedAccount.d.ts +1 -1
  28. package/api/resources/accounting/types/BatchObject.d.ts +15 -1
  29. package/api/resources/accounting/types/BatchObjectItemResponse.d.ts +3 -0
  30. package/api/resources/accounting/types/BatchObjectStatus.d.ts +13 -0
  31. package/api/resources/accounting/types/BatchObjectStatusEnum.d.ts +15 -0
  32. package/api/resources/accounting/types/BatchObjectStatusEnum.js +18 -0
  33. package/api/resources/accounting/types/BatchObjectsResponse.d.ts +23 -1
  34. package/api/resources/accounting/types/BatchObjectsResponseStatus.d.ts +19 -0
  35. package/api/resources/accounting/types/BatchObjectsResponseStatusEnum.d.ts +24 -0
  36. package/api/resources/accounting/types/BatchObjectsResponseStatusEnum.js +27 -0
  37. package/api/resources/accounting/types/ContactRequestAddressesItem.d.ts +1 -1
  38. package/api/resources/accounting/types/ContactRequestPhoneNumbersItem.d.ts +1 -1
  39. package/api/resources/accounting/types/CreditNoteApplyLineForCreditNoteRequestInvoice.d.ts +1 -1
  40. package/api/resources/accounting/types/CreditNoteLineItemRequestContact.d.ts +1 -1
  41. package/api/resources/accounting/types/CreditNoteRequestAppliedPaymentsItem.d.ts +1 -1
  42. package/api/resources/accounting/types/CreditNoteRequestContact.d.ts +1 -1
  43. package/api/resources/accounting/types/CreditNoteRequestLineItemsItem.d.ts +1 -1
  44. package/api/resources/accounting/types/CreditNoteRequestPaymentsItem.d.ts +1 -1
  45. package/api/resources/accounting/types/DataPassthroughRequest.d.ts +2 -2
  46. package/api/resources/accounting/types/ErrorValidationProblem.d.ts +2 -0
  47. package/api/resources/accounting/types/ExpenseLineRequestAccount.d.ts +1 -1
  48. package/api/resources/accounting/types/ExpenseLineRequestContact.d.ts +1 -1
  49. package/api/resources/accounting/types/ExpenseReportLineRequestAccount.d.ts +1 -1
  50. package/api/resources/accounting/types/ExpenseReportLineRequestContact.d.ts +1 -1
  51. package/api/resources/accounting/types/ExpenseRequestAccount.d.ts +1 -1
  52. package/api/resources/accounting/types/ExpenseRequestContact.d.ts +1 -1
  53. package/api/resources/accounting/types/InvoiceLineItemRequestAccount.d.ts +1 -1
  54. package/api/resources/accounting/types/InvoiceLineItemRequestContact.d.ts +1 -1
  55. package/api/resources/accounting/types/InvoiceRequestContact.d.ts +1 -1
  56. package/api/resources/accounting/types/InvoiceRequestPaymentsItem.d.ts +1 -1
  57. package/api/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.d.ts +1 -1
  58. package/api/resources/accounting/types/ItemFulfillmentLineRequestSalesOrderLine.d.ts +1 -1
  59. package/api/resources/accounting/types/ItemFulfillmentRequestRequestCustomer.d.ts +1 -1
  60. package/api/resources/accounting/types/ItemRequestRequestPurchaseAccount.d.ts +1 -1
  61. package/api/resources/accounting/types/ItemRequestRequestSalesAccount.d.ts +1 -1
  62. package/api/resources/accounting/types/JournalEntryRequestLinesItem.d.ts +1 -1
  63. package/api/resources/accounting/types/JournalEntryRequestPaymentsItem.d.ts +1 -1
  64. package/api/resources/accounting/types/JournalLineRequestAccount.d.ts +1 -1
  65. package/api/resources/accounting/types/PaymentRequestAccount.d.ts +1 -1
  66. package/api/resources/accounting/types/PaymentRequestAppliedToLinesItem.d.ts +1 -1
  67. package/api/resources/accounting/types/PaymentRequestContact.d.ts +1 -1
  68. package/api/resources/accounting/types/PurchaseOrderRequestDeliveryAddress.d.ts +1 -1
  69. package/api/resources/accounting/types/PurchaseOrderRequestLineItemsItem.d.ts +1 -1
  70. package/api/resources/accounting/types/PurchaseOrderRequestVendor.d.ts +1 -1
  71. package/api/resources/accounting/types/RemoteFieldApi.d.ts +1 -1
  72. package/api/resources/accounting/types/SalesOrderRequestRequestCustomer.d.ts +1 -1
  73. package/api/resources/accounting/types/SalesOrderRequestRequestShippingAddress.d.ts +1 -1
  74. package/api/resources/accounting/types/VendorCreditApplyLineForVendorCreditRequestInvoice.d.ts +1 -1
  75. package/api/resources/accounting/types/VendorCreditLineRequestAccount.d.ts +1 -1
  76. package/api/resources/accounting/types/VendorCreditLineRequestContact.d.ts +1 -1
  77. package/api/resources/accounting/types/VendorCreditRequestVendor.d.ts +1 -1
  78. package/api/resources/accounting/types/WarningValidationProblem.d.ts +2 -0
  79. package/api/resources/accounting/types/index.d.ts +4 -3
  80. package/api/resources/accounting/types/index.js +4 -3
  81. package/package.json +1 -1
  82. package/reference.md +24 -128
  83. package/serialization/resources/accounting/resources/expenses/client/requests/ExpenseBulkRequest.d.ts +1 -1
  84. package/serialization/resources/accounting/resources/expenses/types/index.d.ts +0 -1
  85. package/serialization/resources/accounting/resources/expenses/types/index.js +0 -1
  86. package/serialization/resources/accounting/resources/invoices/client/requests/InvoiceBulkRequest.d.ts +1 -1
  87. package/serialization/resources/accounting/resources/invoices/types/index.d.ts +0 -3
  88. package/serialization/resources/accounting/resources/invoices/types/index.js +0 -3
  89. package/serialization/resources/accounting/resources/itemFulfillments/client/requests/ItemFulfillmentBulkRequest.d.ts +1 -1
  90. package/serialization/resources/accounting/resources/itemFulfillments/types/index.d.ts +0 -1
  91. package/serialization/resources/accounting/resources/itemFulfillments/types/index.js +0 -1
  92. package/serialization/resources/accounting/resources/salesOrders/client/requests/SalesOrderBulkRequest.d.ts +1 -1
  93. package/serialization/resources/accounting/resources/salesOrders/types/index.d.ts +0 -1
  94. package/serialization/resources/accounting/resources/salesOrders/types/index.js +0 -1
  95. package/serialization/resources/accounting/types/BankFeedTransactionRequestRequestBankFeedAccount.d.ts +2 -2
  96. package/serialization/resources/accounting/types/BankFeedTransactionRequestRequestBankFeedAccount.js +2 -2
  97. package/serialization/resources/accounting/types/BatchObject.d.ts +2 -1
  98. package/serialization/resources/accounting/types/BatchObject.js +2 -1
  99. package/serialization/resources/accounting/types/BatchObjectStatus.d.ts +8 -0
  100. package/serialization/resources/accounting/types/{RemoteFieldApiAdvancedMetadata.js → BatchObjectStatus.js} +3 -3
  101. package/serialization/resources/accounting/types/BatchObjectStatusEnum.d.ts +7 -0
  102. package/serialization/resources/accounting/types/{DataPassthroughRequestMethod.js → BatchObjectStatusEnum.js} +2 -3
  103. package/serialization/resources/accounting/types/BatchObjectsResponse.d.ts +2 -1
  104. package/serialization/resources/accounting/types/BatchObjectsResponse.js +2 -1
  105. package/serialization/resources/accounting/types/BatchObjectsResponseStatus.d.ts +8 -0
  106. package/serialization/resources/accounting/types/{DataPassthroughRequestRequestFormat.js → BatchObjectsResponseStatus.js} +3 -3
  107. package/serialization/resources/accounting/types/BatchObjectsResponseStatusEnum.d.ts +7 -0
  108. package/serialization/resources/accounting/{resources/invoices/types/InvoicesBatchObjectsListRequestType.js → types/BatchObjectsResponseStatusEnum.js} +3 -3
  109. package/serialization/resources/accounting/types/ContactRequestAddressesItem.d.ts +2 -2
  110. package/serialization/resources/accounting/types/ContactRequestAddressesItem.js +2 -2
  111. package/serialization/resources/accounting/types/ContactRequestPhoneNumbersItem.d.ts +2 -2
  112. package/serialization/resources/accounting/types/ContactRequestPhoneNumbersItem.js +2 -2
  113. package/serialization/resources/accounting/types/CreditNoteApplyLineForCreditNoteRequestInvoice.d.ts +2 -3
  114. package/serialization/resources/accounting/types/CreditNoteApplyLineForCreditNoteRequestInvoice.js +5 -2
  115. package/serialization/resources/accounting/types/CreditNoteLineItemRequestContact.d.ts +2 -2
  116. package/serialization/resources/accounting/types/CreditNoteLineItemRequestContact.js +2 -2
  117. package/serialization/resources/accounting/types/CreditNoteRequestAppliedPaymentsItem.d.ts +2 -2
  118. package/serialization/resources/accounting/types/CreditNoteRequestAppliedPaymentsItem.js +2 -2
  119. package/serialization/resources/accounting/types/CreditNoteRequestContact.d.ts +2 -2
  120. package/serialization/resources/accounting/types/CreditNoteRequestContact.js +2 -2
  121. package/serialization/resources/accounting/types/CreditNoteRequestLineItemsItem.d.ts +2 -2
  122. package/serialization/resources/accounting/types/CreditNoteRequestLineItemsItem.js +2 -2
  123. package/serialization/resources/accounting/types/CreditNoteRequestPaymentsItem.d.ts +2 -2
  124. package/serialization/resources/accounting/types/CreditNoteRequestPaymentsItem.js +2 -2
  125. package/serialization/resources/accounting/types/DataPassthroughRequest.d.ts +4 -4
  126. package/serialization/resources/accounting/types/DataPassthroughRequest.js +4 -4
  127. package/serialization/resources/accounting/types/ErrorValidationProblem.d.ts +2 -0
  128. package/serialization/resources/accounting/types/ErrorValidationProblem.js +2 -0
  129. package/serialization/resources/accounting/types/ExpenseLineRequestAccount.d.ts +2 -2
  130. package/serialization/resources/accounting/types/ExpenseLineRequestAccount.js +2 -2
  131. package/serialization/resources/accounting/types/ExpenseLineRequestContact.d.ts +2 -2
  132. package/serialization/resources/accounting/types/ExpenseLineRequestContact.js +2 -2
  133. package/serialization/resources/accounting/types/ExpenseReportLineRequestAccount.d.ts +2 -2
  134. package/serialization/resources/accounting/types/ExpenseReportLineRequestAccount.js +2 -2
  135. package/serialization/resources/accounting/types/ExpenseReportLineRequestContact.d.ts +2 -2
  136. package/serialization/resources/accounting/types/ExpenseReportLineRequestContact.js +2 -2
  137. package/serialization/resources/accounting/types/ExpenseRequestAccount.d.ts +2 -2
  138. package/serialization/resources/accounting/types/ExpenseRequestAccount.js +2 -2
  139. package/serialization/resources/accounting/types/ExpenseRequestContact.d.ts +2 -2
  140. package/serialization/resources/accounting/types/ExpenseRequestContact.js +2 -2
  141. package/serialization/resources/accounting/types/InvoiceLineItemRequestAccount.d.ts +2 -2
  142. package/serialization/resources/accounting/types/InvoiceLineItemRequestAccount.js +2 -2
  143. package/serialization/resources/accounting/types/InvoiceLineItemRequestContact.d.ts +2 -2
  144. package/serialization/resources/accounting/types/InvoiceLineItemRequestContact.js +2 -2
  145. package/serialization/resources/accounting/types/InvoiceRequestContact.d.ts +2 -2
  146. package/serialization/resources/accounting/types/InvoiceRequestContact.js +2 -2
  147. package/serialization/resources/accounting/types/InvoiceRequestPaymentsItem.d.ts +2 -2
  148. package/serialization/resources/accounting/types/InvoiceRequestPaymentsItem.js +2 -2
  149. package/serialization/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.d.ts +2 -2
  150. package/serialization/resources/accounting/types/InvoiceRequestPurchaseOrdersItem.js +2 -2
  151. package/serialization/resources/accounting/types/ItemFulfillmentLineRequestSalesOrderLine.d.ts +2 -2
  152. package/serialization/resources/accounting/types/ItemFulfillmentLineRequestSalesOrderLine.js +2 -2
  153. package/serialization/resources/accounting/types/ItemFulfillmentRequestRequestCustomer.d.ts +2 -2
  154. package/serialization/resources/accounting/types/ItemFulfillmentRequestRequestCustomer.js +2 -2
  155. package/serialization/resources/accounting/types/ItemRequestRequestPurchaseAccount.d.ts +2 -2
  156. package/serialization/resources/accounting/types/ItemRequestRequestPurchaseAccount.js +2 -2
  157. package/serialization/resources/accounting/types/ItemRequestRequestSalesAccount.d.ts +2 -2
  158. package/serialization/resources/accounting/types/ItemRequestRequestSalesAccount.js +2 -2
  159. package/serialization/resources/accounting/types/JournalEntryRequestLinesItem.d.ts +2 -2
  160. package/serialization/resources/accounting/types/JournalEntryRequestLinesItem.js +2 -2
  161. package/serialization/resources/accounting/types/JournalEntryRequestPaymentsItem.d.ts +2 -2
  162. package/serialization/resources/accounting/types/JournalEntryRequestPaymentsItem.js +2 -2
  163. package/serialization/resources/accounting/types/JournalLineRequestAccount.d.ts +2 -2
  164. package/serialization/resources/accounting/types/JournalLineRequestAccount.js +2 -2
  165. package/serialization/resources/accounting/types/PaymentRequestAccount.d.ts +2 -2
  166. package/serialization/resources/accounting/types/PaymentRequestAccount.js +2 -2
  167. package/serialization/resources/accounting/types/PaymentRequestAppliedToLinesItem.d.ts +2 -2
  168. package/serialization/resources/accounting/types/PaymentRequestAppliedToLinesItem.js +2 -2
  169. package/serialization/resources/accounting/types/PaymentRequestContact.d.ts +2 -2
  170. package/serialization/resources/accounting/types/PaymentRequestContact.js +2 -2
  171. package/serialization/resources/accounting/types/PurchaseOrderRequestDeliveryAddress.d.ts +2 -2
  172. package/serialization/resources/accounting/types/PurchaseOrderRequestDeliveryAddress.js +2 -2
  173. package/serialization/resources/accounting/types/PurchaseOrderRequestLineItemsItem.d.ts +2 -2
  174. package/serialization/resources/accounting/types/PurchaseOrderRequestLineItemsItem.js +2 -2
  175. package/serialization/resources/accounting/types/PurchaseOrderRequestVendor.d.ts +2 -2
  176. package/serialization/resources/accounting/types/PurchaseOrderRequestVendor.js +2 -2
  177. package/serialization/resources/accounting/types/RemoteFieldApi.d.ts +2 -2
  178. package/serialization/resources/accounting/types/RemoteFieldApi.js +2 -2
  179. package/serialization/resources/accounting/types/SalesOrderRequestRequestCustomer.d.ts +2 -2
  180. package/serialization/resources/accounting/types/SalesOrderRequestRequestCustomer.js +2 -2
  181. package/serialization/resources/accounting/types/SalesOrderRequestRequestShippingAddress.d.ts +2 -2
  182. package/serialization/resources/accounting/types/SalesOrderRequestRequestShippingAddress.js +2 -2
  183. package/serialization/resources/accounting/types/VendorCreditApplyLineForVendorCreditRequestInvoice.d.ts +2 -3
  184. package/serialization/resources/accounting/types/VendorCreditApplyLineForVendorCreditRequestInvoice.js +5 -2
  185. package/serialization/resources/accounting/types/VendorCreditLineRequestAccount.d.ts +2 -2
  186. package/serialization/resources/accounting/types/VendorCreditLineRequestAccount.js +2 -2
  187. package/serialization/resources/accounting/types/VendorCreditLineRequestContact.d.ts +2 -2
  188. package/serialization/resources/accounting/types/VendorCreditLineRequestContact.js +2 -2
  189. package/serialization/resources/accounting/types/VendorCreditRequestVendor.d.ts +2 -2
  190. package/serialization/resources/accounting/types/VendorCreditRequestVendor.js +2 -2
  191. package/serialization/resources/accounting/types/WarningValidationProblem.d.ts +2 -0
  192. package/serialization/resources/accounting/types/WarningValidationProblem.js +2 -0
  193. package/serialization/resources/accounting/types/index.d.ts +4 -3
  194. package/serialization/resources/accounting/types/index.js +4 -3
  195. package/version.d.ts +1 -1
  196. package/version.js +1 -1
  197. package/api/resources/accounting/resources/expenses/client/requests/ExpensesBatchObjectsListRequest.d.ts +0 -52
  198. package/api/resources/accounting/resources/expenses/types/ExpensesBatchObjectsListRequestExpandItem.d.ts +0 -9
  199. package/api/resources/accounting/resources/expenses/types/ExpensesBatchObjectsListRequestExpandItem.js +0 -12
  200. package/api/resources/accounting/resources/invoices/client/requests/InvoicesBatchObjectsListRequest.d.ts +0 -84
  201. package/api/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestExpandItem.d.ts +0 -16
  202. package/api/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestExpandItem.js +0 -19
  203. package/api/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestStatus.d.ts +0 -9
  204. package/api/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestStatus.js +0 -12
  205. package/api/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestType.d.ts +0 -5
  206. package/api/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestType.js +0 -8
  207. package/api/resources/accounting/resources/itemFulfillments/client/requests/ItemFulfillmentsBatchObjectsListRequest.d.ts +0 -34
  208. package/api/resources/accounting/resources/itemFulfillments/client/requests/ItemFulfillmentsBatchObjectsListRequest.js +0 -3
  209. package/api/resources/accounting/resources/itemFulfillments/types/ItemFulfillmentsBatchObjectsListRequestExpandItem.d.ts +0 -7
  210. package/api/resources/accounting/resources/itemFulfillments/types/ItemFulfillmentsBatchObjectsListRequestExpandItem.js +0 -10
  211. package/api/resources/accounting/resources/salesOrders/client/requests/SalesOrdersBatchObjectsListRequest.d.ts +0 -58
  212. package/api/resources/accounting/resources/salesOrders/client/requests/SalesOrdersBatchObjectsListRequest.js +0 -3
  213. package/api/resources/accounting/resources/salesOrders/types/SalesOrdersBatchObjectsListRequestExpandItem.d.ts +0 -9
  214. package/api/resources/accounting/resources/salesOrders/types/SalesOrdersBatchObjectsListRequestExpandItem.js +0 -12
  215. package/api/resources/accounting/types/DataPassthroughRequestMethod.d.ts +0 -2
  216. package/api/resources/accounting/types/DataPassthroughRequestMethod.js +0 -3
  217. package/api/resources/accounting/types/DataPassthroughRequestRequestFormat.d.ts +0 -2
  218. package/api/resources/accounting/types/DataPassthroughRequestRequestFormat.js +0 -3
  219. package/api/resources/accounting/types/RemoteFieldApiAdvancedMetadata.d.ts +0 -2
  220. package/api/resources/accounting/types/RemoteFieldApiAdvancedMetadata.js +0 -3
  221. package/serialization/resources/accounting/resources/expenses/types/ExpensesBatchObjectsListRequestExpandItem.d.ts +0 -7
  222. package/serialization/resources/accounting/resources/expenses/types/ExpensesBatchObjectsListRequestExpandItem.js +0 -39
  223. package/serialization/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestExpandItem.d.ts +0 -7
  224. package/serialization/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestExpandItem.js +0 -53
  225. package/serialization/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestStatus.d.ts +0 -7
  226. package/serialization/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestStatus.js +0 -39
  227. package/serialization/resources/accounting/resources/invoices/types/InvoicesBatchObjectsListRequestType.d.ts +0 -7
  228. package/serialization/resources/accounting/resources/itemFulfillments/types/ItemFulfillmentsBatchObjectsListRequestExpandItem.d.ts +0 -7
  229. package/serialization/resources/accounting/resources/itemFulfillments/types/ItemFulfillmentsBatchObjectsListRequestExpandItem.js +0 -39
  230. package/serialization/resources/accounting/resources/salesOrders/types/SalesOrdersBatchObjectsListRequestExpandItem.d.ts +0 -7
  231. package/serialization/resources/accounting/resources/salesOrders/types/SalesOrdersBatchObjectsListRequestExpandItem.js +0 -46
  232. package/serialization/resources/accounting/types/DataPassthroughRequestMethod.d.ts +0 -8
  233. package/serialization/resources/accounting/types/DataPassthroughRequestRequestFormat.d.ts +0 -8
  234. package/serialization/resources/accounting/types/RemoteFieldApiAdvancedMetadata.d.ts +0 -8
  235. /package/api/resources/accounting/{resources/expenses/client/requests/ExpensesBatchObjectsListRequest.js → types/BatchObjectStatus.js} +0 -0
  236. /package/api/resources/accounting/{resources/invoices/client/requests/InvoicesBatchObjectsListRequest.js → types/BatchObjectsResponseStatus.js} +0 -0
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.JournalEntryRequestPaymentsItem = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const PaymentRequest_1 = require("./PaymentRequest");
40
- exports.JournalEntryRequestPaymentsItem = core.serialization.undiscriminatedUnion([core.serialization.string(), PaymentRequest_1.PaymentRequest]);
39
+ const Payment_1 = require("./Payment");
40
+ exports.JournalEntryRequestPaymentsItem = core.serialization.undiscriminatedUnion([core.serialization.string(), Payment_1.Payment]);
@@ -1,8 +1,8 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- import { AccountRequest } from "./AccountRequest";
4
+ import { Account } from "./Account";
5
5
  export declare const JournalLineRequestAccount: core.serialization.Schema<serializers.accounting.JournalLineRequestAccount.Raw, Merge.accounting.JournalLineRequestAccount>;
6
6
  export declare namespace JournalLineRequestAccount {
7
- type Raw = string | AccountRequest.Raw;
7
+ type Raw = string | Account.Raw;
8
8
  }
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.JournalLineRequestAccount = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const AccountRequest_1 = require("./AccountRequest");
40
- exports.JournalLineRequestAccount = core.serialization.undiscriminatedUnion([core.serialization.string(), AccountRequest_1.AccountRequest]);
39
+ const Account_1 = require("./Account");
40
+ exports.JournalLineRequestAccount = core.serialization.undiscriminatedUnion([core.serialization.string(), Account_1.Account]);
@@ -1,8 +1,8 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- import { AccountRequest } from "./AccountRequest";
4
+ import { Account } from "./Account";
5
5
  export declare const PaymentRequestAccount: core.serialization.Schema<serializers.accounting.PaymentRequestAccount.Raw, Merge.accounting.PaymentRequestAccount>;
6
6
  export declare namespace PaymentRequestAccount {
7
- type Raw = string | AccountRequest.Raw;
7
+ type Raw = string | Account.Raw;
8
8
  }
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.PaymentRequestAccount = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const AccountRequest_1 = require("./AccountRequest");
40
- exports.PaymentRequestAccount = core.serialization.undiscriminatedUnion([core.serialization.string(), AccountRequest_1.AccountRequest]);
39
+ const Account_1 = require("./Account");
40
+ exports.PaymentRequestAccount = core.serialization.undiscriminatedUnion([core.serialization.string(), Account_1.Account]);
@@ -1,8 +1,8 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- import { PaymentLineItemRequest } from "./PaymentLineItemRequest";
4
+ import { PaymentLineItem } from "./PaymentLineItem";
5
5
  export declare const PaymentRequestAppliedToLinesItem: core.serialization.Schema<serializers.accounting.PaymentRequestAppliedToLinesItem.Raw, Merge.accounting.PaymentRequestAppliedToLinesItem>;
6
6
  export declare namespace PaymentRequestAppliedToLinesItem {
7
- type Raw = string | PaymentLineItemRequest.Raw;
7
+ type Raw = string | PaymentLineItem.Raw;
8
8
  }
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.PaymentRequestAppliedToLinesItem = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const PaymentLineItemRequest_1 = require("./PaymentLineItemRequest");
40
- exports.PaymentRequestAppliedToLinesItem = core.serialization.undiscriminatedUnion([core.serialization.string(), PaymentLineItemRequest_1.PaymentLineItemRequest]);
39
+ const PaymentLineItem_1 = require("./PaymentLineItem");
40
+ exports.PaymentRequestAppliedToLinesItem = core.serialization.undiscriminatedUnion([core.serialization.string(), PaymentLineItem_1.PaymentLineItem]);
@@ -1,8 +1,8 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- import { ContactRequest } from "./ContactRequest";
4
+ import { Contact } from "./Contact";
5
5
  export declare const PaymentRequestContact: core.serialization.Schema<serializers.accounting.PaymentRequestContact.Raw, Merge.accounting.PaymentRequestContact>;
6
6
  export declare namespace PaymentRequestContact {
7
- type Raw = string | ContactRequest.Raw;
7
+ type Raw = string | Contact.Raw;
8
8
  }
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.PaymentRequestContact = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const ContactRequest_1 = require("./ContactRequest");
40
- exports.PaymentRequestContact = core.serialization.undiscriminatedUnion([core.serialization.string(), ContactRequest_1.ContactRequest]);
39
+ const Contact_1 = require("./Contact");
40
+ exports.PaymentRequestContact = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact_1.Contact]);
@@ -1,8 +1,8 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- import { AddressRequest } from "./AddressRequest";
4
+ import { Address } from "./Address";
5
5
  export declare const PurchaseOrderRequestDeliveryAddress: core.serialization.Schema<serializers.accounting.PurchaseOrderRequestDeliveryAddress.Raw, Merge.accounting.PurchaseOrderRequestDeliveryAddress>;
6
6
  export declare namespace PurchaseOrderRequestDeliveryAddress {
7
- type Raw = string | AddressRequest.Raw;
7
+ type Raw = string | Address.Raw;
8
8
  }
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.PurchaseOrderRequestDeliveryAddress = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const AddressRequest_1 = require("./AddressRequest");
40
- exports.PurchaseOrderRequestDeliveryAddress = core.serialization.undiscriminatedUnion([core.serialization.string(), AddressRequest_1.AddressRequest]);
39
+ const Address_1 = require("./Address");
40
+ exports.PurchaseOrderRequestDeliveryAddress = core.serialization.undiscriminatedUnion([core.serialization.string(), Address_1.Address]);
@@ -1,8 +1,8 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- import { PurchaseOrderLineItemRequest } from "./PurchaseOrderLineItemRequest";
4
+ import { PurchaseOrderLineItem } from "./PurchaseOrderLineItem";
5
5
  export declare const PurchaseOrderRequestLineItemsItem: core.serialization.Schema<serializers.accounting.PurchaseOrderRequestLineItemsItem.Raw, Merge.accounting.PurchaseOrderRequestLineItemsItem>;
6
6
  export declare namespace PurchaseOrderRequestLineItemsItem {
7
- type Raw = string | PurchaseOrderLineItemRequest.Raw;
7
+ type Raw = string | PurchaseOrderLineItem.Raw;
8
8
  }
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.PurchaseOrderRequestLineItemsItem = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const PurchaseOrderLineItemRequest_1 = require("./PurchaseOrderLineItemRequest");
40
- exports.PurchaseOrderRequestLineItemsItem = core.serialization.undiscriminatedUnion([core.serialization.string(), PurchaseOrderLineItemRequest_1.PurchaseOrderLineItemRequest]);
39
+ const PurchaseOrderLineItem_1 = require("./PurchaseOrderLineItem");
40
+ exports.PurchaseOrderRequestLineItemsItem = core.serialization.undiscriminatedUnion([core.serialization.string(), PurchaseOrderLineItem_1.PurchaseOrderLineItem]);
@@ -1,8 +1,8 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- import { ContactRequest } from "./ContactRequest";
4
+ import { Contact } from "./Contact";
5
5
  export declare const PurchaseOrderRequestVendor: core.serialization.Schema<serializers.accounting.PurchaseOrderRequestVendor.Raw, Merge.accounting.PurchaseOrderRequestVendor>;
6
6
  export declare namespace PurchaseOrderRequestVendor {
7
- type Raw = string | ContactRequest.Raw;
7
+ type Raw = string | Contact.Raw;
8
8
  }
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.PurchaseOrderRequestVendor = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const ContactRequest_1 = require("./ContactRequest");
40
- exports.PurchaseOrderRequestVendor = core.serialization.undiscriminatedUnion([core.serialization.string(), ContactRequest_1.ContactRequest]);
39
+ const Contact_1 = require("./Contact");
40
+ exports.PurchaseOrderRequestVendor = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact_1.Contact]);
@@ -1,8 +1,8 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
+ import { AdvancedMetadata } from "./AdvancedMetadata";
4
5
  import { RemoteEndpointInfo } from "./RemoteEndpointInfo";
5
- import { RemoteFieldApiAdvancedMetadata } from "./RemoteFieldApiAdvancedMetadata";
6
6
  import { RemoteFieldApiCoverage } from "./RemoteFieldApiCoverage";
7
7
  export declare const RemoteFieldApi: core.serialization.ObjectSchema<serializers.accounting.RemoteFieldApi.Raw, Merge.accounting.RemoteFieldApi>;
8
8
  export declare namespace RemoteFieldApi {
@@ -11,7 +11,7 @@ export declare namespace RemoteFieldApi {
11
11
  remote_key_name: string;
12
12
  remote_endpoint_info: RemoteEndpointInfo.Raw;
13
13
  example_values?: unknown[] | null;
14
- advanced_metadata?: RemoteFieldApiAdvancedMetadata.Raw | null;
14
+ advanced_metadata?: AdvancedMetadata.Raw | null;
15
15
  coverage?: RemoteFieldApiCoverage.Raw | null;
16
16
  }
17
17
  }
@@ -36,14 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.RemoteFieldApi = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
+ const AdvancedMetadata_1 = require("./AdvancedMetadata");
39
40
  const RemoteEndpointInfo_1 = require("./RemoteEndpointInfo");
40
- const RemoteFieldApiAdvancedMetadata_1 = require("./RemoteFieldApiAdvancedMetadata");
41
41
  const RemoteFieldApiCoverage_1 = require("./RemoteFieldApiCoverage");
42
42
  exports.RemoteFieldApi = core.serialization.object({
43
43
  schema: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
44
44
  remoteKeyName: core.serialization.property("remote_key_name", core.serialization.string()),
45
45
  remoteEndpointInfo: core.serialization.property("remote_endpoint_info", RemoteEndpointInfo_1.RemoteEndpointInfo),
46
46
  exampleValues: core.serialization.property("example_values", core.serialization.list(core.serialization.unknown()).optional()),
47
- advancedMetadata: core.serialization.property("advanced_metadata", RemoteFieldApiAdvancedMetadata_1.RemoteFieldApiAdvancedMetadata.optional()),
47
+ advancedMetadata: core.serialization.property("advanced_metadata", AdvancedMetadata_1.AdvancedMetadata.optional()),
48
48
  coverage: RemoteFieldApiCoverage_1.RemoteFieldApiCoverage.optional(),
49
49
  });
@@ -1,8 +1,8 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- import { ContactRequest } from "./ContactRequest";
4
+ import { Contact } from "./Contact";
5
5
  export declare const SalesOrderRequestRequestCustomer: core.serialization.Schema<serializers.accounting.SalesOrderRequestRequestCustomer.Raw, Merge.accounting.SalesOrderRequestRequestCustomer>;
6
6
  export declare namespace SalesOrderRequestRequestCustomer {
7
- type Raw = string | ContactRequest.Raw;
7
+ type Raw = string | Contact.Raw;
8
8
  }
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.SalesOrderRequestRequestCustomer = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const ContactRequest_1 = require("./ContactRequest");
40
- exports.SalesOrderRequestRequestCustomer = core.serialization.undiscriminatedUnion([core.serialization.string(), ContactRequest_1.ContactRequest]);
39
+ const Contact_1 = require("./Contact");
40
+ exports.SalesOrderRequestRequestCustomer = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact_1.Contact]);
@@ -1,8 +1,8 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- import { AddressRequest } from "./AddressRequest";
4
+ import { Address } from "./Address";
5
5
  export declare const SalesOrderRequestRequestShippingAddress: core.serialization.Schema<serializers.accounting.SalesOrderRequestRequestShippingAddress.Raw, Merge.accounting.SalesOrderRequestRequestShippingAddress>;
6
6
  export declare namespace SalesOrderRequestRequestShippingAddress {
7
- type Raw = string | AddressRequest.Raw;
7
+ type Raw = string | Address.Raw;
8
8
  }
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.SalesOrderRequestRequestShippingAddress = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const AddressRequest_1 = require("./AddressRequest");
40
- exports.SalesOrderRequestRequestShippingAddress = core.serialization.undiscriminatedUnion([core.serialization.string(), AddressRequest_1.AddressRequest]);
39
+ const Address_1 = require("./Address");
40
+ exports.SalesOrderRequestRequestShippingAddress = core.serialization.undiscriminatedUnion([core.serialization.string(), Address_1.Address]);
@@ -1,8 +1,7 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
- import type * as serializers from "../../../index";
4
- import { InvoiceRequest } from "./InvoiceRequest";
3
+ import * as serializers from "../../../index";
5
4
  export declare const VendorCreditApplyLineForVendorCreditRequestInvoice: core.serialization.Schema<serializers.accounting.VendorCreditApplyLineForVendorCreditRequestInvoice.Raw, Merge.accounting.VendorCreditApplyLineForVendorCreditRequestInvoice>;
6
5
  export declare namespace VendorCreditApplyLineForVendorCreditRequestInvoice {
7
- type Raw = string | InvoiceRequest.Raw;
6
+ type Raw = string | serializers.accounting.Invoice.Raw;
8
7
  }
@@ -36,5 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.VendorCreditApplyLineForVendorCreditRequestInvoice = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const InvoiceRequest_1 = require("./InvoiceRequest");
40
- exports.VendorCreditApplyLineForVendorCreditRequestInvoice = core.serialization.undiscriminatedUnion([core.serialization.string(), InvoiceRequest_1.InvoiceRequest]);
39
+ const serializers = __importStar(require("../../../index"));
40
+ exports.VendorCreditApplyLineForVendorCreditRequestInvoice = core.serialization.undiscriminatedUnion([
41
+ core.serialization.string(),
42
+ core.serialization.lazyObject(() => serializers.accounting.Invoice),
43
+ ]);
@@ -1,8 +1,8 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- import { AccountRequest } from "./AccountRequest";
4
+ import { Account } from "./Account";
5
5
  export declare const VendorCreditLineRequestAccount: core.serialization.Schema<serializers.accounting.VendorCreditLineRequestAccount.Raw, Merge.accounting.VendorCreditLineRequestAccount>;
6
6
  export declare namespace VendorCreditLineRequestAccount {
7
- type Raw = string | AccountRequest.Raw;
7
+ type Raw = string | Account.Raw;
8
8
  }
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.VendorCreditLineRequestAccount = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const AccountRequest_1 = require("./AccountRequest");
40
- exports.VendorCreditLineRequestAccount = core.serialization.undiscriminatedUnion([core.serialization.string(), AccountRequest_1.AccountRequest]);
39
+ const Account_1 = require("./Account");
40
+ exports.VendorCreditLineRequestAccount = core.serialization.undiscriminatedUnion([core.serialization.string(), Account_1.Account]);
@@ -1,8 +1,8 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- import { ContactRequest } from "./ContactRequest";
4
+ import { Contact } from "./Contact";
5
5
  export declare const VendorCreditLineRequestContact: core.serialization.Schema<serializers.accounting.VendorCreditLineRequestContact.Raw, Merge.accounting.VendorCreditLineRequestContact>;
6
6
  export declare namespace VendorCreditLineRequestContact {
7
- type Raw = string | ContactRequest.Raw;
7
+ type Raw = string | Contact.Raw;
8
8
  }
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.VendorCreditLineRequestContact = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const ContactRequest_1 = require("./ContactRequest");
40
- exports.VendorCreditLineRequestContact = core.serialization.undiscriminatedUnion([core.serialization.string(), ContactRequest_1.ContactRequest]);
39
+ const Contact_1 = require("./Contact");
40
+ exports.VendorCreditLineRequestContact = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact_1.Contact]);
@@ -1,8 +1,8 @@
1
1
  import type * as Merge from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
- import { ContactRequest } from "./ContactRequest";
4
+ import { Contact } from "./Contact";
5
5
  export declare const VendorCreditRequestVendor: core.serialization.Schema<serializers.accounting.VendorCreditRequestVendor.Raw, Merge.accounting.VendorCreditRequestVendor>;
6
6
  export declare namespace VendorCreditRequestVendor {
7
- type Raw = string | ContactRequest.Raw;
7
+ type Raw = string | Contact.Raw;
8
8
  }
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.VendorCreditRequestVendor = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const ContactRequest_1 = require("./ContactRequest");
40
- exports.VendorCreditRequestVendor = core.serialization.undiscriminatedUnion([core.serialization.string(), ContactRequest_1.ContactRequest]);
39
+ const Contact_1 = require("./Contact");
40
+ exports.VendorCreditRequestVendor = core.serialization.undiscriminatedUnion([core.serialization.string(), Contact_1.Contact]);
@@ -10,5 +10,7 @@ export declare namespace WarningValidationProblem {
10
10
  detail: string;
11
11
  problem_type: string;
12
12
  block_merge_link?: boolean | null;
13
+ raw_error?: string | null;
14
+ error_code?: number | null;
13
15
  }
14
16
  }
@@ -43,4 +43,6 @@ exports.WarningValidationProblem = core.serialization.object({
43
43
  detail: core.serialization.string(),
44
44
  problemType: core.serialization.property("problem_type", core.serialization.string()),
45
45
  blockMergeLink: core.serialization.property("block_merge_link", core.serialization.boolean().optional()),
46
+ rawError: core.serialization.property("raw_error", core.serialization.string().optional()),
47
+ errorCode: core.serialization.property("error_code", core.serialization.number().optional()),
46
48
  });
@@ -69,7 +69,11 @@ export * from "./BankFeedTransactionRequestRequestCreditOrDebit";
69
69
  export * from "./BankFeedTransactionResponse";
70
70
  export * from "./BatchObject";
71
71
  export * from "./BatchObjectItemResponse";
72
+ export * from "./BatchObjectStatus";
73
+ export * from "./BatchObjectStatusEnum";
72
74
  export * from "./BatchObjectsResponse";
75
+ export * from "./BatchObjectsResponseStatus";
76
+ export * from "./BatchObjectsResponseStatusEnum";
73
77
  export * from "./CashFlowStatement";
74
78
  export * from "./CashFlowStatementCompany";
75
79
  export * from "./CashFlowStatementCurrency";
@@ -137,8 +141,6 @@ export * from "./CreditNoteStatusEnum";
137
141
  export * from "./CreditNoteTrackingCategoriesItem";
138
142
  export * from "./CreditOrDebitEnum";
139
143
  export * from "./DataPassthroughRequest";
140
- export * from "./DataPassthroughRequestMethod";
141
- export * from "./DataPassthroughRequestRequestFormat";
142
144
  export * from "./DebugModeLog";
143
145
  export * from "./DebugModelLogSummary";
144
146
  export * from "./Employee";
@@ -494,7 +496,6 @@ export * from "./RemoteData";
494
496
  export * from "./RemoteEndpointInfo";
495
497
  export * from "./RemoteField";
496
498
  export * from "./RemoteFieldApi";
497
- export * from "./RemoteFieldApiAdvancedMetadata";
498
499
  export * from "./RemoteFieldApiCoverage";
499
500
  export * from "./RemoteFieldApiResponse";
500
501
  export * from "./RemoteFieldClass";
@@ -85,7 +85,11 @@ __exportStar(require("./BankFeedTransactionRequestRequestCreditOrDebit"), export
85
85
  __exportStar(require("./BankFeedTransactionResponse"), exports);
86
86
  __exportStar(require("./BatchObject"), exports);
87
87
  __exportStar(require("./BatchObjectItemResponse"), exports);
88
+ __exportStar(require("./BatchObjectStatus"), exports);
89
+ __exportStar(require("./BatchObjectStatusEnum"), exports);
88
90
  __exportStar(require("./BatchObjectsResponse"), exports);
91
+ __exportStar(require("./BatchObjectsResponseStatus"), exports);
92
+ __exportStar(require("./BatchObjectsResponseStatusEnum"), exports);
89
93
  __exportStar(require("./CashFlowStatement"), exports);
90
94
  __exportStar(require("./CashFlowStatementCompany"), exports);
91
95
  __exportStar(require("./CashFlowStatementCurrency"), exports);
@@ -153,8 +157,6 @@ __exportStar(require("./CreditNoteStatusEnum"), exports);
153
157
  __exportStar(require("./CreditNoteTrackingCategoriesItem"), exports);
154
158
  __exportStar(require("./CreditOrDebitEnum"), exports);
155
159
  __exportStar(require("./DataPassthroughRequest"), exports);
156
- __exportStar(require("./DataPassthroughRequestMethod"), exports);
157
- __exportStar(require("./DataPassthroughRequestRequestFormat"), exports);
158
160
  __exportStar(require("./DebugModeLog"), exports);
159
161
  __exportStar(require("./DebugModelLogSummary"), exports);
160
162
  __exportStar(require("./Employee"), exports);
@@ -510,7 +512,6 @@ __exportStar(require("./RemoteData"), exports);
510
512
  __exportStar(require("./RemoteEndpointInfo"), exports);
511
513
  __exportStar(require("./RemoteField"), exports);
512
514
  __exportStar(require("./RemoteFieldApi"), exports);
513
- __exportStar(require("./RemoteFieldApiAdvancedMetadata"), exports);
514
515
  __exportStar(require("./RemoteFieldApiCoverage"), exports);
515
516
  __exportStar(require("./RemoteFieldApiResponse"), exports);
516
517
  __exportStar(require("./RemoteFieldClass"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.0.2";
1
+ export declare const SDK_VERSION = "4.0.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "3.0.2";
4
+ exports.SDK_VERSION = "4.0.0";
@@ -1,52 +0,0 @@
1
- import type * as Merge from "../../../../../../index";
2
- /**
3
- * @example
4
- * {
5
- * companyId: "company_id",
6
- * createdAfter: new Date("2024-01-15T09:30:00.000Z"),
7
- * createdBefore: new Date("2024-01-15T09:30:00.000Z"),
8
- * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
9
- * includeDeletedData: true,
10
- * includeRemoteData: true,
11
- * includeRemoteFields: true,
12
- * includeShellData: true,
13
- * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
14
- * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
15
- * pageSize: 1,
16
- * remoteId: "remote_id",
17
- * transactionDateAfter: new Date("2024-01-15T09:30:00.000Z"),
18
- * transactionDateBefore: new Date("2024-01-15T09:30:00.000Z")
19
- * }
20
- */
21
- export interface ExpensesBatchObjectsListRequest {
22
- /** If provided, will only return expenses for this company. */
23
- companyId?: string;
24
- /** If provided, will only return objects created after this datetime. */
25
- createdAfter?: Date;
26
- /** If provided, will only return objects created before this datetime. */
27
- createdBefore?: Date;
28
- /** The pagination cursor value. */
29
- cursor?: string;
30
- /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */
31
- expand?: Merge.accounting.ExpensesBatchObjectsListRequestExpandItem | Merge.accounting.ExpensesBatchObjectsListRequestExpandItem[];
32
- /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */
33
- includeDeletedData?: boolean;
34
- /** Whether to include the original data Merge fetched from the third-party to produce these models. */
35
- includeRemoteData?: boolean;
36
- /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */
37
- includeRemoteFields?: boolean;
38
- /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */
39
- includeShellData?: boolean;
40
- /** If provided, only objects synced by Merge after this date time will be returned. */
41
- modifiedAfter?: Date;
42
- /** If provided, only objects synced by Merge before this date time will be returned. */
43
- modifiedBefore?: Date;
44
- /** Number of results to return per page. The maximum limit is 100. */
45
- pageSize?: number;
46
- /** The API provider's ID for the given object. */
47
- remoteId?: string;
48
- /** If provided, will only return objects created after this datetime. */
49
- transactionDateAfter?: Date;
50
- /** If provided, will only return objects created before this datetime. */
51
- transactionDateBefore?: Date;
52
- }
@@ -1,9 +0,0 @@
1
- export declare const ExpensesBatchObjectsListRequestExpandItem: {
2
- readonly Account: "account";
3
- readonly AccountingPeriod: "accounting_period";
4
- readonly Company: "company";
5
- readonly Contact: "contact";
6
- readonly Employee: "employee";
7
- readonly TrackingCategories: "tracking_categories";
8
- };
9
- export type ExpensesBatchObjectsListRequestExpandItem = (typeof ExpensesBatchObjectsListRequestExpandItem)[keyof typeof ExpensesBatchObjectsListRequestExpandItem];
@@ -1,12 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.ExpensesBatchObjectsListRequestExpandItem = void 0;
5
- exports.ExpensesBatchObjectsListRequestExpandItem = {
6
- Account: "account",
7
- AccountingPeriod: "accounting_period",
8
- Company: "company",
9
- Contact: "contact",
10
- Employee: "employee",
11
- TrackingCategories: "tracking_categories",
12
- };
@@ -1,84 +0,0 @@
1
- import type * as Merge from "../../../../../../index";
2
- /**
3
- * @example
4
- * {
5
- * companyId: "company_id",
6
- * contactId: "contact_id",
7
- * createdAfter: new Date("2024-01-15T09:30:00.000Z"),
8
- * createdBefore: new Date("2024-01-15T09:30:00.000Z"),
9
- * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
10
- * includeDeletedData: true,
11
- * includeRemoteData: true,
12
- * includeRemoteFields: true,
13
- * includeShellData: true,
14
- * issueDateAfter: new Date("2024-01-15T09:30:00.000Z"),
15
- * issueDateBefore: new Date("2024-01-15T09:30:00.000Z"),
16
- * modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
17
- * modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
18
- * number: "number",
19
- * pageSize: 1,
20
- * remoteFields: "type",
21
- * remoteId: "remote_id",
22
- * showEnumOrigins: "type",
23
- * status: "DRAFT",
24
- * type: "ACCOUNTS_PAYABLE"
25
- * }
26
- */
27
- export interface InvoicesBatchObjectsListRequest {
28
- /** If provided, will only return invoices for this company. */
29
- companyId?: string;
30
- /** If provided, will only return invoices for this contact. */
31
- contactId?: string;
32
- /** If provided, will only return objects created after this datetime. */
33
- createdAfter?: Date;
34
- /** If provided, will only return objects created before this datetime. */
35
- createdBefore?: Date;
36
- /** The pagination cursor value. */
37
- cursor?: string;
38
- /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */
39
- expand?: Merge.accounting.InvoicesBatchObjectsListRequestExpandItem | Merge.accounting.InvoicesBatchObjectsListRequestExpandItem[];
40
- /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */
41
- includeDeletedData?: boolean;
42
- /** Whether to include the original data Merge fetched from the third-party to produce these models. */
43
- includeRemoteData?: boolean;
44
- /** Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. */
45
- includeRemoteFields?: boolean;
46
- /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */
47
- includeShellData?: boolean;
48
- /** If provided, will only return objects created after this datetime. */
49
- issueDateAfter?: Date;
50
- /** If provided, will only return objects created before this datetime. */
51
- issueDateBefore?: Date;
52
- /** If provided, only objects synced by Merge after this date time will be returned. */
53
- modifiedAfter?: Date;
54
- /** If provided, only objects synced by Merge before this date time will be returned. */
55
- modifiedBefore?: Date;
56
- /** If provided, will only return Invoices with this number. */
57
- number?: string;
58
- /** Number of results to return per page. The maximum limit is 100. */
59
- pageSize?: number;
60
- /** Deprecated. Use show_enum_origins. */
61
- remoteFields?: "type";
62
- /** The API provider's ID for the given object. */
63
- remoteId?: string;
64
- /** A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) */
65
- showEnumOrigins?: "type";
66
- /**
67
- * If provided, will only return Invoices with this status.
68
- *
69
- * * `PAID` - PAID
70
- * * `DRAFT` - DRAFT
71
- * * `SUBMITTED` - SUBMITTED
72
- * * `PARTIALLY_PAID` - PARTIALLY_PAID
73
- * * `OPEN` - OPEN
74
- * * `VOID` - VOID
75
- */
76
- status?: Merge.accounting.InvoicesBatchObjectsListRequestStatus;
77
- /**
78
- * If provided, will only return Invoices with this type.
79
- *
80
- * * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE
81
- * * `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE
82
- */
83
- type?: Merge.accounting.InvoicesBatchObjectsListRequestType;
84
- }
@@ -1,16 +0,0 @@
1
- export declare const InvoicesBatchObjectsListRequestExpandItem: {
2
- readonly AccountingPeriod: "accounting_period";
3
- readonly AppliedCreditNotes: "applied_credit_notes";
4
- readonly AppliedPayments: "applied_payments";
5
- readonly AppliedVendorCredits: "applied_vendor_credits";
6
- readonly Company: "company";
7
- readonly Contact: "contact";
8
- readonly Employee: "employee";
9
- readonly LineItems: "line_items";
10
- readonly PaymentTerm: "payment_term";
11
- readonly Payments: "payments";
12
- readonly PurchaseOrders: "purchase_orders";
13
- readonly SalesOrders: "sales_orders";
14
- readonly TrackingCategories: "tracking_categories";
15
- };
16
- export type InvoicesBatchObjectsListRequestExpandItem = (typeof InvoicesBatchObjectsListRequestExpandItem)[keyof typeof InvoicesBatchObjectsListRequestExpandItem];