@s2-dev/streamstore 0.13.2 → 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 +1115 -990
- package/bin/mcp-server.js.map +37 -27
- package/dist/commonjs/funcs/recordsRead.js +3 -1
- package/dist/commonjs/funcs/recordsRead.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- 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/errors/appendconditionfailed.d.ts +36 -36
- package/dist/commonjs/models/errors/appendconditionfailed.d.ts.map +1 -1
- package/dist/commonjs/models/errors/appendconditionfailed.js +40 -40
- package/dist/commonjs/models/errors/appendconditionfailed.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 +3 -3
- package/dist/esm/lib/config.js +3 -3
- 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/errors/appendconditionfailed.d.ts +36 -36
- package/dist/esm/models/errors/appendconditionfailed.d.ts.map +1 -1
- package/dist/esm/models/errors/appendconditionfailed.js +37 -37
- package/dist/esm/models/errors/appendconditionfailed.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/docs/sdks/records/README.md +2 -2
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/funcs/recordsRead.ts +3 -1
- package/src/lib/config.ts +3 -3
- 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/errors/appendconditionfailed.ts +67 -53
- 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
|
@@ -14,7 +14,7 @@ import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
|
14
14
|
* @remarks
|
|
15
15
|
* The expected next sequence number is returned.
|
|
16
16
|
*/
|
|
17
|
-
export type
|
|
17
|
+
export type SeqNumData = {
|
|
18
18
|
/**
|
|
19
19
|
* Sequence number did not match the tail of the stream.
|
|
20
20
|
*
|
|
@@ -30,7 +30,7 @@ export type TwoData = {
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* The expected next sequence number is returned.
|
|
32
32
|
*/
|
|
33
|
-
export class
|
|
33
|
+
export class SeqNum extends Error {
|
|
34
34
|
/**
|
|
35
35
|
* Sequence number did not match the tail of the stream.
|
|
36
36
|
*
|
|
@@ -40,9 +40,9 @@ export class Two extends Error {
|
|
|
40
40
|
seqNumMismatch: number;
|
|
41
41
|
|
|
42
42
|
/** The original data that was passed to this error instance. */
|
|
43
|
-
data$:
|
|
43
|
+
data$: SeqNumData;
|
|
44
44
|
|
|
45
|
-
constructor(err:
|
|
45
|
+
constructor(err: SeqNumData) {
|
|
46
46
|
const message = "message" in err && typeof err.message === "string"
|
|
47
47
|
? err.message
|
|
48
48
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -51,7 +51,7 @@ export class Two extends Error {
|
|
|
51
51
|
|
|
52
52
|
this.seqNumMismatch = err.seqNumMismatch;
|
|
53
53
|
|
|
54
|
-
this.name = "
|
|
54
|
+
this.name = "SeqNum";
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -59,14 +59,14 @@ export class Two extends Error {
|
|
|
59
59
|
* Fencing token did not match.
|
|
60
60
|
*
|
|
61
61
|
* @remarks
|
|
62
|
-
* The expected fencing token is returned.
|
|
62
|
+
* The expected fencing token is returned, encoded with base64.
|
|
63
63
|
*/
|
|
64
|
-
export type
|
|
64
|
+
export type FencingTokenData = {
|
|
65
65
|
/**
|
|
66
66
|
* Fencing token did not match.
|
|
67
67
|
*
|
|
68
68
|
* @remarks
|
|
69
|
-
* The expected fencing token is returned.
|
|
69
|
+
* The expected fencing token is returned, encoded with base64.
|
|
70
70
|
*/
|
|
71
71
|
fencingTokenMismatch: string;
|
|
72
72
|
};
|
|
@@ -75,21 +75,21 @@ export type OneData = {
|
|
|
75
75
|
* Fencing token did not match.
|
|
76
76
|
*
|
|
77
77
|
* @remarks
|
|
78
|
-
* The expected fencing token is returned.
|
|
78
|
+
* The expected fencing token is returned, encoded with base64.
|
|
79
79
|
*/
|
|
80
|
-
export class
|
|
80
|
+
export class FencingToken extends Error {
|
|
81
81
|
/**
|
|
82
82
|
* Fencing token did not match.
|
|
83
83
|
*
|
|
84
84
|
* @remarks
|
|
85
|
-
* The expected fencing token is returned.
|
|
85
|
+
* The expected fencing token is returned, encoded with base64.
|
|
86
86
|
*/
|
|
87
87
|
fencingTokenMismatch: string;
|
|
88
88
|
|
|
89
89
|
/** The original data that was passed to this error instance. */
|
|
90
|
-
data$:
|
|
90
|
+
data$: FencingTokenData;
|
|
91
91
|
|
|
92
|
-
constructor(err:
|
|
92
|
+
constructor(err: FencingTokenData) {
|
|
93
93
|
const message = "message" in err && typeof err.message === "string"
|
|
94
94
|
? err.message
|
|
95
95
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -98,43 +98,46 @@ export class One extends Error {
|
|
|
98
98
|
|
|
99
99
|
this.fencingTokenMismatch = err.fencingTokenMismatch;
|
|
100
100
|
|
|
101
|
-
this.name = "
|
|
101
|
+
this.name = "FencingToken";
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
106
|
* Failure response message when an Append is aborted due to a failed condition.
|
|
107
107
|
*/
|
|
108
|
-
export type AppendConditionFailed =
|
|
108
|
+
export type AppendConditionFailed = FencingToken | SeqNum;
|
|
109
109
|
|
|
110
110
|
/** @internal */
|
|
111
|
-
export const
|
|
111
|
+
export const SeqNum$inboundSchema: z.ZodType<SeqNum, z.ZodTypeDef, unknown> = z
|
|
112
112
|
.object({
|
|
113
|
-
|
|
113
|
+
seq_num_mismatch: z.number().int(),
|
|
114
114
|
})
|
|
115
115
|
.transform((v) => {
|
|
116
116
|
const remapped = remap$(v, {
|
|
117
|
-
"
|
|
117
|
+
"seq_num_mismatch": "seqNumMismatch",
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
-
return new
|
|
120
|
+
return new SeqNum(remapped);
|
|
121
121
|
});
|
|
122
122
|
|
|
123
123
|
/** @internal */
|
|
124
|
-
export type
|
|
125
|
-
|
|
124
|
+
export type SeqNum$Outbound = {
|
|
125
|
+
seq_num_mismatch: number;
|
|
126
126
|
};
|
|
127
127
|
|
|
128
128
|
/** @internal */
|
|
129
|
-
export const
|
|
130
|
-
|
|
129
|
+
export const SeqNum$outboundSchema: z.ZodType<
|
|
130
|
+
SeqNum$Outbound,
|
|
131
|
+
z.ZodTypeDef,
|
|
132
|
+
SeqNum
|
|
133
|
+
> = z.instanceof(SeqNum)
|
|
131
134
|
.transform(v => v.data$)
|
|
132
135
|
.pipe(
|
|
133
136
|
z.object({
|
|
134
137
|
seqNumMismatch: z.number().int(),
|
|
135
138
|
}).transform((v) => {
|
|
136
139
|
return remap$(v, {
|
|
137
|
-
seqNumMismatch: "
|
|
140
|
+
seqNumMismatch: "seq_num_mismatch",
|
|
138
141
|
});
|
|
139
142
|
}),
|
|
140
143
|
);
|
|
@@ -143,43 +146,49 @@ export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
|
|
|
143
146
|
* @internal
|
|
144
147
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
145
148
|
*/
|
|
146
|
-
export namespace
|
|
147
|
-
/** @deprecated use `
|
|
148
|
-
export const inboundSchema =
|
|
149
|
-
/** @deprecated use `
|
|
150
|
-
export const outboundSchema =
|
|
151
|
-
/** @deprecated use `
|
|
152
|
-
export type Outbound =
|
|
149
|
+
export namespace SeqNum$ {
|
|
150
|
+
/** @deprecated use `SeqNum$inboundSchema` instead. */
|
|
151
|
+
export const inboundSchema = SeqNum$inboundSchema;
|
|
152
|
+
/** @deprecated use `SeqNum$outboundSchema` instead. */
|
|
153
|
+
export const outboundSchema = SeqNum$outboundSchema;
|
|
154
|
+
/** @deprecated use `SeqNum$Outbound` instead. */
|
|
155
|
+
export type Outbound = SeqNum$Outbound;
|
|
153
156
|
}
|
|
154
157
|
|
|
155
158
|
/** @internal */
|
|
156
|
-
export const
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
159
|
+
export const FencingToken$inboundSchema: z.ZodType<
|
|
160
|
+
FencingToken,
|
|
161
|
+
z.ZodTypeDef,
|
|
162
|
+
unknown
|
|
163
|
+
> = z.object({
|
|
164
|
+
fencing_token_mismatch: z.string(),
|
|
165
|
+
})
|
|
160
166
|
.transform((v) => {
|
|
161
167
|
const remapped = remap$(v, {
|
|
162
|
-
"
|
|
168
|
+
"fencing_token_mismatch": "fencingTokenMismatch",
|
|
163
169
|
});
|
|
164
170
|
|
|
165
|
-
return new
|
|
171
|
+
return new FencingToken(remapped);
|
|
166
172
|
});
|
|
167
173
|
|
|
168
174
|
/** @internal */
|
|
169
|
-
export type
|
|
170
|
-
|
|
175
|
+
export type FencingToken$Outbound = {
|
|
176
|
+
fencing_token_mismatch: string;
|
|
171
177
|
};
|
|
172
178
|
|
|
173
179
|
/** @internal */
|
|
174
|
-
export const
|
|
175
|
-
|
|
180
|
+
export const FencingToken$outboundSchema: z.ZodType<
|
|
181
|
+
FencingToken$Outbound,
|
|
182
|
+
z.ZodTypeDef,
|
|
183
|
+
FencingToken
|
|
184
|
+
> = z.instanceof(FencingToken)
|
|
176
185
|
.transform(v => v.data$)
|
|
177
186
|
.pipe(
|
|
178
187
|
z.object({
|
|
179
188
|
fencingTokenMismatch: z.string(),
|
|
180
189
|
}).transform((v) => {
|
|
181
190
|
return remap$(v, {
|
|
182
|
-
fencingTokenMismatch: "
|
|
191
|
+
fencingTokenMismatch: "fencing_token_mismatch",
|
|
183
192
|
});
|
|
184
193
|
}),
|
|
185
194
|
);
|
|
@@ -188,13 +197,13 @@ export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
|
|
|
188
197
|
* @internal
|
|
189
198
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
190
199
|
*/
|
|
191
|
-
export namespace
|
|
192
|
-
/** @deprecated use `
|
|
193
|
-
export const inboundSchema =
|
|
194
|
-
/** @deprecated use `
|
|
195
|
-
export const outboundSchema =
|
|
196
|
-
/** @deprecated use `
|
|
197
|
-
export type Outbound =
|
|
200
|
+
export namespace FencingToken$ {
|
|
201
|
+
/** @deprecated use `FencingToken$inboundSchema` instead. */
|
|
202
|
+
export const inboundSchema = FencingToken$inboundSchema;
|
|
203
|
+
/** @deprecated use `FencingToken$outboundSchema` instead. */
|
|
204
|
+
export const outboundSchema = FencingToken$outboundSchema;
|
|
205
|
+
/** @deprecated use `FencingToken$Outbound` instead. */
|
|
206
|
+
export type Outbound = FencingToken$Outbound;
|
|
198
207
|
}
|
|
199
208
|
|
|
200
209
|
/** @internal */
|
|
@@ -202,10 +211,15 @@ export const AppendConditionFailed$inboundSchema: z.ZodType<
|
|
|
202
211
|
AppendConditionFailed,
|
|
203
212
|
z.ZodTypeDef,
|
|
204
213
|
unknown
|
|
205
|
-
> = z.union([
|
|
214
|
+
> = z.union([
|
|
215
|
+
z.lazy(() => FencingToken$inboundSchema),
|
|
216
|
+
z.lazy(() => SeqNum$inboundSchema),
|
|
217
|
+
]);
|
|
206
218
|
|
|
207
219
|
/** @internal */
|
|
208
|
-
export type AppendConditionFailed$Outbound =
|
|
220
|
+
export type AppendConditionFailed$Outbound =
|
|
221
|
+
| FencingToken$Outbound
|
|
222
|
+
| SeqNum$Outbound;
|
|
209
223
|
|
|
210
224
|
/** @internal */
|
|
211
225
|
export const AppendConditionFailed$outboundSchema: z.ZodType<
|
|
@@ -213,8 +227,8 @@ export const AppendConditionFailed$outboundSchema: z.ZodType<
|
|
|
213
227
|
z.ZodTypeDef,
|
|
214
228
|
AppendConditionFailed
|
|
215
229
|
> = z.union([
|
|
216
|
-
z.lazy(() =>
|
|
217
|
-
z.lazy(() =>
|
|
230
|
+
z.lazy(() => FencingToken$outboundSchema),
|
|
231
|
+
z.lazy(() => SeqNum$outboundSchema),
|
|
218
232
|
]);
|
|
219
233
|
|
|
220
234
|
/**
|
|
@@ -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
|
};
|