@s2-dev/streamstore 0.13.2 → 0.13.3

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.
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
27
27
  export declare const SDK_METADATA: {
28
28
  readonly language: "typescript";
29
29
  readonly openapiDocVersion: "1.0.0";
30
- readonly sdkVersion: "0.13.2";
31
- readonly genVersion: "2.605.6";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.13.2 2.605.6 1.0.0 @s2-dev/streamstore";
30
+ readonly sdkVersion: "0.13.3";
31
+ readonly genVersion: "2.610.0";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.13.3 2.610.0 1.0.0 @s2-dev/streamstore";
33
33
  };
34
34
  //# sourceMappingURL=config.d.ts.map
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
28
28
  exports.SDK_METADATA = {
29
29
  language: "typescript",
30
30
  openapiDocVersion: "1.0.0",
31
- sdkVersion: "0.13.2",
32
- genVersion: "2.605.6",
33
- userAgent: "speakeasy-sdk/typescript 0.13.2 2.605.6 1.0.0 @s2-dev/streamstore",
31
+ sdkVersion: "0.13.3",
32
+ genVersion: "2.610.0",
33
+ userAgent: "speakeasy-sdk/typescript 0.13.3 2.610.0 1.0.0 @s2-dev/streamstore",
34
34
  };
35
35
  //# sourceMappingURL=config.js.map
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
22
22
  exports.app = (0, core_1.buildApplication)(routes, {
23
23
  name: "mcp",
24
24
  versionInfo: {
25
- currentVersion: "0.13.2",
25
+ currentVersion: "0.13.3",
26
26
  },
27
27
  });
28
28
  (0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
@@ -30,7 +30,7 @@ const streamsReconfigureStream_js_1 = require("./tools/streamsReconfigureStream.
30
30
  function createMCPServer(deps) {
31
31
  const server = new mcp_js_1.McpServer({
32
32
  name: "S2",
33
- version: "0.13.2",
33
+ version: "0.13.3",
34
34
  });
35
35
  const client = new core_js_1.S2Core({
36
36
  accessToken: deps.accessToken,
@@ -7,7 +7,7 @@ import { SDKValidationError } from "./sdkvalidationerror.js";
7
7
  * @remarks
8
8
  * The expected next sequence number is returned.
9
9
  */
10
- export type TwoData = {
10
+ export type SeqNumData = {
11
11
  /**
12
12
  * Sequence number did not match the tail of the stream.
13
13
  *
@@ -22,7 +22,7 @@ export type TwoData = {
22
22
  * @remarks
23
23
  * The expected next sequence number is returned.
24
24
  */
25
- export declare class Two extends Error {
25
+ export declare class SeqNum extends Error {
26
26
  /**
27
27
  * Sequence number did not match the tail of the stream.
28
28
  *
@@ -31,21 +31,21 @@ export declare class Two extends Error {
31
31
  */
32
32
  seqNumMismatch: number;
33
33
  /** The original data that was passed to this error instance. */
34
- data$: TwoData;
35
- constructor(err: TwoData);
34
+ data$: SeqNumData;
35
+ constructor(err: SeqNumData);
36
36
  }
37
37
  /**
38
38
  * Fencing token did not match.
39
39
  *
40
40
  * @remarks
41
- * The expected fencing token is returned.
41
+ * The expected fencing token is returned, encoded with base64.
42
42
  */
43
- export type OneData = {
43
+ export type FencingTokenData = {
44
44
  /**
45
45
  * Fencing token did not match.
46
46
  *
47
47
  * @remarks
48
- * The expected fencing token is returned.
48
+ * The expected fencing token is returned, encoded with base64.
49
49
  */
50
50
  fencingTokenMismatch: string;
51
51
  };
@@ -53,68 +53,68 @@ export type OneData = {
53
53
  * Fencing token did not match.
54
54
  *
55
55
  * @remarks
56
- * The expected fencing token is returned.
56
+ * The expected fencing token is returned, encoded with base64.
57
57
  */
58
- export declare class One extends Error {
58
+ export declare class FencingToken extends Error {
59
59
  /**
60
60
  * Fencing token did not match.
61
61
  *
62
62
  * @remarks
63
- * The expected fencing token is returned.
63
+ * The expected fencing token is returned, encoded with base64.
64
64
  */
65
65
  fencingTokenMismatch: string;
66
66
  /** The original data that was passed to this error instance. */
67
- data$: OneData;
68
- constructor(err: OneData);
67
+ data$: FencingTokenData;
68
+ constructor(err: FencingTokenData);
69
69
  }
70
70
  /**
71
71
  * Failure response message when an Append is aborted due to a failed condition.
72
72
  */
73
- export type AppendConditionFailed = One | Two;
73
+ export type AppendConditionFailed = FencingToken | SeqNum;
74
74
  /** @internal */
75
- export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
75
+ export declare const SeqNum$inboundSchema: z.ZodType<SeqNum, z.ZodTypeDef, unknown>;
76
76
  /** @internal */
77
- export type Two$Outbound = {
78
- SeqNumMismatch: number;
77
+ export type SeqNum$Outbound = {
78
+ seq_num_mismatch: number;
79
79
  };
80
80
  /** @internal */
81
- export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
81
+ export declare const SeqNum$outboundSchema: z.ZodType<SeqNum$Outbound, z.ZodTypeDef, SeqNum>;
82
82
  /**
83
83
  * @internal
84
84
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
85
85
  */
86
- export declare namespace Two$ {
87
- /** @deprecated use `Two$inboundSchema` instead. */
88
- const inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
89
- /** @deprecated use `Two$outboundSchema` instead. */
90
- const outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
91
- /** @deprecated use `Two$Outbound` instead. */
92
- type Outbound = Two$Outbound;
86
+ export declare namespace SeqNum$ {
87
+ /** @deprecated use `SeqNum$inboundSchema` instead. */
88
+ const inboundSchema: z.ZodType<SeqNum, z.ZodTypeDef, unknown>;
89
+ /** @deprecated use `SeqNum$outboundSchema` instead. */
90
+ const outboundSchema: z.ZodType<SeqNum$Outbound, z.ZodTypeDef, SeqNum>;
91
+ /** @deprecated use `SeqNum$Outbound` instead. */
92
+ type Outbound = SeqNum$Outbound;
93
93
  }
94
94
  /** @internal */
95
- export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
95
+ export declare const FencingToken$inboundSchema: z.ZodType<FencingToken, z.ZodTypeDef, unknown>;
96
96
  /** @internal */
97
- export type One$Outbound = {
98
- FencingTokenMismatch: string;
97
+ export type FencingToken$Outbound = {
98
+ fencing_token_mismatch: string;
99
99
  };
100
100
  /** @internal */
101
- export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
101
+ export declare const FencingToken$outboundSchema: z.ZodType<FencingToken$Outbound, z.ZodTypeDef, FencingToken>;
102
102
  /**
103
103
  * @internal
104
104
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
105
105
  */
106
- export declare namespace One$ {
107
- /** @deprecated use `One$inboundSchema` instead. */
108
- const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
109
- /** @deprecated use `One$outboundSchema` instead. */
110
- const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
111
- /** @deprecated use `One$Outbound` instead. */
112
- type Outbound = One$Outbound;
106
+ export declare namespace FencingToken$ {
107
+ /** @deprecated use `FencingToken$inboundSchema` instead. */
108
+ const inboundSchema: z.ZodType<FencingToken, z.ZodTypeDef, unknown>;
109
+ /** @deprecated use `FencingToken$outboundSchema` instead. */
110
+ const outboundSchema: z.ZodType<FencingToken$Outbound, z.ZodTypeDef, FencingToken>;
111
+ /** @deprecated use `FencingToken$Outbound` instead. */
112
+ type Outbound = FencingToken$Outbound;
113
113
  }
114
114
  /** @internal */
115
115
  export declare const AppendConditionFailed$inboundSchema: z.ZodType<AppendConditionFailed, z.ZodTypeDef, unknown>;
116
116
  /** @internal */
117
- export type AppendConditionFailed$Outbound = One$Outbound | Two$Outbound;
117
+ export type AppendConditionFailed$Outbound = FencingToken$Outbound | SeqNum$Outbound;
118
118
  /** @internal */
119
119
  export declare const AppendConditionFailed$outboundSchema: z.ZodType<AppendConditionFailed$Outbound, z.ZodTypeDef, AppendConditionFailed>;
120
120
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"appendconditionfailed.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/appendconditionfailed.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;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.AppendConditionFailed$ = exports.AppendConditionFailed$outboundSchema = exports.AppendConditionFailed$inboundSchema = exports.One$ = exports.One$outboundSchema = exports.One$inboundSchema = exports.Two$ = exports.Two$outboundSchema = exports.Two$inboundSchema = exports.One = exports.Two = void 0;
39
+ exports.AppendConditionFailed$ = exports.AppendConditionFailed$outboundSchema = exports.AppendConditionFailed$inboundSchema = exports.FencingToken$ = exports.FencingToken$outboundSchema = exports.FencingToken$inboundSchema = exports.SeqNum$ = exports.SeqNum$outboundSchema = exports.SeqNum$inboundSchema = exports.FencingToken = exports.SeqNum = void 0;
40
40
  exports.appendConditionFailedToJSON = appendConditionFailedToJSON;
41
41
  exports.appendConditionFailedFromJSON = appendConditionFailedFromJSON;
42
42
  const z = __importStar(require("zod"));
@@ -48,7 +48,7 @@ const schemas_js_1 = require("../../lib/schemas.js");
48
48
  * @remarks
49
49
  * The expected next sequence number is returned.
50
50
  */
51
- class Two extends Error {
51
+ class SeqNum extends Error {
52
52
  constructor(err) {
53
53
  const message = "message" in err && typeof err.message === "string"
54
54
  ? err.message
@@ -56,17 +56,17 @@ class Two extends Error {
56
56
  super(message);
57
57
  this.data$ = err;
58
58
  this.seqNumMismatch = err.seqNumMismatch;
59
- this.name = "Two";
59
+ this.name = "SeqNum";
60
60
  }
61
61
  }
62
- exports.Two = Two;
62
+ exports.SeqNum = SeqNum;
63
63
  /**
64
64
  * Fencing token did not match.
65
65
  *
66
66
  * @remarks
67
- * The expected fencing token is returned.
67
+ * The expected fencing token is returned, encoded with base64.
68
68
  */
69
- class One extends Error {
69
+ class FencingToken extends Error {
70
70
  constructor(err) {
71
71
  const message = "message" in err && typeof err.message === "string"
72
72
  ? err.message
@@ -74,82 +74,82 @@ class One extends Error {
74
74
  super(message);
75
75
  this.data$ = err;
76
76
  this.fencingTokenMismatch = err.fencingTokenMismatch;
77
- this.name = "One";
77
+ this.name = "FencingToken";
78
78
  }
79
79
  }
80
- exports.One = One;
80
+ exports.FencingToken = FencingToken;
81
81
  /** @internal */
82
- exports.Two$inboundSchema = z
82
+ exports.SeqNum$inboundSchema = z
83
83
  .object({
84
- SeqNumMismatch: z.number().int(),
84
+ seq_num_mismatch: z.number().int(),
85
85
  })
86
86
  .transform((v) => {
87
87
  const remapped = (0, primitives_js_1.remap)(v, {
88
- "SeqNumMismatch": "seqNumMismatch",
88
+ "seq_num_mismatch": "seqNumMismatch",
89
89
  });
90
- return new Two(remapped);
90
+ return new SeqNum(remapped);
91
91
  });
92
92
  /** @internal */
93
- exports.Two$outboundSchema = z
94
- .instanceof(Two)
93
+ exports.SeqNum$outboundSchema = z.instanceof(SeqNum)
95
94
  .transform(v => v.data$)
96
95
  .pipe(z.object({
97
96
  seqNumMismatch: z.number().int(),
98
97
  }).transform((v) => {
99
98
  return (0, primitives_js_1.remap)(v, {
100
- seqNumMismatch: "SeqNumMismatch",
99
+ seqNumMismatch: "seq_num_mismatch",
101
100
  });
102
101
  }));
103
102
  /**
104
103
  * @internal
105
104
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
106
105
  */
107
- var Two$;
108
- (function (Two$) {
109
- /** @deprecated use `Two$inboundSchema` instead. */
110
- Two$.inboundSchema = exports.Two$inboundSchema;
111
- /** @deprecated use `Two$outboundSchema` instead. */
112
- Two$.outboundSchema = exports.Two$outboundSchema;
113
- })(Two$ || (exports.Two$ = Two$ = {}));
106
+ var SeqNum$;
107
+ (function (SeqNum$) {
108
+ /** @deprecated use `SeqNum$inboundSchema` instead. */
109
+ SeqNum$.inboundSchema = exports.SeqNum$inboundSchema;
110
+ /** @deprecated use `SeqNum$outboundSchema` instead. */
111
+ SeqNum$.outboundSchema = exports.SeqNum$outboundSchema;
112
+ })(SeqNum$ || (exports.SeqNum$ = SeqNum$ = {}));
114
113
  /** @internal */
115
- exports.One$inboundSchema = z
116
- .object({
117
- FencingTokenMismatch: z.string(),
114
+ exports.FencingToken$inboundSchema = z.object({
115
+ fencing_token_mismatch: z.string(),
118
116
  })
119
117
  .transform((v) => {
120
118
  const remapped = (0, primitives_js_1.remap)(v, {
121
- "FencingTokenMismatch": "fencingTokenMismatch",
119
+ "fencing_token_mismatch": "fencingTokenMismatch",
122
120
  });
123
- return new One(remapped);
121
+ return new FencingToken(remapped);
124
122
  });
125
123
  /** @internal */
126
- exports.One$outboundSchema = z
127
- .instanceof(One)
124
+ exports.FencingToken$outboundSchema = z.instanceof(FencingToken)
128
125
  .transform(v => v.data$)
129
126
  .pipe(z.object({
130
127
  fencingTokenMismatch: z.string(),
131
128
  }).transform((v) => {
132
129
  return (0, primitives_js_1.remap)(v, {
133
- fencingTokenMismatch: "FencingTokenMismatch",
130
+ fencingTokenMismatch: "fencing_token_mismatch",
134
131
  });
135
132
  }));
136
133
  /**
137
134
  * @internal
138
135
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
139
136
  */
140
- var One$;
141
- (function (One$) {
142
- /** @deprecated use `One$inboundSchema` instead. */
143
- One$.inboundSchema = exports.One$inboundSchema;
144
- /** @deprecated use `One$outboundSchema` instead. */
145
- One$.outboundSchema = exports.One$outboundSchema;
146
- })(One$ || (exports.One$ = One$ = {}));
137
+ var FencingToken$;
138
+ (function (FencingToken$) {
139
+ /** @deprecated use `FencingToken$inboundSchema` instead. */
140
+ FencingToken$.inboundSchema = exports.FencingToken$inboundSchema;
141
+ /** @deprecated use `FencingToken$outboundSchema` instead. */
142
+ FencingToken$.outboundSchema = exports.FencingToken$outboundSchema;
143
+ })(FencingToken$ || (exports.FencingToken$ = FencingToken$ = {}));
147
144
  /** @internal */
148
- exports.AppendConditionFailed$inboundSchema = z.union([z.lazy(() => exports.One$inboundSchema), z.lazy(() => exports.Two$inboundSchema)]);
145
+ exports.AppendConditionFailed$inboundSchema = z.union([
146
+ z.lazy(() => exports.FencingToken$inboundSchema),
147
+ z.lazy(() => exports.SeqNum$inboundSchema),
148
+ ]);
149
149
  /** @internal */
150
150
  exports.AppendConditionFailed$outboundSchema = z.union([
151
- z.lazy(() => exports.One$outboundSchema),
152
- z.lazy(() => exports.Two$outboundSchema),
151
+ z.lazy(() => exports.FencingToken$outboundSchema),
152
+ z.lazy(() => exports.SeqNum$outboundSchema),
153
153
  ]);
154
154
  /**
155
155
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"appendconditionfailed.js","sourceRoot":"","sources":["../../../../src/models/errors/appendconditionfailed.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsOH,kEAMC;AAED,sEAQC;AApPD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAoBjD;;;;;GAKG;AACH,MAAa,GAAI,SAAQ,KAAK;IAY5B,YAAY,GAAY;QACtB,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QAEjB,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;QAEzC,IAAI,CAAC,IAAI,GAAG,KAAK,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C,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,yBAAiB,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,yBAAiB,CAAC,CAAC,CAAC,CAAC;AAKhF,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,KAAK,CAAC;IACV,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,0BAAkB,CAAC;IAChC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,0BAAkB,CAAC;CACjC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"appendconditionfailed.js","sourceRoot":"","sources":["../../../../src/models/errors/appendconditionfailed.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoPH,kEAMC;AAED,sEAQC;AAlQD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAoBjD;;;;;GAKG;AACH,MAAa,MAAO,SAAQ,KAAK;IAY/B,YAAY,GAAe;QACz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AC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
27
27
  export declare const SDK_METADATA: {
28
28
  readonly language: "typescript";
29
29
  readonly openapiDocVersion: "1.0.0";
30
- readonly sdkVersion: "0.13.2";
31
- readonly genVersion: "2.605.6";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.13.2 2.605.6 1.0.0 @s2-dev/streamstore";
30
+ readonly sdkVersion: "0.13.3";
31
+ readonly genVersion: "2.610.0";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.13.3 2.610.0 1.0.0 @s2-dev/streamstore";
33
33
  };
34
34
  //# sourceMappingURL=config.d.ts.map
@@ -24,8 +24,8 @@ export function serverURLFromOptions(options) {
24
24
  export const SDK_METADATA = {
25
25
  language: "typescript",
26
26
  openapiDocVersion: "1.0.0",
27
- sdkVersion: "0.13.2",
28
- genVersion: "2.605.6",
29
- userAgent: "speakeasy-sdk/typescript 0.13.2 2.605.6 1.0.0 @s2-dev/streamstore",
27
+ sdkVersion: "0.13.3",
28
+ genVersion: "2.610.0",
29
+ userAgent: "speakeasy-sdk/typescript 0.13.3 2.610.0 1.0.0 @s2-dev/streamstore",
30
30
  };
31
31
  //# sourceMappingURL=config.js.map
@@ -16,7 +16,7 @@ const routes = buildRouteMap({
16
16
  export const app = buildApplication(routes, {
17
17
  name: "mcp",
18
18
  versionInfo: {
19
- currentVersion: "0.13.2",
19
+ currentVersion: "0.13.3",
20
20
  },
21
21
  });
22
22
  run(app, process.argv.slice(2), buildContext(process));
@@ -27,7 +27,7 @@ import { tool$streamsReconfigureStream } from "./tools/streamsReconfigureStream.
27
27
  export function createMCPServer(deps) {
28
28
  const server = new McpServer({
29
29
  name: "S2",
30
- version: "0.13.2",
30
+ version: "0.13.3",
31
31
  });
32
32
  const client = new S2Core({
33
33
  accessToken: deps.accessToken,
@@ -7,7 +7,7 @@ import { SDKValidationError } from "./sdkvalidationerror.js";
7
7
  * @remarks
8
8
  * The expected next sequence number is returned.
9
9
  */
10
- export type TwoData = {
10
+ export type SeqNumData = {
11
11
  /**
12
12
  * Sequence number did not match the tail of the stream.
13
13
  *
@@ -22,7 +22,7 @@ export type TwoData = {
22
22
  * @remarks
23
23
  * The expected next sequence number is returned.
24
24
  */
25
- export declare class Two extends Error {
25
+ export declare class SeqNum extends Error {
26
26
  /**
27
27
  * Sequence number did not match the tail of the stream.
28
28
  *
@@ -31,21 +31,21 @@ export declare class Two extends Error {
31
31
  */
32
32
  seqNumMismatch: number;
33
33
  /** The original data that was passed to this error instance. */
34
- data$: TwoData;
35
- constructor(err: TwoData);
34
+ data$: SeqNumData;
35
+ constructor(err: SeqNumData);
36
36
  }
37
37
  /**
38
38
  * Fencing token did not match.
39
39
  *
40
40
  * @remarks
41
- * The expected fencing token is returned.
41
+ * The expected fencing token is returned, encoded with base64.
42
42
  */
43
- export type OneData = {
43
+ export type FencingTokenData = {
44
44
  /**
45
45
  * Fencing token did not match.
46
46
  *
47
47
  * @remarks
48
- * The expected fencing token is returned.
48
+ * The expected fencing token is returned, encoded with base64.
49
49
  */
50
50
  fencingTokenMismatch: string;
51
51
  };
@@ -53,68 +53,68 @@ export type OneData = {
53
53
  * Fencing token did not match.
54
54
  *
55
55
  * @remarks
56
- * The expected fencing token is returned.
56
+ * The expected fencing token is returned, encoded with base64.
57
57
  */
58
- export declare class One extends Error {
58
+ export declare class FencingToken extends Error {
59
59
  /**
60
60
  * Fencing token did not match.
61
61
  *
62
62
  * @remarks
63
- * The expected fencing token is returned.
63
+ * The expected fencing token is returned, encoded with base64.
64
64
  */
65
65
  fencingTokenMismatch: string;
66
66
  /** The original data that was passed to this error instance. */
67
- data$: OneData;
68
- constructor(err: OneData);
67
+ data$: FencingTokenData;
68
+ constructor(err: FencingTokenData);
69
69
  }
70
70
  /**
71
71
  * Failure response message when an Append is aborted due to a failed condition.
72
72
  */
73
- export type AppendConditionFailed = One | Two;
73
+ export type AppendConditionFailed = FencingToken | SeqNum;
74
74
  /** @internal */
75
- export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
75
+ export declare const SeqNum$inboundSchema: z.ZodType<SeqNum, z.ZodTypeDef, unknown>;
76
76
  /** @internal */
77
- export type Two$Outbound = {
78
- SeqNumMismatch: number;
77
+ export type SeqNum$Outbound = {
78
+ seq_num_mismatch: number;
79
79
  };
80
80
  /** @internal */
81
- export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
81
+ export declare const SeqNum$outboundSchema: z.ZodType<SeqNum$Outbound, z.ZodTypeDef, SeqNum>;
82
82
  /**
83
83
  * @internal
84
84
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
85
85
  */
86
- export declare namespace Two$ {
87
- /** @deprecated use `Two$inboundSchema` instead. */
88
- const inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
89
- /** @deprecated use `Two$outboundSchema` instead. */
90
- const outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
91
- /** @deprecated use `Two$Outbound` instead. */
92
- type Outbound = Two$Outbound;
86
+ export declare namespace SeqNum$ {
87
+ /** @deprecated use `SeqNum$inboundSchema` instead. */
88
+ const inboundSchema: z.ZodType<SeqNum, z.ZodTypeDef, unknown>;
89
+ /** @deprecated use `SeqNum$outboundSchema` instead. */
90
+ const outboundSchema: z.ZodType<SeqNum$Outbound, z.ZodTypeDef, SeqNum>;
91
+ /** @deprecated use `SeqNum$Outbound` instead. */
92
+ type Outbound = SeqNum$Outbound;
93
93
  }
94
94
  /** @internal */
95
- export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
95
+ export declare const FencingToken$inboundSchema: z.ZodType<FencingToken, z.ZodTypeDef, unknown>;
96
96
  /** @internal */
97
- export type One$Outbound = {
98
- FencingTokenMismatch: string;
97
+ export type FencingToken$Outbound = {
98
+ fencing_token_mismatch: string;
99
99
  };
100
100
  /** @internal */
101
- export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
101
+ export declare const FencingToken$outboundSchema: z.ZodType<FencingToken$Outbound, z.ZodTypeDef, FencingToken>;
102
102
  /**
103
103
  * @internal
104
104
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
105
105
  */
106
- export declare namespace One$ {
107
- /** @deprecated use `One$inboundSchema` instead. */
108
- const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
109
- /** @deprecated use `One$outboundSchema` instead. */
110
- const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
111
- /** @deprecated use `One$Outbound` instead. */
112
- type Outbound = One$Outbound;
106
+ export declare namespace FencingToken$ {
107
+ /** @deprecated use `FencingToken$inboundSchema` instead. */
108
+ const inboundSchema: z.ZodType<FencingToken, z.ZodTypeDef, unknown>;
109
+ /** @deprecated use `FencingToken$outboundSchema` instead. */
110
+ const outboundSchema: z.ZodType<FencingToken$Outbound, z.ZodTypeDef, FencingToken>;
111
+ /** @deprecated use `FencingToken$Outbound` instead. */
112
+ type Outbound = FencingToken$Outbound;
113
113
  }
114
114
  /** @internal */
115
115
  export declare const AppendConditionFailed$inboundSchema: z.ZodType<AppendConditionFailed, z.ZodTypeDef, unknown>;
116
116
  /** @internal */
117
- export type AppendConditionFailed$Outbound = One$Outbound | Two$Outbound;
117
+ export type AppendConditionFailed$Outbound = FencingToken$Outbound | SeqNum$Outbound;
118
118
  /** @internal */
119
119
  export declare const AppendConditionFailed$outboundSchema: z.ZodType<AppendConditionFailed$Outbound, z.ZodTypeDef, AppendConditionFailed>;
120
120
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"appendconditionfailed.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/appendconditionfailed.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB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