@s2-dev/streamstore 0.7.0 → 0.7.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.
Files changed (60) hide show
  1. package/bin/mcp-server.js +31 -54
  2. package/bin/mcp-server.js.map +10 -10
  3. package/dist/commonjs/lib/config.d.ts +3 -3
  4. package/dist/commonjs/lib/config.js +3 -3
  5. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  6. package/dist/commonjs/mcp-server/server.js +1 -1
  7. package/dist/commonjs/models/components/basininfo.d.ts +2 -6
  8. package/dist/commonjs/models/components/basininfo.d.ts.map +1 -1
  9. package/dist/commonjs/models/components/basininfo.js +3 -4
  10. package/dist/commonjs/models/components/basininfo.js.map +1 -1
  11. package/dist/commonjs/models/components/basinscope.d.ts +34 -0
  12. package/dist/commonjs/models/components/basinscope.d.ts.map +1 -0
  13. package/dist/commonjs/models/components/basinscope.js +64 -0
  14. package/dist/commonjs/models/components/basinscope.js.map +1 -0
  15. package/dist/commonjs/models/components/createbasinrequest.d.ts +6 -3
  16. package/dist/commonjs/models/components/createbasinrequest.d.ts.map +1 -1
  17. package/dist/commonjs/models/components/createbasinrequest.js +3 -3
  18. package/dist/commonjs/models/components/createbasinrequest.js.map +1 -1
  19. package/dist/commonjs/models/components/index.d.ts +1 -1
  20. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  21. package/dist/commonjs/models/components/index.js +1 -1
  22. package/dist/commonjs/models/components/index.js.map +1 -1
  23. package/dist/esm/lib/config.d.ts +3 -3
  24. package/dist/esm/lib/config.js +3 -3
  25. package/dist/esm/mcp-server/mcp-server.js +1 -1
  26. package/dist/esm/mcp-server/server.js +1 -1
  27. package/dist/esm/models/components/basininfo.d.ts +2 -6
  28. package/dist/esm/models/components/basininfo.d.ts.map +1 -1
  29. package/dist/esm/models/components/basininfo.js +3 -4
  30. package/dist/esm/models/components/basininfo.js.map +1 -1
  31. package/dist/esm/models/components/basinscope.d.ts +34 -0
  32. package/dist/esm/models/components/basinscope.d.ts.map +1 -0
  33. package/dist/esm/models/components/basinscope.js +28 -0
  34. package/dist/esm/models/components/basinscope.js.map +1 -0
  35. package/dist/esm/models/components/createbasinrequest.d.ts +6 -3
  36. package/dist/esm/models/components/createbasinrequest.d.ts.map +1 -1
  37. package/dist/esm/models/components/createbasinrequest.js +3 -3
  38. package/dist/esm/models/components/createbasinrequest.js.map +1 -1
  39. package/dist/esm/models/components/index.d.ts +1 -1
  40. package/dist/esm/models/components/index.d.ts.map +1 -1
  41. package/dist/esm/models/components/index.js +1 -1
  42. package/dist/esm/models/components/index.js.map +1 -1
  43. package/jsr.json +1 -1
  44. package/package.json +1 -1
  45. package/src/lib/config.ts +3 -3
  46. package/src/mcp-server/mcp-server.ts +1 -1
  47. package/src/mcp-server/server.ts +1 -1
  48. package/src/models/components/basininfo.ts +8 -10
  49. package/src/models/components/basinscope.ts +37 -0
  50. package/src/models/components/createbasinrequest.ts +12 -10
  51. package/src/models/components/index.ts +1 -1
  52. package/dist/commonjs/models/components/assignment.d.ts +0 -90
  53. package/dist/commonjs/models/components/assignment.d.ts.map +0 -1
  54. package/dist/commonjs/models/components/assignment.js +0 -127
  55. package/dist/commonjs/models/components/assignment.js.map +0 -1
  56. package/dist/esm/models/components/assignment.d.ts +0 -90
  57. package/dist/esm/models/components/assignment.d.ts.map +0 -1
  58. package/dist/esm/models/components/assignment.js +0 -85
  59. package/dist/esm/models/components/assignment.js.map +0 -1
  60. package/src/models/components/assignment.ts +0 -174
package/bin/mcp-server.js CHANGED
@@ -34182,9 +34182,9 @@ var init_config = __esm(() => {
34182
34182
  SDK_METADATA = {
34183
34183
  language: "typescript",
34184
34184
  openapiDocVersion: "1.0.0",
34185
- sdkVersion: "0.7.0",
34186
- genVersion: "2.545.2",
34187
- userAgent: "speakeasy-sdk/typescript 0.7.0 2.545.2 1.0.0 @s2-dev/streamstore"
34185
+ sdkVersion: "0.7.1",
34186
+ genVersion: "2.545.7",
34187
+ userAgent: "speakeasy-sdk/typescript 0.7.1 2.545.7 1.0.0 @s2-dev/streamstore"
34188
34188
  };
34189
34189
  });
34190
34190
 
@@ -35820,44 +35820,6 @@ var init_appendoutput = __esm(() => {
35820
35820
  })(AppendOutput$ ||= {});
35821
35821
  });
35822
35822
 
35823
- // src/models/components/assignment.ts
35824
- var Cell$inboundSchema, Cell$outboundSchema, Cell$, Scope$inboundSchema, Scope$outboundSchema, Scope$, Assignment$inboundSchema, Assignment$outboundSchema, Assignment$;
35825
- var init_assignment = __esm(() => {
35826
- init_lib();
35827
- Cell$inboundSchema = objectType({
35828
- cell: stringType()
35829
- });
35830
- Cell$outboundSchema = objectType({
35831
- cell: stringType()
35832
- });
35833
- ((Cell$) => {
35834
- Cell$.inboundSchema = Cell$inboundSchema;
35835
- Cell$.outboundSchema = Cell$outboundSchema;
35836
- })(Cell$ ||= {});
35837
- Scope$inboundSchema = objectType({
35838
- scope: stringType()
35839
- });
35840
- Scope$outboundSchema = objectType({
35841
- scope: stringType()
35842
- });
35843
- ((Scope$) => {
35844
- Scope$.inboundSchema = Scope$inboundSchema;
35845
- Scope$.outboundSchema = Scope$outboundSchema;
35846
- })(Scope$ ||= {});
35847
- Assignment$inboundSchema = unionType([
35848
- lazyType(() => Scope$inboundSchema),
35849
- lazyType(() => Cell$inboundSchema)
35850
- ]);
35851
- Assignment$outboundSchema = unionType([
35852
- lazyType(() => Scope$outboundSchema),
35853
- lazyType(() => Cell$outboundSchema)
35854
- ]);
35855
- ((Assignment$) => {
35856
- Assignment$.inboundSchema = Assignment$inboundSchema;
35857
- Assignment$.outboundSchema = Assignment$outboundSchema;
35858
- })(Assignment$ ||= {});
35859
- });
35860
-
35861
35823
  // src/models/components/retentionpolicy.ts
35862
35824
  var Age$inboundSchema, Age$outboundSchema, Age$, RetentionPolicy$inboundSchema, RetentionPolicy$outboundSchema, RetentionPolicy$;
35863
35825
  var init_retentionpolicy = __esm(() => {
@@ -35954,6 +35916,22 @@ var init_basinconfig = __esm(() => {
35954
35916
  })(BasinConfig$ ||= {});
35955
35917
  });
35956
35918
 
35919
+ // src/models/components/basinscope.ts
35920
+ var BasinScope, BasinScope$inboundSchema, BasinScope$outboundSchema, BasinScope$;
35921
+ var init_basinscope = __esm(() => {
35922
+ init_lib();
35923
+ BasinScope = {
35924
+ Unspecified: "unspecified",
35925
+ AwsUsEast1: "aws:us-east-1"
35926
+ };
35927
+ BasinScope$inboundSchema = nativeEnumType(BasinScope);
35928
+ BasinScope$outboundSchema = BasinScope$inboundSchema;
35929
+ ((BasinScope$) => {
35930
+ BasinScope$.inboundSchema = BasinScope$inboundSchema;
35931
+ BasinScope$.outboundSchema = BasinScope$outboundSchema;
35932
+ })(BasinScope$ ||= {});
35933
+ });
35934
+
35957
35935
  // src/models/components/basinstate.ts
35958
35936
  var BasinState, BasinState$inboundSchema, BasinState$outboundSchema, BasinState$;
35959
35937
  var init_basinstate = __esm(() => {
@@ -35976,17 +35954,16 @@ var init_basinstate = __esm(() => {
35976
35954
  var BasinInfo$inboundSchema, BasinInfo$outboundSchema, BasinInfo$;
35977
35955
  var init_basininfo = __esm(() => {
35978
35956
  init_lib();
35957
+ init_basinscope();
35979
35958
  init_basinstate();
35980
35959
  BasinInfo$inboundSchema = objectType({
35981
- cell: stringType(),
35982
35960
  name: stringType(),
35983
- scope: stringType(),
35961
+ scope: BasinScope$inboundSchema,
35984
35962
  state: BasinState$inboundSchema
35985
35963
  });
35986
35964
  BasinInfo$outboundSchema = objectType({
35987
- cell: stringType(),
35988
35965
  name: stringType(),
35989
- scope: stringType(),
35966
+ scope: BasinScope$outboundSchema,
35990
35967
  state: BasinState$outboundSchema
35991
35968
  });
35992
35969
  ((BasinInfo$) => {
@@ -36024,15 +36001,15 @@ var init_checktailresponse = __esm(() => {
36024
36001
  var CreateBasinRequest$inboundSchema, CreateBasinRequest$outboundSchema, CreateBasinRequest$;
36025
36002
  var init_createbasinrequest = __esm(() => {
36026
36003
  init_lib();
36027
- init_assignment();
36028
36004
  init_basinconfig();
36005
+ init_basinscope();
36029
36006
  CreateBasinRequest$inboundSchema = objectType({
36030
- assignment: nullableType(Assignment$inboundSchema).optional(),
36031
- config: nullableType(BasinConfig$inboundSchema).optional()
36007
+ config: nullableType(BasinConfig$inboundSchema).optional(),
36008
+ scope: BasinScope$inboundSchema.optional()
36032
36009
  });
36033
36010
  CreateBasinRequest$outboundSchema = objectType({
36034
- assignment: nullableType(Assignment$outboundSchema).optional(),
36035
- config: nullableType(BasinConfig$outboundSchema).optional()
36011
+ config: nullableType(BasinConfig$outboundSchema).optional(),
36012
+ scope: BasinScope$outboundSchema.optional()
36036
36013
  });
36037
36014
  ((CreateBasinRequest$) => {
36038
36015
  CreateBasinRequest$.inboundSchema = CreateBasinRequest$inboundSchema;
@@ -36406,9 +36383,9 @@ var init_components = __esm(() => {
36406
36383
  init_appendinput();
36407
36384
  init_appendoutput();
36408
36385
  init_appendrecord();
36409
- init_assignment();
36410
36386
  init_basinconfig();
36411
36387
  init_basininfo();
36388
+ init_basinscope();
36412
36389
  init_basinstate();
36413
36390
  init_checktailresponse();
36414
36391
  init_createbasinrequest();
@@ -42311,7 +42288,7 @@ Retrieve a batch of records, or set \`Accept: text/event-stream\` to stream usin
42311
42288
  function createMCPServer(deps) {
42312
42289
  const server = new McpServer({
42313
42290
  name: "S2",
42314
- version: "0.7.0"
42291
+ version: "0.7.1"
42315
42292
  });
42316
42293
  const client = new S2Core({
42317
42294
  bearerAuth: deps.bearerAuth,
@@ -43547,7 +43524,7 @@ var routes = rn({
43547
43524
  var app = Ve(routes, {
43548
43525
  name: "mcp",
43549
43526
  versionInfo: {
43550
- currentVersion: "0.7.0"
43527
+ currentVersion: "0.7.1"
43551
43528
  }
43552
43529
  });
43553
43530
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -43555,5 +43532,5 @@ export {
43555
43532
  app
43556
43533
  };
43557
43534
 
43558
- //# debugId=A26305A20EE8735764756E2164756E21
43535
+ //# debugId=7119AAB5486B64C864756E2164756E21
43559
43536
  //# sourceMappingURL=mcp-server.js.map