@squidcloud/google-calendar-client 1.0.484 → 1.0.486
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +2 -2
- /package/dist/{common → connectors/google_calendar/common}/src/google-calendar-types.d.ts +0 -0
- /package/dist/{googlecalendar-client → connectors/google_calendar/googlecalendar-client}/src/google-calendar-client.d.ts +0 -0
- /package/dist/{googlecalendar-client → connectors/google_calendar/googlecalendar-client}/src/index.d.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";
|
|
1
|
+
(()=>{"use strict";const e={d:(t,r)=>{if(Array.isArray(r))for(var n=0;n<r.length;){var a=r[n++],i=r[n++];e.o(t,a)?0===i&&n++:0===i?Object.defineProperty(t,a,{enumerable:!0,value:r[n++]}):Object.defineProperty(t,a,{enumerable:!0,get:i})}else for(var a in r)e.o(r,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:r[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}};let t={};e.r(t),e.d(t,{GOOGLE_CALENDAR_SCOPES:()=>r,SquidGoogleCalendarClient:()=>n});const r=["openid","email","https://www.googleapis.com/auth/calendar.events"];class n{static{this.SCOPES=r}constructor(e,t){this.squid=e,this.integrationId=t}async saveAuthCode(e,t){return await this.squid.externalAuth(this.integrationId).saveAuthCode(e,t)}async getCalendarEvents(e){const t={...e,integrationId:this.integrationId};return await this.squid.executeFunction("getCalendarEvents",t)}async upsertCalendarEvent(e){const t={...e,integrationId:this.integrationId};return await this.squid.executeFunction("upsertCalendarEvent",t)}}const a=exports;for(var i in t)a[i]=t[i];t.__esModule&&Object.defineProperty(a,"__esModule",{value:!0})})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squidcloud/google-calendar-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.486",
|
|
4
4
|
"description": "Squid Google Calendar Client",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/client/src/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"assertic": "^1.3.0",
|
|
21
21
|
"lodash": "^4.18.1",
|
|
22
|
-
"@squidcloud/client": "^1.0.
|
|
22
|
+
"@squidcloud/client": "^1.0.486"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=20.0.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|