'use strict';function e(i){return {ver:"beta",method:"delete",path:"/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}",paramDefs:{header:["If-Match"],path:["group-id","site-id","list-id","listItem-id","listItemVersion-id"]},params:i}}function d(i){return {ver:"beta",method:"get",path:"/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions",paramDefs:{path:["group-id","site-id","list-id","listItem-id"],query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"]},params:i}}function r(i){return {ver:"beta",method:"get",path:"/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}",paramDefs:{path:["group-id","site-id","list-id","listItem-id","listItemVersion-id"],query:["$select","$expand"]},params:i}}function o(i,s){return {ver:"beta",method:"patch",path:"/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}",paramDefs:{path:["group-id","site-id","list-id","listItem-id","listItemVersion-id"]},params:s,body:i}}function l(i,s){return {ver:"beta",method:"post",path:"/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions",paramDefs:{path:["group-id","site-id","list-id","listItem-id"]},params:s,body:i}}const p={list:function(s){return {ver:"beta",method:"get",path:"/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/fields",paramDefs:{query:["$select","$expand"],path:["group-id","site-id","list-id","listItem-id","listItemVersion-id"]},params:s}},update:function(s,t){return {ver:"beta",method:"patch",path:"/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/fields",paramDefs:{path:["group-id","site-id","list-id","listItem-id","listItemVersion-id"]},params:t,body:s}},del:function(s){return {ver:"beta",method:"delete",path:"/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/fields",paramDefs:{header:["If-Match"],path:["group-id","site-id","list-id","listItem-id","listItemVersion-id"]},params:s}}},n={create:function(s){return {ver:"beta",method:"post",path:"/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}/restoreVersion",paramDefs:{path:["group-id","site-id","list-id","listItem-id","listItemVersion-id"]},params:s}}};exports.create=l;exports.del=e;exports.fields=p;exports.get=r;exports.list=d;exports.restoreVersion=n;exports.update=o;