@mondaydotcomorg/api
Advanced tools
Comparing version 4.0.4-rc.1 to 4.0.4
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("graphql-tag"),t=require("graphql-request");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n,o,i,a,s,u,d,l,p,c,m,_,v,h,b,g,x,I,O,f,y,D,T,C,N,A,S,B,E,$,P=r(e),R=function(){return R=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},R.apply(this,arguments)};function k(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))}function L(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}function V(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}"function"==typeof SuppressedError&&SuppressedError,exports.AssetsSource=void 0,(n=exports.AssetsSource||(exports.AssetsSource={})).All="all",n.Columns="columns",n.Gallery="gallery",exports.BoardAttributes=void 0,(o=exports.BoardAttributes||(exports.BoardAttributes={})).Communication="communication",o.Description="description",o.Name="name",exports.BoardKind=void 0,(i=exports.BoardKind||(exports.BoardKind={})).Private="private",i.Public="public",i.Share="share",exports.BoardObjectType=void 0,(a=exports.BoardObjectType||(exports.BoardObjectType={})).Board="board",a.CustomObject="custom_object",a.Document="document",a.SubItemsBoard="sub_items_board",exports.BoardSubscriberKind=void 0,(s=exports.BoardSubscriberKind||(exports.BoardSubscriberKind={})).Owner="owner",s.Subscriber="subscriber",exports.BoardsOrderBy=void 0,(u=exports.BoardsOrderBy||(exports.BoardsOrderBy={})).CreatedAt="created_at",u.UsedAt="used_at",exports.ColumnProperty=void 0,(d=exports.ColumnProperty||(exports.ColumnProperty={})).Description="description",d.Title="title",exports.ColumnType=void 0,(l=exports.ColumnType||(exports.ColumnType={})).AutoNumber="auto_number",l.BoardRelation="board_relation",l.Button="button",l.Checkbox="checkbox",l.ColorPicker="color_picker",l.Country="country",l.CreationLog="creation_log",l.Date="date",l.Dependency="dependency",l.Doc="doc",l.Dropdown="dropdown",l.Email="email",l.File="file",l.Formula="formula",l.Group="group",l.Hour="hour",l.Integration="integration",l.ItemAssignees="item_assignees",l.ItemId="item_id",l.LastUpdated="last_updated",l.Link="link",l.Location="location",l.LongText="long_text",l.Mirror="mirror",l.Name="name",l.Numbers="numbers",l.People="people",l.Person="person",l.Phone="phone",l.Progress="progress",l.Rating="rating",l.Status="status",l.Subtasks="subtasks",l.Tags="tags",l.Team="team",l.Text="text",l.TimeTracking="time_tracking",l.Timeline="timeline",l.Unsupported="unsupported",l.Vote="vote",l.Week="week",l.WorldClock="world_clock",exports.DocBlockContentType=void 0,(p=exports.DocBlockContentType||(exports.DocBlockContentType={})).BulletedList="bulleted_list",p.CheckList="check_list",p.Code="code",p.Divider="divider",p.Image="image",p.LargeTitle="large_title",p.Layout="layout",p.MediumTitle="medium_title",p.NormalText="normal_text",p.NoticeBox="notice_box",p.NumberedList="numbered_list",p.Quote="quote",p.SmallTitle="small_title",p.Table="table",p.Video="video",exports.DocsOrderBy=void 0,(c=exports.DocsOrderBy||(exports.DocsOrderBy={})).CreatedAt="created_at",c.UsedAt="used_at",exports.DuplicateBoardType=void 0,(m=exports.DuplicateBoardType||(exports.DuplicateBoardType={})).DuplicateBoardWithPulses="duplicate_board_with_pulses",m.DuplicateBoardWithPulsesAndUpdates="duplicate_board_with_pulses_and_updates",m.DuplicateBoardWithStructure="duplicate_board_with_structure",exports.FileLinkValueKind=void 0,(_=exports.FileLinkValueKind||(exports.FileLinkValueKind={})).Box="box",_.Dropbox="dropbox",_.GoogleDrive="google_drive",_.Link="link",_.Onedrive="onedrive",exports.FirstDayOfTheWeek=void 0,(v=exports.FirstDayOfTheWeek||(exports.FirstDayOfTheWeek={})).Monday="monday",v.Sunday="sunday",exports.FolderColor=void 0,(h=exports.FolderColor||(exports.FolderColor={})).Aquamarine="AQUAMARINE",h.BrightBlue="BRIGHT_BLUE",h.BrightGreen="BRIGHT_GREEN",h.ChiliBlue="CHILI_BLUE",h.DarkOrange="DARK_ORANGE",h.DarkPurple="DARK_PURPLE",h.DarkRed="DARK_RED",h.DoneGreen="DONE_GREEN",h.Indigo="INDIGO",h.Lipstick="LIPSTICK",h.Null="NULL",h.Purple="PURPLE",h.SofiaPink="SOFIA_PINK",h.StuckRed="STUCK_RED",h.Sunset="SUNSET",h.WorkingOrange="WORKING_ORANGE",exports.FolderCustomIcon=void 0,(b=exports.FolderCustomIcon||(exports.FolderCustomIcon={})).Folder="FOLDER",b.Morebelow="MOREBELOW",b.Morebelowfilled="MOREBELOWFILLED",b.Null="NULL",b.Work="WORK",exports.FolderFontWeight=void 0,(g=exports.FolderFontWeight||(exports.FolderFontWeight={})).FontWeightBold="FONT_WEIGHT_BOLD",g.FontWeightLight="FONT_WEIGHT_LIGHT",g.FontWeightNormal="FONT_WEIGHT_NORMAL",g.FontWeightVeryLight="FONT_WEIGHT_VERY_LIGHT",g.Null="NULL",exports.GroupAttributes=void 0,(x=exports.GroupAttributes||(exports.GroupAttributes={})).Color="color",x.Position="position",x.RelativePositionAfter="relative_position_after",x.RelativePositionBefore="relative_position_before",x.Title="title",exports.ItemsOrderByDirection=void 0,(I=exports.ItemsOrderByDirection||(exports.ItemsOrderByDirection={})).Asc="asc",I.Desc="desc",exports.ItemsQueryOperator=void 0,(O=exports.ItemsQueryOperator||(exports.ItemsQueryOperator={})).And="and",O.Or="or",exports.ItemsQueryRuleOperator=void 0,(f=exports.ItemsQueryRuleOperator||(exports.ItemsQueryRuleOperator={})).AnyOf="any_of",f.Between="between",f.ContainsTerms="contains_terms",f.ContainsText="contains_text",f.EndsWith="ends_with",f.GreaterThan="greater_than",f.GreaterThanOrEquals="greater_than_or_equals",f.IsEmpty="is_empty",f.IsNotEmpty="is_not_empty",f.LowerThan="lower_than",f.LowerThanOrEqual="lower_than_or_equal",f.NotAnyOf="not_any_of",f.NotContainsText="not_contains_text",f.StartsWith="starts_with",f.WithinTheLast="within_the_last",f.WithinTheNext="within_the_next",exports.Kind=void 0,(y=exports.Kind||(exports.Kind={})).Person="person",y.Team="team",exports.NotificationTargetType=void 0,(D=exports.NotificationTargetType||(exports.NotificationTargetType={})).Post="Post",D.Project="Project",exports.NumberValueUnitDirection=void 0,(T=exports.NumberValueUnitDirection||(exports.NumberValueUnitDirection={})).Left="left",T.Right="right",exports.PositionRelative=void 0,(C=exports.PositionRelative||(exports.PositionRelative={})).AfterAt="after_at",C.BeforeAt="before_at",exports.State=void 0,(N=exports.State||(exports.State={})).Active="active",N.All="all",N.Archived="archived",N.Deleted="deleted",exports.UserKind=void 0,(A=exports.UserKind||(exports.UserKind={})).All="all",A.Guests="guests",A.NonGuests="non_guests",A.NonPending="non_pending",exports.VersionKind=void 0,(S=exports.VersionKind||(exports.VersionKind={})).Current="current",S.Deprecated="deprecated",S.Dev="dev",S.Maintenance="maintenance",S.OldPreviousMaintenance="old_previous_maintenance",S.PreviousMaintenance="previous_maintenance",S.ReleaseCandidate="release_candidate",exports.WebhookEventType=void 0,(B=exports.WebhookEventType||(exports.WebhookEventType={})).ChangeColumnValue="change_column_value",B.ChangeName="change_name",B.ChangeSpecificColumnValue="change_specific_column_value",B.ChangeStatusColumnValue="change_status_column_value",B.ChangeSubitemColumnValue="change_subitem_column_value",B.ChangeSubitemName="change_subitem_name",B.CreateColumn="create_column",B.CreateItem="create_item",B.CreateSubitem="create_subitem",B.CreateSubitemUpdate="create_subitem_update",B.CreateUpdate="create_update",B.DeleteUpdate="delete_update",B.EditUpdate="edit_update",B.ItemArchived="item_archived",B.ItemDeleted="item_deleted",B.ItemMovedToAnyGroup="item_moved_to_any_group",B.ItemMovedToSpecificGroup="item_moved_to_specific_group",B.ItemRestored="item_restored",B.MoveSubitem="move_subitem",B.SubitemArchived="subitem_archived",B.SubitemDeleted="subitem_deleted",exports.WorkspaceKind=void 0,(E=exports.WorkspaceKind||(exports.WorkspaceKind={})).Closed="closed",E.Open="open",exports.WorkspaceSubscriberKind=void 0,($=exports.WorkspaceSubscriberKind||(exports.WorkspaceSubscriberKind={})).Owner="owner",$.Subscriber="subscriber",exports.WorkspacesOrderBy=void 0,(exports.WorkspacesOrderBy||(exports.WorkspacesOrderBy={})).CreatedAt="created_at";var w,F,W,M,G,q,U,K,j,H=P.default(w||(w=V(["\n fragment UserFields on User {\n id\n name\n email\n }\n"],["\n fragment UserFields on User {\n id\n name\n email\n }\n"]))),Q=P.default(F||(F=V(["\n query getMeOp {\n me {\n ...UserFields\n }\n }\n ","\n"],["\n query getMeOp {\n me {\n ...UserFields\n }\n }\n ","\n"])),H),J=P.default(W||(W=V(["\n mutation changeSimpleColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: String!) {\n change_simple_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"],["\n mutation changeSimpleColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: String!) {\n change_simple_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"]))),Y=P.default(M||(M=V(["\n mutation changeColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: JSON!) {\n change_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"],["\n mutation changeColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: JSON!) {\n change_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"]))),z=P.default(G||(G=V(["\n mutation createItemOp($boardId: ID!, $groupId: String!, $itemName: String!) {\n create_item(board_id: $boardId, group_id: $groupId, item_name: $itemName) {\n id\n name\n }\n }\n"],["\n mutation createItemOp($boardId: ID!, $groupId: String!, $itemName: String!) {\n create_item(board_id: $boardId, group_id: $groupId, item_name: $itemName) {\n id\n name\n }\n }\n"]))),X=P.default(q||(q=V(["\n mutation changeMultipleColumnValuesOp($boardId: ID!, $itemId: ID!, $columnValues: JSON!) {\n change_multiple_column_values(board_id: $boardId, item_id: $itemId, column_values: $columnValues) {\n id\n name\n column_values {\n id\n value\n }\n }\n }\n"],["\n mutation changeMultipleColumnValuesOp($boardId: ID!, $itemId: ID!, $columnValues: JSON!) {\n change_multiple_column_values(board_id: $boardId, item_id: $itemId, column_values: $columnValues) {\n id\n name\n column_values {\n id\n value\n }\n }\n }\n"]))),Z=P.default(U||(U=V(["\n query getBoardItemsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n items_page {\n items {\n id\n name\n column_values {\n id\n type\n value\n }\n }\n }\n }\n }\n"],["\n query getBoardItemsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n items_page {\n items {\n id\n name\n column_values {\n id\n type\n value\n }\n }\n }\n }\n }\n"]))),ee=P.default(K||(K=V(["\n query getBoardGroupsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n groups {\n id\n title\n }\n }\n }\n"],["\n query getBoardGroupsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n groups {\n id\n title\n }\n }\n }\n"]))),te=function(e,t,r,n){return e()};function re(e,t){return void 0===t&&(t=te),{getMeOp:function(r,n){return t((function(t){return e.request(Q,r,R(R({},n),t))}),"getMeOp","query",r)},changeSimpleColumnValueOp:function(r,n){return t((function(t){return e.request(J,r,R(R({},n),t))}),"changeSimpleColumnValueOp","mutation",r)},changeColumnValueOp:function(r,n){return t((function(t){return e.request(Y,r,R(R({},n),t))}),"changeColumnValueOp","mutation",r)},createItemOp:function(r,n){return t((function(t){return e.request(z,r,R(R({},n),t))}),"createItemOp","mutation",r)},changeMultipleColumnValuesOp:function(r,n){return t((function(t){return e.request(X,r,R(R({},n),t))}),"changeMultipleColumnValuesOp","mutation",r)},getBoardItemsOp:function(r,n){return t((function(t){return e.request(Z,r,R(R({},n),t))}),"getBoardItemsOp","query",r)},getBoardGroupsOp:function(r,n){return t((function(t){return e.request(ee,r,R(R({},n),t))}),"getBoardGroupsOp","query",r)}}}exports.AvailableVersions=void 0,(j=exports.AvailableVersions||(exports.AvailableVersions={})).DEPRECATED="deprecated",j.MAINTENANCE="maintenance",j.CURRENT="current",j.RELEASE_CANDIDATE="release_candidate",j.DEV="dev",j.CURRENT_VERSION="2024-07";var ne="https://api.monday.com/v2",oe=exports.AvailableVersions.CURRENT_VERSION,ie="4.0.4-beta.1",ae=function(e,r){void 0===r&&(r=oe);var n=this;this.query=function(e,t){return k(n,void 0,void 0,(function(){return L(this,(function(r){switch(r.label){case 0:return[4,this.client.request(e,t)];case 1:return[2,r.sent()]}}))}))},this.apiVersion=r;var o=function(){if(process.env.MONDAY_API_ENDPOINT)return process.env.MONDAY_API_ENDPOINT;var e=process.env.PLATFORM_API;if(e)try{var t=JSON.parse(e);if(t.PLATFORM_API_ENDPOINT)return t.PLATFORM_API_ENDPOINT}catch(e){console.error("Failed to parse PLATFORM_API secret",e)}return ne}();this.client=new t.GraphQLClient(o,{headers:{"Content-Type":"application/json",Authorization:e,"API-Version":this.apiVersion,"Api-Sdk-Version":ie}}),this.operations=re(this.client)},se=function(){function e(e){void 0===e&&(e=oe),this.listeners={},this.generateRequestId=function(){return Math.random().toString(36).substring(2,9)},this.apiVersion=e,window.addEventListener("message",this.receiveMessage.bind(this),!1)}return e.prototype.query=function(e,t,r,n){var o=this;return void 0===n&&(n=6e4),new Promise((function(i,a){var s=o.generateRequestId(),u={query:e,variables:t},d=r||o.apiVersion;window.parent.postMessage({method:"api",args:{params:u,apiVersion:d},requestId:s},"*");var l=setTimeout((function(){a(new Error("Request timed out"))}),n),p=o.addListener(s,(function(e){clearTimeout(l),p(),e.errorMessage?a(new Error("".concat(e.errorMessage," - ").concat(e.data))):i(e)}))}))},e.prototype.addListener=function(e,t){var r=this,n=this.listeners[e]||new Set;return n.add(t),this.listeners[e]=n,function(){n.delete(t),0===n.size&&delete r.listeners[e]}},e.prototype.receiveMessage=function(e){var t=e.data.requestId,r=this.listeners[t];r&&r.forEach((function(t){return t(e.data)}))},e}();exports.ApiClient=ae,exports.ChangeColumnValueOpDocument=Y,exports.ChangeMultipleColumnValuesOpDocument=X,exports.ChangeSimpleColumnValueOpDocument=J,exports.CreateItemOpDocument=z,exports.DEFAULT_VERSION=oe,exports.GetBoardGroupsOpDocument=ee,exports.GetBoardItemsOpDocument=Z,exports.GetMeOpDocument=Q,exports.MONDAY_API_ENDPOINT=ne,exports.SeamlessApiClient=se,exports.UserFieldsFragmentDoc=H,exports.getSdk=re; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("graphql-tag"),t=require("graphql-request");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n,o,i,a,s,u,d,l,p,c,m,_,v,h,g,b,x,I,O,f,y,D,T,C,N,A,S,B,E,$,P=r(e),R=function(){return R=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},R.apply(this,arguments)};function k(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))}function L(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}function V(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}"function"==typeof SuppressedError&&SuppressedError,exports.AssetsSource=void 0,(n=exports.AssetsSource||(exports.AssetsSource={})).All="all",n.Columns="columns",n.Gallery="gallery",exports.BoardAttributes=void 0,(o=exports.BoardAttributes||(exports.BoardAttributes={})).Communication="communication",o.Description="description",o.Name="name",exports.BoardKind=void 0,(i=exports.BoardKind||(exports.BoardKind={})).Private="private",i.Public="public",i.Share="share",exports.BoardObjectType=void 0,(a=exports.BoardObjectType||(exports.BoardObjectType={})).Board="board",a.CustomObject="custom_object",a.Document="document",a.SubItemsBoard="sub_items_board",exports.BoardSubscriberKind=void 0,(s=exports.BoardSubscriberKind||(exports.BoardSubscriberKind={})).Owner="owner",s.Subscriber="subscriber",exports.BoardsOrderBy=void 0,(u=exports.BoardsOrderBy||(exports.BoardsOrderBy={})).CreatedAt="created_at",u.UsedAt="used_at",exports.ColumnProperty=void 0,(d=exports.ColumnProperty||(exports.ColumnProperty={})).Description="description",d.Title="title",exports.ColumnType=void 0,(l=exports.ColumnType||(exports.ColumnType={})).AutoNumber="auto_number",l.BoardRelation="board_relation",l.Button="button",l.Checkbox="checkbox",l.ColorPicker="color_picker",l.Country="country",l.CreationLog="creation_log",l.Date="date",l.Dependency="dependency",l.Doc="doc",l.Dropdown="dropdown",l.Email="email",l.File="file",l.Formula="formula",l.Group="group",l.Hour="hour",l.Integration="integration",l.ItemAssignees="item_assignees",l.ItemId="item_id",l.LastUpdated="last_updated",l.Link="link",l.Location="location",l.LongText="long_text",l.Mirror="mirror",l.Name="name",l.Numbers="numbers",l.People="people",l.Person="person",l.Phone="phone",l.Progress="progress",l.Rating="rating",l.Status="status",l.Subtasks="subtasks",l.Tags="tags",l.Team="team",l.Text="text",l.TimeTracking="time_tracking",l.Timeline="timeline",l.Unsupported="unsupported",l.Vote="vote",l.Week="week",l.WorldClock="world_clock",exports.DocBlockContentType=void 0,(p=exports.DocBlockContentType||(exports.DocBlockContentType={})).BulletedList="bulleted_list",p.CheckList="check_list",p.Code="code",p.Divider="divider",p.Image="image",p.LargeTitle="large_title",p.Layout="layout",p.MediumTitle="medium_title",p.NormalText="normal_text",p.NoticeBox="notice_box",p.NumberedList="numbered_list",p.Quote="quote",p.SmallTitle="small_title",p.Table="table",p.Video="video",exports.DocsOrderBy=void 0,(c=exports.DocsOrderBy||(exports.DocsOrderBy={})).CreatedAt="created_at",c.UsedAt="used_at",exports.DuplicateBoardType=void 0,(m=exports.DuplicateBoardType||(exports.DuplicateBoardType={})).DuplicateBoardWithPulses="duplicate_board_with_pulses",m.DuplicateBoardWithPulsesAndUpdates="duplicate_board_with_pulses_and_updates",m.DuplicateBoardWithStructure="duplicate_board_with_structure",exports.FileLinkValueKind=void 0,(_=exports.FileLinkValueKind||(exports.FileLinkValueKind={})).Box="box",_.Dropbox="dropbox",_.GoogleDrive="google_drive",_.Link="link",_.Onedrive="onedrive",exports.FirstDayOfTheWeek=void 0,(v=exports.FirstDayOfTheWeek||(exports.FirstDayOfTheWeek={})).Monday="monday",v.Sunday="sunday",exports.FolderColor=void 0,(h=exports.FolderColor||(exports.FolderColor={})).Aquamarine="AQUAMARINE",h.BrightBlue="BRIGHT_BLUE",h.BrightGreen="BRIGHT_GREEN",h.ChiliBlue="CHILI_BLUE",h.DarkOrange="DARK_ORANGE",h.DarkPurple="DARK_PURPLE",h.DarkRed="DARK_RED",h.DoneGreen="DONE_GREEN",h.Indigo="INDIGO",h.Lipstick="LIPSTICK",h.Null="NULL",h.Purple="PURPLE",h.SofiaPink="SOFIA_PINK",h.StuckRed="STUCK_RED",h.Sunset="SUNSET",h.WorkingOrange="WORKING_ORANGE",exports.FolderCustomIcon=void 0,(g=exports.FolderCustomIcon||(exports.FolderCustomIcon={})).Folder="FOLDER",g.Morebelow="MOREBELOW",g.Morebelowfilled="MOREBELOWFILLED",g.Null="NULL",g.Work="WORK",exports.FolderFontWeight=void 0,(b=exports.FolderFontWeight||(exports.FolderFontWeight={})).FontWeightBold="FONT_WEIGHT_BOLD",b.FontWeightLight="FONT_WEIGHT_LIGHT",b.FontWeightNormal="FONT_WEIGHT_NORMAL",b.FontWeightVeryLight="FONT_WEIGHT_VERY_LIGHT",b.Null="NULL",exports.GroupAttributes=void 0,(x=exports.GroupAttributes||(exports.GroupAttributes={})).Color="color",x.Position="position",x.RelativePositionAfter="relative_position_after",x.RelativePositionBefore="relative_position_before",x.Title="title",exports.ItemsOrderByDirection=void 0,(I=exports.ItemsOrderByDirection||(exports.ItemsOrderByDirection={})).Asc="asc",I.Desc="desc",exports.ItemsQueryOperator=void 0,(O=exports.ItemsQueryOperator||(exports.ItemsQueryOperator={})).And="and",O.Or="or",exports.ItemsQueryRuleOperator=void 0,(f=exports.ItemsQueryRuleOperator||(exports.ItemsQueryRuleOperator={})).AnyOf="any_of",f.Between="between",f.ContainsTerms="contains_terms",f.ContainsText="contains_text",f.EndsWith="ends_with",f.GreaterThan="greater_than",f.GreaterThanOrEquals="greater_than_or_equals",f.IsEmpty="is_empty",f.IsNotEmpty="is_not_empty",f.LowerThan="lower_than",f.LowerThanOrEqual="lower_than_or_equal",f.NotAnyOf="not_any_of",f.NotContainsText="not_contains_text",f.StartsWith="starts_with",f.WithinTheLast="within_the_last",f.WithinTheNext="within_the_next",exports.Kind=void 0,(y=exports.Kind||(exports.Kind={})).Person="person",y.Team="team",exports.NotificationTargetType=void 0,(D=exports.NotificationTargetType||(exports.NotificationTargetType={})).Post="Post",D.Project="Project",exports.NumberValueUnitDirection=void 0,(T=exports.NumberValueUnitDirection||(exports.NumberValueUnitDirection={})).Left="left",T.Right="right",exports.PositionRelative=void 0,(C=exports.PositionRelative||(exports.PositionRelative={})).AfterAt="after_at",C.BeforeAt="before_at",exports.State=void 0,(N=exports.State||(exports.State={})).Active="active",N.All="all",N.Archived="archived",N.Deleted="deleted",exports.UserKind=void 0,(A=exports.UserKind||(exports.UserKind={})).All="all",A.Guests="guests",A.NonGuests="non_guests",A.NonPending="non_pending",exports.VersionKind=void 0,(S=exports.VersionKind||(exports.VersionKind={})).Current="current",S.Deprecated="deprecated",S.Dev="dev",S.Maintenance="maintenance",S.OldPreviousMaintenance="old_previous_maintenance",S.PreviousMaintenance="previous_maintenance",S.ReleaseCandidate="release_candidate",exports.WebhookEventType=void 0,(B=exports.WebhookEventType||(exports.WebhookEventType={})).ChangeColumnValue="change_column_value",B.ChangeName="change_name",B.ChangeSpecificColumnValue="change_specific_column_value",B.ChangeStatusColumnValue="change_status_column_value",B.ChangeSubitemColumnValue="change_subitem_column_value",B.ChangeSubitemName="change_subitem_name",B.CreateColumn="create_column",B.CreateItem="create_item",B.CreateSubitem="create_subitem",B.CreateSubitemUpdate="create_subitem_update",B.CreateUpdate="create_update",B.DeleteUpdate="delete_update",B.EditUpdate="edit_update",B.ItemArchived="item_archived",B.ItemDeleted="item_deleted",B.ItemMovedToAnyGroup="item_moved_to_any_group",B.ItemMovedToSpecificGroup="item_moved_to_specific_group",B.ItemRestored="item_restored",B.MoveSubitem="move_subitem",B.SubitemArchived="subitem_archived",B.SubitemDeleted="subitem_deleted",exports.WorkspaceKind=void 0,(E=exports.WorkspaceKind||(exports.WorkspaceKind={})).Closed="closed",E.Open="open",exports.WorkspaceSubscriberKind=void 0,($=exports.WorkspaceSubscriberKind||(exports.WorkspaceSubscriberKind={})).Owner="owner",$.Subscriber="subscriber",exports.WorkspacesOrderBy=void 0,(exports.WorkspacesOrderBy||(exports.WorkspacesOrderBy={})).CreatedAt="created_at";var w,F,W,M,G,q,U,K,j,H=P.default(w||(w=V(["\n fragment UserFields on User {\n id\n name\n email\n }\n"],["\n fragment UserFields on User {\n id\n name\n email\n }\n"]))),Q=P.default(F||(F=V(["\n query getMeOp {\n me {\n ...UserFields\n }\n }\n ","\n"],["\n query getMeOp {\n me {\n ...UserFields\n }\n }\n ","\n"])),H),J=P.default(W||(W=V(["\n mutation changeSimpleColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: String!) {\n change_simple_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"],["\n mutation changeSimpleColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: String!) {\n change_simple_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"]))),Y=P.default(M||(M=V(["\n mutation changeColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: JSON!) {\n change_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"],["\n mutation changeColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: JSON!) {\n change_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"]))),z=P.default(G||(G=V(["\n mutation createItemOp($boardId: ID!, $groupId: String!, $itemName: String!) {\n create_item(board_id: $boardId, group_id: $groupId, item_name: $itemName) {\n id\n name\n }\n }\n"],["\n mutation createItemOp($boardId: ID!, $groupId: String!, $itemName: String!) {\n create_item(board_id: $boardId, group_id: $groupId, item_name: $itemName) {\n id\n name\n }\n }\n"]))),X=P.default(q||(q=V(["\n mutation changeMultipleColumnValuesOp($boardId: ID!, $itemId: ID!, $columnValues: JSON!) {\n change_multiple_column_values(board_id: $boardId, item_id: $itemId, column_values: $columnValues) {\n id\n name\n column_values {\n id\n value\n }\n }\n }\n"],["\n mutation changeMultipleColumnValuesOp($boardId: ID!, $itemId: ID!, $columnValues: JSON!) {\n change_multiple_column_values(board_id: $boardId, item_id: $itemId, column_values: $columnValues) {\n id\n name\n column_values {\n id\n value\n }\n }\n }\n"]))),Z=P.default(U||(U=V(["\n query getBoardItemsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n items_page {\n items {\n id\n name\n column_values {\n id\n type\n value\n }\n }\n }\n }\n }\n"],["\n query getBoardItemsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n items_page {\n items {\n id\n name\n column_values {\n id\n type\n value\n }\n }\n }\n }\n }\n"]))),ee=P.default(K||(K=V(["\n query getBoardGroupsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n groups {\n id\n title\n }\n }\n }\n"],["\n query getBoardGroupsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n groups {\n id\n title\n }\n }\n }\n"]))),te=function(e,t,r,n){return e()};function re(e,t){return void 0===t&&(t=te),{getMeOp:function(r,n){return t((function(t){return e.request(Q,r,R(R({},n),t))}),"getMeOp","query",r)},changeSimpleColumnValueOp:function(r,n){return t((function(t){return e.request(J,r,R(R({},n),t))}),"changeSimpleColumnValueOp","mutation",r)},changeColumnValueOp:function(r,n){return t((function(t){return e.request(Y,r,R(R({},n),t))}),"changeColumnValueOp","mutation",r)},createItemOp:function(r,n){return t((function(t){return e.request(z,r,R(R({},n),t))}),"createItemOp","mutation",r)},changeMultipleColumnValuesOp:function(r,n){return t((function(t){return e.request(X,r,R(R({},n),t))}),"changeMultipleColumnValuesOp","mutation",r)},getBoardItemsOp:function(r,n){return t((function(t){return e.request(Z,r,R(R({},n),t))}),"getBoardItemsOp","query",r)},getBoardGroupsOp:function(r,n){return t((function(t){return e.request(ee,r,R(R({},n),t))}),"getBoardGroupsOp","query",r)}}}exports.AvailableVersions=void 0,(j=exports.AvailableVersions||(exports.AvailableVersions={})).DEPRECATED="deprecated",j.MAINTENANCE="maintenance",j.CURRENT="current",j.RELEASE_CANDIDATE="release_candidate",j.DEV="dev",j.CURRENT_VERSION="2024-07";var ne="https://api.monday.com/v2",oe=exports.AvailableVersions.CURRENT_VERSION,ie="4.0.5",ae=function(e,r){void 0===r&&(r=oe);var n=this;this.query=function(e,t){return k(n,void 0,void 0,(function(){return L(this,(function(r){switch(r.label){case 0:return[4,this.client.request(e,t)];case 1:return[2,r.sent()]}}))}))},this.apiVersion=r;var o=function(){if(process.env.MONDAY_API_ENDPOINT)return process.env.MONDAY_API_ENDPOINT;var e=process.env.PLATFORM_API;if(e)try{var t=JSON.parse(e);if(t.PLATFORM_API_ENDPOINT)return t.PLATFORM_API_ENDPOINT}catch(e){console.error("Failed to parse PLATFORM_API secret",e)}return ne}();this.client=new t.GraphQLClient(o,{headers:{"Content-Type":"application/json",Authorization:e,"API-Version":this.apiVersion,"Api-Sdk-Version":ie}}),this.operations=re(this.client)},se=function(){function e(e){void 0===e&&(e=oe),this.listeners={},this.generateRequestId=function(){return Math.random().toString(36).substring(2,9)},this.apiVersion=e,window.addEventListener("message",this.receiveMessage.bind(this),!1)}return e.prototype.query=function(e,t,r,n){var o=this;return void 0===n&&(n=6e4),new Promise((function(i,a){var s=o.generateRequestId(),u={query:e,variables:t},d=r||o.apiVersion;window.parent.postMessage({method:"api",args:{params:u,apiVersion:d},requestId:s},"*");var l=setTimeout((function(){a(new Error("Request timed out"))}),n),p=o.addListener(s,(function(e){clearTimeout(l),p(),e.errorMessage?a(new Error("".concat(e.errorMessage," - ").concat(e.data))):i(e)}))}))},e.prototype.addListener=function(e,t){var r=this,n=this.listeners[e]||new Set;return n.add(t),this.listeners[e]=n,function(){n.delete(t),0===n.size&&delete r.listeners[e]}},e.prototype.receiveMessage=function(e){var t=e.data.requestId,r=this.listeners[t];r&&r.forEach((function(t){return t(e.data)}))},e}();exports.ApiClient=ae,exports.ChangeColumnValueOpDocument=Y,exports.ChangeMultipleColumnValuesOpDocument=X,exports.ChangeSimpleColumnValueOpDocument=J,exports.CreateItemOpDocument=z,exports.DEFAULT_VERSION=oe,exports.GetBoardGroupsOpDocument=ee,exports.GetBoardItemsOpDocument=Z,exports.GetMeOpDocument=Q,exports.MONDAY_API_ENDPOINT=ne,exports.SeamlessApiClient=se,exports.UserFieldsFragmentDoc=H,exports.getSdk=re; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import e from"graphql-tag";import{GraphQLClient as n}from"graphql-request";var t,i,r,o,a,u,l,s,d,c,m,_,p,g,f,h,I,b,v,O,N,$,y,D,C,E,T,S,A,P,L,R=function(){return R=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},R.apply(this,arguments)};function w(e,n,t,i){return new(t||(t=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function u(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(a,u)}l((i=i.apply(e,n||[])).next())}))}function M(e,n){var t,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(l){return function(u){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(t=1,i&&(r=2&u[0]?i.return:u[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,u[1])).done)return r;switch(i=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,i=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){a.label=u[1];break}if(6===u[0]&&a.label<r[1]){a.label=r[1],r=u;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(u);break}r[2]&&a.ops.pop(),a.trys.pop();continue}u=n.call(e,a)}catch(e){u=[6,e],i=0}finally{t=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,l])}}}function q(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}"function"==typeof SuppressedError&&SuppressedError,function(e){e.All="all",e.Columns="columns",e.Gallery="gallery"}(t||(t={})),function(e){e.Communication="communication",e.Description="description",e.Name="name"}(i||(i={})),function(e){e.Private="private",e.Public="public",e.Share="share"}(r||(r={})),function(e){e.Board="board",e.CustomObject="custom_object",e.Document="document",e.SubItemsBoard="sub_items_board"}(o||(o={})),function(e){e.Owner="owner",e.Subscriber="subscriber"}(a||(a={})),function(e){e.CreatedAt="created_at",e.UsedAt="used_at"}(u||(u={})),function(e){e.Description="description",e.Title="title"}(l||(l={})),function(e){e.AutoNumber="auto_number",e.BoardRelation="board_relation",e.Button="button",e.Checkbox="checkbox",e.ColorPicker="color_picker",e.Country="country",e.CreationLog="creation_log",e.Date="date",e.Dependency="dependency",e.Doc="doc",e.Dropdown="dropdown",e.Email="email",e.File="file",e.Formula="formula",e.Group="group",e.Hour="hour",e.Integration="integration",e.ItemAssignees="item_assignees",e.ItemId="item_id",e.LastUpdated="last_updated",e.Link="link",e.Location="location",e.LongText="long_text",e.Mirror="mirror",e.Name="name",e.Numbers="numbers",e.People="people",e.Person="person",e.Phone="phone",e.Progress="progress",e.Rating="rating",e.Status="status",e.Subtasks="subtasks",e.Tags="tags",e.Team="team",e.Text="text",e.TimeTracking="time_tracking",e.Timeline="timeline",e.Unsupported="unsupported",e.Vote="vote",e.Week="week",e.WorldClock="world_clock"}(s||(s={})),function(e){e.BulletedList="bulleted_list",e.CheckList="check_list",e.Code="code",e.Divider="divider",e.Image="image",e.LargeTitle="large_title",e.Layout="layout",e.MediumTitle="medium_title",e.NormalText="normal_text",e.NoticeBox="notice_box",e.NumberedList="numbered_list",e.Quote="quote",e.SmallTitle="small_title",e.Table="table",e.Video="video"}(d||(d={})),function(e){e.CreatedAt="created_at",e.UsedAt="used_at"}(c||(c={})),function(e){e.DuplicateBoardWithPulses="duplicate_board_with_pulses",e.DuplicateBoardWithPulsesAndUpdates="duplicate_board_with_pulses_and_updates",e.DuplicateBoardWithStructure="duplicate_board_with_structure"}(m||(m={})),function(e){e.Box="box",e.Dropbox="dropbox",e.GoogleDrive="google_drive",e.Link="link",e.Onedrive="onedrive"}(_||(_={})),function(e){e.Monday="monday",e.Sunday="sunday"}(p||(p={})),function(e){e.Aquamarine="AQUAMARINE",e.BrightBlue="BRIGHT_BLUE",e.BrightGreen="BRIGHT_GREEN",e.ChiliBlue="CHILI_BLUE",e.DarkOrange="DARK_ORANGE",e.DarkPurple="DARK_PURPLE",e.DarkRed="DARK_RED",e.DoneGreen="DONE_GREEN",e.Indigo="INDIGO",e.Lipstick="LIPSTICK",e.Null="NULL",e.Purple="PURPLE",e.SofiaPink="SOFIA_PINK",e.StuckRed="STUCK_RED",e.Sunset="SUNSET",e.WorkingOrange="WORKING_ORANGE"}(g||(g={})),function(e){e.Folder="FOLDER",e.Morebelow="MOREBELOW",e.Morebelowfilled="MOREBELOWFILLED",e.Null="NULL",e.Work="WORK"}(f||(f={})),function(e){e.FontWeightBold="FONT_WEIGHT_BOLD",e.FontWeightLight="FONT_WEIGHT_LIGHT",e.FontWeightNormal="FONT_WEIGHT_NORMAL",e.FontWeightVeryLight="FONT_WEIGHT_VERY_LIGHT",e.Null="NULL"}(h||(h={})),function(e){e.Color="color",e.Position="position",e.RelativePositionAfter="relative_position_after",e.RelativePositionBefore="relative_position_before",e.Title="title"}(I||(I={})),function(e){e.Asc="asc",e.Desc="desc"}(b||(b={})),function(e){e.And="and",e.Or="or"}(v||(v={})),function(e){e.AnyOf="any_of",e.Between="between",e.ContainsTerms="contains_terms",e.ContainsText="contains_text",e.EndsWith="ends_with",e.GreaterThan="greater_than",e.GreaterThanOrEquals="greater_than_or_equals",e.IsEmpty="is_empty",e.IsNotEmpty="is_not_empty",e.LowerThan="lower_than",e.LowerThanOrEqual="lower_than_or_equal",e.NotAnyOf="not_any_of",e.NotContainsText="not_contains_text",e.StartsWith="starts_with",e.WithinTheLast="within_the_last",e.WithinTheNext="within_the_next"}(O||(O={})),function(e){e.Person="person",e.Team="team"}(N||(N={})),function(e){e.Post="Post",e.Project="Project"}($||($={})),function(e){e.Left="left",e.Right="right"}(y||(y={})),function(e){e.AfterAt="after_at",e.BeforeAt="before_at"}(D||(D={})),function(e){e.Active="active",e.All="all",e.Archived="archived",e.Deleted="deleted"}(C||(C={})),function(e){e.All="all",e.Guests="guests",e.NonGuests="non_guests",e.NonPending="non_pending"}(E||(E={})),function(e){e.Current="current",e.Deprecated="deprecated",e.Dev="dev",e.Maintenance="maintenance",e.OldPreviousMaintenance="old_previous_maintenance",e.PreviousMaintenance="previous_maintenance",e.ReleaseCandidate="release_candidate"}(T||(T={})),function(e){e.ChangeColumnValue="change_column_value",e.ChangeName="change_name",e.ChangeSpecificColumnValue="change_specific_column_value",e.ChangeStatusColumnValue="change_status_column_value",e.ChangeSubitemColumnValue="change_subitem_column_value",e.ChangeSubitemName="change_subitem_name",e.CreateColumn="create_column",e.CreateItem="create_item",e.CreateSubitem="create_subitem",e.CreateSubitemUpdate="create_subitem_update",e.CreateUpdate="create_update",e.DeleteUpdate="delete_update",e.EditUpdate="edit_update",e.ItemArchived="item_archived",e.ItemDeleted="item_deleted",e.ItemMovedToAnyGroup="item_moved_to_any_group",e.ItemMovedToSpecificGroup="item_moved_to_specific_group",e.ItemRestored="item_restored",e.MoveSubitem="move_subitem",e.SubitemArchived="subitem_archived",e.SubitemDeleted="subitem_deleted"}(S||(S={})),function(e){e.Closed="closed",e.Open="open"}(A||(A={})),function(e){e.Owner="owner",e.Subscriber="subscriber"}(P||(P={})),function(e){e.CreatedAt="created_at"}(L||(L={}));var V,B,k,G,U,x,F,W,H,j=e(V||(V=q(["\n fragment UserFields on User {\n id\n name\n email\n }\n"],["\n fragment UserFields on User {\n id\n name\n email\n }\n"]))),K=e(B||(B=q(["\n query getMeOp {\n me {\n ...UserFields\n }\n }\n ","\n"],["\n query getMeOp {\n me {\n ...UserFields\n }\n }\n ","\n"])),j),J=e(k||(k=q(["\n mutation changeSimpleColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: String!) {\n change_simple_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"],["\n mutation changeSimpleColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: String!) {\n change_simple_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"]))),Y=e(G||(G=q(["\n mutation changeColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: JSON!) {\n change_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"],["\n mutation changeColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: JSON!) {\n change_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"]))),z=e(U||(U=q(["\n mutation createItemOp($boardId: ID!, $groupId: String!, $itemName: String!) {\n create_item(board_id: $boardId, group_id: $groupId, item_name: $itemName) {\n id\n name\n }\n }\n"],["\n mutation createItemOp($boardId: ID!, $groupId: String!, $itemName: String!) {\n create_item(board_id: $boardId, group_id: $groupId, item_name: $itemName) {\n id\n name\n }\n }\n"]))),Q=e(x||(x=q(["\n mutation changeMultipleColumnValuesOp($boardId: ID!, $itemId: ID!, $columnValues: JSON!) {\n change_multiple_column_values(board_id: $boardId, item_id: $itemId, column_values: $columnValues) {\n id\n name\n column_values {\n id\n value\n }\n }\n }\n"],["\n mutation changeMultipleColumnValuesOp($boardId: ID!, $itemId: ID!, $columnValues: JSON!) {\n change_multiple_column_values(board_id: $boardId, item_id: $itemId, column_values: $columnValues) {\n id\n name\n column_values {\n id\n value\n }\n }\n }\n"]))),X=e(F||(F=q(["\n query getBoardItemsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n items_page {\n items {\n id\n name\n column_values {\n id\n type\n value\n }\n }\n }\n }\n }\n"],["\n query getBoardItemsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n items_page {\n items {\n id\n name\n column_values {\n id\n type\n value\n }\n }\n }\n }\n }\n"]))),Z=e(W||(W=q(["\n query getBoardGroupsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n groups {\n id\n title\n }\n }\n }\n"],["\n query getBoardGroupsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n groups {\n id\n title\n }\n }\n }\n"]))),ee=function(e,n,t,i){return e()};function ne(e,n){return void 0===n&&(n=ee),{getMeOp:function(t,i){return n((function(n){return e.request(K,t,R(R({},i),n))}),"getMeOp","query",t)},changeSimpleColumnValueOp:function(t,i){return n((function(n){return e.request(J,t,R(R({},i),n))}),"changeSimpleColumnValueOp","mutation",t)},changeColumnValueOp:function(t,i){return n((function(n){return e.request(Y,t,R(R({},i),n))}),"changeColumnValueOp","mutation",t)},createItemOp:function(t,i){return n((function(n){return e.request(z,t,R(R({},i),n))}),"createItemOp","mutation",t)},changeMultipleColumnValuesOp:function(t,i){return n((function(n){return e.request(Q,t,R(R({},i),n))}),"changeMultipleColumnValuesOp","mutation",t)},getBoardItemsOp:function(t,i){return n((function(n){return e.request(X,t,R(R({},i),n))}),"getBoardItemsOp","query",t)},getBoardGroupsOp:function(t,i){return n((function(n){return e.request(Z,t,R(R({},i),n))}),"getBoardGroupsOp","query",t)}}}!function(e){e.DEPRECATED="deprecated",e.MAINTENANCE="maintenance",e.CURRENT="current",e.RELEASE_CANDIDATE="release_candidate",e.DEV="dev",e.CURRENT_VERSION="2024-07"}(H||(H={}));var te="https://api.monday.com/v2",ie=H.CURRENT_VERSION,re="4.0.4-beta.1",oe=function(e,t){void 0===t&&(t=ie);var i=this;this.query=function(e,n){return w(i,void 0,void 0,(function(){return M(this,(function(t){switch(t.label){case 0:return[4,this.client.request(e,n)];case 1:return[2,t.sent()]}}))}))},this.apiVersion=t;var r=function(){if(process.env.MONDAY_API_ENDPOINT)return process.env.MONDAY_API_ENDPOINT;var e=process.env.PLATFORM_API;if(e)try{var n=JSON.parse(e);if(n.PLATFORM_API_ENDPOINT)return n.PLATFORM_API_ENDPOINT}catch(e){console.error("Failed to parse PLATFORM_API secret",e)}return te}();this.client=new n(r,{headers:{"Content-Type":"application/json",Authorization:e,"API-Version":this.apiVersion,"Api-Sdk-Version":re}}),this.operations=ne(this.client)},ae=function(){function e(e){void 0===e&&(e=ie),this.listeners={},this.generateRequestId=function(){return Math.random().toString(36).substring(2,9)},this.apiVersion=e,window.addEventListener("message",this.receiveMessage.bind(this),!1)}return e.prototype.query=function(e,n,t,i){var r=this;return void 0===i&&(i=6e4),new Promise((function(o,a){var u=r.generateRequestId(),l={query:e,variables:n},s=t||r.apiVersion;window.parent.postMessage({method:"api",args:{params:l,apiVersion:s},requestId:u},"*");var d=setTimeout((function(){a(new Error("Request timed out"))}),i),c=r.addListener(u,(function(e){clearTimeout(d),c(),e.errorMessage?a(new Error("".concat(e.errorMessage," - ").concat(e.data))):o(e)}))}))},e.prototype.addListener=function(e,n){var t=this,i=this.listeners[e]||new Set;return i.add(n),this.listeners[e]=i,function(){i.delete(n),0===i.size&&delete t.listeners[e]}},e.prototype.receiveMessage=function(e){var n=e.data.requestId,t=this.listeners[n];t&&t.forEach((function(n){return n(e.data)}))},e}();export{oe as ApiClient,t as AssetsSource,H as AvailableVersions,i as BoardAttributes,r as BoardKind,o as BoardObjectType,a as BoardSubscriberKind,u as BoardsOrderBy,Y as ChangeColumnValueOpDocument,Q as ChangeMultipleColumnValuesOpDocument,J as ChangeSimpleColumnValueOpDocument,l as ColumnProperty,s as ColumnType,z as CreateItemOpDocument,ie as DEFAULT_VERSION,d as DocBlockContentType,c as DocsOrderBy,m as DuplicateBoardType,_ as FileLinkValueKind,p as FirstDayOfTheWeek,g as FolderColor,f as FolderCustomIcon,h as FolderFontWeight,Z as GetBoardGroupsOpDocument,X as GetBoardItemsOpDocument,K as GetMeOpDocument,I as GroupAttributes,b as ItemsOrderByDirection,v as ItemsQueryOperator,O as ItemsQueryRuleOperator,N as Kind,te as MONDAY_API_ENDPOINT,$ as NotificationTargetType,y as NumberValueUnitDirection,D as PositionRelative,ae as SeamlessApiClient,C as State,j as UserFieldsFragmentDoc,E as UserKind,T as VersionKind,S as WebhookEventType,A as WorkspaceKind,P as WorkspaceSubscriberKind,L as WorkspacesOrderBy,ne as getSdk}; | ||
import e from"graphql-tag";import{GraphQLClient as n}from"graphql-request";var t,i,r,o,a,u,l,s,d,c,m,_,p,g,f,h,I,b,v,O,N,$,y,D,C,E,T,S,A,P,L,R=function(){return R=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},R.apply(this,arguments)};function w(e,n,t,i){return new(t||(t=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function u(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(a,u)}l((i=i.apply(e,n||[])).next())}))}function M(e,n){var t,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(l){return function(u){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(t=1,i&&(r=2&u[0]?i.return:u[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,u[1])).done)return r;switch(i=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,i=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){a.label=u[1];break}if(6===u[0]&&a.label<r[1]){a.label=r[1],r=u;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(u);break}r[2]&&a.ops.pop(),a.trys.pop();continue}u=n.call(e,a)}catch(e){u=[6,e],i=0}finally{t=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,l])}}}function q(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}"function"==typeof SuppressedError&&SuppressedError,function(e){e.All="all",e.Columns="columns",e.Gallery="gallery"}(t||(t={})),function(e){e.Communication="communication",e.Description="description",e.Name="name"}(i||(i={})),function(e){e.Private="private",e.Public="public",e.Share="share"}(r||(r={})),function(e){e.Board="board",e.CustomObject="custom_object",e.Document="document",e.SubItemsBoard="sub_items_board"}(o||(o={})),function(e){e.Owner="owner",e.Subscriber="subscriber"}(a||(a={})),function(e){e.CreatedAt="created_at",e.UsedAt="used_at"}(u||(u={})),function(e){e.Description="description",e.Title="title"}(l||(l={})),function(e){e.AutoNumber="auto_number",e.BoardRelation="board_relation",e.Button="button",e.Checkbox="checkbox",e.ColorPicker="color_picker",e.Country="country",e.CreationLog="creation_log",e.Date="date",e.Dependency="dependency",e.Doc="doc",e.Dropdown="dropdown",e.Email="email",e.File="file",e.Formula="formula",e.Group="group",e.Hour="hour",e.Integration="integration",e.ItemAssignees="item_assignees",e.ItemId="item_id",e.LastUpdated="last_updated",e.Link="link",e.Location="location",e.LongText="long_text",e.Mirror="mirror",e.Name="name",e.Numbers="numbers",e.People="people",e.Person="person",e.Phone="phone",e.Progress="progress",e.Rating="rating",e.Status="status",e.Subtasks="subtasks",e.Tags="tags",e.Team="team",e.Text="text",e.TimeTracking="time_tracking",e.Timeline="timeline",e.Unsupported="unsupported",e.Vote="vote",e.Week="week",e.WorldClock="world_clock"}(s||(s={})),function(e){e.BulletedList="bulleted_list",e.CheckList="check_list",e.Code="code",e.Divider="divider",e.Image="image",e.LargeTitle="large_title",e.Layout="layout",e.MediumTitle="medium_title",e.NormalText="normal_text",e.NoticeBox="notice_box",e.NumberedList="numbered_list",e.Quote="quote",e.SmallTitle="small_title",e.Table="table",e.Video="video"}(d||(d={})),function(e){e.CreatedAt="created_at",e.UsedAt="used_at"}(c||(c={})),function(e){e.DuplicateBoardWithPulses="duplicate_board_with_pulses",e.DuplicateBoardWithPulsesAndUpdates="duplicate_board_with_pulses_and_updates",e.DuplicateBoardWithStructure="duplicate_board_with_structure"}(m||(m={})),function(e){e.Box="box",e.Dropbox="dropbox",e.GoogleDrive="google_drive",e.Link="link",e.Onedrive="onedrive"}(_||(_={})),function(e){e.Monday="monday",e.Sunday="sunday"}(p||(p={})),function(e){e.Aquamarine="AQUAMARINE",e.BrightBlue="BRIGHT_BLUE",e.BrightGreen="BRIGHT_GREEN",e.ChiliBlue="CHILI_BLUE",e.DarkOrange="DARK_ORANGE",e.DarkPurple="DARK_PURPLE",e.DarkRed="DARK_RED",e.DoneGreen="DONE_GREEN",e.Indigo="INDIGO",e.Lipstick="LIPSTICK",e.Null="NULL",e.Purple="PURPLE",e.SofiaPink="SOFIA_PINK",e.StuckRed="STUCK_RED",e.Sunset="SUNSET",e.WorkingOrange="WORKING_ORANGE"}(g||(g={})),function(e){e.Folder="FOLDER",e.Morebelow="MOREBELOW",e.Morebelowfilled="MOREBELOWFILLED",e.Null="NULL",e.Work="WORK"}(f||(f={})),function(e){e.FontWeightBold="FONT_WEIGHT_BOLD",e.FontWeightLight="FONT_WEIGHT_LIGHT",e.FontWeightNormal="FONT_WEIGHT_NORMAL",e.FontWeightVeryLight="FONT_WEIGHT_VERY_LIGHT",e.Null="NULL"}(h||(h={})),function(e){e.Color="color",e.Position="position",e.RelativePositionAfter="relative_position_after",e.RelativePositionBefore="relative_position_before",e.Title="title"}(I||(I={})),function(e){e.Asc="asc",e.Desc="desc"}(b||(b={})),function(e){e.And="and",e.Or="or"}(v||(v={})),function(e){e.AnyOf="any_of",e.Between="between",e.ContainsTerms="contains_terms",e.ContainsText="contains_text",e.EndsWith="ends_with",e.GreaterThan="greater_than",e.GreaterThanOrEquals="greater_than_or_equals",e.IsEmpty="is_empty",e.IsNotEmpty="is_not_empty",e.LowerThan="lower_than",e.LowerThanOrEqual="lower_than_or_equal",e.NotAnyOf="not_any_of",e.NotContainsText="not_contains_text",e.StartsWith="starts_with",e.WithinTheLast="within_the_last",e.WithinTheNext="within_the_next"}(O||(O={})),function(e){e.Person="person",e.Team="team"}(N||(N={})),function(e){e.Post="Post",e.Project="Project"}($||($={})),function(e){e.Left="left",e.Right="right"}(y||(y={})),function(e){e.AfterAt="after_at",e.BeforeAt="before_at"}(D||(D={})),function(e){e.Active="active",e.All="all",e.Archived="archived",e.Deleted="deleted"}(C||(C={})),function(e){e.All="all",e.Guests="guests",e.NonGuests="non_guests",e.NonPending="non_pending"}(E||(E={})),function(e){e.Current="current",e.Deprecated="deprecated",e.Dev="dev",e.Maintenance="maintenance",e.OldPreviousMaintenance="old_previous_maintenance",e.PreviousMaintenance="previous_maintenance",e.ReleaseCandidate="release_candidate"}(T||(T={})),function(e){e.ChangeColumnValue="change_column_value",e.ChangeName="change_name",e.ChangeSpecificColumnValue="change_specific_column_value",e.ChangeStatusColumnValue="change_status_column_value",e.ChangeSubitemColumnValue="change_subitem_column_value",e.ChangeSubitemName="change_subitem_name",e.CreateColumn="create_column",e.CreateItem="create_item",e.CreateSubitem="create_subitem",e.CreateSubitemUpdate="create_subitem_update",e.CreateUpdate="create_update",e.DeleteUpdate="delete_update",e.EditUpdate="edit_update",e.ItemArchived="item_archived",e.ItemDeleted="item_deleted",e.ItemMovedToAnyGroup="item_moved_to_any_group",e.ItemMovedToSpecificGroup="item_moved_to_specific_group",e.ItemRestored="item_restored",e.MoveSubitem="move_subitem",e.SubitemArchived="subitem_archived",e.SubitemDeleted="subitem_deleted"}(S||(S={})),function(e){e.Closed="closed",e.Open="open"}(A||(A={})),function(e){e.Owner="owner",e.Subscriber="subscriber"}(P||(P={})),function(e){e.CreatedAt="created_at"}(L||(L={}));var V,B,k,G,U,x,F,W,H,j=e(V||(V=q(["\n fragment UserFields on User {\n id\n name\n email\n }\n"],["\n fragment UserFields on User {\n id\n name\n email\n }\n"]))),K=e(B||(B=q(["\n query getMeOp {\n me {\n ...UserFields\n }\n }\n ","\n"],["\n query getMeOp {\n me {\n ...UserFields\n }\n }\n ","\n"])),j),J=e(k||(k=q(["\n mutation changeSimpleColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: String!) {\n change_simple_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"],["\n mutation changeSimpleColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: String!) {\n change_simple_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"]))),Y=e(G||(G=q(["\n mutation changeColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: JSON!) {\n change_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"],["\n mutation changeColumnValueOp($boardId: ID!, $itemId: ID!, $columnId: String!, $value: JSON!) {\n change_column_value(board_id: $boardId, item_id: $itemId, column_id: $columnId, value: $value) {\n id\n }\n }\n"]))),z=e(U||(U=q(["\n mutation createItemOp($boardId: ID!, $groupId: String!, $itemName: String!) {\n create_item(board_id: $boardId, group_id: $groupId, item_name: $itemName) {\n id\n name\n }\n }\n"],["\n mutation createItemOp($boardId: ID!, $groupId: String!, $itemName: String!) {\n create_item(board_id: $boardId, group_id: $groupId, item_name: $itemName) {\n id\n name\n }\n }\n"]))),Q=e(x||(x=q(["\n mutation changeMultipleColumnValuesOp($boardId: ID!, $itemId: ID!, $columnValues: JSON!) {\n change_multiple_column_values(board_id: $boardId, item_id: $itemId, column_values: $columnValues) {\n id\n name\n column_values {\n id\n value\n }\n }\n }\n"],["\n mutation changeMultipleColumnValuesOp($boardId: ID!, $itemId: ID!, $columnValues: JSON!) {\n change_multiple_column_values(board_id: $boardId, item_id: $itemId, column_values: $columnValues) {\n id\n name\n column_values {\n id\n value\n }\n }\n }\n"]))),X=e(F||(F=q(["\n query getBoardItemsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n items_page {\n items {\n id\n name\n column_values {\n id\n type\n value\n }\n }\n }\n }\n }\n"],["\n query getBoardItemsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n items_page {\n items {\n id\n name\n column_values {\n id\n type\n value\n }\n }\n }\n }\n }\n"]))),Z=e(W||(W=q(["\n query getBoardGroupsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n groups {\n id\n title\n }\n }\n }\n"],["\n query getBoardGroupsOp($ids: [ID!]!) {\n boards(ids: $ids) {\n groups {\n id\n title\n }\n }\n }\n"]))),ee=function(e,n,t,i){return e()};function ne(e,n){return void 0===n&&(n=ee),{getMeOp:function(t,i){return n((function(n){return e.request(K,t,R(R({},i),n))}),"getMeOp","query",t)},changeSimpleColumnValueOp:function(t,i){return n((function(n){return e.request(J,t,R(R({},i),n))}),"changeSimpleColumnValueOp","mutation",t)},changeColumnValueOp:function(t,i){return n((function(n){return e.request(Y,t,R(R({},i),n))}),"changeColumnValueOp","mutation",t)},createItemOp:function(t,i){return n((function(n){return e.request(z,t,R(R({},i),n))}),"createItemOp","mutation",t)},changeMultipleColumnValuesOp:function(t,i){return n((function(n){return e.request(Q,t,R(R({},i),n))}),"changeMultipleColumnValuesOp","mutation",t)},getBoardItemsOp:function(t,i){return n((function(n){return e.request(X,t,R(R({},i),n))}),"getBoardItemsOp","query",t)},getBoardGroupsOp:function(t,i){return n((function(n){return e.request(Z,t,R(R({},i),n))}),"getBoardGroupsOp","query",t)}}}!function(e){e.DEPRECATED="deprecated",e.MAINTENANCE="maintenance",e.CURRENT="current",e.RELEASE_CANDIDATE="release_candidate",e.DEV="dev",e.CURRENT_VERSION="2024-07"}(H||(H={}));var te="https://api.monday.com/v2",ie=H.CURRENT_VERSION,re="4.0.5",oe=function(e,t){void 0===t&&(t=ie);var i=this;this.query=function(e,n){return w(i,void 0,void 0,(function(){return M(this,(function(t){switch(t.label){case 0:return[4,this.client.request(e,n)];case 1:return[2,t.sent()]}}))}))},this.apiVersion=t;var r=function(){if(process.env.MONDAY_API_ENDPOINT)return process.env.MONDAY_API_ENDPOINT;var e=process.env.PLATFORM_API;if(e)try{var n=JSON.parse(e);if(n.PLATFORM_API_ENDPOINT)return n.PLATFORM_API_ENDPOINT}catch(e){console.error("Failed to parse PLATFORM_API secret",e)}return te}();this.client=new n(r,{headers:{"Content-Type":"application/json",Authorization:e,"API-Version":this.apiVersion,"Api-Sdk-Version":re}}),this.operations=ne(this.client)},ae=function(){function e(e){void 0===e&&(e=ie),this.listeners={},this.generateRequestId=function(){return Math.random().toString(36).substring(2,9)},this.apiVersion=e,window.addEventListener("message",this.receiveMessage.bind(this),!1)}return e.prototype.query=function(e,n,t,i){var r=this;return void 0===i&&(i=6e4),new Promise((function(o,a){var u=r.generateRequestId(),l={query:e,variables:n},s=t||r.apiVersion;window.parent.postMessage({method:"api",args:{params:l,apiVersion:s},requestId:u},"*");var d=setTimeout((function(){a(new Error("Request timed out"))}),i),c=r.addListener(u,(function(e){clearTimeout(d),c(),e.errorMessage?a(new Error("".concat(e.errorMessage," - ").concat(e.data))):o(e)}))}))},e.prototype.addListener=function(e,n){var t=this,i=this.listeners[e]||new Set;return i.add(n),this.listeners[e]=i,function(){i.delete(n),0===i.size&&delete t.listeners[e]}},e.prototype.receiveMessage=function(e){var n=e.data.requestId,t=this.listeners[n];t&&t.forEach((function(n){return n(e.data)}))},e}();export{oe as ApiClient,t as AssetsSource,H as AvailableVersions,i as BoardAttributes,r as BoardKind,o as BoardObjectType,a as BoardSubscriberKind,u as BoardsOrderBy,Y as ChangeColumnValueOpDocument,Q as ChangeMultipleColumnValuesOpDocument,J as ChangeSimpleColumnValueOpDocument,l as ColumnProperty,s as ColumnType,z as CreateItemOpDocument,ie as DEFAULT_VERSION,d as DocBlockContentType,c as DocsOrderBy,m as DuplicateBoardType,_ as FileLinkValueKind,p as FirstDayOfTheWeek,g as FolderColor,f as FolderCustomIcon,h as FolderFontWeight,Z as GetBoardGroupsOpDocument,X as GetBoardItemsOpDocument,K as GetMeOpDocument,I as GroupAttributes,b as ItemsOrderByDirection,v as ItemsQueryOperator,O as ItemsQueryRuleOperator,N as Kind,te as MONDAY_API_ENDPOINT,$ as NotificationTargetType,y as NumberValueUnitDirection,D as PositionRelative,ae as SeamlessApiClient,C as State,j as UserFieldsFragmentDoc,E as UserKind,T as VersionKind,S as WebhookEventType,A as WorkspaceKind,P as WorkspaceSubscriberKind,L as WorkspacesOrderBy,ne as getSdk}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@mondaydotcomorg/api", | ||
"version": "4.0.4-rc.1", | ||
"version": "4.0.4", | ||
"description": "monday.com API client", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3
827926