@hookdeck/outpost-sdk 0.9.2 → 0.10.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.
Files changed (142) hide show
  1. package/bin/mcp-server.js +65 -33
  2. package/bin/mcp-server.js.map +18 -18
  3. package/dist/commonjs/funcs/attemptsList.d.ts +2 -0
  4. package/dist/commonjs/funcs/attemptsList.d.ts.map +1 -1
  5. package/dist/commonjs/funcs/attemptsList.js +3 -1
  6. package/dist/commonjs/funcs/attemptsList.js.map +1 -1
  7. package/dist/commonjs/funcs/eventsList.d.ts +2 -0
  8. package/dist/commonjs/funcs/eventsList.d.ts.map +1 -1
  9. package/dist/commonjs/funcs/eventsList.js +4 -1
  10. package/dist/commonjs/funcs/eventsList.js.map +1 -1
  11. package/dist/commonjs/funcs/publishEvent.d.ts +2 -0
  12. package/dist/commonjs/funcs/publishEvent.d.ts.map +1 -1
  13. package/dist/commonjs/funcs/publishEvent.js +3 -1
  14. package/dist/commonjs/funcs/publishEvent.js.map +1 -1
  15. package/dist/commonjs/funcs/tenantsGetPortalUrl.d.ts +2 -0
  16. package/dist/commonjs/funcs/tenantsGetPortalUrl.d.ts.map +1 -1
  17. package/dist/commonjs/funcs/tenantsGetPortalUrl.js +3 -1
  18. package/dist/commonjs/funcs/tenantsGetPortalUrl.js.map +1 -1
  19. package/dist/commonjs/funcs/tenantsGetToken.d.ts +2 -0
  20. package/dist/commonjs/funcs/tenantsGetToken.d.ts.map +1 -1
  21. package/dist/commonjs/funcs/tenantsGetToken.js +3 -1
  22. package/dist/commonjs/funcs/tenantsGetToken.js.map +1 -1
  23. package/dist/commonjs/funcs/tenantsList.d.ts +2 -0
  24. package/dist/commonjs/funcs/tenantsList.d.ts.map +1 -1
  25. package/dist/commonjs/funcs/tenantsList.js +3 -1
  26. package/dist/commonjs/funcs/tenantsList.js.map +1 -1
  27. package/dist/commonjs/lib/config.d.ts +3 -3
  28. package/dist/commonjs/lib/config.js +3 -3
  29. package/dist/commonjs/lib/config.js.map +1 -1
  30. package/dist/commonjs/lib/encodings.d.ts +1 -0
  31. package/dist/commonjs/lib/encodings.d.ts.map +1 -1
  32. package/dist/commonjs/lib/encodings.js +27 -5
  33. package/dist/commonjs/lib/encodings.js.map +1 -1
  34. package/dist/commonjs/lib/security.d.ts +1 -1
  35. package/dist/commonjs/lib/security.d.ts.map +1 -1
  36. package/dist/commonjs/lib/security.js +19 -8
  37. package/dist/commonjs/lib/security.js.map +1 -1
  38. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  39. package/dist/commonjs/mcp-server/mcp-server.js.map +1 -1
  40. package/dist/commonjs/mcp-server/server.js +1 -1
  41. package/dist/commonjs/mcp-server/server.js.map +1 -1
  42. package/dist/commonjs/mcp-server/tools/schemasGetDestinationType.d.ts +1 -0
  43. package/dist/commonjs/mcp-server/tools/schemasGetDestinationType.d.ts.map +1 -1
  44. package/dist/commonjs/models/components/destinationschemafield.d.ts +26 -0
  45. package/dist/commonjs/models/components/destinationschemafield.d.ts.map +1 -1
  46. package/dist/commonjs/models/components/destinationschemafield.js +25 -1
  47. package/dist/commonjs/models/components/destinationschemafield.js.map +1 -1
  48. package/dist/commonjs/models/components/event.d.ts +5 -2
  49. package/dist/commonjs/models/components/event.d.ts.map +1 -1
  50. package/dist/commonjs/models/components/event.js +4 -4
  51. package/dist/commonjs/models/components/event.js.map +1 -1
  52. package/dist/commonjs/models/operations/getdestinationtypeschema.d.ts +1 -0
  53. package/dist/commonjs/models/operations/getdestinationtypeschema.d.ts.map +1 -1
  54. package/dist/commonjs/models/operations/getdestinationtypeschema.js +1 -0
  55. package/dist/commonjs/models/operations/getdestinationtypeschema.js.map +1 -1
  56. package/dist/commonjs/models/operations/listattempts.d.ts +6 -6
  57. package/dist/commonjs/models/operations/listattempts.d.ts.map +1 -1
  58. package/dist/commonjs/models/operations/listattempts.js +9 -9
  59. package/dist/commonjs/models/operations/listattempts.js.map +1 -1
  60. package/dist/commonjs/models/operations/listevents.d.ts +17 -0
  61. package/dist/commonjs/models/operations/listevents.d.ts.map +1 -1
  62. package/dist/commonjs/models/operations/listevents.js +17 -1
  63. package/dist/commonjs/models/operations/listevents.js.map +1 -1
  64. package/dist/esm/funcs/attemptsList.d.ts +2 -0
  65. package/dist/esm/funcs/attemptsList.d.ts.map +1 -1
  66. package/dist/esm/funcs/attemptsList.js +3 -1
  67. package/dist/esm/funcs/attemptsList.js.map +1 -1
  68. package/dist/esm/funcs/eventsList.d.ts +2 -0
  69. package/dist/esm/funcs/eventsList.d.ts.map +1 -1
  70. package/dist/esm/funcs/eventsList.js +4 -1
  71. package/dist/esm/funcs/eventsList.js.map +1 -1
  72. package/dist/esm/funcs/publishEvent.d.ts +2 -0
  73. package/dist/esm/funcs/publishEvent.d.ts.map +1 -1
  74. package/dist/esm/funcs/publishEvent.js +3 -1
  75. package/dist/esm/funcs/publishEvent.js.map +1 -1
  76. package/dist/esm/funcs/tenantsGetPortalUrl.d.ts +2 -0
  77. package/dist/esm/funcs/tenantsGetPortalUrl.d.ts.map +1 -1
  78. package/dist/esm/funcs/tenantsGetPortalUrl.js +3 -1
  79. package/dist/esm/funcs/tenantsGetPortalUrl.js.map +1 -1
  80. package/dist/esm/funcs/tenantsGetToken.d.ts +2 -0
  81. package/dist/esm/funcs/tenantsGetToken.d.ts.map +1 -1
  82. package/dist/esm/funcs/tenantsGetToken.js +3 -1
  83. package/dist/esm/funcs/tenantsGetToken.js.map +1 -1
  84. package/dist/esm/funcs/tenantsList.d.ts +2 -0
  85. package/dist/esm/funcs/tenantsList.d.ts.map +1 -1
  86. package/dist/esm/funcs/tenantsList.js +3 -1
  87. package/dist/esm/funcs/tenantsList.js.map +1 -1
  88. package/dist/esm/lib/config.d.ts +3 -3
  89. package/dist/esm/lib/config.js +3 -3
  90. package/dist/esm/lib/config.js.map +1 -1
  91. package/dist/esm/lib/encodings.d.ts +1 -0
  92. package/dist/esm/lib/encodings.d.ts.map +1 -1
  93. package/dist/esm/lib/encodings.js +26 -5
  94. package/dist/esm/lib/encodings.js.map +1 -1
  95. package/dist/esm/lib/security.d.ts +1 -1
  96. package/dist/esm/lib/security.d.ts.map +1 -1
  97. package/dist/esm/lib/security.js +19 -8
  98. package/dist/esm/lib/security.js.map +1 -1
  99. package/dist/esm/mcp-server/mcp-server.js +1 -1
  100. package/dist/esm/mcp-server/mcp-server.js.map +1 -1
  101. package/dist/esm/mcp-server/server.js +1 -1
  102. package/dist/esm/mcp-server/server.js.map +1 -1
  103. package/dist/esm/mcp-server/tools/schemasGetDestinationType.d.ts +1 -0
  104. package/dist/esm/mcp-server/tools/schemasGetDestinationType.d.ts.map +1 -1
  105. package/dist/esm/models/components/destinationschemafield.d.ts +26 -0
  106. package/dist/esm/models/components/destinationschemafield.d.ts.map +1 -1
  107. package/dist/esm/models/components/destinationschemafield.js +22 -0
  108. package/dist/esm/models/components/destinationschemafield.js.map +1 -1
  109. package/dist/esm/models/components/event.d.ts +5 -2
  110. package/dist/esm/models/components/event.d.ts.map +1 -1
  111. package/dist/esm/models/components/event.js +4 -4
  112. package/dist/esm/models/components/event.js.map +1 -1
  113. package/dist/esm/models/operations/getdestinationtypeschema.d.ts +1 -0
  114. package/dist/esm/models/operations/getdestinationtypeschema.d.ts.map +1 -1
  115. package/dist/esm/models/operations/getdestinationtypeschema.js +1 -0
  116. package/dist/esm/models/operations/getdestinationtypeschema.js.map +1 -1
  117. package/dist/esm/models/operations/listattempts.d.ts +6 -6
  118. package/dist/esm/models/operations/listattempts.d.ts.map +1 -1
  119. package/dist/esm/models/operations/listattempts.js +6 -6
  120. package/dist/esm/models/operations/listattempts.js.map +1 -1
  121. package/dist/esm/models/operations/listevents.d.ts +17 -0
  122. package/dist/esm/models/operations/listevents.d.ts.map +1 -1
  123. package/dist/esm/models/operations/listevents.js +14 -0
  124. package/dist/esm/models/operations/listevents.js.map +1 -1
  125. package/jsr.json +1 -1
  126. package/package.json +1 -1
  127. package/src/funcs/attemptsList.ts +3 -1
  128. package/src/funcs/eventsList.ts +4 -1
  129. package/src/funcs/publishEvent.ts +3 -1
  130. package/src/funcs/tenantsGetPortalUrl.ts +3 -1
  131. package/src/funcs/tenantsGetToken.ts +3 -1
  132. package/src/funcs/tenantsList.ts +3 -1
  133. package/src/lib/config.ts +3 -3
  134. package/src/lib/encodings.ts +32 -4
  135. package/src/lib/security.ts +14 -2
  136. package/src/mcp-server/mcp-server.ts +1 -1
  137. package/src/mcp-server/server.ts +1 -1
  138. package/src/models/components/destinationschemafield.ts +55 -0
  139. package/src/models/components/event.ts +9 -6
  140. package/src/models/operations/getdestinationtypeschema.ts +1 -0
  141. package/src/models/operations/listattempts.ts +17 -13
  142. package/src/models/operations/listevents.ts +47 -0
package/bin/mcp-server.js CHANGED
@@ -53591,9 +53591,9 @@ var init_config = __esm(() => {
53591
53591
  SDK_METADATA = {
53592
53592
  language: "typescript",
53593
53593
  openapiDocVersion: "0.0.1",
53594
- sdkVersion: "0.9.2",
53595
- genVersion: "2.869.10",
53596
- userAgent: "speakeasy-sdk/typescript 0.9.2 2.869.10 0.0.1 @hookdeck/outpost-sdk"
53594
+ sdkVersion: "0.10.0",
53595
+ genVersion: "2.879.11",
53596
+ userAgent: "speakeasy-sdk/typescript 0.10.0 2.879.11 0.0.1 @hookdeck/outpost-sdk"
53597
53597
  };
53598
53598
  });
53599
53599
 
@@ -55019,14 +55019,25 @@ function applyBearer(state, spec) {
55019
55019
  state.headers[spec.fieldName] = value;
55020
55020
  }
55021
55021
  }
55022
- function resolveGlobalSecurity(security) {
55023
- return resolveSecurity([
55024
- {
55025
- fieldName: "Authorization",
55026
- type: "http:bearer",
55027
- value: security?.apiKey
55028
- }
55029
- ]);
55022
+ function resolveGlobalSecurity(security, allowedFields) {
55023
+ let inputs = [
55024
+ [
55025
+ {
55026
+ fieldName: "Authorization",
55027
+ type: "http:bearer",
55028
+ value: security?.apiKey
55029
+ }
55030
+ ]
55031
+ ];
55032
+ if (allowedFields) {
55033
+ inputs = allowedFields.map((i) => {
55034
+ if (i < 0 || i >= inputs.length) {
55035
+ throw new RangeError(`invalid allowedFields index ${i}`);
55036
+ }
55037
+ return inputs[i];
55038
+ });
55039
+ }
55040
+ return resolveSecurity(...inputs);
55030
55041
  }
55031
55042
  async function extractSecurity(sec) {
55032
55043
  if (sec == null) {
@@ -56384,17 +56395,27 @@ var init_destinationcreate = __esm(() => {
56384
56395
  });
56385
56396
 
56386
56397
  // src/models/components/destinationschemafield.ts
56387
- var TypeEnum, TypeEnum$inboundSchema, TypeEnum$outboundSchema, DestinationSchemaField$inboundSchema, DestinationSchemaField$outboundSchema;
56398
+ var TypeEnum, TypeEnum$inboundSchema, TypeEnum$outboundSchema, Option$inboundSchema, Option$outboundSchema, DestinationSchemaField$inboundSchema, DestinationSchemaField$outboundSchema;
56388
56399
  var init_destinationschemafield = __esm(() => {
56389
56400
  init_v3();
56390
56401
  TypeEnum = {
56391
56402
  Text: "text",
56392
56403
  Checkbox: "checkbox",
56393
- KeyValueMap: "key_value_map"
56404
+ KeyValueMap: "key_value_map",
56405
+ Select: "select"
56394
56406
  };
56395
56407
  TypeEnum$inboundSchema = nativeEnumType(TypeEnum);
56396
56408
  TypeEnum$outboundSchema = TypeEnum$inboundSchema;
56409
+ Option$inboundSchema = objectType({
56410
+ label: stringType(),
56411
+ value: stringType()
56412
+ });
56413
+ Option$outboundSchema = objectType({
56414
+ label: stringType(),
56415
+ value: stringType()
56416
+ });
56397
56417
  DestinationSchemaField$inboundSchema = objectType({
56418
+ key: stringType(),
56398
56419
  type: TypeEnum$inboundSchema,
56399
56420
  label: stringType().optional(),
56400
56421
  description: stringType().optional(),
@@ -56403,9 +56424,11 @@ var init_destinationschemafield = __esm(() => {
56403
56424
  default: stringType().optional(),
56404
56425
  minlength: numberType().int().optional(),
56405
56426
  maxlength: numberType().int().optional(),
56406
- pattern: stringType().optional()
56427
+ pattern: stringType().optional(),
56428
+ options: arrayType(lazyType(() => Option$inboundSchema)).optional()
56407
56429
  });
56408
56430
  DestinationSchemaField$outboundSchema = objectType({
56431
+ key: stringType(),
56409
56432
  type: TypeEnum$outboundSchema,
56410
56433
  label: stringType().optional(),
56411
56434
  description: stringType().optional(),
@@ -56414,7 +56437,8 @@ var init_destinationschemafield = __esm(() => {
56414
56437
  default: stringType().optional(),
56415
56438
  minlength: numberType().int().optional(),
56416
56439
  maxlength: numberType().int().optional(),
56417
- pattern: stringType().optional()
56440
+ pattern: stringType().optional(),
56441
+ options: arrayType(lazyType(() => Option$outboundSchema)).optional()
56418
56442
  });
56419
56443
  });
56420
56444
 
@@ -56820,7 +56844,7 @@ var init_event = __esm(() => {
56820
56844
  Event$inboundSchema = objectType({
56821
56845
  id: stringType().optional(),
56822
56846
  tenant_id: stringType().optional(),
56823
- destination_id: stringType().optional(),
56847
+ matched_destination_ids: arrayType(stringType()).optional(),
56824
56848
  topic: stringType().optional(),
56825
56849
  time: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
56826
56850
  metadata: nullableType(recordType(stringType())).optional(),
@@ -56828,13 +56852,13 @@ var init_event = __esm(() => {
56828
56852
  }).transform((v2) => {
56829
56853
  return remap(v2, {
56830
56854
  tenant_id: "tenantId",
56831
- destination_id: "destinationId"
56855
+ matched_destination_ids: "matchedDestinationIds"
56832
56856
  });
56833
56857
  });
56834
56858
  Event$outboundSchema = objectType({
56835
56859
  id: stringType().optional(),
56836
56860
  tenantId: stringType().optional(),
56837
- destinationId: stringType().optional(),
56861
+ matchedDestinationIds: arrayType(stringType()).optional(),
56838
56862
  topic: stringType().optional(),
56839
56863
  time: dateType().transform((v2) => v2.toISOString()).optional(),
56840
56864
  metadata: nullableType(recordType(stringType())).optional(),
@@ -56842,7 +56866,7 @@ var init_event = __esm(() => {
56842
56866
  }).transform((v2) => {
56843
56867
  return remap(v2, {
56844
56868
  tenantId: "tenant_id",
56845
- destinationId: "destination_id"
56869
+ matchedDestinationIds: "matched_destination_ids"
56846
56870
  });
56847
56871
  });
56848
56872
  });
@@ -57934,7 +57958,8 @@ var init_getdestinationtypeschema = __esm(() => {
57934
57958
  AwsKinesis: "aws_kinesis",
57935
57959
  AzureServicebus: "azure_servicebus",
57936
57960
  AwsS3: "aws_s3",
57937
- GcpPubsub: "gcp_pubsub"
57961
+ GcpPubsub: "gcp_pubsub",
57962
+ Kafka: "kafka"
57938
57963
  };
57939
57964
  GetDestinationTypeSchemaType$inboundSchema = nativeEnumType(GetDestinationTypeSchemaType);
57940
57965
  GetDestinationTypeSchemaType$outboundSchema = GetDestinationTypeSchemaType$inboundSchema;
@@ -58232,7 +58257,7 @@ var init_healthcheck = __esm(() => {
58232
58257
  });
58233
58258
 
58234
58259
  // src/models/operations/listattempts.ts
58235
- var ListAttemptsStatus, ListAttemptsOrderBy, ListAttemptsDir, ListAttemptsTenantId$inboundSchema, ListAttemptsTenantId$outboundSchema, ListAttemptsEventId$inboundSchema, ListAttemptsEventId$outboundSchema, DestinationId$inboundSchema, DestinationId$outboundSchema, ListAttemptsStatus$inboundSchema, ListAttemptsStatus$outboundSchema, ListAttemptsTopic$inboundSchema, ListAttemptsTopic$outboundSchema, ListAttemptsInclude$inboundSchema, ListAttemptsInclude$outboundSchema, ListAttemptsOrderBy$inboundSchema, ListAttemptsOrderBy$outboundSchema, ListAttemptsDir$inboundSchema, ListAttemptsDir$outboundSchema, ListAttemptsRequest$inboundSchema, ListAttemptsRequest$outboundSchema, ListAttemptsResponse$inboundSchema, ListAttemptsResponse$outboundSchema;
58260
+ var ListAttemptsStatus, ListAttemptsOrderBy, ListAttemptsDir, ListAttemptsTenantId$inboundSchema, ListAttemptsTenantId$outboundSchema, ListAttemptsEventId$inboundSchema, ListAttemptsEventId$outboundSchema, ListAttemptsDestinationId$inboundSchema, ListAttemptsDestinationId$outboundSchema, ListAttemptsStatus$inboundSchema, ListAttemptsStatus$outboundSchema, ListAttemptsTopic$inboundSchema, ListAttemptsTopic$outboundSchema, ListAttemptsInclude$inboundSchema, ListAttemptsInclude$outboundSchema, ListAttemptsOrderBy$inboundSchema, ListAttemptsOrderBy$outboundSchema, ListAttemptsDir$inboundSchema, ListAttemptsDir$outboundSchema, ListAttemptsRequest$inboundSchema, ListAttemptsRequest$outboundSchema, ListAttemptsResponse$inboundSchema, ListAttemptsResponse$outboundSchema;
58236
58261
  var init_listattempts = __esm(() => {
58237
58262
  init_v3();
58238
58263
  init_primitives();
@@ -58252,8 +58277,8 @@ var init_listattempts = __esm(() => {
58252
58277
  ListAttemptsTenantId$outboundSchema = unionType([stringType(), arrayType(stringType())]);
58253
58278
  ListAttemptsEventId$inboundSchema = unionType([stringType(), arrayType(stringType())]);
58254
58279
  ListAttemptsEventId$outboundSchema = unionType([stringType(), arrayType(stringType())]);
58255
- DestinationId$inboundSchema = unionType([stringType(), arrayType(stringType())]);
58256
- DestinationId$outboundSchema = unionType([stringType(), arrayType(stringType())]);
58280
+ ListAttemptsDestinationId$inboundSchema = unionType([stringType(), arrayType(stringType())]);
58281
+ ListAttemptsDestinationId$outboundSchema = unionType([stringType(), arrayType(stringType())]);
58257
58282
  ListAttemptsStatus$inboundSchema = nativeEnumType(ListAttemptsStatus);
58258
58283
  ListAttemptsStatus$outboundSchema = ListAttemptsStatus$inboundSchema;
58259
58284
  ListAttemptsTopic$inboundSchema = unionType([stringType(), arrayType(stringType())]);
@@ -58337,7 +58362,7 @@ var init_listattempts = __esm(() => {
58337
58362
  });
58338
58363
 
58339
58364
  // src/models/operations/listevents.ts
58340
- var ListEventsOrderBy, ListEventsDir, ListEventsId$inboundSchema, ListEventsId$outboundSchema, ListEventsTenantId$inboundSchema, ListEventsTenantId$outboundSchema, ListEventsTopic$inboundSchema, ListEventsTopic$outboundSchema, ListEventsOrderBy$inboundSchema, ListEventsOrderBy$outboundSchema, ListEventsDir$inboundSchema, ListEventsDir$outboundSchema, ListEventsRequest$inboundSchema, ListEventsRequest$outboundSchema, ListEventsResponse$inboundSchema, ListEventsResponse$outboundSchema;
58365
+ var ListEventsOrderBy, ListEventsDir, ListEventsId$inboundSchema, ListEventsId$outboundSchema, ListEventsTenantId$inboundSchema, ListEventsTenantId$outboundSchema, ListEventsDestinationId$inboundSchema, ListEventsDestinationId$outboundSchema, ListEventsTopic$inboundSchema, ListEventsTopic$outboundSchema, ListEventsOrderBy$inboundSchema, ListEventsOrderBy$outboundSchema, ListEventsDir$inboundSchema, ListEventsDir$outboundSchema, ListEventsRequest$inboundSchema, ListEventsRequest$outboundSchema, ListEventsResponse$inboundSchema, ListEventsResponse$outboundSchema;
58341
58366
  var init_listevents = __esm(() => {
58342
58367
  init_v3();
58343
58368
  init_primitives();
@@ -58353,6 +58378,8 @@ var init_listevents = __esm(() => {
58353
58378
  ListEventsId$outboundSchema = unionType([stringType(), arrayType(stringType())]);
58354
58379
  ListEventsTenantId$inboundSchema = unionType([stringType(), arrayType(stringType())]);
58355
58380
  ListEventsTenantId$outboundSchema = unionType([stringType(), arrayType(stringType())]);
58381
+ ListEventsDestinationId$inboundSchema = unionType([stringType(), arrayType(stringType())]);
58382
+ ListEventsDestinationId$outboundSchema = unionType([stringType(), arrayType(stringType())]);
58356
58383
  ListEventsTopic$inboundSchema = unionType([stringType(), arrayType(stringType())]);
58357
58384
  ListEventsTopic$outboundSchema = unionType([stringType(), arrayType(stringType())]);
58358
58385
  ListEventsOrderBy$inboundSchema = nativeEnumType(ListEventsOrderBy);
@@ -58362,6 +58389,7 @@ var init_listevents = __esm(() => {
58362
58389
  ListEventsRequest$inboundSchema = objectType({
58363
58390
  id: unionType([stringType(), arrayType(stringType())]).optional(),
58364
58391
  tenant_id: unionType([stringType(), arrayType(stringType())]).optional(),
58392
+ destination_id: unionType([stringType(), arrayType(stringType())]).optional(),
58365
58393
  topic: unionType([stringType(), arrayType(stringType())]).optional(),
58366
58394
  "time[gte]": stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
58367
58395
  "time[lte]": stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
@@ -58375,6 +58403,7 @@ var init_listevents = __esm(() => {
58375
58403
  }).transform((v2) => {
58376
58404
  return remap(v2, {
58377
58405
  tenant_id: "tenantId",
58406
+ destination_id: "destinationId",
58378
58407
  "time[gte]": "timeGte",
58379
58408
  "time[lte]": "timeLte",
58380
58409
  "time[gt]": "timeGt",
@@ -58385,6 +58414,7 @@ var init_listevents = __esm(() => {
58385
58414
  ListEventsRequest$outboundSchema = objectType({
58386
58415
  id: unionType([stringType(), arrayType(stringType())]).optional(),
58387
58416
  tenantId: unionType([stringType(), arrayType(stringType())]).optional(),
58417
+ destinationId: unionType([stringType(), arrayType(stringType())]).optional(),
58388
58418
  topic: unionType([stringType(), arrayType(stringType())]).optional(),
58389
58419
  timeGte: dateType().transform((v2) => v2.toISOString()).optional(),
58390
58420
  timeLte: dateType().transform((v2) => v2.toISOString()).optional(),
@@ -58398,6 +58428,7 @@ var init_listevents = __esm(() => {
58398
58428
  }).transform((v2) => {
58399
58429
  return remap(v2, {
58400
58430
  tenantId: "tenant_id",
58431
+ destinationId: "destination_id",
58401
58432
  timeGte: "time[gte]",
58402
58433
  timeLte: "time[lte]",
58403
58434
  timeGt: "time[gt]",
@@ -58913,7 +58944,7 @@ async function $do2(client, request, options) {
58913
58944
  }));
58914
58945
  const secConfig = await extractSecurity(client._options.apiKey);
58915
58946
  const securityInput = secConfig == null ? {} : { apiKey: secConfig };
58916
- const requestSecurity = resolveGlobalSecurity(securityInput);
58947
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
58917
58948
  const context = {
58918
58949
  options: client._options,
58919
58950
  baseURL: options?.serverURL ?? client._baseURL ?? "",
@@ -60396,6 +60427,7 @@ async function $do14(client, request, options) {
60396
60427
  const body = null;
60397
60428
  const path = pathToFunc("/events")();
60398
60429
  const query = encodeFormQuery({
60430
+ destination_id: payload.destination_id,
60399
60431
  dir: payload.dir,
60400
60432
  id: payload.id,
60401
60433
  limit: payload.limit,
@@ -60414,7 +60446,7 @@ async function $do14(client, request, options) {
60414
60446
  }));
60415
60447
  const secConfig = await extractSecurity(client._options.apiKey);
60416
60448
  const securityInput = secConfig == null ? {} : { apiKey: secConfig };
60417
- const requestSecurity = resolveGlobalSecurity(securityInput);
60449
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
60418
60450
  const context = {
60419
60451
  options: client._options,
60420
60452
  baseURL: options?.serverURL ?? client._baseURL ?? "",
@@ -60926,7 +60958,7 @@ async function $do18(client, request, options) {
60926
60958
  }));
60927
60959
  const secConfig = await extractSecurity(client._options.apiKey);
60928
60960
  const securityInput = secConfig == null ? {} : { apiKey: secConfig };
60929
- const requestSecurity = resolveGlobalSecurity(securityInput);
60961
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
60930
60962
  const context = {
60931
60963
  options: client._options,
60932
60964
  baseURL: options?.serverURL ?? client._baseURL ?? "",
@@ -61544,7 +61576,7 @@ async function $do23(client, tenantId, theme, options) {
61544
61576
  }));
61545
61577
  const secConfig = await extractSecurity(client._options.apiKey);
61546
61578
  const securityInput = secConfig == null ? {} : { apiKey: secConfig };
61547
- const requestSecurity = resolveGlobalSecurity(securityInput);
61579
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
61548
61580
  const context = {
61549
61581
  options: client._options,
61550
61582
  baseURL: options?.serverURL ?? client._baseURL ?? "",
@@ -61659,7 +61691,7 @@ async function $do24(client, tenantId, options) {
61659
61691
  }));
61660
61692
  const secConfig = await extractSecurity(client._options.apiKey);
61661
61693
  const securityInput = secConfig == null ? {} : { apiKey: secConfig };
61662
- const requestSecurity = resolveGlobalSecurity(securityInput);
61694
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
61663
61695
  const context = {
61664
61696
  options: client._options,
61665
61697
  baseURL: options?.serverURL ?? client._baseURL ?? "",
@@ -61769,7 +61801,7 @@ async function $do25(client, request, options) {
61769
61801
  }));
61770
61802
  const secConfig = await extractSecurity(client._options.apiKey);
61771
61803
  const securityInput = secConfig == null ? {} : { apiKey: secConfig };
61772
- const requestSecurity = resolveGlobalSecurity(securityInput);
61804
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
61773
61805
  const context = {
61774
61806
  options: client._options,
61775
61807
  baseURL: options?.serverURL ?? client._baseURL ?? "",
@@ -62129,7 +62161,7 @@ Returns a list of available event topics configured in the Outpost instance.`,
62129
62161
  function createMCPServer(deps) {
62130
62162
  const server = new McpServer({
62131
62163
  name: "Outpost",
62132
- version: "0.9.2"
62164
+ version: "0.10.0"
62133
62165
  });
62134
62166
  const client = new OutpostCore({
62135
62167
  apiKey: deps.apiKey,
@@ -63378,7 +63410,7 @@ var routes = an({
63378
63410
  var app = He(routes, {
63379
63411
  name: "mcp",
63380
63412
  versionInfo: {
63381
- currentVersion: "0.9.2"
63413
+ currentVersion: "0.10.0"
63382
63414
  }
63383
63415
  });
63384
63416
  zt(app, process4.argv.slice(2), buildContext(process4));
@@ -63386,5 +63418,5 @@ export {
63386
63418
  app
63387
63419
  };
63388
63420
 
63389
- //# debugId=C4BDF434B9FAC7F464756E2164756E21
63421
+ //# debugId=325CC5962B225FD464756E2164756E21
63390
63422
  //# sourceMappingURL=mcp-server.js.map