@membranehq/sdk 0.26.1 → 0.27.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/dist/bundle.js +54 -19
- package/dist/bundle.js.map +1 -1
- package/dist/dts/api-version.generated.d.ts +1 -0
- package/dist/dts/async-requests/types.d.ts +2 -1
- package/dist/dts/oauth/types.d.ts +1 -0
- package/dist/dts/webhooks/types.d.ts +3 -2
- package/dist/dts/workspace-elements/base/connection-requests/index.d.ts +1 -3
- package/dist/index.browser.d.mts +7 -6
- package/dist/index.browser.d.ts +7 -6
- package/dist/index.browser.js +5 -3
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +5 -3
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +7 -6
- package/dist/index.node.d.ts +7 -6
- package/dist/index.node.js +5 -3
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +5 -3
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.node.mjs
CHANGED
|
@@ -3966,9 +3966,8 @@ const BaseActionInstance = BaseAction;
|
|
|
3966
3966
|
const CONNECTION_REQUEST_SCREEN_PATH = 'screens/connect';
|
|
3967
3967
|
const AGENTIC_CONNECTION_REQUEST_SCREEN_PATH = 'screens/connections';
|
|
3968
3968
|
const CONNECTION_REQUEST_ID_PARAM = 'connectionRequestId';
|
|
3969
|
-
function getConnectionRequestUrl(baseUri, requestId
|
|
3970
|
-
|
|
3971
|
-
return `${baseUri}/${screenPath}?${CONNECTION_REQUEST_ID_PARAM}=${requestId}`;
|
|
3969
|
+
function getConnectionRequestUrl(baseUri, requestId) {
|
|
3970
|
+
return `${baseUri}/${AGENTIC_CONNECTION_REQUEST_SCREEN_PATH}?${CONNECTION_REQUEST_ID_PARAM}=${requestId}`;
|
|
3972
3971
|
}
|
|
3973
3972
|
const CreateConnectionRequestPayload = z.object({
|
|
3974
3973
|
integrationId: z.string().optional(),
|
|
@@ -13830,6 +13829,7 @@ var WebhookTypeEnum;
|
|
|
13830
13829
|
WebhookTypeEnum["CONNECTOR_VERSION_PUBLISHED"] = "connector-version-published";
|
|
13831
13830
|
WebhookTypeEnum["AGENT_SESSION_FINISHED"] = "agent-session-finished";
|
|
13832
13831
|
WebhookTypeEnum["SEND_ALERT_EMAIL"] = "send-alert-email";
|
|
13832
|
+
WebhookTypeEnum["PUBLIC_PACKAGE_ACTION_RUN_FAILED"] = "public-package-action-run-failed";
|
|
13833
13833
|
})(WebhookTypeEnum || (WebhookTypeEnum = {}));
|
|
13834
13834
|
|
|
13835
13835
|
const IntegrationSpecificElementSelector = z$1.object({
|
|
@@ -15835,6 +15835,7 @@ var AsyncRequestStatus;
|
|
|
15835
15835
|
AsyncRequestStatus["ACTIVE"] = "active";
|
|
15836
15836
|
AsyncRequestStatus["COMPLETED"] = "completed";
|
|
15837
15837
|
AsyncRequestStatus["FAILED"] = "failed";
|
|
15838
|
+
AsyncRequestStatus["CANCELLED"] = "cancelled";
|
|
15838
15839
|
})(AsyncRequestStatus || (AsyncRequestStatus = {}));
|
|
15839
15840
|
const AsyncRequestTriggerResponse = z.object({
|
|
15840
15841
|
jobId: z.string(),
|
|
@@ -15917,6 +15918,7 @@ const OAuthTokenResponse = z.object({
|
|
|
15917
15918
|
refresh_token: z.string().optional(),
|
|
15918
15919
|
default_workspace_key: z.string().optional(),
|
|
15919
15920
|
default_tenant_key: z.string().optional(),
|
|
15921
|
+
email: z.string().optional(),
|
|
15920
15922
|
});
|
|
15921
15923
|
|
|
15922
15924
|
const CONSOLE_ACCOUNT_API_TOKEN_PATH = 'settings/account/api-token';
|