@s2-dev/streamstore 0.13.3 → 0.14.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/bin/mcp-server.js +80 -21
- package/bin/mcp-server.js.map +26 -25
- package/dist/commonjs/funcs/recordsRead.js +3 -1
- package/dist/commonjs/funcs/recordsRead.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/accesstokeninfo.d.ts +1 -1
- package/dist/commonjs/models/components/createbasinrequest.d.ts +6 -1
- package/dist/commonjs/models/components/createbasinrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createbasinrequest.js.map +1 -1
- package/dist/commonjs/models/components/createstreamrequest.d.ts +4 -1
- package/dist/commonjs/models/components/createstreamrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createstreamrequest.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +1 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/pingeventdata.d.ts +29 -0
- package/dist/commonjs/models/components/pingeventdata.d.ts.map +1 -0
- package/dist/commonjs/models/components/pingeventdata.js +69 -0
- package/dist/commonjs/models/components/pingeventdata.js.map +1 -0
- package/dist/commonjs/models/components/readevent.d.ts +77 -7
- package/dist/commonjs/models/components/readevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/readevent.js +79 -11
- package/dist/commonjs/models/components/readevent.js.map +1 -1
- package/dist/commonjs/models/components/s2format.d.ts +6 -6
- package/dist/commonjs/models/components/s2format.js +2 -2
- package/dist/commonjs/models/components/s2format.js.map +1 -1
- package/dist/commonjs/models/operations/append.d.ts +3 -7
- package/dist/commonjs/models/operations/append.d.ts.map +1 -1
- package/dist/commonjs/models/operations/append.js.map +1 -1
- package/dist/commonjs/models/operations/checktail.d.ts +1 -4
- package/dist/commonjs/models/operations/checktail.d.ts.map +1 -1
- package/dist/commonjs/models/operations/checktail.js.map +1 -1
- package/dist/commonjs/models/operations/createorreconfigurebasin.d.ts +1 -5
- package/dist/commonjs/models/operations/createorreconfigurebasin.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createorreconfigurebasin.js.map +1 -1
- package/dist/commonjs/models/operations/createorreconfigurestream.d.ts +1 -4
- package/dist/commonjs/models/operations/createorreconfigurestream.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createorreconfigurestream.js.map +1 -1
- package/dist/commonjs/models/operations/deletebasin.d.ts +1 -5
- package/dist/commonjs/models/operations/deletebasin.d.ts.map +1 -1
- package/dist/commonjs/models/operations/deletebasin.js.map +1 -1
- package/dist/commonjs/models/operations/deletestream.d.ts +1 -4
- package/dist/commonjs/models/operations/deletestream.d.ts.map +1 -1
- package/dist/commonjs/models/operations/deletestream.js.map +1 -1
- package/dist/commonjs/models/operations/getbasinconfig.d.ts +1 -5
- package/dist/commonjs/models/operations/getbasinconfig.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getbasinconfig.js.map +1 -1
- package/dist/commonjs/models/operations/getstreamconfig.d.ts +1 -4
- package/dist/commonjs/models/operations/getstreamconfig.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getstreamconfig.js.map +1 -1
- package/dist/commonjs/models/operations/read.d.ts +3 -7
- package/dist/commonjs/models/operations/read.d.ts.map +1 -1
- package/dist/commonjs/models/operations/read.js.map +1 -1
- package/dist/commonjs/models/operations/reconfigurebasin.d.ts +1 -5
- package/dist/commonjs/models/operations/reconfigurebasin.d.ts.map +1 -1
- package/dist/commonjs/models/operations/reconfigurebasin.js.map +1 -1
- package/dist/commonjs/models/operations/reconfigurestream.d.ts +1 -4
- package/dist/commonjs/models/operations/reconfigurestream.d.ts.map +1 -1
- package/dist/commonjs/models/operations/reconfigurestream.js.map +1 -1
- package/dist/commonjs/models/operations/revokeaccesstoken.d.ts +0 -3
- package/dist/commonjs/models/operations/revokeaccesstoken.d.ts.map +1 -1
- package/dist/commonjs/models/operations/revokeaccesstoken.js.map +1 -1
- package/dist/esm/funcs/recordsRead.js +3 -1
- package/dist/esm/funcs/recordsRead.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/accesstokeninfo.d.ts +1 -1
- package/dist/esm/models/components/createbasinrequest.d.ts +6 -1
- package/dist/esm/models/components/createbasinrequest.d.ts.map +1 -1
- package/dist/esm/models/components/createbasinrequest.js.map +1 -1
- package/dist/esm/models/components/createstreamrequest.d.ts +4 -1
- package/dist/esm/models/components/createstreamrequest.d.ts.map +1 -1
- package/dist/esm/models/components/createstreamrequest.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +1 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/pingeventdata.d.ts +29 -0
- package/dist/esm/models/components/pingeventdata.d.ts.map +1 -0
- package/dist/esm/models/components/pingeventdata.js +31 -0
- package/dist/esm/models/components/pingeventdata.js.map +1 -0
- package/dist/esm/models/components/readevent.d.ts +77 -7
- package/dist/esm/models/components/readevent.d.ts.map +1 -1
- package/dist/esm/models/components/readevent.js +78 -10
- package/dist/esm/models/components/readevent.js.map +1 -1
- package/dist/esm/models/components/s2format.d.ts +6 -6
- package/dist/esm/models/components/s2format.js +2 -2
- package/dist/esm/models/components/s2format.js.map +1 -1
- package/dist/esm/models/operations/append.d.ts +3 -7
- package/dist/esm/models/operations/append.d.ts.map +1 -1
- package/dist/esm/models/operations/append.js.map +1 -1
- package/dist/esm/models/operations/checktail.d.ts +1 -4
- package/dist/esm/models/operations/checktail.d.ts.map +1 -1
- package/dist/esm/models/operations/checktail.js.map +1 -1
- package/dist/esm/models/operations/createorreconfigurebasin.d.ts +1 -5
- package/dist/esm/models/operations/createorreconfigurebasin.d.ts.map +1 -1
- package/dist/esm/models/operations/createorreconfigurebasin.js.map +1 -1
- package/dist/esm/models/operations/createorreconfigurestream.d.ts +1 -4
- package/dist/esm/models/operations/createorreconfigurestream.d.ts.map +1 -1
- package/dist/esm/models/operations/createorreconfigurestream.js.map +1 -1
- package/dist/esm/models/operations/deletebasin.d.ts +1 -5
- package/dist/esm/models/operations/deletebasin.d.ts.map +1 -1
- package/dist/esm/models/operations/deletebasin.js.map +1 -1
- package/dist/esm/models/operations/deletestream.d.ts +1 -4
- package/dist/esm/models/operations/deletestream.d.ts.map +1 -1
- package/dist/esm/models/operations/deletestream.js.map +1 -1
- package/dist/esm/models/operations/getbasinconfig.d.ts +1 -5
- package/dist/esm/models/operations/getbasinconfig.d.ts.map +1 -1
- package/dist/esm/models/operations/getbasinconfig.js.map +1 -1
- package/dist/esm/models/operations/getstreamconfig.d.ts +1 -4
- package/dist/esm/models/operations/getstreamconfig.d.ts.map +1 -1
- package/dist/esm/models/operations/getstreamconfig.js.map +1 -1
- package/dist/esm/models/operations/read.d.ts +3 -7
- package/dist/esm/models/operations/read.d.ts.map +1 -1
- package/dist/esm/models/operations/read.js.map +1 -1
- package/dist/esm/models/operations/reconfigurebasin.d.ts +1 -5
- package/dist/esm/models/operations/reconfigurebasin.d.ts.map +1 -1
- package/dist/esm/models/operations/reconfigurebasin.js.map +1 -1
- package/dist/esm/models/operations/reconfigurestream.d.ts +1 -4
- package/dist/esm/models/operations/reconfigurestream.d.ts.map +1 -1
- package/dist/esm/models/operations/reconfigurestream.js.map +1 -1
- package/dist/esm/models/operations/revokeaccesstoken.d.ts +0 -3
- package/dist/esm/models/operations/revokeaccesstoken.d.ts.map +1 -1
- package/dist/esm/models/operations/revokeaccesstoken.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/recordsRead.ts +3 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/accesstokeninfo.ts +1 -1
- package/src/models/components/createbasinrequest.ts +6 -1
- package/src/models/components/createstreamrequest.ts +4 -1
- package/src/models/components/index.ts +1 -0
- package/src/models/components/pingeventdata.ts +62 -0
- package/src/models/components/readevent.ts +116 -18
- package/src/models/components/s2format.ts +2 -2
- package/src/models/operations/append.ts +3 -7
- package/src/models/operations/checktail.ts +1 -4
- package/src/models/operations/createorreconfigurebasin.ts +1 -5
- package/src/models/operations/createorreconfigurestream.ts +1 -4
- package/src/models/operations/deletebasin.ts +1 -5
- package/src/models/operations/deletestream.ts +1 -4
- package/src/models/operations/getbasinconfig.ts +1 -5
- package/src/models/operations/getstreamconfig.ts +1 -4
- package/src/models/operations/read.ts +3 -7
- package/src/models/operations/reconfigurebasin.ts +1 -5
- package/src/models/operations/reconfigurestream.ts +1 -4
- package/src/models/operations/revokeaccesstoken.ts +0 -3
|
@@ -4,8 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
PingEventData,
|
|
12
|
+
PingEventData$inboundSchema,
|
|
13
|
+
PingEventData$Outbound,
|
|
14
|
+
PingEventData$outboundSchema,
|
|
15
|
+
} from "./pingeventdata.js";
|
|
9
16
|
import {
|
|
10
17
|
ReadBatch,
|
|
11
18
|
ReadBatch$inboundSchema,
|
|
@@ -13,41 +20,88 @@ import {
|
|
|
13
20
|
ReadBatch$outboundSchema,
|
|
14
21
|
} from "./readbatch.js";
|
|
15
22
|
|
|
23
|
+
export const ReadEvent3Event = {
|
|
24
|
+
Ping: "ping",
|
|
25
|
+
} as const;
|
|
26
|
+
export type ReadEvent3Event = ClosedEnum<typeof ReadEvent3Event>;
|
|
27
|
+
|
|
16
28
|
export type Ping = {
|
|
17
|
-
data:
|
|
18
|
-
event:
|
|
29
|
+
data: PingEventData;
|
|
30
|
+
event: ReadEvent3Event;
|
|
19
31
|
};
|
|
20
32
|
|
|
33
|
+
export const ReadEventEvent = {
|
|
34
|
+
Error: "error",
|
|
35
|
+
} as const;
|
|
36
|
+
export type ReadEventEvent = ClosedEnum<typeof ReadEventEvent>;
|
|
37
|
+
|
|
21
38
|
export type ErrorT = {
|
|
22
39
|
data: string;
|
|
23
|
-
event:
|
|
40
|
+
event: ReadEventEvent;
|
|
24
41
|
};
|
|
25
42
|
|
|
43
|
+
export const Event = {
|
|
44
|
+
Batch: "batch",
|
|
45
|
+
} as const;
|
|
46
|
+
export type Event = ClosedEnum<typeof Event>;
|
|
47
|
+
|
|
26
48
|
export type Batch = {
|
|
27
49
|
data: ReadBatch;
|
|
28
|
-
event:
|
|
50
|
+
event: Event;
|
|
51
|
+
id: string;
|
|
29
52
|
};
|
|
30
53
|
|
|
31
|
-
export type ReadEvent =
|
|
54
|
+
export type ReadEvent = ErrorT | Ping | Batch;
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const ReadEvent3Event$inboundSchema: z.ZodNativeEnum<
|
|
58
|
+
typeof ReadEvent3Event
|
|
59
|
+
> = z.nativeEnum(ReadEvent3Event);
|
|
60
|
+
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const ReadEvent3Event$outboundSchema: z.ZodNativeEnum<
|
|
63
|
+
typeof ReadEvent3Event
|
|
64
|
+
> = ReadEvent3Event$inboundSchema;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
export namespace ReadEvent3Event$ {
|
|
71
|
+
/** @deprecated use `ReadEvent3Event$inboundSchema` instead. */
|
|
72
|
+
export const inboundSchema = ReadEvent3Event$inboundSchema;
|
|
73
|
+
/** @deprecated use `ReadEvent3Event$outboundSchema` instead. */
|
|
74
|
+
export const outboundSchema = ReadEvent3Event$outboundSchema;
|
|
75
|
+
}
|
|
32
76
|
|
|
33
77
|
/** @internal */
|
|
34
78
|
export const Ping$inboundSchema: z.ZodType<Ping, z.ZodTypeDef, unknown> = z
|
|
35
79
|
.object({
|
|
36
|
-
data: z.string(),
|
|
37
|
-
|
|
80
|
+
data: z.string().transform((v, ctx) => {
|
|
81
|
+
try {
|
|
82
|
+
return JSON.parse(v);
|
|
83
|
+
} catch (err) {
|
|
84
|
+
ctx.addIssue({
|
|
85
|
+
code: z.ZodIssueCode.custom,
|
|
86
|
+
message: `malformed json: ${err}`,
|
|
87
|
+
});
|
|
88
|
+
return z.NEVER;
|
|
89
|
+
}
|
|
90
|
+
}).pipe(PingEventData$inboundSchema),
|
|
91
|
+
event: ReadEvent3Event$inboundSchema,
|
|
38
92
|
});
|
|
39
93
|
|
|
40
94
|
/** @internal */
|
|
41
95
|
export type Ping$Outbound = {
|
|
42
|
-
data:
|
|
96
|
+
data: PingEventData$Outbound;
|
|
43
97
|
event: string;
|
|
44
98
|
};
|
|
45
99
|
|
|
46
100
|
/** @internal */
|
|
47
101
|
export const Ping$outboundSchema: z.ZodType<Ping$Outbound, z.ZodTypeDef, Ping> =
|
|
48
102
|
z.object({
|
|
49
|
-
data:
|
|
50
|
-
event:
|
|
103
|
+
data: PingEventData$outboundSchema,
|
|
104
|
+
event: ReadEvent3Event$outboundSchema,
|
|
51
105
|
});
|
|
52
106
|
|
|
53
107
|
/**
|
|
@@ -77,11 +131,32 @@ export function pingFromJSON(
|
|
|
77
131
|
);
|
|
78
132
|
}
|
|
79
133
|
|
|
134
|
+
/** @internal */
|
|
135
|
+
export const ReadEventEvent$inboundSchema: z.ZodNativeEnum<
|
|
136
|
+
typeof ReadEventEvent
|
|
137
|
+
> = z.nativeEnum(ReadEventEvent);
|
|
138
|
+
|
|
139
|
+
/** @internal */
|
|
140
|
+
export const ReadEventEvent$outboundSchema: z.ZodNativeEnum<
|
|
141
|
+
typeof ReadEventEvent
|
|
142
|
+
> = ReadEventEvent$inboundSchema;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @internal
|
|
146
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
147
|
+
*/
|
|
148
|
+
export namespace ReadEventEvent$ {
|
|
149
|
+
/** @deprecated use `ReadEventEvent$inboundSchema` instead. */
|
|
150
|
+
export const inboundSchema = ReadEventEvent$inboundSchema;
|
|
151
|
+
/** @deprecated use `ReadEventEvent$outboundSchema` instead. */
|
|
152
|
+
export const outboundSchema = ReadEventEvent$outboundSchema;
|
|
153
|
+
}
|
|
154
|
+
|
|
80
155
|
/** @internal */
|
|
81
156
|
export const ErrorT$inboundSchema: z.ZodType<ErrorT, z.ZodTypeDef, unknown> = z
|
|
82
157
|
.object({
|
|
83
158
|
data: z.string(),
|
|
84
|
-
event:
|
|
159
|
+
event: ReadEventEvent$inboundSchema,
|
|
85
160
|
});
|
|
86
161
|
|
|
87
162
|
/** @internal */
|
|
@@ -97,7 +172,7 @@ export const ErrorT$outboundSchema: z.ZodType<
|
|
|
97
172
|
ErrorT
|
|
98
173
|
> = z.object({
|
|
99
174
|
data: z.string(),
|
|
100
|
-
event:
|
|
175
|
+
event: ReadEventEvent$outboundSchema,
|
|
101
176
|
});
|
|
102
177
|
|
|
103
178
|
/**
|
|
@@ -127,6 +202,26 @@ export function errorFromJSON(
|
|
|
127
202
|
);
|
|
128
203
|
}
|
|
129
204
|
|
|
205
|
+
/** @internal */
|
|
206
|
+
export const Event$inboundSchema: z.ZodNativeEnum<typeof Event> = z.nativeEnum(
|
|
207
|
+
Event,
|
|
208
|
+
);
|
|
209
|
+
|
|
210
|
+
/** @internal */
|
|
211
|
+
export const Event$outboundSchema: z.ZodNativeEnum<typeof Event> =
|
|
212
|
+
Event$inboundSchema;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @internal
|
|
216
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
217
|
+
*/
|
|
218
|
+
export namespace Event$ {
|
|
219
|
+
/** @deprecated use `Event$inboundSchema` instead. */
|
|
220
|
+
export const inboundSchema = Event$inboundSchema;
|
|
221
|
+
/** @deprecated use `Event$outboundSchema` instead. */
|
|
222
|
+
export const outboundSchema = Event$outboundSchema;
|
|
223
|
+
}
|
|
224
|
+
|
|
130
225
|
/** @internal */
|
|
131
226
|
export const Batch$inboundSchema: z.ZodType<Batch, z.ZodTypeDef, unknown> = z
|
|
132
227
|
.object({
|
|
@@ -141,13 +236,15 @@ export const Batch$inboundSchema: z.ZodType<Batch, z.ZodTypeDef, unknown> = z
|
|
|
141
236
|
return z.NEVER;
|
|
142
237
|
}
|
|
143
238
|
}).pipe(ReadBatch$inboundSchema),
|
|
144
|
-
event:
|
|
239
|
+
event: Event$inboundSchema,
|
|
240
|
+
id: z.string(),
|
|
145
241
|
});
|
|
146
242
|
|
|
147
243
|
/** @internal */
|
|
148
244
|
export type Batch$Outbound = {
|
|
149
245
|
data: ReadBatch$Outbound;
|
|
150
246
|
event: string;
|
|
247
|
+
id: string;
|
|
151
248
|
};
|
|
152
249
|
|
|
153
250
|
/** @internal */
|
|
@@ -157,7 +254,8 @@ export const Batch$outboundSchema: z.ZodType<
|
|
|
157
254
|
Batch
|
|
158
255
|
> = z.object({
|
|
159
256
|
data: ReadBatch$outboundSchema,
|
|
160
|
-
event:
|
|
257
|
+
event: Event$outboundSchema,
|
|
258
|
+
id: z.string(),
|
|
161
259
|
});
|
|
162
260
|
|
|
163
261
|
/**
|
|
@@ -193,16 +291,16 @@ export const ReadEvent$inboundSchema: z.ZodType<
|
|
|
193
291
|
z.ZodTypeDef,
|
|
194
292
|
unknown
|
|
195
293
|
> = z.union([
|
|
196
|
-
z.lazy(() => Batch$inboundSchema),
|
|
197
294
|
z.lazy(() => ErrorT$inboundSchema),
|
|
198
295
|
z.lazy(() => Ping$inboundSchema),
|
|
296
|
+
z.lazy(() => Batch$inboundSchema),
|
|
199
297
|
]);
|
|
200
298
|
|
|
201
299
|
/** @internal */
|
|
202
300
|
export type ReadEvent$Outbound =
|
|
203
|
-
| Batch$Outbound
|
|
204
301
|
| ErrorT$Outbound
|
|
205
|
-
| Ping$Outbound
|
|
302
|
+
| Ping$Outbound
|
|
303
|
+
| Batch$Outbound;
|
|
206
304
|
|
|
207
305
|
/** @internal */
|
|
208
306
|
export const ReadEvent$outboundSchema: z.ZodType<
|
|
@@ -210,9 +308,9 @@ export const ReadEvent$outboundSchema: z.ZodType<
|
|
|
210
308
|
z.ZodTypeDef,
|
|
211
309
|
ReadEvent
|
|
212
310
|
> = z.union([
|
|
213
|
-
z.lazy(() => Batch$outboundSchema),
|
|
214
311
|
z.lazy(() => ErrorT$outboundSchema),
|
|
215
312
|
z.lazy(() => Ping$outboundSchema),
|
|
313
|
+
z.lazy(() => Batch$outboundSchema),
|
|
216
314
|
]);
|
|
217
315
|
|
|
218
316
|
/**
|
|
@@ -6,8 +6,8 @@ import * as z from "zod";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
export const S2Format = {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
Raw: "raw",
|
|
10
|
+
Base64: "base64",
|
|
11
11
|
} as const;
|
|
12
12
|
export type S2Format = ClosedEnum<typeof S2Format>;
|
|
13
13
|
|
|
@@ -18,18 +18,14 @@ export const AppendServerList = [
|
|
|
18
18
|
|
|
19
19
|
export type AppendRequest = {
|
|
20
20
|
/**
|
|
21
|
-
* Stream name
|
|
22
|
-
*
|
|
23
|
-
* @remarks
|
|
24
|
-
* It can be an arbitrary string up to 512 characters.
|
|
21
|
+
* Stream name.
|
|
25
22
|
*/
|
|
26
23
|
stream: string;
|
|
27
24
|
/**
|
|
28
|
-
*
|
|
25
|
+
* Define treatment of blob fields when exchanging records as JSON.
|
|
29
26
|
*
|
|
30
27
|
* @remarks
|
|
31
|
-
*
|
|
32
|
-
* json-binsafe: Base64-encoded binary data
|
|
28
|
+
* The default is `raw`.
|
|
33
29
|
*/
|
|
34
30
|
s2Format?: components.S2Format | undefined;
|
|
35
31
|
/**
|
|
@@ -17,10 +17,7 @@ export const CheckTailServerList = [
|
|
|
17
17
|
|
|
18
18
|
export type CheckTailRequest = {
|
|
19
19
|
/**
|
|
20
|
-
* Stream name
|
|
21
|
-
*
|
|
22
|
-
* @remarks
|
|
23
|
-
* It can be an arbitrary string up to 512 characters.
|
|
20
|
+
* Stream name.
|
|
24
21
|
*/
|
|
25
22
|
stream: string;
|
|
26
23
|
/**
|
|
@@ -15,11 +15,7 @@ export type CreateOrReconfigureBasinRequest = {
|
|
|
15
15
|
*/
|
|
16
16
|
s2RequestToken?: string | undefined;
|
|
17
17
|
/**
|
|
18
|
-
* Basin name
|
|
19
|
-
*
|
|
20
|
-
* @remarks
|
|
21
|
-
* The name must be between 8 and 48 characters, comprising lowercase
|
|
22
|
-
* letters, numbers and hyphens. It cannot begin or end with a hyphen.
|
|
18
|
+
* Basin name.
|
|
23
19
|
*/
|
|
24
20
|
basin: string;
|
|
25
21
|
createOrReconfigureBasinRequest?:
|
|
@@ -18,10 +18,7 @@ export const CreateOrReconfigureStreamServerList = [
|
|
|
18
18
|
|
|
19
19
|
export type CreateOrReconfigureStreamRequest = {
|
|
20
20
|
/**
|
|
21
|
-
* Stream name
|
|
22
|
-
*
|
|
23
|
-
* @remarks
|
|
24
|
-
* It can be an arbitrary string up to 512 characters.
|
|
21
|
+
* Stream name.
|
|
25
22
|
*/
|
|
26
23
|
stream: string;
|
|
27
24
|
/**
|
|
@@ -9,11 +9,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
9
9
|
|
|
10
10
|
export type DeleteBasinRequest = {
|
|
11
11
|
/**
|
|
12
|
-
* Basin name
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* The name must be between 8 and 48 characters, comprising lowercase
|
|
16
|
-
* letters, numbers and hyphens. It cannot begin or end with a hyphen.
|
|
12
|
+
* Basin name.
|
|
17
13
|
*/
|
|
18
14
|
basin: string;
|
|
19
15
|
};
|
|
@@ -17,10 +17,7 @@ export const DeleteStreamServerList = [
|
|
|
17
17
|
|
|
18
18
|
export type DeleteStreamRequest = {
|
|
19
19
|
/**
|
|
20
|
-
* Stream name
|
|
21
|
-
*
|
|
22
|
-
* @remarks
|
|
23
|
-
* It can be an arbitrary string up to 512 characters.
|
|
20
|
+
* Stream name.
|
|
24
21
|
*/
|
|
25
22
|
stream: string;
|
|
26
23
|
/**
|
|
@@ -9,11 +9,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
9
9
|
|
|
10
10
|
export type GetBasinConfigRequest = {
|
|
11
11
|
/**
|
|
12
|
-
* Basin name
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* The name must be between 8 and 48 characters, comprising lowercase
|
|
16
|
-
* letters, numbers and hyphens. It cannot begin or end with a hyphen.
|
|
12
|
+
* Basin name.
|
|
17
13
|
*/
|
|
18
14
|
basin: string;
|
|
19
15
|
};
|
|
@@ -17,10 +17,7 @@ export const GetStreamConfigServerList = [
|
|
|
17
17
|
|
|
18
18
|
export type GetStreamConfigRequest = {
|
|
19
19
|
/**
|
|
20
|
-
* Stream name
|
|
21
|
-
*
|
|
22
|
-
* @remarks
|
|
23
|
-
* It can be an arbitrary string up to 512 characters.
|
|
20
|
+
* Stream name.
|
|
24
21
|
*/
|
|
25
22
|
stream: string;
|
|
26
23
|
/**
|
|
@@ -19,18 +19,14 @@ export const ReadServerList = [
|
|
|
19
19
|
|
|
20
20
|
export type ReadRequest = {
|
|
21
21
|
/**
|
|
22
|
-
* Stream name
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* It can be an arbitrary string up to 512 characters.
|
|
22
|
+
* Stream name.
|
|
26
23
|
*/
|
|
27
24
|
stream: string;
|
|
28
25
|
/**
|
|
29
|
-
*
|
|
26
|
+
* Define treatment of blob fields when exchanging records as JSON.
|
|
30
27
|
*
|
|
31
28
|
* @remarks
|
|
32
|
-
*
|
|
33
|
-
* json-binsafe: Base64-encoded binary data
|
|
29
|
+
* The default is `raw`.
|
|
34
30
|
*/
|
|
35
31
|
s2Format?: components.S2Format | undefined;
|
|
36
32
|
/**
|
|
@@ -11,11 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type ReconfigureBasinRequest = {
|
|
13
13
|
/**
|
|
14
|
-
* Basin name
|
|
15
|
-
*
|
|
16
|
-
* @remarks
|
|
17
|
-
* The name must be between 8 and 48 characters, comprising lowercase
|
|
18
|
-
* letters, numbers and hyphens. It cannot begin or end with a hyphen.
|
|
14
|
+
* Basin name.
|
|
19
15
|
*/
|
|
20
16
|
basin: string;
|
|
21
17
|
basinReconfiguration: components.BasinReconfiguration;
|
|
@@ -18,10 +18,7 @@ export const ReconfigureStreamServerList = [
|
|
|
18
18
|
|
|
19
19
|
export type ReconfigureStreamRequest = {
|
|
20
20
|
/**
|
|
21
|
-
* Stream name
|
|
22
|
-
*
|
|
23
|
-
* @remarks
|
|
24
|
-
* It can be an arbitrary string up to 512 characters.
|
|
21
|
+
* Stream name.
|
|
25
22
|
*/
|
|
26
23
|
stream: string;
|
|
27
24
|
/**
|
|
@@ -10,9 +10,6 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
export type RevokeAccessTokenRequest = {
|
|
11
11
|
/**
|
|
12
12
|
* Access token ID.
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* It must be unique to the account and between 1 and 96 characters.
|
|
16
13
|
*/
|
|
17
14
|
id: string;
|
|
18
15
|
};
|