UNPKG

@vulture916/piece-google-chat

Version:

Google Chat piece for ActivePieces - send messages to Google Chat spaces

28 lines 1.2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.googleChat = exports.googleChatAuth = void 0; const pieces_framework_1 = require("@activepieces/pieces-framework"); const shared_1 = require("@activepieces/shared"); const send_message_1 = require("./lib/actions/send-message"); exports.googleChatAuth = pieces_framework_1.PieceAuth.OAuth2({ description: 'Authentication for Google Chat API', authUrl: 'https://accounts.google.com/o/oauth2/auth', tokenUrl: 'https://oauth2.googleapis.com/token', required: true, scope: [ 'https://www.googleapis.com/auth/chat.messages', 'https://www.googleapis.com/auth/chat.spaces.readonly', ], }); exports.googleChat = (0, pieces_framework_1.createPiece)({ minimumSupportedRelease: '0.30.0', displayName: 'Google Chat', logoUrl: 'https://i.postimg.cc/xdjC6sw6/Google-Chat-icon-2023.png', authors: ['Vincent Termini & Claude 3.7'], categories: [shared_1.PieceCategory.COMMUNICATION], auth: exports.googleChatAuth, actions: [send_message_1.sendChatMessage], triggers: [], description: 'Send messages to Google Chat spaces', }); //# sourceMappingURL=index.js.map