@base44-preview/sdk 0.8.17-pr.70.19d8c0f → 0.8.17-pr.70.d92fc2a

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.
@@ -84,16 +84,16 @@ export interface CustomIntegrationsModule {
84
84
  /**
85
85
  * Call a custom integration endpoint.
86
86
  *
87
- * @param slug - The integration's unique identifier (slug), as defined by the workspace admin.
88
- * @param endpoint - The endpoint in `method:path` format (e.g., `"get:/contacts"`, `"post:/users/{id}"`). The method is the HTTP verb (lowercase) and the path matches the OpenAPI specification.
87
+ * @param slug - The integration's unique identifier, as defined by the workspace admin.
88
+ * @param operationId - The endpoint in `method:path` format. For example, `"get:/contacts"`, or `"post:/users/{id}"`. The method is the HTTP verb in lowercase and the path matches the OpenAPI specification.
89
89
  * @param params - Optional parameters including payload, pathParams, and queryParams.
90
90
  * @returns Promise resolving to the integration call response.
91
91
  *
92
92
  * @throws {Error} If slug is not provided.
93
- * @throws {Error} If endpoint is not provided.
94
- * @throws {Base44Error} If the integration or endpoint is not found (404).
93
+ * @throws {Error} If operationId is not provided.
94
+ * @throws {Base44Error} If the integration or operation is not found (404).
95
95
  * @throws {Base44Error} If the external API call fails (502).
96
96
  * @throws {Base44Error} If the request times out (504).
97
97
  */
98
- call(slug: string, endpoint: string, params?: CustomIntegrationCallParams): Promise<CustomIntegrationCallResponse>;
98
+ call(slug: string, operationId: string, params?: CustomIntegrationCallParams): Promise<CustomIntegrationCallResponse>;
99
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/sdk",
3
- "version": "0.8.17-pr.70.19d8c0f",
3
+ "version": "0.8.17-pr.70.d92fc2a",
4
4
  "description": "JavaScript SDK for Base44 API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",