@s2-dev/streamstore 0.3.9 → 0.3.13
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/README.md +15 -12
- package/docs/sdks/account/README.md +38 -35
- package/docs/sdks/basin/README.md +38 -35
- package/docs/sdks/stream/README.md +22 -27
- package/funcs/accountCreateBasin.d.ts +2 -1
- package/funcs/accountCreateBasin.d.ts.map +1 -1
- package/funcs/accountCreateBasin.js +3 -4
- package/funcs/accountCreateBasin.js.map +1 -1
- package/funcs/accountDeleteBasin.d.ts +1 -1
- package/funcs/accountDeleteBasin.d.ts.map +1 -1
- package/funcs/accountDeleteBasin.js +3 -2
- package/funcs/accountDeleteBasin.js.map +1 -1
- package/funcs/accountGetBasinConfig.d.ts +2 -1
- package/funcs/accountGetBasinConfig.d.ts.map +1 -1
- package/funcs/accountGetBasinConfig.js +3 -4
- package/funcs/accountGetBasinConfig.js.map +1 -1
- package/funcs/accountListBasins.d.ts +1 -1
- package/funcs/accountListBasins.d.ts.map +1 -1
- package/funcs/accountListBasins.js +2 -4
- package/funcs/accountListBasins.js.map +1 -1
- package/funcs/accountReconfigureBasin.d.ts +2 -1
- package/funcs/accountReconfigureBasin.d.ts.map +1 -1
- package/funcs/accountReconfigureBasin.js +3 -4
- package/funcs/accountReconfigureBasin.js.map +1 -1
- package/funcs/basinCreateStream.d.ts +2 -1
- package/funcs/basinCreateStream.d.ts.map +1 -1
- package/funcs/basinCreateStream.js +14 -4
- package/funcs/basinCreateStream.js.map +1 -1
- package/funcs/basinDeleteStream.d.ts +1 -1
- package/funcs/basinDeleteStream.d.ts.map +1 -1
- package/funcs/basinDeleteStream.js +3 -2
- package/funcs/basinDeleteStream.js.map +1 -1
- package/funcs/basinGetStreamConfig.d.ts +2 -1
- package/funcs/basinGetStreamConfig.d.ts.map +1 -1
- package/funcs/basinGetStreamConfig.js +3 -4
- package/funcs/basinGetStreamConfig.js.map +1 -1
- package/funcs/basinListStreams.d.ts +1 -1
- package/funcs/basinListStreams.d.ts.map +1 -1
- package/funcs/basinListStreams.js +3 -3
- package/funcs/basinListStreams.js.map +1 -1
- package/funcs/basinReconfigureStream.d.ts +2 -1
- package/funcs/basinReconfigureStream.d.ts.map +1 -1
- package/funcs/basinReconfigureStream.js +3 -4
- package/funcs/basinReconfigureStream.js.map +1 -1
- package/funcs/streamAppend.d.ts +2 -1
- package/funcs/streamAppend.d.ts.map +1 -1
- package/funcs/streamAppend.js +3 -4
- package/funcs/streamAppend.js.map +1 -1
- package/funcs/streamCheckTail.d.ts +2 -1
- package/funcs/streamCheckTail.d.ts.map +1 -1
- package/funcs/streamCheckTail.js +3 -4
- package/funcs/streamCheckTail.js.map +1 -1
- package/funcs/streamRead.d.ts +1 -1
- package/funcs/streamRead.d.ts.map +1 -1
- package/funcs/streamRead.js +2 -2
- package/funcs/streamRead.js.map +1 -1
- package/index.extras.d.ts +13 -5
- package/index.extras.d.ts.map +1 -1
- package/index.extras.js +64 -25
- package/index.extras.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/lib/matchers.d.ts +1 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +11 -10
- package/lib/matchers.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/errors/apierror.d.ts +5 -8
- package/models/errors/apierror.d.ts.map +1 -1
- package/models/errors/apierror.js +9 -3
- package/models/errors/apierror.js.map +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/retryableerror.d.ts +31 -0
- package/models/errors/retryableerror.d.ts.map +1 -0
- package/models/errors/retryableerror.js +77 -0
- package/models/errors/retryableerror.js.map +1 -0
- package/models/operations/append.d.ts +0 -27
- package/models/operations/append.d.ts.map +1 -1
- package/models/operations/append.js +1 -40
- package/models/operations/append.js.map +1 -1
- package/models/operations/checktail.d.ts +0 -28
- package/models/operations/checktail.d.ts.map +1 -1
- package/models/operations/checktail.js +1 -42
- package/models/operations/checktail.js.map +1 -1
- package/models/operations/createbasin.d.ts +0 -27
- package/models/operations/createbasin.d.ts.map +1 -1
- package/models/operations/createbasin.js +1 -40
- package/models/operations/createbasin.js.map +1 -1
- package/models/operations/createstream.d.ts +0 -27
- package/models/operations/createstream.d.ts.map +1 -1
- package/models/operations/createstream.js +1 -40
- package/models/operations/createstream.js.map +1 -1
- package/models/operations/deletebasin.d.ts +0 -26
- package/models/operations/deletebasin.d.ts.map +1 -1
- package/models/operations/deletebasin.js +1 -38
- package/models/operations/deletebasin.js.map +1 -1
- package/models/operations/deletestream.d.ts +0 -26
- package/models/operations/deletestream.d.ts.map +1 -1
- package/models/operations/deletestream.js +1 -38
- package/models/operations/deletestream.js.map +1 -1
- package/models/operations/getbasinconfig.d.ts +0 -28
- package/models/operations/getbasinconfig.d.ts.map +1 -1
- package/models/operations/getbasinconfig.js +1 -42
- package/models/operations/getbasinconfig.js.map +1 -1
- package/models/operations/getstreamconfig.d.ts +0 -28
- package/models/operations/getstreamconfig.d.ts.map +1 -1
- package/models/operations/getstreamconfig.js +1 -42
- package/models/operations/getstreamconfig.js.map +1 -1
- package/models/operations/listbasins.d.ts +2 -4
- package/models/operations/listbasins.d.ts.map +1 -1
- package/models/operations/listbasins.js +4 -8
- package/models/operations/listbasins.js.map +1 -1
- package/models/operations/liststreams.d.ts +2 -4
- package/models/operations/liststreams.d.ts.map +1 -1
- package/models/operations/liststreams.js +4 -8
- package/models/operations/liststreams.js.map +1 -1
- package/models/operations/read.d.ts +2 -10
- package/models/operations/read.d.ts.map +1 -1
- package/models/operations/read.js +6 -23
- package/models/operations/read.js.map +1 -1
- package/models/operations/reconfigurebasin.d.ts +0 -27
- package/models/operations/reconfigurebasin.d.ts.map +1 -1
- package/models/operations/reconfigurebasin.js +1 -40
- package/models/operations/reconfigurebasin.js.map +1 -1
- package/models/operations/reconfigurestream.d.ts +0 -27
- package/models/operations/reconfigurestream.d.ts.map +1 -1
- package/models/operations/reconfigurestream.js +1 -40
- package/models/operations/reconfigurestream.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +5 -4
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js.map +1 -1
- package/sdk/basin.d.ts +5 -4
- package/sdk/basin.d.ts.map +1 -1
- package/sdk/basin.js.map +1 -1
- package/sdk/stream.d.ts +3 -2
- package/sdk/stream.d.ts.map +1 -1
- package/sdk/stream.js.map +1 -1
- package/src/funcs/accountCreateBasin.ts +12 -10
- package/src/funcs/accountDeleteBasin.ts +12 -8
- package/src/funcs/accountGetBasinConfig.ts +12 -10
- package/src/funcs/accountListBasins.ts +11 -9
- package/src/funcs/accountReconfigureBasin.ts +12 -10
- package/src/funcs/basinCreateStream.ts +23 -10
- package/src/funcs/basinDeleteStream.ts +12 -8
- package/src/funcs/basinGetStreamConfig.ts +12 -10
- package/src/funcs/basinListStreams.ts +11 -7
- package/src/funcs/basinReconfigureStream.ts +12 -10
- package/src/funcs/streamAppend.ts +12 -10
- package/src/funcs/streamCheckTail.ts +12 -10
- package/src/funcs/streamRead.ts +10 -7
- package/src/index.extras.ts +139 -48
- package/src/lib/config.ts +3 -2
- package/src/lib/matchers.ts +16 -10
- package/src/models/components/index.ts +0 -1
- package/src/models/errors/apierror.ts +13 -7
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/retryableerror.ts +69 -0
- package/src/models/operations/append.ts +0 -68
- package/src/models/operations/checktail.ts +0 -74
- package/src/models/operations/createbasin.ts +0 -72
- package/src/models/operations/createstream.ts +0 -72
- package/src/models/operations/deletebasin.ts +0 -68
- package/src/models/operations/deletestream.ts +0 -68
- package/src/models/operations/getbasinconfig.ts +0 -74
- package/src/models/operations/getstreamconfig.ts +0 -74
- package/src/models/operations/listbasins.ts +6 -12
- package/src/models/operations/liststreams.ts +6 -12
- package/src/models/operations/read.ts +10 -33
- package/src/models/operations/reconfigurebasin.ts +0 -72
- package/src/models/operations/reconfigurestream.ts +0 -72
- package/src/sdk/account.ts +5 -4
- package/src/sdk/basin.ts +5 -4
- package/src/sdk/stream.ts +3 -2
- package/models/components/httpmetadata.d.ts +0 -37
- package/models/components/httpmetadata.d.ts.map +0 -1
- package/models/components/httpmetadata.js +0 -86
- package/models/components/httpmetadata.js.map +0 -1
- package/src/models/components/httpmetadata.ts +0 -87
|
@@ -39,11 +39,6 @@ export type AppendRequest = {
|
|
|
39
39
|
appendInput: components.AppendInput;
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
export type AppendResponse = {
|
|
43
|
-
httpMeta: components.HTTPMetadata;
|
|
44
|
-
appendOutput?: components.AppendOutput | undefined;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
42
|
/** @internal */
|
|
48
43
|
export const HeaderS2Format$inboundSchema: z.ZodType<
|
|
49
44
|
HeaderS2Format,
|
|
@@ -153,66 +148,3 @@ export function appendRequestFromJSON(
|
|
|
153
148
|
`Failed to parse 'AppendRequest' from JSON`,
|
|
154
149
|
);
|
|
155
150
|
}
|
|
156
|
-
|
|
157
|
-
/** @internal */
|
|
158
|
-
export const AppendResponse$inboundSchema: z.ZodType<
|
|
159
|
-
AppendResponse,
|
|
160
|
-
z.ZodTypeDef,
|
|
161
|
-
unknown
|
|
162
|
-
> = z.object({
|
|
163
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
164
|
-
AppendOutput: components.AppendOutput$inboundSchema.optional(),
|
|
165
|
-
}).transform((v) => {
|
|
166
|
-
return remap$(v, {
|
|
167
|
-
"HttpMeta": "httpMeta",
|
|
168
|
-
"AppendOutput": "appendOutput",
|
|
169
|
-
});
|
|
170
|
-
});
|
|
171
|
-
|
|
172
|
-
/** @internal */
|
|
173
|
-
export type AppendResponse$Outbound = {
|
|
174
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
175
|
-
AppendOutput?: components.AppendOutput$Outbound | undefined;
|
|
176
|
-
};
|
|
177
|
-
|
|
178
|
-
/** @internal */
|
|
179
|
-
export const AppendResponse$outboundSchema: z.ZodType<
|
|
180
|
-
AppendResponse$Outbound,
|
|
181
|
-
z.ZodTypeDef,
|
|
182
|
-
AppendResponse
|
|
183
|
-
> = z.object({
|
|
184
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
185
|
-
appendOutput: components.AppendOutput$outboundSchema.optional(),
|
|
186
|
-
}).transform((v) => {
|
|
187
|
-
return remap$(v, {
|
|
188
|
-
httpMeta: "HttpMeta",
|
|
189
|
-
appendOutput: "AppendOutput",
|
|
190
|
-
});
|
|
191
|
-
});
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* @internal
|
|
195
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
196
|
-
*/
|
|
197
|
-
export namespace AppendResponse$ {
|
|
198
|
-
/** @deprecated use `AppendResponse$inboundSchema` instead. */
|
|
199
|
-
export const inboundSchema = AppendResponse$inboundSchema;
|
|
200
|
-
/** @deprecated use `AppendResponse$outboundSchema` instead. */
|
|
201
|
-
export const outboundSchema = AppendResponse$outboundSchema;
|
|
202
|
-
/** @deprecated use `AppendResponse$Outbound` instead. */
|
|
203
|
-
export type Outbound = AppendResponse$Outbound;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
export function appendResponseToJSON(appendResponse: AppendResponse): string {
|
|
207
|
-
return JSON.stringify(AppendResponse$outboundSchema.parse(appendResponse));
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
export function appendResponseFromJSON(
|
|
211
|
-
jsonString: string,
|
|
212
|
-
): SafeParseResult<AppendResponse, SDKValidationError> {
|
|
213
|
-
return safeParse(
|
|
214
|
-
jsonString,
|
|
215
|
-
(x) => AppendResponse$inboundSchema.parse(JSON.parse(x)),
|
|
216
|
-
`Failed to parse 'AppendResponse' from JSON`,
|
|
217
|
-
);
|
|
218
|
-
}
|
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import * as components from "../components/index.js";
|
|
10
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
9
|
|
|
12
10
|
export const CheckTailServerList = [
|
|
@@ -23,11 +21,6 @@ export type CheckTailRequest = {
|
|
|
23
21
|
stream: string;
|
|
24
22
|
};
|
|
25
23
|
|
|
26
|
-
export type CheckTailResponse = {
|
|
27
|
-
httpMeta: components.HTTPMetadata;
|
|
28
|
-
checkTailResponse?: components.CheckTailResponse | undefined;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
24
|
/** @internal */
|
|
32
25
|
export const CheckTailRequest$inboundSchema: z.ZodType<
|
|
33
26
|
CheckTailRequest,
|
|
@@ -81,70 +74,3 @@ export function checkTailRequestFromJSON(
|
|
|
81
74
|
`Failed to parse 'CheckTailRequest' from JSON`,
|
|
82
75
|
);
|
|
83
76
|
}
|
|
84
|
-
|
|
85
|
-
/** @internal */
|
|
86
|
-
export const CheckTailResponse$inboundSchema: z.ZodType<
|
|
87
|
-
CheckTailResponse,
|
|
88
|
-
z.ZodTypeDef,
|
|
89
|
-
unknown
|
|
90
|
-
> = z.object({
|
|
91
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
92
|
-
CheckTailResponse: components.CheckTailResponse$inboundSchema.optional(),
|
|
93
|
-
}).transform((v) => {
|
|
94
|
-
return remap$(v, {
|
|
95
|
-
"HttpMeta": "httpMeta",
|
|
96
|
-
"CheckTailResponse": "checkTailResponse",
|
|
97
|
-
});
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
/** @internal */
|
|
101
|
-
export type CheckTailResponse$Outbound = {
|
|
102
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
103
|
-
CheckTailResponse?: components.CheckTailResponse$Outbound | undefined;
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
/** @internal */
|
|
107
|
-
export const CheckTailResponse$outboundSchema: z.ZodType<
|
|
108
|
-
CheckTailResponse$Outbound,
|
|
109
|
-
z.ZodTypeDef,
|
|
110
|
-
CheckTailResponse
|
|
111
|
-
> = z.object({
|
|
112
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
113
|
-
checkTailResponse: components.CheckTailResponse$outboundSchema.optional(),
|
|
114
|
-
}).transform((v) => {
|
|
115
|
-
return remap$(v, {
|
|
116
|
-
httpMeta: "HttpMeta",
|
|
117
|
-
checkTailResponse: "CheckTailResponse",
|
|
118
|
-
});
|
|
119
|
-
});
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
124
|
-
*/
|
|
125
|
-
export namespace CheckTailResponse$ {
|
|
126
|
-
/** @deprecated use `CheckTailResponse$inboundSchema` instead. */
|
|
127
|
-
export const inboundSchema = CheckTailResponse$inboundSchema;
|
|
128
|
-
/** @deprecated use `CheckTailResponse$outboundSchema` instead. */
|
|
129
|
-
export const outboundSchema = CheckTailResponse$outboundSchema;
|
|
130
|
-
/** @deprecated use `CheckTailResponse$Outbound` instead. */
|
|
131
|
-
export type Outbound = CheckTailResponse$Outbound;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export function checkTailResponseToJSON(
|
|
135
|
-
checkTailResponse: CheckTailResponse,
|
|
136
|
-
): string {
|
|
137
|
-
return JSON.stringify(
|
|
138
|
-
CheckTailResponse$outboundSchema.parse(checkTailResponse),
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export function checkTailResponseFromJSON(
|
|
143
|
-
jsonString: string,
|
|
144
|
-
): SafeParseResult<CheckTailResponse, SDKValidationError> {
|
|
145
|
-
return safeParse(
|
|
146
|
-
jsonString,
|
|
147
|
-
(x) => CheckTailResponse$inboundSchema.parse(JSON.parse(x)),
|
|
148
|
-
`Failed to parse 'CheckTailResponse' from JSON`,
|
|
149
|
-
);
|
|
150
|
-
}
|
|
@@ -18,11 +18,6 @@ export type CreateBasinRequest = {
|
|
|
18
18
|
createBasinRequest: components.CreateBasinRequest;
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
export type CreateBasinResponse = {
|
|
22
|
-
httpMeta: components.HTTPMetadata;
|
|
23
|
-
basinInfo?: components.BasinInfo | undefined;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
21
|
/** @internal */
|
|
27
22
|
export const CreateBasinRequest$inboundSchema: z.ZodType<
|
|
28
23
|
CreateBasinRequest,
|
|
@@ -92,70 +87,3 @@ export function createBasinRequestFromJSON(
|
|
|
92
87
|
`Failed to parse 'CreateBasinRequest' from JSON`,
|
|
93
88
|
);
|
|
94
89
|
}
|
|
95
|
-
|
|
96
|
-
/** @internal */
|
|
97
|
-
export const CreateBasinResponse$inboundSchema: z.ZodType<
|
|
98
|
-
CreateBasinResponse,
|
|
99
|
-
z.ZodTypeDef,
|
|
100
|
-
unknown
|
|
101
|
-
> = z.object({
|
|
102
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
103
|
-
BasinInfo: components.BasinInfo$inboundSchema.optional(),
|
|
104
|
-
}).transform((v) => {
|
|
105
|
-
return remap$(v, {
|
|
106
|
-
"HttpMeta": "httpMeta",
|
|
107
|
-
"BasinInfo": "basinInfo",
|
|
108
|
-
});
|
|
109
|
-
});
|
|
110
|
-
|
|
111
|
-
/** @internal */
|
|
112
|
-
export type CreateBasinResponse$Outbound = {
|
|
113
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
114
|
-
BasinInfo?: components.BasinInfo$Outbound | undefined;
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
/** @internal */
|
|
118
|
-
export const CreateBasinResponse$outboundSchema: z.ZodType<
|
|
119
|
-
CreateBasinResponse$Outbound,
|
|
120
|
-
z.ZodTypeDef,
|
|
121
|
-
CreateBasinResponse
|
|
122
|
-
> = z.object({
|
|
123
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
124
|
-
basinInfo: components.BasinInfo$outboundSchema.optional(),
|
|
125
|
-
}).transform((v) => {
|
|
126
|
-
return remap$(v, {
|
|
127
|
-
httpMeta: "HttpMeta",
|
|
128
|
-
basinInfo: "BasinInfo",
|
|
129
|
-
});
|
|
130
|
-
});
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
135
|
-
*/
|
|
136
|
-
export namespace CreateBasinResponse$ {
|
|
137
|
-
/** @deprecated use `CreateBasinResponse$inboundSchema` instead. */
|
|
138
|
-
export const inboundSchema = CreateBasinResponse$inboundSchema;
|
|
139
|
-
/** @deprecated use `CreateBasinResponse$outboundSchema` instead. */
|
|
140
|
-
export const outboundSchema = CreateBasinResponse$outboundSchema;
|
|
141
|
-
/** @deprecated use `CreateBasinResponse$Outbound` instead. */
|
|
142
|
-
export type Outbound = CreateBasinResponse$Outbound;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
export function createBasinResponseToJSON(
|
|
146
|
-
createBasinResponse: CreateBasinResponse,
|
|
147
|
-
): string {
|
|
148
|
-
return JSON.stringify(
|
|
149
|
-
CreateBasinResponse$outboundSchema.parse(createBasinResponse),
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export function createBasinResponseFromJSON(
|
|
154
|
-
jsonString: string,
|
|
155
|
-
): SafeParseResult<CreateBasinResponse, SDKValidationError> {
|
|
156
|
-
return safeParse(
|
|
157
|
-
jsonString,
|
|
158
|
-
(x) => CreateBasinResponse$inboundSchema.parse(JSON.parse(x)),
|
|
159
|
-
`Failed to parse 'CreateBasinResponse' from JSON`,
|
|
160
|
-
);
|
|
161
|
-
}
|
|
@@ -25,11 +25,6 @@ export type CreateStreamRequest = {
|
|
|
25
25
|
createStreamRequest: components.CreateStreamRequest;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
export type CreateStreamResponse = {
|
|
29
|
-
httpMeta: components.HTTPMetadata;
|
|
30
|
-
streamInfo?: components.StreamInfo | undefined;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
28
|
/** @internal */
|
|
34
29
|
export const CreateStreamRequest$inboundSchema: z.ZodType<
|
|
35
30
|
CreateStreamRequest,
|
|
@@ -99,70 +94,3 @@ export function createStreamRequestFromJSON(
|
|
|
99
94
|
`Failed to parse 'CreateStreamRequest' from JSON`,
|
|
100
95
|
);
|
|
101
96
|
}
|
|
102
|
-
|
|
103
|
-
/** @internal */
|
|
104
|
-
export const CreateStreamResponse$inboundSchema: z.ZodType<
|
|
105
|
-
CreateStreamResponse,
|
|
106
|
-
z.ZodTypeDef,
|
|
107
|
-
unknown
|
|
108
|
-
> = z.object({
|
|
109
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
110
|
-
StreamInfo: components.StreamInfo$inboundSchema.optional(),
|
|
111
|
-
}).transform((v) => {
|
|
112
|
-
return remap$(v, {
|
|
113
|
-
"HttpMeta": "httpMeta",
|
|
114
|
-
"StreamInfo": "streamInfo",
|
|
115
|
-
});
|
|
116
|
-
});
|
|
117
|
-
|
|
118
|
-
/** @internal */
|
|
119
|
-
export type CreateStreamResponse$Outbound = {
|
|
120
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
121
|
-
StreamInfo?: components.StreamInfo$Outbound | undefined;
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
/** @internal */
|
|
125
|
-
export const CreateStreamResponse$outboundSchema: z.ZodType<
|
|
126
|
-
CreateStreamResponse$Outbound,
|
|
127
|
-
z.ZodTypeDef,
|
|
128
|
-
CreateStreamResponse
|
|
129
|
-
> = z.object({
|
|
130
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
131
|
-
streamInfo: components.StreamInfo$outboundSchema.optional(),
|
|
132
|
-
}).transform((v) => {
|
|
133
|
-
return remap$(v, {
|
|
134
|
-
httpMeta: "HttpMeta",
|
|
135
|
-
streamInfo: "StreamInfo",
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* @internal
|
|
141
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
142
|
-
*/
|
|
143
|
-
export namespace CreateStreamResponse$ {
|
|
144
|
-
/** @deprecated use `CreateStreamResponse$inboundSchema` instead. */
|
|
145
|
-
export const inboundSchema = CreateStreamResponse$inboundSchema;
|
|
146
|
-
/** @deprecated use `CreateStreamResponse$outboundSchema` instead. */
|
|
147
|
-
export const outboundSchema = CreateStreamResponse$outboundSchema;
|
|
148
|
-
/** @deprecated use `CreateStreamResponse$Outbound` instead. */
|
|
149
|
-
export type Outbound = CreateStreamResponse$Outbound;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
export function createStreamResponseToJSON(
|
|
153
|
-
createStreamResponse: CreateStreamResponse,
|
|
154
|
-
): string {
|
|
155
|
-
return JSON.stringify(
|
|
156
|
-
CreateStreamResponse$outboundSchema.parse(createStreamResponse),
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export function createStreamResponseFromJSON(
|
|
161
|
-
jsonString: string,
|
|
162
|
-
): SafeParseResult<CreateStreamResponse, SDKValidationError> {
|
|
163
|
-
return safeParse(
|
|
164
|
-
jsonString,
|
|
165
|
-
(x) => CreateStreamResponse$inboundSchema.parse(JSON.parse(x)),
|
|
166
|
-
`Failed to parse 'CreateStreamResponse' from JSON`,
|
|
167
|
-
);
|
|
168
|
-
}
|
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import * as components from "../components/index.js";
|
|
10
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
9
|
|
|
12
10
|
export type DeleteBasinRequest = {
|
|
@@ -16,10 +14,6 @@ export type DeleteBasinRequest = {
|
|
|
16
14
|
basin: string;
|
|
17
15
|
};
|
|
18
16
|
|
|
19
|
-
export type DeleteBasinResponse = {
|
|
20
|
-
httpMeta: components.HTTPMetadata;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
17
|
/** @internal */
|
|
24
18
|
export const DeleteBasinRequest$inboundSchema: z.ZodType<
|
|
25
19
|
DeleteBasinRequest,
|
|
@@ -73,65 +67,3 @@ export function deleteBasinRequestFromJSON(
|
|
|
73
67
|
`Failed to parse 'DeleteBasinRequest' from JSON`,
|
|
74
68
|
);
|
|
75
69
|
}
|
|
76
|
-
|
|
77
|
-
/** @internal */
|
|
78
|
-
export const DeleteBasinResponse$inboundSchema: z.ZodType<
|
|
79
|
-
DeleteBasinResponse,
|
|
80
|
-
z.ZodTypeDef,
|
|
81
|
-
unknown
|
|
82
|
-
> = z.object({
|
|
83
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
84
|
-
}).transform((v) => {
|
|
85
|
-
return remap$(v, {
|
|
86
|
-
"HttpMeta": "httpMeta",
|
|
87
|
-
});
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
/** @internal */
|
|
91
|
-
export type DeleteBasinResponse$Outbound = {
|
|
92
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
/** @internal */
|
|
96
|
-
export const DeleteBasinResponse$outboundSchema: z.ZodType<
|
|
97
|
-
DeleteBasinResponse$Outbound,
|
|
98
|
-
z.ZodTypeDef,
|
|
99
|
-
DeleteBasinResponse
|
|
100
|
-
> = z.object({
|
|
101
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
102
|
-
}).transform((v) => {
|
|
103
|
-
return remap$(v, {
|
|
104
|
-
httpMeta: "HttpMeta",
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
111
|
-
*/
|
|
112
|
-
export namespace DeleteBasinResponse$ {
|
|
113
|
-
/** @deprecated use `DeleteBasinResponse$inboundSchema` instead. */
|
|
114
|
-
export const inboundSchema = DeleteBasinResponse$inboundSchema;
|
|
115
|
-
/** @deprecated use `DeleteBasinResponse$outboundSchema` instead. */
|
|
116
|
-
export const outboundSchema = DeleteBasinResponse$outboundSchema;
|
|
117
|
-
/** @deprecated use `DeleteBasinResponse$Outbound` instead. */
|
|
118
|
-
export type Outbound = DeleteBasinResponse$Outbound;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export function deleteBasinResponseToJSON(
|
|
122
|
-
deleteBasinResponse: DeleteBasinResponse,
|
|
123
|
-
): string {
|
|
124
|
-
return JSON.stringify(
|
|
125
|
-
DeleteBasinResponse$outboundSchema.parse(deleteBasinResponse),
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export function deleteBasinResponseFromJSON(
|
|
130
|
-
jsonString: string,
|
|
131
|
-
): SafeParseResult<DeleteBasinResponse, SDKValidationError> {
|
|
132
|
-
return safeParse(
|
|
133
|
-
jsonString,
|
|
134
|
-
(x) => DeleteBasinResponse$inboundSchema.parse(JSON.parse(x)),
|
|
135
|
-
`Failed to parse 'DeleteBasinResponse' from JSON`,
|
|
136
|
-
);
|
|
137
|
-
}
|
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import * as components from "../components/index.js";
|
|
10
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
9
|
|
|
12
10
|
export const DeleteStreamServerList = [
|
|
@@ -23,10 +21,6 @@ export type DeleteStreamRequest = {
|
|
|
23
21
|
stream: string;
|
|
24
22
|
};
|
|
25
23
|
|
|
26
|
-
export type DeleteStreamResponse = {
|
|
27
|
-
httpMeta: components.HTTPMetadata;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
24
|
/** @internal */
|
|
31
25
|
export const DeleteStreamRequest$inboundSchema: z.ZodType<
|
|
32
26
|
DeleteStreamRequest,
|
|
@@ -80,65 +74,3 @@ export function deleteStreamRequestFromJSON(
|
|
|
80
74
|
`Failed to parse 'DeleteStreamRequest' from JSON`,
|
|
81
75
|
);
|
|
82
76
|
}
|
|
83
|
-
|
|
84
|
-
/** @internal */
|
|
85
|
-
export const DeleteStreamResponse$inboundSchema: z.ZodType<
|
|
86
|
-
DeleteStreamResponse,
|
|
87
|
-
z.ZodTypeDef,
|
|
88
|
-
unknown
|
|
89
|
-
> = z.object({
|
|
90
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
91
|
-
}).transform((v) => {
|
|
92
|
-
return remap$(v, {
|
|
93
|
-
"HttpMeta": "httpMeta",
|
|
94
|
-
});
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
/** @internal */
|
|
98
|
-
export type DeleteStreamResponse$Outbound = {
|
|
99
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
/** @internal */
|
|
103
|
-
export const DeleteStreamResponse$outboundSchema: z.ZodType<
|
|
104
|
-
DeleteStreamResponse$Outbound,
|
|
105
|
-
z.ZodTypeDef,
|
|
106
|
-
DeleteStreamResponse
|
|
107
|
-
> = z.object({
|
|
108
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
109
|
-
}).transform((v) => {
|
|
110
|
-
return remap$(v, {
|
|
111
|
-
httpMeta: "HttpMeta",
|
|
112
|
-
});
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @internal
|
|
117
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
118
|
-
*/
|
|
119
|
-
export namespace DeleteStreamResponse$ {
|
|
120
|
-
/** @deprecated use `DeleteStreamResponse$inboundSchema` instead. */
|
|
121
|
-
export const inboundSchema = DeleteStreamResponse$inboundSchema;
|
|
122
|
-
/** @deprecated use `DeleteStreamResponse$outboundSchema` instead. */
|
|
123
|
-
export const outboundSchema = DeleteStreamResponse$outboundSchema;
|
|
124
|
-
/** @deprecated use `DeleteStreamResponse$Outbound` instead. */
|
|
125
|
-
export type Outbound = DeleteStreamResponse$Outbound;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export function deleteStreamResponseToJSON(
|
|
129
|
-
deleteStreamResponse: DeleteStreamResponse,
|
|
130
|
-
): string {
|
|
131
|
-
return JSON.stringify(
|
|
132
|
-
DeleteStreamResponse$outboundSchema.parse(deleteStreamResponse),
|
|
133
|
-
);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
export function deleteStreamResponseFromJSON(
|
|
137
|
-
jsonString: string,
|
|
138
|
-
): SafeParseResult<DeleteStreamResponse, SDKValidationError> {
|
|
139
|
-
return safeParse(
|
|
140
|
-
jsonString,
|
|
141
|
-
(x) => DeleteStreamResponse$inboundSchema.parse(JSON.parse(x)),
|
|
142
|
-
`Failed to parse 'DeleteStreamResponse' from JSON`,
|
|
143
|
-
);
|
|
144
|
-
}
|
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import * as components from "../components/index.js";
|
|
10
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
9
|
|
|
12
10
|
export type GetBasinConfigRequest = {
|
|
@@ -16,11 +14,6 @@ export type GetBasinConfigRequest = {
|
|
|
16
14
|
basin: string;
|
|
17
15
|
};
|
|
18
16
|
|
|
19
|
-
export type GetBasinConfigResponse = {
|
|
20
|
-
httpMeta: components.HTTPMetadata;
|
|
21
|
-
basinConfig?: components.BasinConfig | undefined;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
17
|
/** @internal */
|
|
25
18
|
export const GetBasinConfigRequest$inboundSchema: z.ZodType<
|
|
26
19
|
GetBasinConfigRequest,
|
|
@@ -74,70 +67,3 @@ export function getBasinConfigRequestFromJSON(
|
|
|
74
67
|
`Failed to parse 'GetBasinConfigRequest' from JSON`,
|
|
75
68
|
);
|
|
76
69
|
}
|
|
77
|
-
|
|
78
|
-
/** @internal */
|
|
79
|
-
export const GetBasinConfigResponse$inboundSchema: z.ZodType<
|
|
80
|
-
GetBasinConfigResponse,
|
|
81
|
-
z.ZodTypeDef,
|
|
82
|
-
unknown
|
|
83
|
-
> = z.object({
|
|
84
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
85
|
-
BasinConfig: components.BasinConfig$inboundSchema.optional(),
|
|
86
|
-
}).transform((v) => {
|
|
87
|
-
return remap$(v, {
|
|
88
|
-
"HttpMeta": "httpMeta",
|
|
89
|
-
"BasinConfig": "basinConfig",
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
/** @internal */
|
|
94
|
-
export type GetBasinConfigResponse$Outbound = {
|
|
95
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
96
|
-
BasinConfig?: components.BasinConfig$Outbound | undefined;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
/** @internal */
|
|
100
|
-
export const GetBasinConfigResponse$outboundSchema: z.ZodType<
|
|
101
|
-
GetBasinConfigResponse$Outbound,
|
|
102
|
-
z.ZodTypeDef,
|
|
103
|
-
GetBasinConfigResponse
|
|
104
|
-
> = z.object({
|
|
105
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
106
|
-
basinConfig: components.BasinConfig$outboundSchema.optional(),
|
|
107
|
-
}).transform((v) => {
|
|
108
|
-
return remap$(v, {
|
|
109
|
-
httpMeta: "HttpMeta",
|
|
110
|
-
basinConfig: "BasinConfig",
|
|
111
|
-
});
|
|
112
|
-
});
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* @internal
|
|
116
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
117
|
-
*/
|
|
118
|
-
export namespace GetBasinConfigResponse$ {
|
|
119
|
-
/** @deprecated use `GetBasinConfigResponse$inboundSchema` instead. */
|
|
120
|
-
export const inboundSchema = GetBasinConfigResponse$inboundSchema;
|
|
121
|
-
/** @deprecated use `GetBasinConfigResponse$outboundSchema` instead. */
|
|
122
|
-
export const outboundSchema = GetBasinConfigResponse$outboundSchema;
|
|
123
|
-
/** @deprecated use `GetBasinConfigResponse$Outbound` instead. */
|
|
124
|
-
export type Outbound = GetBasinConfigResponse$Outbound;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export function getBasinConfigResponseToJSON(
|
|
128
|
-
getBasinConfigResponse: GetBasinConfigResponse,
|
|
129
|
-
): string {
|
|
130
|
-
return JSON.stringify(
|
|
131
|
-
GetBasinConfigResponse$outboundSchema.parse(getBasinConfigResponse),
|
|
132
|
-
);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
export function getBasinConfigResponseFromJSON(
|
|
136
|
-
jsonString: string,
|
|
137
|
-
): SafeParseResult<GetBasinConfigResponse, SDKValidationError> {
|
|
138
|
-
return safeParse(
|
|
139
|
-
jsonString,
|
|
140
|
-
(x) => GetBasinConfigResponse$inboundSchema.parse(JSON.parse(x)),
|
|
141
|
-
`Failed to parse 'GetBasinConfigResponse' from JSON`,
|
|
142
|
-
);
|
|
143
|
-
}
|
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import * as components from "../components/index.js";
|
|
10
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
9
|
|
|
12
10
|
export const GetStreamConfigServerList = [
|
|
@@ -23,11 +21,6 @@ export type GetStreamConfigRequest = {
|
|
|
23
21
|
stream: string;
|
|
24
22
|
};
|
|
25
23
|
|
|
26
|
-
export type GetStreamConfigResponse = {
|
|
27
|
-
httpMeta: components.HTTPMetadata;
|
|
28
|
-
streamConfig?: components.StreamConfig | undefined;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
24
|
/** @internal */
|
|
32
25
|
export const GetStreamConfigRequest$inboundSchema: z.ZodType<
|
|
33
26
|
GetStreamConfigRequest,
|
|
@@ -81,70 +74,3 @@ export function getStreamConfigRequestFromJSON(
|
|
|
81
74
|
`Failed to parse 'GetStreamConfigRequest' from JSON`,
|
|
82
75
|
);
|
|
83
76
|
}
|
|
84
|
-
|
|
85
|
-
/** @internal */
|
|
86
|
-
export const GetStreamConfigResponse$inboundSchema: z.ZodType<
|
|
87
|
-
GetStreamConfigResponse,
|
|
88
|
-
z.ZodTypeDef,
|
|
89
|
-
unknown
|
|
90
|
-
> = z.object({
|
|
91
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
92
|
-
StreamConfig: components.StreamConfig$inboundSchema.optional(),
|
|
93
|
-
}).transform((v) => {
|
|
94
|
-
return remap$(v, {
|
|
95
|
-
"HttpMeta": "httpMeta",
|
|
96
|
-
"StreamConfig": "streamConfig",
|
|
97
|
-
});
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
/** @internal */
|
|
101
|
-
export type GetStreamConfigResponse$Outbound = {
|
|
102
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
103
|
-
StreamConfig?: components.StreamConfig$Outbound | undefined;
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
/** @internal */
|
|
107
|
-
export const GetStreamConfigResponse$outboundSchema: z.ZodType<
|
|
108
|
-
GetStreamConfigResponse$Outbound,
|
|
109
|
-
z.ZodTypeDef,
|
|
110
|
-
GetStreamConfigResponse
|
|
111
|
-
> = z.object({
|
|
112
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
113
|
-
streamConfig: components.StreamConfig$outboundSchema.optional(),
|
|
114
|
-
}).transform((v) => {
|
|
115
|
-
return remap$(v, {
|
|
116
|
-
httpMeta: "HttpMeta",
|
|
117
|
-
streamConfig: "StreamConfig",
|
|
118
|
-
});
|
|
119
|
-
});
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
124
|
-
*/
|
|
125
|
-
export namespace GetStreamConfigResponse$ {
|
|
126
|
-
/** @deprecated use `GetStreamConfigResponse$inboundSchema` instead. */
|
|
127
|
-
export const inboundSchema = GetStreamConfigResponse$inboundSchema;
|
|
128
|
-
/** @deprecated use `GetStreamConfigResponse$outboundSchema` instead. */
|
|
129
|
-
export const outboundSchema = GetStreamConfigResponse$outboundSchema;
|
|
130
|
-
/** @deprecated use `GetStreamConfigResponse$Outbound` instead. */
|
|
131
|
-
export type Outbound = GetStreamConfigResponse$Outbound;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export function getStreamConfigResponseToJSON(
|
|
135
|
-
getStreamConfigResponse: GetStreamConfigResponse,
|
|
136
|
-
): string {
|
|
137
|
-
return JSON.stringify(
|
|
138
|
-
GetStreamConfigResponse$outboundSchema.parse(getStreamConfigResponse),
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export function getStreamConfigResponseFromJSON(
|
|
143
|
-
jsonString: string,
|
|
144
|
-
): SafeParseResult<GetStreamConfigResponse, SDKValidationError> {
|
|
145
|
-
return safeParse(
|
|
146
|
-
jsonString,
|
|
147
|
-
(x) => GetStreamConfigResponse$inboundSchema.parse(JSON.parse(x)),
|
|
148
|
-
`Failed to parse 'GetStreamConfigResponse' from JSON`,
|
|
149
|
-
);
|
|
150
|
-
}
|