@mutagent/sdk 0.12.79 → 0.12.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/README.md +1059 -1037
  2. package/dist/commonjs/funcs/helix-cloud-set-helix-cloud-session-settings.d.ts +23 -0
  3. package/dist/commonjs/funcs/helix-cloud-set-helix-cloud-session-settings.d.ts.map +1 -0
  4. package/dist/commonjs/funcs/helix-cloud-set-helix-cloud-session-settings.js +131 -0
  5. package/dist/commonjs/funcs/helix-cloud-set-helix-cloud-session-settings.js.map +1 -0
  6. package/dist/commonjs/funcs/sandbox-sessions-set-sandbox-web-session-settings.d.ts +21 -0
  7. package/dist/commonjs/funcs/sandbox-sessions-set-sandbox-web-session-settings.d.ts.map +1 -0
  8. package/dist/commonjs/funcs/sandbox-sessions-set-sandbox-web-session-settings.js +129 -0
  9. package/dist/commonjs/funcs/sandbox-sessions-set-sandbox-web-session-settings.js.map +1 -0
  10. package/dist/commonjs/lib/config.d.ts +2 -2
  11. package/dist/commonjs/lib/config.js +2 -2
  12. package/dist/commonjs/models/errors/index.d.ts +2 -0
  13. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  14. package/dist/commonjs/models/errors/index.js +2 -0
  15. package/dist/commonjs/models/errors/index.js.map +1 -1
  16. package/dist/commonjs/models/errors/set-helix-cloud-session-settings.d.ts +342 -0
  17. package/dist/commonjs/models/errors/set-helix-cloud-session-settings.d.ts.map +1 -0
  18. package/dist/commonjs/models/errors/set-helix-cloud-session-settings.js +323 -0
  19. package/dist/commonjs/models/errors/set-helix-cloud-session-settings.js.map +1 -0
  20. package/dist/commonjs/models/errors/set-sandbox-web-session-settings.d.ts +342 -0
  21. package/dist/commonjs/models/errors/set-sandbox-web-session-settings.d.ts.map +1 -0
  22. package/dist/commonjs/models/errors/set-sandbox-web-session-settings.js +323 -0
  23. package/dist/commonjs/models/errors/set-sandbox-web-session-settings.js.map +1 -0
  24. package/dist/commonjs/models/helix-cloud-settings-request.d.ts +51 -0
  25. package/dist/commonjs/models/helix-cloud-settings-request.d.ts.map +1 -0
  26. package/dist/commonjs/models/helix-cloud-settings-request.js +73 -0
  27. package/dist/commonjs/models/helix-cloud-settings-request.js.map +1 -0
  28. package/dist/commonjs/models/helix-cloud-settings.d.ts +20 -0
  29. package/dist/commonjs/models/helix-cloud-settings.d.ts.map +1 -0
  30. package/dist/commonjs/models/helix-cloud-settings.js +52 -0
  31. package/dist/commonjs/models/helix-cloud-settings.js.map +1 -0
  32. package/dist/commonjs/models/index.d.ts +2 -0
  33. package/dist/commonjs/models/index.d.ts.map +1 -1
  34. package/dist/commonjs/models/index.js +2 -0
  35. package/dist/commonjs/models/index.js.map +1 -1
  36. package/dist/commonjs/models/operations/index.d.ts +2 -0
  37. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  38. package/dist/commonjs/models/operations/index.js +2 -0
  39. package/dist/commonjs/models/operations/index.js.map +1 -1
  40. package/dist/commonjs/models/operations/set-helix-cloud-session-settings.d.ts +21 -0
  41. package/dist/commonjs/models/operations/set-helix-cloud-session-settings.d.ts.map +1 -0
  42. package/dist/commonjs/models/operations/set-helix-cloud-session-settings.js +51 -0
  43. package/dist/commonjs/models/operations/set-helix-cloud-session-settings.js.map +1 -0
  44. package/dist/commonjs/models/operations/set-sandbox-web-session-settings.d.ts +21 -0
  45. package/dist/commonjs/models/operations/set-sandbox-web-session-settings.d.ts.map +1 -0
  46. package/dist/commonjs/models/operations/set-sandbox-web-session-settings.js +51 -0
  47. package/dist/commonjs/models/operations/set-sandbox-web-session-settings.js.map +1 -0
  48. package/dist/commonjs/sdk/helix-cloud.d.ts +9 -0
  49. package/dist/commonjs/sdk/helix-cloud.d.ts.map +1 -1
  50. package/dist/commonjs/sdk/helix-cloud.js +12 -0
  51. package/dist/commonjs/sdk/helix-cloud.js.map +1 -1
  52. package/dist/commonjs/sdk/sandbox-sessions.d.ts +7 -0
  53. package/dist/commonjs/sdk/sandbox-sessions.d.ts.map +1 -1
  54. package/dist/commonjs/sdk/sandbox-sessions.js +10 -0
  55. package/dist/commonjs/sdk/sandbox-sessions.js.map +1 -1
  56. package/dist/esm/funcs/helix-cloud-set-helix-cloud-session-settings.d.ts +23 -0
  57. package/dist/esm/funcs/helix-cloud-set-helix-cloud-session-settings.d.ts.map +1 -0
  58. package/dist/esm/funcs/helix-cloud-set-helix-cloud-session-settings.js +95 -0
  59. package/dist/esm/funcs/helix-cloud-set-helix-cloud-session-settings.js.map +1 -0
  60. package/dist/esm/funcs/sandbox-sessions-set-sandbox-web-session-settings.d.ts +21 -0
  61. package/dist/esm/funcs/sandbox-sessions-set-sandbox-web-session-settings.d.ts.map +1 -0
  62. package/dist/esm/funcs/sandbox-sessions-set-sandbox-web-session-settings.js +93 -0
  63. package/dist/esm/funcs/sandbox-sessions-set-sandbox-web-session-settings.js.map +1 -0
  64. package/dist/esm/lib/config.d.ts +2 -2
  65. package/dist/esm/lib/config.js +2 -2
  66. package/dist/esm/models/errors/index.d.ts +2 -0
  67. package/dist/esm/models/errors/index.d.ts.map +1 -1
  68. package/dist/esm/models/errors/index.js +2 -0
  69. package/dist/esm/models/errors/index.js.map +1 -1
  70. package/dist/esm/models/errors/set-helix-cloud-session-settings.d.ts +342 -0
  71. package/dist/esm/models/errors/set-helix-cloud-session-settings.d.ts.map +1 -0
  72. package/dist/esm/models/errors/set-helix-cloud-session-settings.js +277 -0
  73. package/dist/esm/models/errors/set-helix-cloud-session-settings.js.map +1 -0
  74. package/dist/esm/models/errors/set-sandbox-web-session-settings.d.ts +342 -0
  75. package/dist/esm/models/errors/set-sandbox-web-session-settings.d.ts.map +1 -0
  76. package/dist/esm/models/errors/set-sandbox-web-session-settings.js +277 -0
  77. package/dist/esm/models/errors/set-sandbox-web-session-settings.js.map +1 -0
  78. package/dist/esm/models/helix-cloud-settings-request.d.ts +51 -0
  79. package/dist/esm/models/helix-cloud-settings-request.d.ts.map +1 -0
  80. package/dist/esm/models/helix-cloud-settings-request.js +35 -0
  81. package/dist/esm/models/helix-cloud-settings-request.js.map +1 -0
  82. package/dist/esm/models/helix-cloud-settings.d.ts +20 -0
  83. package/dist/esm/models/helix-cloud-settings.d.ts.map +1 -0
  84. package/dist/esm/models/helix-cloud-settings.js +15 -0
  85. package/dist/esm/models/helix-cloud-settings.js.map +1 -0
  86. package/dist/esm/models/index.d.ts +2 -0
  87. package/dist/esm/models/index.d.ts.map +1 -1
  88. package/dist/esm/models/index.js +2 -0
  89. package/dist/esm/models/index.js.map +1 -1
  90. package/dist/esm/models/operations/index.d.ts +2 -0
  91. package/dist/esm/models/operations/index.d.ts.map +1 -1
  92. package/dist/esm/models/operations/index.js +2 -0
  93. package/dist/esm/models/operations/index.js.map +1 -1
  94. package/dist/esm/models/operations/set-helix-cloud-session-settings.d.ts +21 -0
  95. package/dist/esm/models/operations/set-helix-cloud-session-settings.d.ts.map +1 -0
  96. package/dist/esm/models/operations/set-helix-cloud-session-settings.js +14 -0
  97. package/dist/esm/models/operations/set-helix-cloud-session-settings.js.map +1 -0
  98. package/dist/esm/models/operations/set-sandbox-web-session-settings.d.ts +21 -0
  99. package/dist/esm/models/operations/set-sandbox-web-session-settings.d.ts.map +1 -0
  100. package/dist/esm/models/operations/set-sandbox-web-session-settings.js +14 -0
  101. package/dist/esm/models/operations/set-sandbox-web-session-settings.js.map +1 -0
  102. package/dist/esm/sdk/helix-cloud.d.ts +9 -0
  103. package/dist/esm/sdk/helix-cloud.d.ts.map +1 -1
  104. package/dist/esm/sdk/helix-cloud.js +12 -0
  105. package/dist/esm/sdk/helix-cloud.js.map +1 -1
  106. package/dist/esm/sdk/sandbox-sessions.d.ts +7 -0
  107. package/dist/esm/sdk/sandbox-sessions.d.ts.map +1 -1
  108. package/dist/esm/sdk/sandbox-sessions.js +10 -0
  109. package/dist/esm/sdk/sandbox-sessions.js.map +1 -1
  110. package/package.json +1 -1
@@ -0,0 +1,342 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { MutagentError } from "./mutagent-error.js";
4
+ import { SDKValidationError } from "./sdk-validation-error.js";
5
+ /**
6
+ * A refused helix-cloud web request
7
+ */
8
+ export type SetHelixCloudSessionSettingsServiceUnavailableErrorData = {
9
+ /**
10
+ * Short error category
11
+ */
12
+ error: string;
13
+ /**
14
+ * Human-readable reason
15
+ */
16
+ message: string;
17
+ /**
18
+ * Stable machine-readable code, when one applies
19
+ */
20
+ code?: string | undefined;
21
+ };
22
+ /**
23
+ * A refused helix-cloud web request
24
+ */
25
+ export declare class SetHelixCloudSessionSettingsServiceUnavailableError extends MutagentError {
26
+ /**
27
+ * Short error category
28
+ */
29
+ error: string;
30
+ /**
31
+ * Stable machine-readable code, when one applies
32
+ */
33
+ code?: string | undefined;
34
+ /** The original data that was passed to this error instance. */
35
+ data$: SetHelixCloudSessionSettingsServiceUnavailableErrorData;
36
+ constructor(err: SetHelixCloudSessionSettingsServiceUnavailableErrorData, httpMeta: {
37
+ response: Response;
38
+ request: Request;
39
+ body: string;
40
+ });
41
+ }
42
+ /**
43
+ * A refused helix-cloud web request
44
+ */
45
+ export type SetHelixCloudSessionSettingsPreconditionRequiredErrorData = {
46
+ /**
47
+ * Short error category
48
+ */
49
+ error: string;
50
+ /**
51
+ * Human-readable reason
52
+ */
53
+ message: string;
54
+ /**
55
+ * Stable machine-readable code, when one applies
56
+ */
57
+ code?: string | undefined;
58
+ };
59
+ /**
60
+ * A refused helix-cloud web request
61
+ */
62
+ export declare class SetHelixCloudSessionSettingsPreconditionRequiredError extends MutagentError {
63
+ /**
64
+ * Short error category
65
+ */
66
+ error: string;
67
+ /**
68
+ * Stable machine-readable code, when one applies
69
+ */
70
+ code?: string | undefined;
71
+ /** The original data that was passed to this error instance. */
72
+ data$: SetHelixCloudSessionSettingsPreconditionRequiredErrorData;
73
+ constructor(err: SetHelixCloudSessionSettingsPreconditionRequiredErrorData, httpMeta: {
74
+ response: Response;
75
+ request: Request;
76
+ body: string;
77
+ });
78
+ }
79
+ /**
80
+ * A refused helix-cloud web request
81
+ */
82
+ export type SetHelixCloudSessionSettingsUnprocessableEntityErrorData = {
83
+ /**
84
+ * Short error category
85
+ */
86
+ error: string;
87
+ /**
88
+ * Human-readable reason
89
+ */
90
+ message: string;
91
+ /**
92
+ * Stable machine-readable code, when one applies
93
+ */
94
+ code?: string | undefined;
95
+ };
96
+ /**
97
+ * A refused helix-cloud web request
98
+ */
99
+ export declare class SetHelixCloudSessionSettingsUnprocessableEntityError extends MutagentError {
100
+ /**
101
+ * Short error category
102
+ */
103
+ error: string;
104
+ /**
105
+ * Stable machine-readable code, when one applies
106
+ */
107
+ code?: string | undefined;
108
+ /** The original data that was passed to this error instance. */
109
+ data$: SetHelixCloudSessionSettingsUnprocessableEntityErrorData;
110
+ constructor(err: SetHelixCloudSessionSettingsUnprocessableEntityErrorData, httpMeta: {
111
+ response: Response;
112
+ request: Request;
113
+ body: string;
114
+ });
115
+ }
116
+ /**
117
+ * A refused helix-cloud web request
118
+ */
119
+ export type SetHelixCloudSessionSettingsConflictErrorData = {
120
+ /**
121
+ * Short error category
122
+ */
123
+ error: string;
124
+ /**
125
+ * Human-readable reason
126
+ */
127
+ message: string;
128
+ /**
129
+ * Stable machine-readable code, when one applies
130
+ */
131
+ code?: string | undefined;
132
+ };
133
+ /**
134
+ * A refused helix-cloud web request
135
+ */
136
+ export declare class SetHelixCloudSessionSettingsConflictError extends MutagentError {
137
+ /**
138
+ * Short error category
139
+ */
140
+ error: string;
141
+ /**
142
+ * Stable machine-readable code, when one applies
143
+ */
144
+ code?: string | undefined;
145
+ /** The original data that was passed to this error instance. */
146
+ data$: SetHelixCloudSessionSettingsConflictErrorData;
147
+ constructor(err: SetHelixCloudSessionSettingsConflictErrorData, httpMeta: {
148
+ response: Response;
149
+ request: Request;
150
+ body: string;
151
+ });
152
+ }
153
+ /**
154
+ * A refused helix-cloud web request
155
+ */
156
+ export type SetHelixCloudSessionSettingsNotFoundErrorData = {
157
+ /**
158
+ * Short error category
159
+ */
160
+ error: string;
161
+ /**
162
+ * Human-readable reason
163
+ */
164
+ message: string;
165
+ /**
166
+ * Stable machine-readable code, when one applies
167
+ */
168
+ code?: string | undefined;
169
+ };
170
+ /**
171
+ * A refused helix-cloud web request
172
+ */
173
+ export declare class SetHelixCloudSessionSettingsNotFoundError extends MutagentError {
174
+ /**
175
+ * Short error category
176
+ */
177
+ error: string;
178
+ /**
179
+ * Stable machine-readable code, when one applies
180
+ */
181
+ code?: string | undefined;
182
+ /** The original data that was passed to this error instance. */
183
+ data$: SetHelixCloudSessionSettingsNotFoundErrorData;
184
+ constructor(err: SetHelixCloudSessionSettingsNotFoundErrorData, httpMeta: {
185
+ response: Response;
186
+ request: Request;
187
+ body: string;
188
+ });
189
+ }
190
+ export type SetHelixCloudSessionSettingsResponseBodyError2Data = {
191
+ error: string;
192
+ message: string;
193
+ currentRole: string | null;
194
+ };
195
+ export declare class SetHelixCloudSessionSettingsResponseBodyError2 extends MutagentError {
196
+ error: string;
197
+ currentRole: string | null;
198
+ /** The original data that was passed to this error instance. */
199
+ data$: SetHelixCloudSessionSettingsResponseBodyError2Data;
200
+ constructor(err: SetHelixCloudSessionSettingsResponseBodyError2Data, httpMeta: {
201
+ response: Response;
202
+ request: Request;
203
+ body: string;
204
+ });
205
+ }
206
+ /**
207
+ * A refused helix-cloud web request
208
+ */
209
+ export type SetHelixCloudSessionSettingsResponseBodyError1Data = {
210
+ /**
211
+ * Short error category
212
+ */
213
+ error: string;
214
+ /**
215
+ * Human-readable reason
216
+ */
217
+ message: string;
218
+ /**
219
+ * Stable machine-readable code, when one applies
220
+ */
221
+ code?: string | undefined;
222
+ };
223
+ /**
224
+ * A refused helix-cloud web request
225
+ */
226
+ export declare class SetHelixCloudSessionSettingsResponseBodyError1 extends MutagentError {
227
+ /**
228
+ * Short error category
229
+ */
230
+ error: string;
231
+ /**
232
+ * Stable machine-readable code, when one applies
233
+ */
234
+ code?: string | undefined;
235
+ /** The original data that was passed to this error instance. */
236
+ data$: SetHelixCloudSessionSettingsResponseBodyError1Data;
237
+ constructor(err: SetHelixCloudSessionSettingsResponseBodyError1Data, httpMeta: {
238
+ response: Response;
239
+ request: Request;
240
+ body: string;
241
+ });
242
+ }
243
+ /**
244
+ * Response for status 403
245
+ */
246
+ export type SetHelixCloudSessionSettingsForbidden = SetHelixCloudSessionSettingsResponseBodyError1 | SetHelixCloudSessionSettingsResponseBodyError2;
247
+ /**
248
+ * A refused helix-cloud web request
249
+ */
250
+ export type SetHelixCloudSessionSettingsUnauthorizedErrorData = {
251
+ /**
252
+ * Short error category
253
+ */
254
+ error: string;
255
+ /**
256
+ * Human-readable reason
257
+ */
258
+ message: string;
259
+ /**
260
+ * Stable machine-readable code, when one applies
261
+ */
262
+ code?: string | undefined;
263
+ };
264
+ /**
265
+ * A refused helix-cloud web request
266
+ */
267
+ export declare class SetHelixCloudSessionSettingsUnauthorizedError extends MutagentError {
268
+ /**
269
+ * Short error category
270
+ */
271
+ error: string;
272
+ /**
273
+ * Stable machine-readable code, when one applies
274
+ */
275
+ code?: string | undefined;
276
+ /** The original data that was passed to this error instance. */
277
+ data$: SetHelixCloudSessionSettingsUnauthorizedErrorData;
278
+ constructor(err: SetHelixCloudSessionSettingsUnauthorizedErrorData, httpMeta: {
279
+ response: Response;
280
+ request: Request;
281
+ body: string;
282
+ });
283
+ }
284
+ /**
285
+ * A refused helix-cloud web request
286
+ */
287
+ export type SetHelixCloudSessionSettingsBadRequestErrorData = {
288
+ /**
289
+ * Short error category
290
+ */
291
+ error: string;
292
+ /**
293
+ * Human-readable reason
294
+ */
295
+ message: string;
296
+ /**
297
+ * Stable machine-readable code, when one applies
298
+ */
299
+ code?: string | undefined;
300
+ };
301
+ /**
302
+ * A refused helix-cloud web request
303
+ */
304
+ export declare class SetHelixCloudSessionSettingsBadRequestError extends MutagentError {
305
+ /**
306
+ * Short error category
307
+ */
308
+ error: string;
309
+ /**
310
+ * Stable machine-readable code, when one applies
311
+ */
312
+ code?: string | undefined;
313
+ /** The original data that was passed to this error instance. */
314
+ data$: SetHelixCloudSessionSettingsBadRequestErrorData;
315
+ constructor(err: SetHelixCloudSessionSettingsBadRequestErrorData, httpMeta: {
316
+ response: Response;
317
+ request: Request;
318
+ body: string;
319
+ });
320
+ }
321
+ /** @internal */
322
+ export declare const SetHelixCloudSessionSettingsServiceUnavailableError$inboundSchema: z.ZodMiniType<SetHelixCloudSessionSettingsServiceUnavailableError, unknown>;
323
+ /** @internal */
324
+ export declare const SetHelixCloudSessionSettingsPreconditionRequiredError$inboundSchema: z.ZodMiniType<SetHelixCloudSessionSettingsPreconditionRequiredError, unknown>;
325
+ /** @internal */
326
+ export declare const SetHelixCloudSessionSettingsUnprocessableEntityError$inboundSchema: z.ZodMiniType<SetHelixCloudSessionSettingsUnprocessableEntityError, unknown>;
327
+ /** @internal */
328
+ export declare const SetHelixCloudSessionSettingsConflictError$inboundSchema: z.ZodMiniType<SetHelixCloudSessionSettingsConflictError, unknown>;
329
+ /** @internal */
330
+ export declare const SetHelixCloudSessionSettingsNotFoundError$inboundSchema: z.ZodMiniType<SetHelixCloudSessionSettingsNotFoundError, unknown>;
331
+ /** @internal */
332
+ export declare const SetHelixCloudSessionSettingsResponseBodyError2$inboundSchema: z.ZodMiniType<SetHelixCloudSessionSettingsResponseBodyError2, unknown>;
333
+ /** @internal */
334
+ export declare const SetHelixCloudSessionSettingsResponseBodyError1$inboundSchema: z.ZodMiniType<SetHelixCloudSessionSettingsResponseBodyError1, unknown>;
335
+ /** @internal */
336
+ export declare const SetHelixCloudSessionSettingsForbidden$inboundSchema: z.ZodMiniType<SetHelixCloudSessionSettingsForbidden, unknown>;
337
+ export declare function setHelixCloudSessionSettingsForbiddenFromJSON(jsonString: string): SafeParseResult<SetHelixCloudSessionSettingsForbidden, SDKValidationError>;
338
+ /** @internal */
339
+ export declare const SetHelixCloudSessionSettingsUnauthorizedError$inboundSchema: z.ZodMiniType<SetHelixCloudSessionSettingsUnauthorizedError, unknown>;
340
+ /** @internal */
341
+ export declare const SetHelixCloudSessionSettingsBadRequestError$inboundSchema: z.ZodMiniType<SetHelixCloudSessionSettingsBadRequestError, unknown>;
342
+ //# sourceMappingURL=set-helix-cloud-session-settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-helix-cloud-session-settings.d.ts","sourceRoot":"","sources":["../../../../src/models/errors/set-helix-cloud-session-settings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAG9D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,uDAAuD,GAAG;IACpE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF;;GAEG;AACH,qBAAa,mDACX,SAAQ,aAAa;IAErB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1B,gEAAgE;IAChE,KAAK,EAAE,uDAAuD,CAAC;gBAG7D,GAAG,EAAE,uDAAuD,EAC5D,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAUnE;AAED;;GAEG;AACH,MAAM,MAAM,yDAAyD,GAAG;IACtE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF;;GAEG;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AChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,WAAW,CAC7E,qCAAqC,EACrC,OAAO,CAIP,CAAC;AAEH,wBAAgB,6CAA6C,CAC3D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qCAAqC,EAAE,kBAAkB,CAAC,CAO5E;AAED,gBAAgB;AAChB,eAAO,MAAM,2DAA2D,EACtE,CAAC,CAAC,WAAW,CAAC,6CAA6C,EAAE,OAAO,CAiBjE,CAAC;AAEN,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,WAAW,CAAC,2CAA2C,EAAE,OAAO,CAgBjE,CAAC"}
@@ -0,0 +1,323 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.SetHelixCloudSessionSettingsBadRequestError$inboundSchema = exports.SetHelixCloudSessionSettingsUnauthorizedError$inboundSchema = exports.SetHelixCloudSessionSettingsForbidden$inboundSchema = exports.SetHelixCloudSessionSettingsResponseBodyError1$inboundSchema = exports.SetHelixCloudSessionSettingsResponseBodyError2$inboundSchema = exports.SetHelixCloudSessionSettingsNotFoundError$inboundSchema = exports.SetHelixCloudSessionSettingsConflictError$inboundSchema = exports.SetHelixCloudSessionSettingsUnprocessableEntityError$inboundSchema = exports.SetHelixCloudSessionSettingsPreconditionRequiredError$inboundSchema = exports.SetHelixCloudSessionSettingsServiceUnavailableError$inboundSchema = exports.SetHelixCloudSessionSettingsBadRequestError = exports.SetHelixCloudSessionSettingsUnauthorizedError = exports.SetHelixCloudSessionSettingsResponseBodyError1 = exports.SetHelixCloudSessionSettingsResponseBodyError2 = exports.SetHelixCloudSessionSettingsNotFoundError = exports.SetHelixCloudSessionSettingsConflictError = exports.SetHelixCloudSessionSettingsUnprocessableEntityError = exports.SetHelixCloudSessionSettingsPreconditionRequiredError = exports.SetHelixCloudSessionSettingsServiceUnavailableError = void 0;
40
+ exports.setHelixCloudSessionSettingsForbiddenFromJSON = setHelixCloudSessionSettingsForbiddenFromJSON;
41
+ const z = __importStar(require("zod/v4-mini"));
42
+ const schemas_js_1 = require("../../lib/schemas.js");
43
+ const types = __importStar(require("../../types/primitives.js"));
44
+ const smart_union_js_1 = require("../../types/smart-union.js");
45
+ const mutagent_error_js_1 = require("./mutagent-error.js");
46
+ /**
47
+ * A refused helix-cloud web request
48
+ */
49
+ class SetHelixCloudSessionSettingsServiceUnavailableError extends mutagent_error_js_1.MutagentError {
50
+ constructor(err, httpMeta) {
51
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
52
+ super(message, httpMeta);
53
+ this.data$ = err;
54
+ this.error = err.error;
55
+ if (err.code != null)
56
+ this.code = err.code;
57
+ this.name = "SetHelixCloudSessionSettingsServiceUnavailableError";
58
+ }
59
+ }
60
+ exports.SetHelixCloudSessionSettingsServiceUnavailableError = SetHelixCloudSessionSettingsServiceUnavailableError;
61
+ /**
62
+ * A refused helix-cloud web request
63
+ */
64
+ class SetHelixCloudSessionSettingsPreconditionRequiredError extends mutagent_error_js_1.MutagentError {
65
+ constructor(err, httpMeta) {
66
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
67
+ super(message, httpMeta);
68
+ this.data$ = err;
69
+ this.error = err.error;
70
+ if (err.code != null)
71
+ this.code = err.code;
72
+ this.name = "SetHelixCloudSessionSettingsPreconditionRequiredError";
73
+ }
74
+ }
75
+ exports.SetHelixCloudSessionSettingsPreconditionRequiredError = SetHelixCloudSessionSettingsPreconditionRequiredError;
76
+ /**
77
+ * A refused helix-cloud web request
78
+ */
79
+ class SetHelixCloudSessionSettingsUnprocessableEntityError extends mutagent_error_js_1.MutagentError {
80
+ constructor(err, httpMeta) {
81
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
82
+ super(message, httpMeta);
83
+ this.data$ = err;
84
+ this.error = err.error;
85
+ if (err.code != null)
86
+ this.code = err.code;
87
+ this.name = "SetHelixCloudSessionSettingsUnprocessableEntityError";
88
+ }
89
+ }
90
+ exports.SetHelixCloudSessionSettingsUnprocessableEntityError = SetHelixCloudSessionSettingsUnprocessableEntityError;
91
+ /**
92
+ * A refused helix-cloud web request
93
+ */
94
+ class SetHelixCloudSessionSettingsConflictError extends mutagent_error_js_1.MutagentError {
95
+ constructor(err, httpMeta) {
96
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
97
+ super(message, httpMeta);
98
+ this.data$ = err;
99
+ this.error = err.error;
100
+ if (err.code != null)
101
+ this.code = err.code;
102
+ this.name = "SetHelixCloudSessionSettingsConflictError";
103
+ }
104
+ }
105
+ exports.SetHelixCloudSessionSettingsConflictError = SetHelixCloudSessionSettingsConflictError;
106
+ /**
107
+ * A refused helix-cloud web request
108
+ */
109
+ class SetHelixCloudSessionSettingsNotFoundError extends mutagent_error_js_1.MutagentError {
110
+ constructor(err, httpMeta) {
111
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
112
+ super(message, httpMeta);
113
+ this.data$ = err;
114
+ this.error = err.error;
115
+ if (err.code != null)
116
+ this.code = err.code;
117
+ this.name = "SetHelixCloudSessionSettingsNotFoundError";
118
+ }
119
+ }
120
+ exports.SetHelixCloudSessionSettingsNotFoundError = SetHelixCloudSessionSettingsNotFoundError;
121
+ class SetHelixCloudSessionSettingsResponseBodyError2 extends mutagent_error_js_1.MutagentError {
122
+ constructor(err, httpMeta) {
123
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
124
+ super(message, httpMeta);
125
+ this.data$ = err;
126
+ this.error = err.error;
127
+ this.currentRole = err.currentRole;
128
+ this.name = "SetHelixCloudSessionSettingsResponseBodyError2";
129
+ }
130
+ }
131
+ exports.SetHelixCloudSessionSettingsResponseBodyError2 = SetHelixCloudSessionSettingsResponseBodyError2;
132
+ /**
133
+ * A refused helix-cloud web request
134
+ */
135
+ class SetHelixCloudSessionSettingsResponseBodyError1 extends mutagent_error_js_1.MutagentError {
136
+ constructor(err, httpMeta) {
137
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
138
+ super(message, httpMeta);
139
+ this.data$ = err;
140
+ this.error = err.error;
141
+ if (err.code != null)
142
+ this.code = err.code;
143
+ this.name = "SetHelixCloudSessionSettingsResponseBodyError1";
144
+ }
145
+ }
146
+ exports.SetHelixCloudSessionSettingsResponseBodyError1 = SetHelixCloudSessionSettingsResponseBodyError1;
147
+ /**
148
+ * A refused helix-cloud web request
149
+ */
150
+ class SetHelixCloudSessionSettingsUnauthorizedError extends mutagent_error_js_1.MutagentError {
151
+ constructor(err, httpMeta) {
152
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
153
+ super(message, httpMeta);
154
+ this.data$ = err;
155
+ this.error = err.error;
156
+ if (err.code != null)
157
+ this.code = err.code;
158
+ this.name = "SetHelixCloudSessionSettingsUnauthorizedError";
159
+ }
160
+ }
161
+ exports.SetHelixCloudSessionSettingsUnauthorizedError = SetHelixCloudSessionSettingsUnauthorizedError;
162
+ /**
163
+ * A refused helix-cloud web request
164
+ */
165
+ class SetHelixCloudSessionSettingsBadRequestError extends mutagent_error_js_1.MutagentError {
166
+ constructor(err, httpMeta) {
167
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
168
+ super(message, httpMeta);
169
+ this.data$ = err;
170
+ this.error = err.error;
171
+ if (err.code != null)
172
+ this.code = err.code;
173
+ this.name = "SetHelixCloudSessionSettingsBadRequestError";
174
+ }
175
+ }
176
+ exports.SetHelixCloudSessionSettingsBadRequestError = SetHelixCloudSessionSettingsBadRequestError;
177
+ /** @internal */
178
+ exports.SetHelixCloudSessionSettingsServiceUnavailableError$inboundSchema = z.pipe(z.object({
179
+ error: types.string(),
180
+ message: types.string(),
181
+ code: types.optional(types.string()),
182
+ request$: z.custom(x => x instanceof Request),
183
+ response$: z.custom(x => x instanceof Response),
184
+ body$: z.string(),
185
+ }), z.transform((v) => {
186
+ return new SetHelixCloudSessionSettingsServiceUnavailableError(v, {
187
+ request: v.request$,
188
+ response: v.response$,
189
+ body: v.body$,
190
+ });
191
+ }));
192
+ /** @internal */
193
+ exports.SetHelixCloudSessionSettingsPreconditionRequiredError$inboundSchema = z.pipe(z.object({
194
+ error: types.string(),
195
+ message: types.string(),
196
+ code: types.optional(types.string()),
197
+ request$: z.custom(x => x instanceof Request),
198
+ response$: z.custom(x => x instanceof Response),
199
+ body$: z.string(),
200
+ }), z.transform((v) => {
201
+ return new SetHelixCloudSessionSettingsPreconditionRequiredError(v, {
202
+ request: v.request$,
203
+ response: v.response$,
204
+ body: v.body$,
205
+ });
206
+ }));
207
+ /** @internal */
208
+ exports.SetHelixCloudSessionSettingsUnprocessableEntityError$inboundSchema = z.pipe(z.object({
209
+ error: types.string(),
210
+ message: types.string(),
211
+ code: types.optional(types.string()),
212
+ request$: z.custom(x => x instanceof Request),
213
+ response$: z.custom(x => x instanceof Response),
214
+ body$: z.string(),
215
+ }), z.transform((v) => {
216
+ return new SetHelixCloudSessionSettingsUnprocessableEntityError(v, {
217
+ request: v.request$,
218
+ response: v.response$,
219
+ body: v.body$,
220
+ });
221
+ }));
222
+ /** @internal */
223
+ exports.SetHelixCloudSessionSettingsConflictError$inboundSchema = z.pipe(z.object({
224
+ error: types.string(),
225
+ message: types.string(),
226
+ code: types.optional(types.string()),
227
+ request$: z.custom(x => x instanceof Request),
228
+ response$: z.custom(x => x instanceof Response),
229
+ body$: z.string(),
230
+ }), z.transform((v) => {
231
+ return new SetHelixCloudSessionSettingsConflictError(v, {
232
+ request: v.request$,
233
+ response: v.response$,
234
+ body: v.body$,
235
+ });
236
+ }));
237
+ /** @internal */
238
+ exports.SetHelixCloudSessionSettingsNotFoundError$inboundSchema = z.pipe(z.object({
239
+ error: types.string(),
240
+ message: types.string(),
241
+ code: types.optional(types.string()),
242
+ request$: z.custom(x => x instanceof Request),
243
+ response$: z.custom(x => x instanceof Response),
244
+ body$: z.string(),
245
+ }), z.transform((v) => {
246
+ return new SetHelixCloudSessionSettingsNotFoundError(v, {
247
+ request: v.request$,
248
+ response: v.response$,
249
+ body: v.body$,
250
+ });
251
+ }));
252
+ /** @internal */
253
+ exports.SetHelixCloudSessionSettingsResponseBodyError2$inboundSchema = z
254
+ .pipe(z.object({
255
+ error: types.string(),
256
+ message: types.string(),
257
+ currentRole: types.nullable(types.string()),
258
+ request$: z.custom(x => x instanceof Request),
259
+ response$: z.custom(x => x instanceof Response),
260
+ body$: z.string(),
261
+ }), z.transform((v) => {
262
+ return new SetHelixCloudSessionSettingsResponseBodyError2(v, {
263
+ request: v.request$,
264
+ response: v.response$,
265
+ body: v.body$,
266
+ });
267
+ }));
268
+ /** @internal */
269
+ exports.SetHelixCloudSessionSettingsResponseBodyError1$inboundSchema = z
270
+ .pipe(z.object({
271
+ error: types.string(),
272
+ message: types.string(),
273
+ code: types.optional(types.string()),
274
+ request$: z.custom(x => x instanceof Request),
275
+ response$: z.custom(x => x instanceof Response),
276
+ body$: z.string(),
277
+ }), z.transform((v) => {
278
+ return new SetHelixCloudSessionSettingsResponseBodyError1(v, {
279
+ request: v.request$,
280
+ response: v.response$,
281
+ body: v.body$,
282
+ });
283
+ }));
284
+ /** @internal */
285
+ exports.SetHelixCloudSessionSettingsForbidden$inboundSchema = (0, smart_union_js_1.smartUnion)([
286
+ z.lazy(() => exports.SetHelixCloudSessionSettingsResponseBodyError1$inboundSchema),
287
+ z.lazy(() => exports.SetHelixCloudSessionSettingsResponseBodyError2$inboundSchema),
288
+ ]);
289
+ function setHelixCloudSessionSettingsForbiddenFromJSON(jsonString) {
290
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SetHelixCloudSessionSettingsForbidden$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SetHelixCloudSessionSettingsForbidden' from JSON`);
291
+ }
292
+ /** @internal */
293
+ exports.SetHelixCloudSessionSettingsUnauthorizedError$inboundSchema = z
294
+ .pipe(z.object({
295
+ error: types.string(),
296
+ message: types.string(),
297
+ code: types.optional(types.string()),
298
+ request$: z.custom(x => x instanceof Request),
299
+ response$: z.custom(x => x instanceof Response),
300
+ body$: z.string(),
301
+ }), z.transform((v) => {
302
+ return new SetHelixCloudSessionSettingsUnauthorizedError(v, {
303
+ request: v.request$,
304
+ response: v.response$,
305
+ body: v.body$,
306
+ });
307
+ }));
308
+ /** @internal */
309
+ exports.SetHelixCloudSessionSettingsBadRequestError$inboundSchema = z.pipe(z.object({
310
+ error: types.string(),
311
+ message: types.string(),
312
+ code: types.optional(types.string()),
313
+ request$: z.custom(x => x instanceof Request),
314
+ response$: z.custom(x => x instanceof Response),
315
+ body$: z.string(),
316
+ }), z.transform((v) => {
317
+ return new SetHelixCloudSessionSettingsBadRequestError(v, {
318
+ request: v.request$,
319
+ response: v.response$,
320
+ body: v.body$,
321
+ });
322
+ }));
323
+ //# sourceMappingURL=set-helix-cloud-session-settings.js.map