'use strict';var customer=require('./customer'),salesInvoiceLines=require('./salesInvoiceLines');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 customer__namespace=/*#__PURE__*/_interopNamespace(customer);var salesInvoiceLines__namespace=/*#__PURE__*/_interopNamespace(salesInvoiceLines);function i(n){return {ver:"beta",method:"get",path:"/financials/companies/{company-id}/salesInvoices",paramDefs:{path:["company-id"],query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"]},params:n}}function a(n){return {ver:"beta",method:"get",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}",paramDefs:{path:["company-id","salesInvoice-id"],query:["$select","$expand"]},params:n}}function c(n,e){return {ver:"beta",method:"patch",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}",paramDefs:{path:["company-id","salesInvoice-id"]},params:e,body:n}}const o={create:function(e){return {ver:"beta",method:"post",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/cancel",paramDefs:{path:["company-id","salesInvoice-id"]},params:e}}},p={create:function(e){return {ver:"beta",method:"post",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/cancelAndSend",paramDefs:{path:["company-id","salesInvoice-id"]},params:e}}},t={get:function(e){return {ver:"beta",method:"get",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/currency",paramDefs:{query:["$select","$expand"],path:["company-id","salesInvoice-id"]},params:e}},update:function(e,s){return {ver:"beta",method:"patch",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/currency",paramDefs:{path:["company-id","salesInvoice-id"]},params:s,body:e}},del:function(e){return {ver:"beta",method:"delete",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/currency",paramDefs:{header:["If-Match"],path:["company-id","salesInvoice-id"]},params:e}}},d={get:function(e){return {ver:"beta",method:"get",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/paymentTerm",paramDefs:{query:["$select","$expand"],path:["company-id","salesInvoice-id"]},params:e}},update:function(e,s){return {ver:"beta",method:"patch",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/paymentTerm",paramDefs:{path:["company-id","salesInvoice-id"]},params:s,body:e}},del:function(e){return {ver:"beta",method:"delete",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/paymentTerm",paramDefs:{header:["If-Match"],path:["company-id","salesInvoice-id"]},params:e}}},l={create:function(e){return {ver:"beta",method:"post",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/post",paramDefs:{path:["company-id","salesInvoice-id"]},params:e}}},m={create:function(e){return {ver:"beta",method:"post",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/postAndSend",paramDefs:{path:["company-id","salesInvoice-id"]},params:e}}},I={create:function(e){return {ver:"beta",method:"post",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/send",paramDefs:{path:["company-id","salesInvoice-id"]},params:e}}},r={get:function(e){return {ver:"beta",method:"get",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/shipmentMethod",paramDefs:{query:["$select","$expand"],path:["company-id","salesInvoice-id"]},params:e}},update:function(e,s){return {ver:"beta",method:"patch",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/shipmentMethod",paramDefs:{path:["company-id","salesInvoice-id"]},params:s,body:e}},del:function(e){return {ver:"beta",method:"delete",path:"/financials/companies/{company-id}/salesInvoices/{salesInvoice-id}/shipmentMethod",paramDefs:{header:["If-Match"],path:["company-id","salesInvoice-id"]},params:e}}};exports.customer=customer__namespace;exports.salesInvoiceLines=salesInvoiceLines__namespace;exports.cancel=o;exports.cancelAndSend=p;exports.currency=t;exports.get=a;exports.list=i;exports.paymentTerm=d;exports.post=l;exports.postAndSend=m;exports.send=I;exports.shipmentMethod=r;exports.update=c;