@hiver/connector-admin 4.22.0-appsActivation-beta.0 → 4.22.0-appsActivation-beta.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiver/connector-admin",
3
- "version": "4.22.0-appsActivation-beta.0",
3
+ "version": "4.22.0-appsActivation-beta.1",
4
4
  "main": "index.es.js",
5
5
  "module": "index.es.js",
6
6
  "types": "index.d.ts",
@@ -18,6 +18,13 @@ import { AppControllerHook } from './schema';
18
18
  * connector's flow.
19
19
  */
20
20
  export declare const APP_DETAIL_CONTROLLERS: Record<string, AppControllerHook>;
21
+ /**
22
+ * The apps `Setup with AI` is offered for. hiver-ai-service enforces the same list
23
+ * (`SUPPORTED_APPS`), so an app added here but not there shows a button the
24
+ * assistant refuses.
25
+ */
26
+ export declare const SETUP_WITH_AI_APPS: readonly ["clickup", "asana", "monday", "trello", "jira"];
27
+ export declare const isSetupWithAiApp: (connectorType: string) => boolean;
21
28
  export declare const resolveAppController: (connectorType: string) => AppControllerHook | null;
22
29
  export declare const isAppDetailSupported: (connectorType: string) => boolean;
23
30
  //# sourceMappingURL=registry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/registry.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAGpE,CAAC;AAEF,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,iBAAiB,GAAG,IAClC,CAAC;AAEhD,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,OAAkD,CAAC"}
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/registry.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAQpE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,2DAA4D,CAAC;AAE5F,eAAO,MAAM,gBAAgB,kBAAmB,MAAM,KAAG,OACU,CAAC;AAEpE,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,iBAAiB,GAAG,IAClC,CAAC;AAEhD,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,OAAkD,CAAC"}
@@ -30,6 +30,7 @@ export interface ConnectorsAdminFunctions {
30
30
  openCopilot?: (params: {
31
31
  app: string;
32
32
  connectorId: string;
33
+ name?: string;
33
34
  }) => void;
34
35
  }
35
36
  //# sourceMappingURL=exposedTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exposedTypes.d.ts","sourceRoot":"","sources":["../../../src/v2/types/exposedTypes.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,wBAAwB;IACvC,eAAe,EAAE,MAAM,OAAO,CAC5B;QAAE,WAAW,EAAE,UAAU,EAAE,CAAC;QAAC,YAAY,EAAE,UAAU,EAAE,CAAA;KAAE,GAAG;QAAE,WAAW,EAAE,IAAI,CAAC;QAAC,YAAY,EAAE,IAAI,CAAA;KAAE,CACtG,CAAC;IACF,QAAQ,EAAE,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