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