@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.
@@ -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, options) {
3970
- const screenPath = (options === null || options === void 0 ? void 0 : options.prompt) ? AGENTIC_CONNECTION_REQUEST_SCREEN_PATH : CONNECTION_REQUEST_SCREEN_PATH;
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';