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