@outlit/tools 2.2.0 → 2.2.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/index.d.cts CHANGED
@@ -10156,14 +10156,14 @@ declare const apiKeyValidationFailureSchema: {
10156
10156
  readonly required: readonly ["valid", "error"];
10157
10157
  readonly additionalProperties: false;
10158
10158
  };
10159
- declare const toolGatewayErrorCodes: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_RESULT_TOO_LARGE", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
10159
+ declare const toolGatewayErrorCodes: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_RESOURCE_NOT_FOUND", "TOOL_RESULT_TOO_LARGE", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
10160
10160
  declare const toolGatewayErrorSchema: {
10161
10161
  readonly $schema: "https://json-schema.org/draft/2020-12/schema";
10162
10162
  readonly type: "object";
10163
10163
  readonly properties: {
10164
10164
  readonly code: {
10165
10165
  readonly type: "string";
10166
- readonly enum: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_RESULT_TOO_LARGE", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
10166
+ readonly enum: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_RESOURCE_NOT_FOUND", "TOOL_RESULT_TOO_LARGE", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
10167
10167
  };
10168
10168
  readonly message: {
10169
10169
  readonly type: "string";
@@ -10924,7 +10924,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
10924
10924
  declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
10925
10925
  declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
10926
10926
  declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
10927
- declare const sdkConsumerContractHash: "b2bc7e86d4e524f2799b4b676f6ee94c2f8184d572771ed51311f79139a261d5";
10927
+ declare const sdkConsumerContractHash: "5d54d7fe65dbe72e7dbc662e95f8b8aa3dbc146a37fa01d79aafa38e3ca380fb";
10928
10928
 
10929
10929
  type JsonSchema = Readonly<Record<string, unknown>>;
10930
10930
  type PublicToolName = (typeof publicToolNames)[number];
package/dist/index.d.ts CHANGED
@@ -10156,14 +10156,14 @@ declare const apiKeyValidationFailureSchema: {
10156
10156
  readonly required: readonly ["valid", "error"];
10157
10157
  readonly additionalProperties: false;
10158
10158
  };
10159
- declare const toolGatewayErrorCodes: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_RESULT_TOO_LARGE", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
10159
+ declare const toolGatewayErrorCodes: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_RESOURCE_NOT_FOUND", "TOOL_RESULT_TOO_LARGE", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
10160
10160
  declare const toolGatewayErrorSchema: {
10161
10161
  readonly $schema: "https://json-schema.org/draft/2020-12/schema";
10162
10162
  readonly type: "object";
10163
10163
  readonly properties: {
10164
10164
  readonly code: {
10165
10165
  readonly type: "string";
10166
- readonly enum: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_RESULT_TOO_LARGE", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
10166
+ readonly enum: readonly ["INVALID_JSON", "INVALID_TOOL_CALL", "INVALID_TOOL_INPUT", "INVALID_CREDENTIALS", "TOOL_CALL_FORBIDDEN", "TOOL_BINDING_MISSING", "TOOL_IMPLEMENTATION_ERROR", "TOOL_OUTPUT_INVALID", "TOOL_RESOURCE_NOT_FOUND", "TOOL_RESULT_TOO_LARGE", "TOOL_GATEWAY_ERROR", "plan_api_limit_exceeded", "plan_billing_action_required"];
10167
10167
  };
10168
10168
  readonly message: {
10169
10169
  readonly type: "string";
@@ -10924,7 +10924,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
10924
10924
  declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
10925
10925
  declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
10926
10926
  declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
10927
- declare const sdkConsumerContractHash: "b2bc7e86d4e524f2799b4b676f6ee94c2f8184d572771ed51311f79139a261d5";
10927
+ declare const sdkConsumerContractHash: "5d54d7fe65dbe72e7dbc662e95f8b8aa3dbc146a37fa01d79aafa38e3ca380fb";
10928
10928
 
10929
10929
  type JsonSchema = Readonly<Record<string, unknown>>;
10930
10930
  type PublicToolName = (typeof publicToolNames)[number];
package/dist/index.js CHANGED
@@ -14045,6 +14045,7 @@ var toolGatewayErrorCodes = [
14045
14045
  "TOOL_BINDING_MISSING",
14046
14046
  "TOOL_IMPLEMENTATION_ERROR",
14047
14047
  "TOOL_OUTPUT_INVALID",
14048
+ "TOOL_RESOURCE_NOT_FOUND",
14048
14049
  "TOOL_RESULT_TOO_LARGE",
14049
14050
  "TOOL_GATEWAY_ERROR",
14050
14051
  "plan_api_limit_exceeded",
@@ -14065,6 +14066,7 @@ var toolGatewayErrorSchema = {
14065
14066
  "TOOL_BINDING_MISSING",
14066
14067
  "TOOL_IMPLEMENTATION_ERROR",
14067
14068
  "TOOL_OUTPUT_INVALID",
14069
+ "TOOL_RESOURCE_NOT_FOUND",
14068
14070
  "TOOL_RESULT_TOO_LARGE",
14069
14071
  "TOOL_GATEWAY_ERROR",
14070
14072
  "plan_api_limit_exceeded",
@@ -15081,7 +15083,7 @@ var schemaTables = [
15081
15083
  "users",
15082
15084
  "revenue"
15083
15085
  ];
15084
- var sdkConsumerContractHash = "b2bc7e86d4e524f2799b4b676f6ee94c2f8184d572771ed51311f79139a261d5";
15086
+ var sdkConsumerContractHash = "5d54d7fe65dbe72e7dbc662e95f8b8aa3dbc146a37fa01d79aafa38e3ca380fb";
15085
15087
 
15086
15088
  // src/contracts.ts
15087
15089
  var publicToolNameSet = new Set(publicToolNames);