@base44-preview/sdk 0.8.20-pr.136.e0d0374 → 0.8.20-pr.136.ee4a41b

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.
@@ -48,9 +48,12 @@ export interface ConnectorConnectionResponse {
48
48
  *
49
49
  * | Service | Type identifier |
50
50
  * |---|---|
51
+ * | Box | `box` |
52
+ * | ClickUp | `clickup` |
51
53
  * | Discord | `discord` |
52
54
  * | GitHub | `github` |
53
55
  * | Gmail | `gmail` |
56
+ * | Google Analytics | `google_analytics` |
54
57
  * | Google BigQuery | `googlebigquery` |
55
58
  * | Google Calendar | `googlecalendar` |
56
59
  * | Google Docs | `googledocs` |
@@ -64,6 +67,7 @@ export interface ConnectorConnectionResponse {
64
67
  * | Slack User | `slack` |
65
68
  * | Slack Bot | `slackbot` |
66
69
  * | TikTok | `tiktok` |
70
+ * | Wrike | `wrike` |
67
71
  *
68
72
  * See the integration guides for more details:
69
73
  *
@@ -149,17 +153,15 @@ export interface ConnectorsModule {
149
153
  */
150
154
  getAccessToken(integrationType: ConnectorIntegrationType): Promise<string>;
151
155
  /**
152
- * Retrieves the OAuth access token and connection configuration for a specific external integration type.
156
+ * Retrieves the OAuth access token and connection configuration for a specific [external integration type](#available-connectors).
153
157
  *
154
- * Returns both the OAuth token and any additional connection configuration
155
- * that the connector provides. Some connectors require connection-specific
156
- * parameters to build API requests. For example, a service might need a
157
- * subdomain to construct the API URL (`{subdomain}.example.com`), which
158
- * is available in `connectionConfig`. Most connectors only need the
159
- * `accessToken`; `connectionConfig` will be `null` when there are no
160
- * extra parameters.
158
+ * Some connectors require connection-specific parameters to build API calls.
159
+ * In such cases, the returned `connectionConfig` is an object with the additional parameters. If there are no extra parameters needed for the connection, the `connectionConfig` is `null`.
161
160
  *
162
- * @param integrationType - The type of integration, such as `'googlecalendar'`, `'slack'`, or `'github'`.
161
+ * For example, a service might need a subdomain to construct the API URL in
162
+ * the form of `{subdomain}.example.com`. In such a case the subdomain will be available as a property of the `connectionConfig` object.
163
+ *
164
+ * @param integrationType - The type of integration, such as `'googlecalendar'`, `'slack'`, `'slackbot'`, `'github'`, or `'discord'`. See [Available connectors](#available-connectors) for the full list.
163
165
  * @returns Promise resolving to a {@link ConnectorConnectionResponse} with `accessToken` and `connectionConfig`.
164
166
  *
165
167
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/sdk",
3
- "version": "0.8.20-pr.136.e0d0374",
3
+ "version": "0.8.20-pr.136.ee4a41b",
4
4
  "description": "JavaScript SDK for Base44 API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",