@utcp/http 1.0.13 → 1.1.0

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.cjs CHANGED
@@ -4105,7 +4105,8 @@ var HttpCallTemplateSchema = external_exports.object({
4105
4105
  return new import_sdk.AuthSerializer().validateDict(val);
4106
4106
  }
4107
4107
  return val;
4108
- }).describe("Authentication configuration for generated tools")
4108
+ }).describe("Authentication configuration for generated tools"),
4109
+ allowed_communication_protocols: external_exports.array(external_exports.string()).optional().describe("Optional list of allowed communication protocol types for tools within this manual.")
4109
4110
  });
4110
4111
  var HttpCallTemplateSerializer = class extends import_sdk2.Serializer {
4111
4112
  toDict(obj) {
@@ -4119,7 +4120,8 @@ var HttpCallTemplateSerializer = class extends import_sdk2.Serializer {
4119
4120
  auth_tools: obj.auth_tools ? new import_sdk.AuthSerializer().toDict(obj.auth_tools) : null,
4120
4121
  headers: obj.headers,
4121
4122
  body_field: obj.body_field,
4122
- header_fields: obj.header_fields
4123
+ header_fields: obj.header_fields,
4124
+ allowed_communication_protocols: obj.allowed_communication_protocols
4123
4125
  };
4124
4126
  }
4125
4127
  validateDict(obj) {
@@ -4146,7 +4148,8 @@ var StreamableHttpCallTemplateSchema = external_exports.object({
4146
4148
  auth: import_sdk3.AuthSchema.optional().describe("Optional authentication configuration."),
4147
4149
  headers: external_exports.record(external_exports.string(), external_exports.string()).optional().describe("Optional static headers to include in requests."),
4148
4150
  body_field: external_exports.string().nullable().optional().describe("The name of the single input field to be sent as the request body."),
4149
- header_fields: external_exports.array(external_exports.string()).nullable().optional().describe("List of input fields to be sent as request headers.")
4151
+ header_fields: external_exports.array(external_exports.string()).nullable().optional().describe("List of input fields to be sent as request headers."),
4152
+ allowed_communication_protocols: external_exports.array(external_exports.string()).optional().describe("Optional list of allowed communication protocol types for tools within this manual.")
4150
4153
  });
4151
4154
  var StreamableHttpCallTemplateSerializer = class extends import_sdk4.Serializer {
4152
4155
  /**
@@ -4165,7 +4168,8 @@ var StreamableHttpCallTemplateSerializer = class extends import_sdk4.Serializer
4165
4168
  auth: obj.auth,
4166
4169
  headers: obj.headers,
4167
4170
  body_field: obj.body_field,
4168
- header_fields: obj.header_fields
4171
+ header_fields: obj.header_fields,
4172
+ allowed_communication_protocols: obj.allowed_communication_protocols
4169
4173
  };
4170
4174
  }
4171
4175
  /**
@@ -4195,7 +4199,8 @@ var SseCallTemplateSchema = external_exports.object({
4195
4199
  auth: import_sdk5.AuthSchema.optional().describe("Optional authentication configuration."),
4196
4200
  headers: external_exports.record(external_exports.string(), external_exports.string()).optional().describe("Optional static headers for the initial connection."),
4197
4201
  body_field: external_exports.string().nullable().optional().describe("The name of the single input field to be sent as the request body."),
4198
- header_fields: external_exports.array(external_exports.string()).nullable().optional().describe("List of input fields to be sent as request headers for the initial connection.")
4202
+ header_fields: external_exports.array(external_exports.string()).nullable().optional().describe("List of input fields to be sent as request headers for the initial connection."),
4203
+ allowed_communication_protocols: external_exports.array(external_exports.string()).optional().describe("Optional list of allowed communication protocol types for tools within this manual.")
4199
4204
  });
4200
4205
  var SseCallTemplateSerializer = class extends import_sdk6.Serializer {
4201
4206
  /**
@@ -4213,7 +4218,8 @@ var SseCallTemplateSerializer = class extends import_sdk6.Serializer {
4213
4218
  auth: obj.auth,
4214
4219
  headers: obj.headers,
4215
4220
  body_field: obj.body_field,
4216
- header_fields: obj.header_fields
4221
+ header_fields: obj.header_fields,
4222
+ allowed_communication_protocols: obj.allowed_communication_protocols
4217
4223
  };
4218
4224
  }
4219
4225
  /**