@hostwebhook/platform-contracts 0.16.0 → 0.18.0
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.
|
@@ -106,7 +106,7 @@ export interface DescripcionDeCredencial {
|
|
|
106
106
|
* registro es forense, no un índice: se prefiere que de hoy en adelante diga
|
|
107
107
|
* una sola cosa.
|
|
108
108
|
*/
|
|
109
|
-
export type TipoDeEntidad = 'trigger' | 'webhook' | 'aiNode' | 'socialMediaAction' | 'socialPost' | 'calendarAction' | 'docsAction' | 'driveAction' | 'sheetsAction' | 'emailAction' | 'gmailAction' | 'approvalNode' | 'telegramAction' | 'whatsappAction' | 'discordAction' | 'slackAction' | 'mongoAction' | 'postgresAction' | 'httpAction' | 'githubAction' | 'notionAction' | 'jiraAction' | 'bucketAction' | 'shopifyAction' | 'mailchimpAction' | 'firecrawlAction' | 'notificationAction' | 'googleAnalyticsAction' | 'googleContactsAction' | 'vectorStore' | 'voiceAgent';
|
|
109
|
+
export type TipoDeEntidad = 'trigger' | 'webhook' | 'aiNode' | 'socialMediaAction' | 'socialPost' | 'calendarAction' | 'docsAction' | 'driveAction' | 'sheetsAction' | 'emailAction' | 'gmailAction' | 'approvalNode' | 'telegramAction' | 'whatsappAction' | 'discordAction' | 'slackAction' | 'mongoAction' | 'postgresAction' | 'httpAction' | 'githubAction' | 'notionAction' | 'jiraAction' | 'bucketAction' | 'apifyAction' | 'calendlyAction' | 'airtableAction' | 'shopifyAction' | 'mailchimpAction' | 'firecrawlAction' | 'notificationAction' | 'googleAnalyticsAction' | 'googleContactsAction' | 'vectorStore' | 'voiceAgent';
|
|
110
110
|
/**
|
|
111
111
|
* Por qué esta lectura NO se puede comprobar contra el documento de hoy.
|
|
112
112
|
*
|
|
@@ -361,8 +361,16 @@ export interface DiscordChannelSummary {
|
|
|
361
361
|
* ⚠️ Distinto de `ProveedorConRefresco`: allí el llamante YA tiene un token y
|
|
362
362
|
* pide su sustituto; aquí no tiene ninguno y pide uno vivo. Son dos verbos
|
|
363
363
|
* distintos y por eso son dos uniones y dos métodos.
|
|
364
|
+
*
|
|
365
|
+
* [2026-09-15] Calendly y Airtable entran aquí y no en `ProveedorConRefresco`
|
|
366
|
+
* porque sus access tokens caducan con reloj (2 h y 60 min) y la respuesta
|
|
367
|
+
* del token endpoint lo dice (`expires_in`): se refrescan ANTES de que un
|
|
368
|
+
* nodo reciba el 401, como Slack y Atlassian. Y los dos rotan el refresh
|
|
369
|
+
* token en cada uso —Calendly de un solo uso desde el 31 de agosto de 2026—,
|
|
370
|
+
* así que el refresco tiene que ser uno solo por credencial: el candado vive
|
|
371
|
+
* en el gateway, con el secreto.
|
|
364
372
|
*/
|
|
365
|
-
export type ProveedorConToken = 'slack' | 'atlassian';
|
|
373
|
+
export type ProveedorConToken = 'slack' | 'atlassian' | 'calendly' | 'airtable';
|
|
366
374
|
export type ProveedorConRefresco = 'notion' | 'shopify';
|
|
367
375
|
export interface CredencialesDelGateway {
|
|
368
376
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hostwebhook/platform-contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Contratos compartidos entre los servicios de HostWebhook: addons del plan, identidad interna, y las formas que cruzan una frontera de red",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|