'use strict';function p(e){return {ver:"beta",method:"delete",path:"/groups/{group-id}/sites/{site-id}/pageTemplates/{pageTemplate-id}/webParts/{webPart-id}",paramDefs:{header:["If-Match"],path:["group-id","site-id","pageTemplate-id","webPart-id"]},params:e}}function a(e){return {ver:"beta",method:"get",path:"/groups/{group-id}/sites/{site-id}/pageTemplates/{pageTemplate-id}/webParts",paramDefs:{path:["group-id","site-id","pageTemplate-id"],query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"]},params:e}}function s(e){return {ver:"beta",method:"get",path:"/groups/{group-id}/sites/{site-id}/pageTemplates/{pageTemplate-id}/webParts/{webPart-id}",paramDefs:{path:["group-id","site-id","pageTemplate-id","webPart-id"],query:["$select","$expand"]},params:e}}function i(e,t){return {ver:"beta",method:"patch",path:"/groups/{group-id}/sites/{site-id}/pageTemplates/{pageTemplate-id}/webParts/{webPart-id}",paramDefs:{path:["group-id","site-id","pageTemplate-id","webPart-id"]},params:t,body:e}}function r(e,t){return {ver:"beta",method:"post",path:"/groups/{group-id}/sites/{site-id}/pageTemplates/{pageTemplate-id}/webParts",paramDefs:{path:["group-id","site-id","pageTemplate-id"]},params:t,body:e}}const d={create:function(t){return {ver:"beta",method:"post",path:"/groups/{group-id}/sites/{site-id}/pageTemplates/{pageTemplate-id}/webParts/{webPart-id}/getPositionOfWebPart",paramDefs:{path:["group-id","site-id","pageTemplate-id","webPart-id"]},params:t}}};exports.create=r;exports.del=p;exports.get=s;exports.getPositionOfWebPart=d;exports.list=a;exports.update=i;