@membranehq/sdk 0.26.0 → 0.26.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.
@@ -4597,6 +4597,9 @@ const CONNECTOR_EVENTS_DIR = 'events';
4597
4597
  function getEffectiveConnectorOption(connector, optionKey) {
4598
4598
  var _a, _b, _c, _d, _e, _f, _g, _h;
4599
4599
  const option = (_a = connector.options) === null || _a === void 0 ? void 0 : _a[optionKey];
4600
+ if (!option) {
4601
+ throw new BadRequestError(`Connector doesn't have auth option ${optionKey}`);
4602
+ }
4600
4603
  const connectorInputSchema = (_b = connector.inputSchema) !== null && _b !== void 0 ? _b : (_c = connector.ui) === null || _c === void 0 ? void 0 : _c.schema;
4601
4604
  const optionInputSchema = (_d = option === null || option === void 0 ? void 0 : option.inputSchema) !== null && _d !== void 0 ? _d : (_e = option === null || option === void 0 ? void 0 : option.ui) === null || _e === void 0 ? void 0 : _e.schema;
4602
4605
  return {
@@ -12861,6 +12864,7 @@ var UsageType;
12861
12864
  UsageType["CUSTOM_CODE_RUNTIME_DURATION"] = "custom-code-runtime-duration";
12862
12865
  UsageType["INSTANT_TASKS_DURATION"] = "instant-tasks-duration";
12863
12866
  UsageType["MEMBRANE_AGENT"] = "membrane-agent";
12867
+ UsageType["AI_GATEWAY"] = "ai-gateway";
12864
12868
  })(UsageType || (UsageType = {}));
12865
12869
 
12866
12870
  function getNodeInputSchema(flow, nodeKey) {