'use strict';function o(a){return {ver:"beta",method:"delete",path:"/solutions/approval/approvalItems/{approvalItem-id}",paramDefs:{header:["If-Match"],path:["approvalItem-id"]},params:a}}function t(a){return {ver:"beta",method:"get",path:"/solutions/approval/approvalItems",paramDefs:{query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"]},params:a}}function s(a){return {ver:"beta",method:"get",path:"/solutions/approval/approvalItems/{approvalItem-id}",paramDefs:{path:["approvalItem-id"],query:["$select","$expand"]},params:a}}function r(a,p){return {ver:"beta",method:"patch",path:"/solutions/approval/approvalItems/{approvalItem-id}",paramDefs:{path:["approvalItem-id"]},params:p,body:a}}function l(a){return {ver:"beta",method:"post",path:"/solutions/approval/approvalItems",body:a}}const n={create:function(p){return {ver:"beta",method:"post",path:"/solutions/approval/approvalItems/{approvalItem-id}/cancel",paramDefs:{path:["approvalItem-id"]},params:p}}},i={list:function(p){return {ver:"beta",method:"get",path:"/solutions/approval/approvalItems/{approvalItem-id}/requests",paramDefs:{query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"],path:["approvalItem-id"]},params:p}},create:function(p,e){return {ver:"beta",method:"post",path:"/solutions/approval/approvalItems/{approvalItem-id}/requests",paramDefs:{path:["approvalItem-id"]},params:e,body:p}},get:function(p){return {ver:"beta",method:"get",path:"/solutions/approval/approvalItems/{approvalItem-id}/requests/{approvalItemRequest-id}",paramDefs:{query:["$select","$expand"],path:["approvalItem-id","approvalItemRequest-id"]},params:p}},update:function(p,e){return {ver:"beta",method:"patch",path:"/solutions/approval/approvalItems/{approvalItem-id}/requests/{approvalItemRequest-id}",paramDefs:{path:["approvalItem-id","approvalItemRequest-id"]},params:e,body:p}},del:function(p){return {ver:"beta",method:"delete",path:"/solutions/approval/approvalItems/{approvalItem-id}/requests/{approvalItemRequest-id}",paramDefs:{header:["If-Match"],path:["approvalItem-id","approvalItemRequest-id"]},params:p}}},v={list:function(p){return {ver:"beta",method:"get",path:"/solutions/approval/approvalItems/{approvalItem-id}/responses",paramDefs:{query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"],path:["approvalItem-id"]},params:p}},create:function(p,e){return {ver:"beta",method:"post",path:"/solutions/approval/approvalItems/{approvalItem-id}/responses",paramDefs:{path:["approvalItem-id"]},params:e,body:p}},get:function(p){return {ver:"beta",method:"get",path:"/solutions/approval/approvalItems/{approvalItem-id}/responses/{approvalItemResponse-id}",paramDefs:{query:["$select","$expand"],path:["approvalItem-id","approvalItemResponse-id"]},params:p}},update:function(p,e){return {ver:"beta",method:"patch",path:"/solutions/approval/approvalItems/{approvalItem-id}/responses/{approvalItemResponse-id}",paramDefs:{path:["approvalItem-id","approvalItemResponse-id"]},params:e,body:p}},del:function(p){return {ver:"beta",method:"delete",path:"/solutions/approval/approvalItems/{approvalItem-id}/responses/{approvalItemResponse-id}",paramDefs:{header:["If-Match"],path:["approvalItem-id","approvalItemResponse-id"]},params:p}}};exports.cancel=n;exports.create=l;exports.del=o;exports.get=s;exports.list=t;exports.requests=i;exports.responses=v;exports.update=r;