'use strict';var purchaseInvoiceLines=require('./purchaseInvoiceLines'),vendor=require('./vendor');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var purchaseInvoiceLines__namespace=/*#__PURE__*/_interopNamespace(purchaseInvoiceLines);var vendor__namespace=/*#__PURE__*/_interopNamespace(vendor);function i(e){return {ver:"beta",method:"get",path:"/financials/companies/{company-id}/purchaseInvoices",paramDefs:{path:["company-id"],query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"]},params:e}}function a(e){return {ver:"beta",method:"get",path:"/financials/companies/{company-id}/purchaseInvoices/{purchaseInvoice-id}",paramDefs:{path:["company-id","purchaseInvoice-id"],query:["$select","$expand"]},params:e}}function s(e,n){return {ver:"beta",method:"patch",path:"/financials/companies/{company-id}/purchaseInvoices/{purchaseInvoice-id}",paramDefs:{path:["company-id","purchaseInvoice-id"]},params:n,body:e}}const p={get:function(n){return {ver:"beta",method:"get",path:"/financials/companies/{company-id}/purchaseInvoices/{purchaseInvoice-id}/currency",paramDefs:{query:["$select","$expand"],path:["company-id","purchaseInvoice-id"]},params:n}},update:function(n,c){return {ver:"beta",method:"patch",path:"/financials/companies/{company-id}/purchaseInvoices/{purchaseInvoice-id}/currency",paramDefs:{path:["company-id","purchaseInvoice-id"]},params:c,body:n}},del:function(n){return {ver:"beta",method:"delete",path:"/financials/companies/{company-id}/purchaseInvoices/{purchaseInvoice-id}/currency",paramDefs:{header:["If-Match"],path:["company-id","purchaseInvoice-id"]},params:n}}},o={create:function(n){return {ver:"beta",method:"post",path:"/financials/companies/{company-id}/purchaseInvoices/{purchaseInvoice-id}/post",paramDefs:{path:["company-id","purchaseInvoice-id"]},params:n}}};exports.purchaseInvoiceLines=purchaseInvoiceLines__namespace;exports.vendor=vendor__namespace;exports.currency=p;exports.get=a;exports.list=i;exports.post=o;exports.update=s;