@flock/wirespec 0.19.0-RC.2 → 0.19.0-RC.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/arrow-arrow-atomic.mjs +12 -12
  2. package/arrow-arrow-core.mjs +163 -163
  3. package/clikt-clikt-mordant.mjs +80 -80
  4. package/clikt-clikt.mjs +1570 -1570
  5. package/colormath-root-colormath.mjs +444 -444
  6. package/kotest-kotest-property.mjs +605 -1435
  7. package/kotest-kotest-property.mjs.map +1 -1
  8. package/kotest-property-arbs.mjs +0 -478
  9. package/kotest-property-arbs.mjs.map +1 -1
  10. package/kotlin-kotlin-stdlib.mjs +2478 -2738
  11. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  12. package/kotlin-openapi-bindings.mjs +4926 -4926
  13. package/kotlin-openapi-bindings.mjs.map +1 -1
  14. package/kotlin-rgxgen.mjs +1819 -1819
  15. package/kotlinx-io-kotlinx-io-core.mjs +440 -440
  16. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1792 -1792
  17. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1395 -1395
  18. package/mordant-mordant.mjs +1362 -1362
  19. package/package.json +1 -1
  20. package/wirespec-src-compiler-core.mjs +1541 -1541
  21. package/wirespec-src-compiler-emitters-java.mjs +387 -387
  22. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  23. package/wirespec-src-compiler-emitters-kotlin.mjs +341 -341
  24. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  25. package/wirespec-src-compiler-emitters-python.mjs +371 -371
  26. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  27. package/wirespec-src-compiler-emitters-rust.mjs +416 -416
  28. package/wirespec-src-compiler-emitters-scala.mjs +168 -168
  29. package/wirespec-src-compiler-emitters-typescript.mjs +471 -471
  30. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  31. package/wirespec-src-compiler-emitters-wirespec.mjs +87 -87
  32. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  33. package/wirespec-src-compiler-ir.mjs +3672 -3672
  34. package/wirespec-src-compiler-lib.mjs +418 -418
  35. package/wirespec-src-compiler-lib.mjs.map +1 -1
  36. package/wirespec-src-converter-avro.mjs +512 -512
  37. package/wirespec-src-converter-openapi.mjs +772 -772
  38. package/wirespec-src-converter-openapi.mjs.map +1 -1
  39. package/wirespec-src-integration-kotest.mjs +490 -572
  40. package/wirespec-src-integration-kotest.mjs.map +1 -1
  41. package/wirespec-src-plugin-arguments.mjs +185 -185
  42. package/wirespec-src-plugin-cli.mjs +106 -106
  43. package/wirespec-src-plugin-npm.d.mts +1 -1
  44. package/wirespec-src-plugin-npm.mjs +40 -40
  45. package/wirespec-src-tools-generator.mjs +35 -35
@@ -206,10 +206,10 @@ initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, V
206
206
  function emit_3(identifier) {
207
207
  var tmp;
208
208
  if (identifier instanceof DefinitionIdentifier) {
209
- tmp = this.n21(identifier);
209
+ tmp = this.v20(identifier);
210
210
  } else {
211
211
  if (identifier instanceof FieldIdentifier) {
212
- tmp = this.d21(this.n21(identifier));
212
+ tmp = this.l20(this.v20(identifier));
213
213
  } else {
214
214
  noWhenBranchMatchedException();
215
215
  }
@@ -218,7 +218,7 @@ function emit_3(identifier) {
218
218
  }
219
219
  function sanitize(_this__u8e3s4) {
220
220
  // Inline function 'kotlin.collections.mapIndexed' call
221
- var this_0 = split(_this__u8e3s4.n1(), ['.', ' ']);
221
+ var this_0 = split(_this__u8e3s4.m1(), ['.', ' ']);
222
222
  // Inline function 'kotlin.collections.mapIndexedTo' call
223
223
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
224
224
  var index = 0;
@@ -227,7 +227,7 @@ function sanitize(_this__u8e3s4) {
227
227
  var item = _iterator__ex2g4s.v();
228
228
  var _unary__edvuaz = index;
229
229
  index = _unary__edvuaz + 1 | 0;
230
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.ev(item) : item;
230
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.mu(item) : item;
231
231
  destination.x(tmp$ret$0);
232
232
  }
233
233
  // Inline function 'kotlin.text.filter' call
@@ -265,42 +265,42 @@ function sanitize(_this__u8e3s4) {
265
265
  return tmp;
266
266
  }
267
267
  function sanitizeKeywords(_this__u8e3s4) {
268
- return Companion_getInstance_0().w22_1.a2(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
268
+ return Companion_getInstance_0().e22_1.v1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
269
269
  }
270
270
  initMetadataForInterface(PythonIdentifierEmitter, 'PythonIdentifierEmitter');
271
271
  function emit_4(type, module_0) {
272
272
  var tmp;
273
- if (type.mt_1.it_1.r()) {
274
- var tmp_0 = this.mv(type.lt_1);
273
+ if (type.us_1.qs_1.r()) {
274
+ var tmp_0 = this.uu(type.ts_1);
275
275
  var tmp_1 = Spacer_instance.toString();
276
276
  var tmp_2 = importReferences(type);
277
277
  tmp = trimMargin('\n |@dataclass\n |class ' + tmp_0 + ':\n |' + tmp_1 + 'pass\n |\n |' + joinToString(tmp_2, '\n', VOID, VOID, VOID, VOID, PythonTypeDefinitionEmitter$emit$lambda(this)) + '\n |\n ');
278
278
  } else {
279
- var tmp_3 = this.mv(type.lt_1);
280
- var tmp_4 = this.lu(type.mt_1);
279
+ var tmp_3 = this.uu(type.ts_1);
280
+ var tmp_4 = this.tt(type.us_1);
281
281
  var tmp_5 = importReferences(type);
282
282
  tmp = trimMargin('\n |@dataclass\n |class ' + tmp_3 + ':\n |' + tmp_4 + '\n |\n |' + joinToString(tmp_5, '\n', VOID, VOID, VOID, VOID, PythonTypeDefinitionEmitter$emit$lambda_0(this)) + '\n ');
283
283
  }
284
284
  return tmp;
285
285
  }
286
286
  function emit_5(_this__u8e3s4) {
287
- return joinToString(_this__u8e3s4.it_1, '\n', VOID, VOID, VOID, VOID, PythonTypeDefinitionEmitter$emit$lambda_1(this));
287
+ return joinToString(_this__u8e3s4.qs_1, '\n', VOID, VOID, VOID, VOID, PythonTypeDefinitionEmitter$emit$lambda_1(this));
288
288
  }
289
289
  function emit_6(_this__u8e3s4) {
290
- return this.mv(_this__u8e3s4.qt_1) + ": '" + this.nu(_this__u8e3s4.rt_1) + "'";
290
+ return this.uu(_this__u8e3s4.ys_1) + ": '" + this.vt(_this__u8e3s4.zs_1) + "'";
291
291
  }
292
292
  function emit_7(_this__u8e3s4) {
293
293
  // Inline function 'kotlin.let' call
294
- var it = this.u22(_this__u8e3s4);
295
- return _this__u8e3s4.sy() ? 'Optional[' + it + ']' : it;
294
+ var it = this.c22(_this__u8e3s4);
295
+ return _this__u8e3s4.ay() ? 'Optional[' + it + ']' : it;
296
296
  }
297
297
  function emitType(_this__u8e3s4) {
298
298
  var tmp;
299
299
  if (_this__u8e3s4 instanceof Dict) {
300
- tmp = 'Dict[str, ' + this.nu(_this__u8e3s4.ss_1) + ']';
300
+ tmp = 'Dict[str, ' + this.vt(_this__u8e3s4.as_1) + ']';
301
301
  } else {
302
302
  if (_this__u8e3s4 instanceof Iterable) {
303
- tmp = 'List[' + this.nu(_this__u8e3s4.ps_1) + ']';
303
+ tmp = 'List[' + this.vt(_this__u8e3s4.xr_1) + ']';
304
304
  } else {
305
305
  if (_this__u8e3s4 instanceof Unit) {
306
306
  tmp = 'None';
@@ -309,10 +309,10 @@ function emitType(_this__u8e3s4) {
309
309
  tmp = 'Any';
310
310
  } else {
311
311
  if (_this__u8e3s4 instanceof Custom) {
312
- tmp = _this__u8e3s4.az_1;
312
+ tmp = _this__u8e3s4.iy_1;
313
313
  } else {
314
314
  if (_this__u8e3s4 instanceof Primitive) {
315
- tmp = this.s22(_this__u8e3s4.ez_1);
315
+ tmp = this.a22(_this__u8e3s4.my_1);
316
316
  } else {
317
317
  noWhenBranchMatchedException();
318
318
  }
@@ -351,10 +351,10 @@ function emit_8(_this__u8e3s4) {
351
351
  function emit_9(_this__u8e3s4) {
352
352
  var tmp;
353
353
  if (_this__u8e3s4 instanceof RegExp_0) {
354
- tmp = 'bool(re.match(r"' + _RegExp___get_value__impl__7o7618(_this__u8e3s4.ox_1) + '", self.value))';
354
+ tmp = 'bool(re.match(r"' + _RegExp___get_value__impl__7o7618(_this__u8e3s4.ww_1) + '", self.value))';
355
355
  } else {
356
356
  if (_this__u8e3s4 instanceof Bound) {
357
- var tmp1_safe_receiver = _this__u8e3s4.ey_1;
357
+ var tmp1_safe_receiver = _this__u8e3s4.mx_1;
358
358
  var tmp_0;
359
359
  if (tmp1_safe_receiver == null) {
360
360
  tmp_0 = null;
@@ -363,7 +363,7 @@ function emit_9(_this__u8e3s4) {
363
363
  tmp_0 = tmp1_safe_receiver + ' < self.value';
364
364
  }
365
365
  var minCheck = tmp_0;
366
- var tmp2_safe_receiver = _this__u8e3s4.fy_1;
366
+ var tmp2_safe_receiver = _this__u8e3s4.nx_1;
367
367
  var tmp_1;
368
368
  if (tmp2_safe_receiver == null) {
369
369
  tmp_1 = null;
@@ -389,26 +389,26 @@ function emit_9(_this__u8e3s4) {
389
389
  return tmp;
390
390
  }
391
391
  function emitReferenceCustomImports(_this__u8e3s4) {
392
- return 'from ..model.' + _this__u8e3s4.az_1 + ' import ' + _this__u8e3s4.az_1;
392
+ return 'from ..model.' + _this__u8e3s4.iy_1 + ' import ' + _this__u8e3s4.iy_1;
393
393
  }
394
394
  initMetadataForInterface(PythonTypeDefinitionEmitter, 'PythonTypeDefinitionEmitter', VOID, VOID, [TypeDefinitionEmitter, PythonIdentifierEmitter]);
395
395
  function emit_10(endpoint) {
396
396
  var tmp = importReferences(endpoint);
397
397
  var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emit$lambda(this));
398
- var tmp_1 = this.mv(endpoint.ut_1);
399
- var tmp_2 = spacer(this.a21(first(endpoint.zt_1), endpoint), 1);
400
- var tmp_3 = distinctByStatus(endpoint.au_1);
398
+ var tmp_1 = this.uu(endpoint.ct_1);
399
+ var tmp_2 = spacer(this.i20(first(endpoint.ht_1), endpoint), 1);
400
+ var tmp_3 = distinctByStatus(endpoint.it_1);
401
401
  return trimMargin('\n |' + tmp_0 + '\n |\n |class ' + tmp_1 + ' (Wirespec.Endpoint):\n |' + tmp_2 + '\n |' + spacer(joinToString(tmp_3, '\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emit$lambda_0(this, endpoint)), 1) + '\n |' + spacer(emitResponseUnion(this, endpoint), 1) + '\n |' + spacer(emitHandleClass(this, endpoint), 1) + '\n |' + spacer(emitConvertClass(this, endpoint), 1) + '\n |\n ');
402
402
  }
403
403
  function emit_11(_this__u8e3s4, endpoint) {
404
- var tmp = emit_18(this, _this__u8e3s4.du_1);
404
+ var tmp = emit_18(this, _this__u8e3s4.lt_1);
405
405
  var tmp_0 = get_pathParams(endpoint);
406
406
  var tmp_1 = emitObject$default(this, tmp_0, 'Path', 'Wirespec.Request.Path', VOID, PythonEndpointDefinitionEmitter$emit$lambda_1(this));
407
- var tmp_2 = emitObject$default(this, endpoint.xt_1, 'Queries', 'Wirespec.Request.Queries', VOID, PythonEndpointDefinitionEmitter$emit$lambda_2(this));
408
- var tmp_3 = emitObject$default(this, endpoint.yt_1, 'Headers', 'Wirespec.Request.Headers', VOID, PythonEndpointDefinitionEmitter$emit$lambda_3(this));
407
+ var tmp_2 = emitObject$default(this, endpoint.ft_1, 'Queries', 'Wirespec.Request.Queries', VOID, PythonEndpointDefinitionEmitter$emit$lambda_2(this));
408
+ var tmp_3 = emitObject$default(this, endpoint.gt_1, 'Headers', 'Wirespec.Request.Headers', VOID, PythonEndpointDefinitionEmitter$emit$lambda_3(this));
409
409
  var tmp_4 = Spacer_instance.toString();
410
410
  var tmp_5 = Spacer_instance.toString();
411
- var tmp_6 = emit_18(this, _this__u8e3s4.du_1);
411
+ var tmp_6 = emit_18(this, _this__u8e3s4.lt_1);
412
412
  var tmp_7 = Spacer_instance.toString();
413
413
  var tmp_8 = Spacer_instance.toString();
414
414
  var tmp_9 = Spacer_instance.toString();
@@ -424,70 +424,61 @@ function emit_11(_this__u8e3s4, endpoint) {
424
424
  var tmp_19 = Spacer_instance.toString();
425
425
  var tmp_20 = Spacer_instance.toString();
426
426
  var tmp_21 = Spacer_instance.toString();
427
- var tmp_22 = emit_18(this, _this__u8e3s4.du_1);
427
+ var tmp_22 = emit_18(this, _this__u8e3s4.lt_1);
428
428
  var tmp_23 = Spacer_instance.toString();
429
429
  var tmp_24 = Spacer_instance.toString();
430
430
  var tmp_25 = Spacer_instance.toString();
431
431
  var tmp_26 = Spacer_instance.toString();
432
432
  var tmp_27 = Spacer_instance.toString();
433
433
  var tmp_28 = paramList(_this__u8e3s4, endpoint);
434
- return trimMargin('\n |@dataclass\n |class Request(Wirespec.Request[' + tmp + ']):\n |' + tmp_1 + '\n |' + tmp_2 + '\n |' + tmp_3 + '\n |\n |' + tmp_4 + '@property\n |' + tmp_5 + 'def body(self) -> ' + tmp_6 + ':\n |' + tmp_7 + tmp_8 + 'return self._body\n |\n |' + tmp_9 + '@property\n |' + tmp_10 + 'def path(self) -> Path:\n |' + tmp_11 + tmp_12 + 'return self._path\n |\n |' + tmp_13 + '@property\n |' + tmp_14 + 'def queries(self) -> Queries:\n |' + tmp_15 + tmp_16 + 'return self._queries\n |\n |' + tmp_17 + '@property\n |' + tmp_18 + 'def headers(self) -> Headers:\n |' + tmp_19 + tmp_20 + 'return self._headers\n |\n |' + tmp_21 + '_body: ' + tmp_22 + '\n |' + tmp_23 + '_headers: Headers\n |' + tmp_24 + '_queries: Queries\n |' + tmp_25 + '_path: Path\n |' + tmp_26 + 'method: Wirespec.Method = Wirespec.Method.' + endpoint.vt_1.g3_1 + '\n |\n |' + tmp_27 + 'def __init__(self, ' + joinToString(tmp_28, ', ', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emit$lambda_4(this)) + '):\n |' + spacer(emitAssignSelf_0(this, _this__u8e3s4, endpoint), 2) + '\n |\n ');
434
+ return trimMargin('\n |@dataclass\n |class Request(Wirespec.Request[' + tmp + ']):\n |' + tmp_1 + '\n |' + tmp_2 + '\n |' + tmp_3 + '\n |\n |' + tmp_4 + '@property\n |' + tmp_5 + 'def body(self) -> ' + tmp_6 + ':\n |' + tmp_7 + tmp_8 + 'return self._body\n |\n |' + tmp_9 + '@property\n |' + tmp_10 + 'def path(self) -> Path:\n |' + tmp_11 + tmp_12 + 'return self._path\n |\n |' + tmp_13 + '@property\n |' + tmp_14 + 'def queries(self) -> Queries:\n |' + tmp_15 + tmp_16 + 'return self._queries\n |\n |' + tmp_17 + '@property\n |' + tmp_18 + 'def headers(self) -> Headers:\n |' + tmp_19 + tmp_20 + 'return self._headers\n |\n |' + tmp_21 + '_body: ' + tmp_22 + '\n |' + tmp_23 + '_headers: Headers\n |' + tmp_24 + '_queries: Queries\n |' + tmp_25 + '_path: Path\n |' + tmp_26 + 'method: Wirespec.Method = Wirespec.Method.' + endpoint.dt_1.b3_1 + '\n |\n |' + tmp_27 + 'def __init__(self, ' + joinToString(tmp_28, ', ', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emit$lambda_4(this)) + '):\n |' + spacer(emitAssignSelf_0(this, _this__u8e3s4, endpoint), 2) + '\n |\n ');
435
435
  }
436
436
  function emit_12(_this__u8e3s4, endpoint) {
437
- var tmp = emit_18(this, _this__u8e3s4.iu_1);
438
- var tmp_0 = emitObject$default(this, _this__u8e3s4.hu_1, 'Headers', 'Wirespec.Response.Headers', VOID, PythonEndpointDefinitionEmitter$emit$lambda_5(this));
437
+ var tmp = emit_18(this, _this__u8e3s4.qt_1);
438
+ var tmp_0 = emitObject$default(this, _this__u8e3s4.pt_1, 'Headers', 'Wirespec.Response.Headers', VOID, PythonEndpointDefinitionEmitter$emit$lambda_5(this));
439
439
  var tmp_1 = Spacer_instance.toString();
440
440
  var tmp_2 = Spacer_instance.toString();
441
441
  var tmp_3 = Spacer_instance.toString();
442
442
  var tmp_4 = Spacer_instance.toString();
443
443
  var tmp_5 = Spacer_instance.toString();
444
444
  var tmp_6 = Spacer_instance.toString();
445
- var tmp_7 = emit_18(this, _this__u8e3s4.iu_1);
445
+ var tmp_7 = emit_18(this, _this__u8e3s4.qt_1);
446
446
  var tmp_8 = Spacer_instance.toString();
447
447
  var tmp_9 = Spacer_instance.toString();
448
448
  var tmp_10 = Spacer_instance.toString();
449
- var tmp_11 = emit_18(this, _this__u8e3s4.iu_1);
449
+ var tmp_11 = emit_18(this, _this__u8e3s4.qt_1);
450
450
  var tmp_12 = Spacer_instance.toString();
451
451
  var tmp_13 = Spacer_instance.toString();
452
452
  var tmp_14 = Spacer_instance.toString();
453
453
  var tmp_15 = paramList_0(_this__u8e3s4);
454
- return trimMargin('\n |@dataclass\n |class Response' + _this__u8e3s4.gu_1 + '(Wirespec.Response[' + tmp + ']):\n |' + tmp_0 + '\n |\n |' + tmp_1 + '@property\n |' + tmp_2 + 'def headers(self) -> Headers:\n |' + tmp_3 + tmp_4 + 'return self._headers\n |\n |' + tmp_5 + '@property\n |' + tmp_6 + 'def body(self) -> ' + tmp_7 + ':\n |' + tmp_8 + tmp_9 + 'return self._body\n |\n |' + tmp_10 + '_body: ' + tmp_11 + '\n |' + tmp_12 + '_headers: Headers\n |' + tmp_13 + 'status: int = ' + _this__u8e3s4.gu_1 + '\n |\n |' + tmp_14 + 'def __init__(self, ' + joinToString(tmp_15, ', ', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emit$lambda_6(this)) + '):\n |' + spacer(emitAssignSelf_1(this, _this__u8e3s4, endpoint), 2) + '\n |\n ');
454
+ return trimMargin('\n |@dataclass\n |class Response' + _this__u8e3s4.ot_1 + '(Wirespec.Response[' + tmp + ']):\n |' + tmp_0 + '\n |\n |' + tmp_1 + '@property\n |' + tmp_2 + 'def headers(self) -> Headers:\n |' + tmp_3 + tmp_4 + 'return self._headers\n |\n |' + tmp_5 + '@property\n |' + tmp_6 + 'def body(self) -> ' + tmp_7 + ':\n |' + tmp_8 + tmp_9 + 'return self._body\n |\n |' + tmp_10 + '_body: ' + tmp_11 + '\n |' + tmp_12 + '_headers: Headers\n |' + tmp_13 + 'status: int = ' + _this__u8e3s4.ot_1 + '\n |\n |' + tmp_14 + 'def __init__(self, ' + joinToString(tmp_15, ', ', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emit$lambda_6(this)) + '):\n |' + spacer(emitAssignSelf_1(this, _this__u8e3s4, endpoint), 2) + '\n |\n ');
455
455
  }
456
456
  initMetadataForInterface(PythonEndpointDefinitionEmitter, 'PythonEndpointDefinitionEmitter', VOID, VOID, [PythonTypeDefinitionEmitter]);
457
- function emit_13(union) {
458
- return trimMargin('\n |class ' + this.mv(union.gt_1) + '(ABC):\n |' + Spacer_instance.toString() + 'pass\n ');
459
- }
460
- initMetadataForInterface(PythonUnionDefinitionEmitter, 'PythonUnionDefinitionEmitter', VOID, VOID, [PythonIdentifierEmitter]);
461
- function emit_14(enum_0, module_0) {
462
- var tmp = this.n21(enum_0.wv_1);
463
- return trimMargin('\n |class ' + tmp + '(str, Enum):\n |' + joinToString(enum_0.xv_1, '\n', VOID, VOID, VOID, VOID, PythonEnumDefinitionEmitter$emit$lambda(this)) + '\n |\n |' + Spacer_instance.toString() + '@property\n |' + Spacer_instance.toString() + 'def label(self) -> str:\n |' + Spacer_instance.gw(2) + 'return self.value\n |\n |' + Spacer_instance.toString() + 'def __str__(self) -> str:\n |' + Spacer_instance.gw(2) + 'return self.value\n ');
464
- }
465
- initMetadataForInterface(PythonEnumDefinitionEmitter, 'PythonEnumDefinitionEmitter', VOID, VOID, [PythonIdentifierEmitter]);
466
- function emit_15(refined) {
467
- return trimMargin('\n |@dataclass\n |class ' + this.n21(refined.rv_1) + '(Wirespec.Refined):\n |' + Spacer_instance.toString() + 'value: ' + this.u22(refined.sv_1) + '\n |\n |' + Spacer_instance.toString() + 'def validate(self) -> bool:\n |' + Spacer_instance.gw(2) + 'return ' + this.aw(refined) + '\n |\n |' + Spacer_instance.toString() + 'def __str__(self) -> str:\n |' + Spacer_instance.gw(2) + 'return str(self.value)\n |\n ');
457
+ function emit_13(refined) {
458
+ return trimMargin('\n |@dataclass\n |class ' + this.v20(refined.zu_1) + '(Wirespec.Refined):\n |' + Spacer_instance.toString() + 'value: ' + this.c22(refined.av_1) + '\n |\n |' + Spacer_instance.toString() + 'def validate(self) -> bool:\n |' + Spacer_instance.ov(2) + 'return ' + this.iv(refined) + '\n |\n |' + Spacer_instance.toString() + 'def __str__(self) -> str:\n |' + Spacer_instance.ov(2) + 'return str(self.value)\n |\n ');
468
459
  }
469
460
  function emitValidator(_this__u8e3s4) {
470
461
  var defaultReturn = 'True';
471
- var type = _this__u8e3s4.sv_1.ez_1;
462
+ var type = _this__u8e3s4.av_1.my_1;
472
463
  var tmp;
473
464
  if (type instanceof Integer) {
474
- var tmp0_safe_receiver = type.jy_1;
475
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.ou(tmp0_safe_receiver);
465
+ var tmp0_safe_receiver = type.rx_1;
466
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.wt(tmp0_safe_receiver);
476
467
  tmp = tmp1_elvis_lhs == null ? defaultReturn : tmp1_elvis_lhs;
477
468
  } else {
478
469
  if (type instanceof Number_0) {
479
- var tmp2_safe_receiver = type.my_1;
480
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.ou(tmp2_safe_receiver);
470
+ var tmp2_safe_receiver = type.ux_1;
471
+ var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.wt(tmp2_safe_receiver);
481
472
  tmp = tmp3_elvis_lhs == null ? defaultReturn : tmp3_elvis_lhs;
482
473
  } else {
483
474
  if (type instanceof String_0) {
484
- var tmp4_safe_receiver = type.gy_1;
475
+ var tmp4_safe_receiver = type.ox_1;
485
476
  var tmp_0;
486
477
  var tmp_1 = tmp4_safe_receiver;
487
478
  if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
488
479
  tmp_0 = null;
489
480
  } else {
490
- tmp_0 = this.ou(new RegExp_0(tmp4_safe_receiver));
481
+ tmp_0 = this.wt(new RegExp_0(tmp4_safe_receiver));
491
482
  }
492
483
  var tmp5_elvis_lhs = tmp_0;
493
484
  tmp = tmp5_elvis_lhs == null ? defaultReturn : tmp5_elvis_lhs;
@@ -507,7 +498,16 @@ function emitValidator(_this__u8e3s4) {
507
498
  return tmp;
508
499
  }
509
500
  initMetadataForInterface(PythonRefinedTypeDefinitionEmitter, 'PythonRefinedTypeDefinitionEmitter', VOID, VOID, [PythonTypeDefinitionEmitter, PythonIdentifierEmitter]);
510
- initMetadataForClass(PythonEmitter, 'PythonEmitter', PythonEmitter, LanguageEmitter, [LanguageEmitter, PythonIdentifierEmitter, PythonEndpointDefinitionEmitter, PythonTypeDefinitionEmitter, PythonChannelDefinitionEmitter, PythonUnionDefinitionEmitter, PythonEnumDefinitionEmitter, PythonRefinedTypeDefinitionEmitter]);
501
+ function emit_14(union) {
502
+ return trimMargin('\n |class ' + this.uu(union.os_1) + '(ABC):\n |' + Spacer_instance.toString() + 'pass\n ');
503
+ }
504
+ initMetadataForInterface(PythonUnionDefinitionEmitter, 'PythonUnionDefinitionEmitter', VOID, VOID, [PythonIdentifierEmitter]);
505
+ function emit_15(enum_0, module_0) {
506
+ var tmp = this.v20(enum_0.ev_1);
507
+ return trimMargin('\n |class ' + tmp + '(str, Enum):\n |' + joinToString(enum_0.fv_1, '\n', VOID, VOID, VOID, VOID, PythonEnumDefinitionEmitter$emit$lambda(this)) + '\n |\n |' + Spacer_instance.toString() + '@property\n |' + Spacer_instance.toString() + 'def label(self) -> str:\n |' + Spacer_instance.ov(2) + 'return self.value\n |\n |' + Spacer_instance.toString() + 'def __str__(self) -> str:\n |' + Spacer_instance.ov(2) + 'return self.value\n ');
508
+ }
509
+ initMetadataForInterface(PythonEnumDefinitionEmitter, 'PythonEnumDefinitionEmitter', VOID, VOID, [PythonIdentifierEmitter]);
510
+ initMetadataForClass(PythonEmitter, 'PythonEmitter', PythonEmitter, LanguageEmitter, [LanguageEmitter, PythonIdentifierEmitter, PythonEndpointDefinitionEmitter, PythonRefinedTypeDefinitionEmitter, PythonTypeDefinitionEmitter, PythonChannelDefinitionEmitter, PythonUnionDefinitionEmitter, PythonEnumDefinitionEmitter]);
511
511
  initMetadataForCompanion(Companion);
512
512
  initMetadataForCompanion(Companion_0);
513
513
  initMetadataForClass(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
@@ -517,23 +517,23 @@ initMetadataForObject(PythonShared, 'PythonShared');
517
517
  function PythonChannelDefinitionEmitter() {
518
518
  }
519
519
  function sam$kotlin_Comparator$0(function_0) {
520
- this.i22_1 = function_0;
520
+ this.q21_1 = function_0;
521
521
  }
522
- protoOf(sam$kotlin_Comparator$0).xd = function (a, b) {
523
- return this.i22_1(a, b);
522
+ protoOf(sam$kotlin_Comparator$0).sd = function (a, b) {
523
+ return this.q21_1(a, b);
524
524
  };
525
525
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
526
- return this.xd(a, b);
526
+ return this.sd(a, b);
527
527
  };
528
- protoOf(sam$kotlin_Comparator$0).r3 = function () {
529
- return this.i22_1;
528
+ protoOf(sam$kotlin_Comparator$0).m3 = function () {
529
+ return this.q21_1;
530
530
  };
531
531
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
532
532
  var tmp;
533
533
  if (!(other == null) ? isInterface(other, Comparator) : false) {
534
534
  var tmp_0;
535
535
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
536
- tmp_0 = equals(this.r3(), other.r3());
536
+ tmp_0 = equals(this.m3(), other.m3());
537
537
  } else {
538
538
  tmp_0 = false;
539
539
  }
@@ -544,40 +544,40 @@ protoOf(sam$kotlin_Comparator$0).equals = function (other) {
544
544
  return tmp;
545
545
  };
546
546
  protoOf(sam$kotlin_Comparator$0).hashCode = function () {
547
- return hashCode(this.r3());
547
+ return hashCode(this.m3());
548
548
  };
549
549
  function PythonEmitter$emit$lambda(this$0) {
550
550
  return function (a, b) {
551
551
  // Inline function 'kotlin.comparisons.compareValuesBy' call
552
- var tmp = this$0.p22(a);
553
- var tmp$ret$1 = this$0.p22(b);
552
+ var tmp = this$0.x21(a);
553
+ var tmp$ret$1 = this$0.x21(b);
554
554
  return compareValues(tmp, tmp$ret$1);
555
555
  };
556
556
  }
557
557
  function emit$emitInit(this$0, def) {
558
- return 'from .' + this$0.mv(def.lv()) + ' import ' + this$0.mv(def.lv());
558
+ return 'from .' + this$0.uu(def.tu()) + ' import ' + this$0.uu(def.tu());
559
559
  }
560
560
  function PythonEmitter(packageName, emitShared) {
561
- packageName = packageName === VOID ? Companion_instance.bw('community.flock.wirespec.generated') : packageName;
562
- emitShared = emitShared === VOID ? Companion_instance_0.ws() : emitShared;
561
+ packageName = packageName === VOID ? Companion_instance.jv('community.flock.wirespec.generated') : packageName;
562
+ emitShared = emitShared === VOID ? Companion_instance_0.es() : emitShared;
563
563
  LanguageEmitter.call(this);
564
- this.j22_1 = packageName;
565
- this.k22_1 = emitShared;
566
- this.l22_1 = 'import re\n\nfrom abc import abstractmethod\nfrom dataclasses import dataclass\nfrom typing import List, Optional\nfrom enum import Enum\n\nfrom ..wirespec import T, Wirespec\n';
567
- this.m22_1 = FileExtension_Python_getInstance();
568
- this.n22_1 = PythonShared_instance;
569
- this.o22_1 = '#';
570
- }
571
- protoOf(PythonEmitter).uu = function () {
572
- return this.m22_1;
564
+ this.r21_1 = packageName;
565
+ this.s21_1 = emitShared;
566
+ this.t21_1 = 'import re\n\nfrom abc import abstractmethod\nfrom dataclasses import dataclass\nfrom typing import List, Optional\nfrom enum import Enum\n\nfrom ..wirespec import T, Wirespec\n';
567
+ this.u21_1 = FileExtension_Python_getInstance();
568
+ this.v21_1 = PythonShared_instance;
569
+ this.w21_1 = '#';
570
+ }
571
+ protoOf(PythonEmitter).cu = function () {
572
+ return this.u21_1;
573
573
  };
574
- protoOf(PythonEmitter).w20 = function () {
575
- return this.n22_1;
574
+ protoOf(PythonEmitter).e20 = function () {
575
+ return this.v21_1;
576
576
  };
577
- protoOf(PythonEmitter).vu = function () {
578
- return this.o22_1;
577
+ protoOf(PythonEmitter).du = function () {
578
+ return this.w21_1;
579
579
  };
580
- protoOf(PythonEmitter).p22 = function (definition) {
580
+ protoOf(PythonEmitter).x21 = function (definition) {
581
581
  var tmp;
582
582
  if (definition instanceof Enum) {
583
583
  tmp = 1;
@@ -606,21 +606,21 @@ protoOf(PythonEmitter).p22 = function (definition) {
606
606
  }
607
607
  return tmp;
608
608
  };
609
- protoOf(PythonEmitter).jv = function (module_0, logger) {
609
+ protoOf(PythonEmitter).ru = function (module_0, logger) {
610
610
  // Inline function 'kotlin.collections.sortedBy' call
611
- var this_0 = new NonEmptyList(module_0.tu_1);
611
+ var this_0 = new NonEmptyList(module_0.bu_1);
612
612
  // Inline function 'kotlin.comparisons.compareBy' call
613
613
  var tmp = PythonEmitter$emit$lambda(this);
614
614
  var tmp$ret$0 = new sam$kotlin_Comparator$0(tmp);
615
615
  var tmp$ret$1 = sortedWith(this_0, tmp$ret$0);
616
616
  var tmp_0 = toNonEmptyListOrNull(tmp$ret$1);
617
- var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).oq_1;
617
+ var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).wp_1;
618
618
  // Inline function 'kotlin.let' call
619
- var it = protoOf(LanguageEmitter).jv.call(this, module_0.lz(VOID, statements), logger);
620
- var init = new Emitted(this.j22_1.ew() + '__init__', 'from . import model\nfrom . import endpoint\nfrom . import wirespec\n');
621
- var tmp_1 = this.j22_1.ew() + 'endpoint/' + '__init__';
619
+ var it = protoOf(LanguageEmitter).ru.call(this, module_0.ty(VOID, statements), logger);
620
+ var init = new Emitted(this.r21_1.mv() + '__init__', 'from . import model\nfrom . import endpoint\nfrom . import wirespec\n');
621
+ var tmp_1 = this.r21_1.mv() + 'endpoint/' + '__init__';
622
622
  // Inline function 'kotlin.collections.filter' call
623
- var tmp0 = new NonEmptyList(module_0.tu_1);
623
+ var tmp0 = new NonEmptyList(module_0.bu_1);
624
624
  // Inline function 'kotlin.collections.filterTo' call
625
625
  var destination = ArrayList_init_$Create$();
626
626
  var _iterator__ex2g4s = tmp0.t();
@@ -640,9 +640,9 @@ protoOf(PythonEmitter).jv = function (module_0, logger) {
640
640
  destination_0.x(tmp$ret$5);
641
641
  }
642
642
  var initEndpoint = new Emitted(tmp_1, joinToString(destination_0, '\n'));
643
- var tmp_2 = this.j22_1.ew() + 'model/' + '__init__';
643
+ var tmp_2 = this.r21_1.mv() + 'model/' + '__init__';
644
644
  // Inline function 'kotlin.collections.filter' call
645
- var tmp0_0 = new NonEmptyList(module_0.tu_1);
645
+ var tmp0_0 = new NonEmptyList(module_0.bu_1);
646
646
  // Inline function 'kotlin.collections.filterTo' call
647
647
  var destination_1 = ArrayList_init_$Create$();
648
648
  var _iterator__ex2g4s_1 = tmp0_0.t();
@@ -662,33 +662,33 @@ protoOf(PythonEmitter).jv = function (module_0, logger) {
662
662
  destination_2.x(tmp$ret$11);
663
663
  }
664
664
  var initModel = new Emitted(tmp_2, joinToString(destination_2, '\n'));
665
- var shared = new Emitted(this.j22_1.ew() + 'wirespec', this.w20().r22_1);
666
- return this.k22_1.xs_1 ? NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(it, init), initEndpoint), initModel), shared) : NonEmptyList__plus_impl_xqmb9(it, init);
665
+ var shared = new Emitted(this.r21_1.mv() + 'wirespec', this.e20().z21_1);
666
+ return this.s21_1.fs_1 ? NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(it, init), initEndpoint), initModel), shared) : NonEmptyList__plus_impl_xqmb9(it, init);
667
667
  };
668
- protoOf(PythonEmitter).kv = function (definition, module_0, logger) {
669
- var subPackageName = plus_1(this.j22_1, definition);
668
+ protoOf(PythonEmitter).su = function (definition, module_0, logger) {
669
+ var subPackageName = plus_1(this.r21_1, definition);
670
670
  // Inline function 'kotlin.let' call
671
- var it = protoOf(LanguageEmitter).kv.call(this, definition, module_0, logger);
672
- var tmp = subPackageName.ew() + it.ys_1;
671
+ var it = protoOf(LanguageEmitter).su.call(this, definition, module_0, logger);
672
+ var tmp = subPackageName.mv() + it.gs_1;
673
673
  // Inline function 'kotlin.text.trimStart' call
674
- var this_0 = trimMargin('\n |' + this.l22_1 + '\n |' + it.zs_1 + '\n ');
674
+ var this_0 = trimMargin('\n |' + this.t21_1 + '\n |' + it.hs_1 + '\n ');
675
675
  var tmp$ret$0 = toString(trimStart(isCharSequence(this_0) ? this_0 : THROW_CCE()));
676
676
  return new Emitted(tmp, tmp$ret$0);
677
677
  };
678
678
  function emitToRawRequest($this, _this__u8e3s4, endpoint) {
679
- var tmp = $this.mv(endpoint.ut_1);
679
+ var tmp = $this.uu(endpoint.ct_1);
680
680
  var tmp_0 = Spacer_instance.toString();
681
681
  var tmp_1 = Spacer_instance.toString();
682
682
  var tmp_2 = Spacer_instance.toString();
683
- var tmp_3 = joinToString(endpoint.wt_1, VOID, VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda($this));
683
+ var tmp_3 = joinToString(endpoint.et_1, VOID, VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda($this));
684
684
  var tmp_4 = Spacer_instance.toString();
685
685
  var tmp_5 = Spacer_instance.toString();
686
686
  var tmp_6 = Spacer_instance.toString();
687
687
  var tmp_7 = Spacer_instance.toString();
688
688
  var tmp_8;
689
689
  // Inline function 'kotlin.collections.isNotEmpty' call
690
- if (!endpoint.xt_1.r()) {
691
- tmp_8 = prependIndent(joinToString(endpoint.xt_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda_0($this)), Spacer_instance.gw(3));
690
+ if (!endpoint.ft_1.r()) {
691
+ tmp_8 = prependIndent(joinToString(endpoint.ft_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda_0($this)), Spacer_instance.ov(3));
692
692
  } else {
693
693
  tmp_8 = '';
694
694
  }
@@ -699,8 +699,8 @@ function emitToRawRequest($this, _this__u8e3s4, endpoint) {
699
699
  var tmp_13 = Spacer_instance.toString();
700
700
  var tmp_14;
701
701
  // Inline function 'kotlin.collections.isNotEmpty' call
702
- if (!endpoint.yt_1.r()) {
703
- tmp_14 = prependIndent(joinToString(endpoint.yt_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda_1($this)), Spacer_instance.gw(3));
702
+ if (!endpoint.gt_1.r()) {
703
+ tmp_14 = prependIndent(joinToString(endpoint.gt_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda_1($this)), Spacer_instance.ov(3));
704
704
  } else {
705
705
  tmp_14 = '';
706
706
  }
@@ -709,48 +709,48 @@ function emitToRawRequest($this, _this__u8e3s4, endpoint) {
709
709
  var tmp_17 = Spacer_instance.toString();
710
710
  var tmp_18 = Spacer_instance.toString();
711
711
  var tmp_19 = Spacer_instance.toString();
712
- var tmp0_safe_receiver = _this__u8e3s4.du_1;
713
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.fu_1;
714
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.u22(tmp1_safe_receiver);
712
+ var tmp0_safe_receiver = _this__u8e3s4.lt_1;
713
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.nt_1;
714
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.c22(tmp1_safe_receiver);
715
715
  return trimMargin("\n |@staticmethod\n |def to_raw_request(serialization: Wirespec.Serializer, request: '" + tmp + ".Request') -> Wirespec.RawRequest:\n |" + tmp_0 + 'return Wirespec.RawRequest(\n |' + tmp_1 + tmp_2 + 'path = [' + tmp_3 + '],\n |' + tmp_4 + tmp_5 + 'method = request.method.value,\n |' + tmp_6 + tmp_7 + 'queries = {\n |' + tmp_9 + '\n |' + tmp_10 + tmp_11 + '},\n |' + tmp_12 + tmp_13 + 'headers = {\n |' + tmp_15 + '\n |' + tmp_16 + tmp_17 + '},\n |' + tmp_18 + tmp_19 + 'body = serialization.serialize(request.body, ' + (tmp2_elvis_lhs == null ? 'type(None)' : tmp2_elvis_lhs) + '),\n |' + Spacer_instance.toString() + ')\n |\n ');
716
716
  }
717
717
  function emitFromRawRequest($this, _this__u8e3s4, endpoint) {
718
- return trimMargin("\n |@staticmethod\n |def from_raw_request(serialization: Wirespec.Deserializer, request: Wirespec.RawRequest) -> '" + $this.mv(endpoint.ut_1) + ".Request':\n |" + Spacer_instance.toString() + 'return ' + $this.mv(endpoint.ut_1) + '.Request' + emitDeserializedParams($this, _this__u8e3s4, endpoint) + '\n |\n ');
718
+ return trimMargin("\n |@staticmethod\n |def from_raw_request(serialization: Wirespec.Deserializer, request: Wirespec.RawRequest) -> '" + $this.uu(endpoint.ct_1) + ".Request':\n |" + Spacer_instance.toString() + 'return ' + $this.uu(endpoint.ct_1) + '.Request' + emitDeserializedParams($this, _this__u8e3s4, endpoint) + '\n |\n ');
719
719
  }
720
720
  function emitDeserializedParams($this, _this__u8e3s4, endpoint) {
721
721
  var tmp = get_indexedPathParams(endpoint);
722
722
  var tmp_0 = orNull(joinToString(tmp, VOID, VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda($this)));
723
- var tmp_1 = orNull(joinToString(endpoint.xt_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_0($this)));
724
- var tmp_2 = orNull(joinToString(endpoint.yt_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_1($this)));
725
- var tmp0_safe_receiver = _this__u8e3s4.du_1;
723
+ var tmp_1 = orNull(joinToString(endpoint.ft_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_0($this)));
724
+ var tmp_2 = orNull(joinToString(endpoint.gt_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_1($this)));
725
+ var tmp0_safe_receiver = _this__u8e3s4.lt_1;
726
726
  var tmp_3;
727
727
  if (tmp0_safe_receiver == null) {
728
728
  tmp_3 = null;
729
729
  } else {
730
730
  // Inline function 'kotlin.let' call
731
- tmp_3 = Spacer_instance.gw(3) + 'body = serialization.deserialize(request.body, ' + $this.u22(tmp0_safe_receiver.fu_1) + '),';
731
+ tmp_3 = Spacer_instance.ov(3) + 'body = serialization.deserialize(request.body, ' + $this.c22(tmp0_safe_receiver.nt_1) + '),';
732
732
  }
733
733
  // Inline function 'kotlin.let' call
734
734
  var it = joinToString(listOfNotNull([tmp_0, tmp_1, tmp_2, tmp_3]), ',\n');
735
735
  return isBlank(it) ? '()' : '(\n' + it + '\n)';
736
736
  }
737
737
  function emitResponseUnion($this, _this__u8e3s4) {
738
- return trimMargin('\n |Response = ' + joinToString(_this__u8e3s4.au_1, ' | ', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitResponseUnion$lambda) + '\n |\n ');
738
+ return trimMargin('\n |Response = ' + joinToString(_this__u8e3s4.it_1, ' | ', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitResponseUnion$lambda) + '\n |\n ');
739
739
  }
740
740
  function emitHandleClass($this, _this__u8e3s4) {
741
- return trimMargin('\n |class Handler(Wirespec.Endpoint.Handler):\n |' + Spacer_instance.toString() + '@abstractmethod\n |' + Spacer_instance.toString() + 'def ' + _this__u8e3s4.ut_1.n1() + "(self, req: '" + $this.mv(_this__u8e3s4.ut_1) + ".Request') -> '" + $this.mv(_this__u8e3s4.ut_1) + ".Response': pass\n |\n ");
741
+ return trimMargin('\n |class Handler(Wirespec.Endpoint.Handler):\n |' + Spacer_instance.toString() + '@abstractmethod\n |' + Spacer_instance.toString() + 'def ' + _this__u8e3s4.ct_1.m1() + "(self, req: '" + $this.uu(_this__u8e3s4.ct_1) + ".Request') -> '" + $this.uu(_this__u8e3s4.ct_1) + ".Response': pass\n |\n ");
742
742
  }
743
743
  function emitConvertClass($this, _this__u8e3s4) {
744
- return trimMargin('\n |class Convert(Wirespec.Endpoint.Convert[Request, Response]):\n |' + spacer(emitToRawRequest($this, first(_this__u8e3s4.zt_1), _this__u8e3s4), 1) + '\n |' + spacer(emitFromRawRequest($this, first(_this__u8e3s4.zt_1), _this__u8e3s4), 1) + '\n |' + spacer(emitToRawResponse($this, _this__u8e3s4), 1) + '\n |' + spacer(emitFromRawResponse($this, _this__u8e3s4), 1) + '\n |\n ');
744
+ return trimMargin('\n |class Convert(Wirespec.Endpoint.Convert[Request, Response]):\n |' + spacer(emitToRawRequest($this, first(_this__u8e3s4.ht_1), _this__u8e3s4), 1) + '\n |' + spacer(emitFromRawRequest($this, first(_this__u8e3s4.ht_1), _this__u8e3s4), 1) + '\n |' + spacer(emitToRawResponse($this, _this__u8e3s4), 1) + '\n |' + spacer(emitFromRawResponse($this, _this__u8e3s4), 1) + '\n |\n ');
745
745
  }
746
746
  function emit_16($this, _this__u8e3s4) {
747
- return $this.mv(_this__u8e3s4.zu_1) + ': ' + $this.nu(_this__u8e3s4.av_1);
747
+ return $this.uu(_this__u8e3s4.hu_1) + ': ' + $this.vt(_this__u8e3s4.iu_1);
748
748
  }
749
749
  function emitAssignSelf($this, _this__u8e3s4) {
750
- return $this.mv(_this__u8e3s4.zu_1) + ' = ' + $this.mv(_this__u8e3s4.zu_1);
750
+ return $this.uu(_this__u8e3s4.hu_1) + ' = ' + $this.uu(_this__u8e3s4.hu_1);
751
751
  }
752
752
  function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
753
- var tmp = $this.mv(endpoint.ut_1);
753
+ var tmp = $this.uu(endpoint.ct_1);
754
754
  // Inline function 'kotlin.collections.filter' call
755
755
  var tmp0 = paramList(_this__u8e3s4, endpoint);
756
756
  // Inline function 'kotlin.collections.filterTo' call
@@ -758,13 +758,13 @@ function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
758
758
  var _iterator__ex2g4s = tmp0.t();
759
759
  while (_iterator__ex2g4s.u()) {
760
760
  var element = _iterator__ex2g4s.v();
761
- if (element.yu_1.equals(ParamType_PATH_getInstance())) {
761
+ if (element.gu_1.equals(ParamType_PATH_getInstance())) {
762
762
  destination.x(element);
763
763
  }
764
764
  }
765
765
  var tmp_0 = destination;
766
766
  var tmp_1 = joinToString(tmp_0, VOID, VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitAssignSelf$lambda($this));
767
- var tmp_2 = $this.mv(endpoint.ut_1);
767
+ var tmp_2 = $this.uu(endpoint.ct_1);
768
768
  // Inline function 'kotlin.collections.filter' call
769
769
  var tmp0_0 = paramList(_this__u8e3s4, endpoint);
770
770
  // Inline function 'kotlin.collections.filterTo' call
@@ -772,13 +772,13 @@ function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
772
772
  var _iterator__ex2g4s_0 = tmp0_0.t();
773
773
  while (_iterator__ex2g4s_0.u()) {
774
774
  var element_0 = _iterator__ex2g4s_0.v();
775
- if (element_0.yu_1.equals(ParamType_QUERY_getInstance())) {
775
+ if (element_0.gu_1.equals(ParamType_QUERY_getInstance())) {
776
776
  destination_0.x(element_0);
777
777
  }
778
778
  }
779
779
  var tmp_3 = destination_0;
780
780
  var tmp_4 = spacer(joinToString(tmp_3, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitAssignSelf$lambda_0($this)), 1);
781
- var tmp_5 = $this.mv(endpoint.ut_1);
781
+ var tmp_5 = $this.uu(endpoint.ct_1);
782
782
  // Inline function 'kotlin.collections.filter' call
783
783
  var tmp0_1 = paramList(_this__u8e3s4, endpoint);
784
784
  // Inline function 'kotlin.collections.filterTo' call
@@ -786,14 +786,14 @@ function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
786
786
  var _iterator__ex2g4s_1 = tmp0_1.t();
787
787
  while (_iterator__ex2g4s_1.u()) {
788
788
  var element_1 = _iterator__ex2g4s_1.v();
789
- if (element_1.yu_1.equals(ParamType_HEADER_getInstance())) {
789
+ if (element_1.gu_1.equals(ParamType_HEADER_getInstance())) {
790
790
  destination_1.x(element_1);
791
791
  }
792
792
  }
793
793
  var tmp_6 = destination_1;
794
794
  var tmp_7 = spacer(joinToString(tmp_6, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitAssignSelf$lambda_1($this)), 1);
795
795
  var tmp_8;
796
- if (_this__u8e3s4.du_1 == null) {
796
+ if (_this__u8e3s4.lt_1 == null) {
797
797
  tmp_8 = null;
798
798
  } else {
799
799
  // Inline function 'kotlin.let' call
@@ -803,7 +803,7 @@ function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
803
803
  return trimMargin('\n |self._path = ' + tmp + '.Request.Path(' + tmp_1 + ')\n |self._queries =' + tmp_2 + '.Request.Queries(' + tmp_4 + ')\n |self._headers = ' + tmp_5 + '.Request.Headers(' + tmp_7 + ')\n |self._body = ' + (tmp1_elvis_lhs == null ? 'None' : tmp1_elvis_lhs) + '\n ');
804
804
  }
805
805
  function emitAssignSelf_1($this, _this__u8e3s4, endpoint) {
806
- var tmp = $this.mv(endpoint.ut_1);
806
+ var tmp = $this.uu(endpoint.ct_1);
807
807
  // Inline function 'kotlin.collections.filter' call
808
808
  var tmp0 = paramList_0(_this__u8e3s4);
809
809
  // Inline function 'kotlin.collections.filterTo' call
@@ -811,35 +811,35 @@ function emitAssignSelf_1($this, _this__u8e3s4, endpoint) {
811
811
  var _iterator__ex2g4s = tmp0.t();
812
812
  while (_iterator__ex2g4s.u()) {
813
813
  var element = _iterator__ex2g4s.v();
814
- if (element.yu_1.equals(ParamType_HEADER_getInstance())) {
814
+ if (element.gu_1.equals(ParamType_HEADER_getInstance())) {
815
815
  destination.x(element);
816
816
  }
817
817
  }
818
818
  var tmp_0 = destination;
819
819
  var tmp_1 = spacer(joinToString(tmp_0, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitAssignSelf$lambda_2($this)), 1);
820
820
  var tmp_2;
821
- if (_this__u8e3s4.iu_1 == null) {
821
+ if (_this__u8e3s4.qt_1 == null) {
822
822
  tmp_2 = null;
823
823
  } else {
824
824
  // Inline function 'kotlin.let' call
825
825
  tmp_2 = 'body';
826
826
  }
827
827
  var tmp1_elvis_lhs = tmp_2;
828
- return trimMargin('\n |self._headers = ' + tmp + '.Response' + _this__u8e3s4.gu_1 + '.Headers(' + tmp_1 + ')\n |self._body = ' + (tmp1_elvis_lhs == null ? 'None' : tmp1_elvis_lhs) + '\n ');
828
+ return trimMargin('\n |self._headers = ' + tmp + '.Response' + _this__u8e3s4.ot_1 + '.Headers(' + tmp_1 + ')\n |self._body = ' + (tmp1_elvis_lhs == null ? 'None' : tmp1_elvis_lhs) + '\n ');
829
829
  }
830
830
  function emitDeserialized($this, _this__u8e3s4) {
831
- return Spacer_instance.gw(3) + $this.mv(_this__u8e3s4.of_1.bu_1) + ' = serialization.deserialize(request.path[' + _this__u8e3s4.nf_1 + '], ' + $this.u22(_this__u8e3s4.of_1.cu_1) + ')';
831
+ return Spacer_instance.ov(3) + $this.uu(_this__u8e3s4.jf_1.jt_1) + ' = serialization.deserialize(request.path[' + _this__u8e3s4.if_1 + '], ' + $this.c22(_this__u8e3s4.jf_1.kt_1) + ')';
832
832
  }
833
833
  function emitDeserializedParams_0($this, _this__u8e3s4, type, fields, spaces, caseSensitive) {
834
834
  var tmp;
835
835
  if (caseSensitive) {
836
- tmp = Spacer_instance.gw(spaces) + $this.mv(_this__u8e3s4.qt_1) + ' = serialization.deserialize_param(' + type + '.' + fields + '.get("' + _this__u8e3s4.qt_1.n1() + '"), ' + $this.u22(_this__u8e3s4.rt_1) + ')';
836
+ tmp = Spacer_instance.ov(spaces) + $this.uu(_this__u8e3s4.ys_1) + ' = serialization.deserialize_param(' + type + '.' + fields + '.get("' + _this__u8e3s4.ys_1.m1() + '"), ' + $this.c22(_this__u8e3s4.zs_1) + ')';
837
837
  } else {
838
- var tmp_0 = Spacer_instance.gw(spaces);
839
- var tmp_1 = $this.mv(_this__u8e3s4.qt_1);
838
+ var tmp_0 = Spacer_instance.ov(spaces);
839
+ var tmp_1 = $this.uu(_this__u8e3s4.ys_1);
840
840
  // Inline function 'kotlin.text.lowercase' call
841
841
  // Inline function 'kotlin.js.asDynamic' call
842
- tmp = tmp_0 + tmp_1 + ' = serialization.deserialize_param(next((v for k, v in ' + type + '.' + fields + '.items() if k.lower() == "' + _this__u8e3s4.qt_1.n1().toLowerCase() + '"), None), ' + $this.u22(_this__u8e3s4.rt_1) + ')';
842
+ tmp = tmp_0 + tmp_1 + ' = serialization.deserialize_param(next((v for k, v in ' + type + '.' + fields + '.items() if k.lower() == "' + _this__u8e3s4.ys_1.m1().toLowerCase() + '"), None), ' + $this.c22(_this__u8e3s4.zs_1) + ')';
843
843
  }
844
844
  return tmp;
845
845
  }
@@ -849,73 +849,73 @@ function emitDeserializedParams$default($this, _this__u8e3s4, type, fields, spac
849
849
  return emitDeserializedParams_0($this, _this__u8e3s4, type, fields, spaces, caseSensitive);
850
850
  }
851
851
  function emitToRawResponse($this, _this__u8e3s4) {
852
- var tmp = $this.mv(_this__u8e3s4.ut_1);
852
+ var tmp = $this.uu(_this__u8e3s4.ct_1);
853
853
  var tmp_0 = Spacer_instance.toString();
854
- var tmp_1 = distinctByStatus(_this__u8e3s4.au_1);
854
+ var tmp_1 = distinctByStatus(_this__u8e3s4.it_1);
855
855
  return trimMargin("\n |@staticmethod\n |def to_raw_response(serialization: Wirespec.Serializer, response: '" + tmp + ".Response') -> Wirespec.RawResponse:\n |" + tmp_0 + 'match response:\n |' + spacer(joinToString(tmp_1, '\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawResponse$lambda($this, _this__u8e3s4)), 2) + '\n |' + Spacer_instance.toString() + Spacer_instance.toString() + 'case _:\n |' + Spacer_instance.toString() + Spacer_instance.toString() + Spacer_instance.toString() + 'raise Exception("Cannot match response with status: " + str(response.status))\n ');
856
856
  }
857
857
  function emitFromRawResponse($this, _this__u8e3s4) {
858
- var tmp = $this.mv(_this__u8e3s4.ut_1);
858
+ var tmp = $this.uu(_this__u8e3s4.ct_1);
859
859
  var tmp_0 = Spacer_instance.toString();
860
860
  // Inline function 'kotlin.collections.filter' call
861
- var tmp0 = distinctByStatus(_this__u8e3s4.au_1);
861
+ var tmp0 = distinctByStatus(_this__u8e3s4.it_1);
862
862
  // Inline function 'kotlin.collections.filterTo' call
863
863
  var destination = ArrayList_init_$Create$();
864
864
  var _iterator__ex2g4s = tmp0.t();
865
865
  while (_iterator__ex2g4s.u()) {
866
866
  var element = _iterator__ex2g4s.v();
867
- if (Companion_instance_1.hv(element.gu_1)) {
867
+ if (Companion_instance_1.pu(element.ot_1)) {
868
868
  destination.x(element);
869
869
  }
870
870
  }
871
871
  var tmp_1 = destination;
872
- return trimMargin("\n |@staticmethod\n |def from_raw_response(serialization: Wirespec.Deserializer, response: Wirespec.RawResponse) -> '" + tmp + ".Response':\n |" + tmp_0 + 'match response.status_code:\n |' + spacer(joinToString(tmp_1, '\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitFromRawResponse$lambda($this, _this__u8e3s4)), 2) + '\n |' + Spacer_instance.gw(2) + 'case _:\n |' + Spacer_instance.gw(3) + 'raise Exception("Cannot match response with status: " + str(response.status_code))\n |\n ');
872
+ return trimMargin("\n |@staticmethod\n |def from_raw_response(serialization: Wirespec.Deserializer, response: Wirespec.RawResponse) -> '" + tmp + ".Response':\n |" + tmp_0 + 'match response.status_code:\n |' + spacer(joinToString(tmp_1, '\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitFromRawResponse$lambda($this, _this__u8e3s4)), 2) + '\n |' + Spacer_instance.ov(2) + 'case _:\n |' + Spacer_instance.ov(3) + 'raise Exception("Cannot match response with status: " + str(response.status_code))\n |\n ');
873
873
  }
874
874
  function emitDeserialized_0($this, _this__u8e3s4, endpoint) {
875
- var tmp = 'case ' + _this__u8e3s4.gu_1 + ':';
876
- var tmp_0 = Spacer_instance.toString() + 'return ' + $this.mv(endpoint.ut_1) + '.Response' + _this__u8e3s4.gu_1 + '(';
877
- var tmp_1 = Spacer_instance.gw(2);
878
- var tmp0_safe_receiver = _this__u8e3s4.iu_1;
879
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.fu_1;
880
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.u22(tmp1_safe_receiver);
875
+ var tmp = 'case ' + _this__u8e3s4.ot_1 + ':';
876
+ var tmp_0 = Spacer_instance.toString() + 'return ' + $this.uu(endpoint.ct_1) + '.Response' + _this__u8e3s4.ot_1 + '(';
877
+ var tmp_1 = Spacer_instance.ov(2);
878
+ var tmp0_safe_receiver = _this__u8e3s4.qt_1;
879
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.nt_1;
880
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.c22(tmp1_safe_receiver);
881
881
  var tmp_2 = tmp_1 + 'body = serialization.deserialize(response.body, ' + (tmp2_elvis_lhs == null ? 'type(None)' : tmp2_elvis_lhs) + '),';
882
- return joinToString(listOfNotNull([tmp, tmp_0, tmp_2, orNull(joinToString(_this__u8e3s4.hu_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserialized$lambda($this))), Spacer_instance.toString() + ')']), '\n');
882
+ return joinToString(listOfNotNull([tmp, tmp_0, tmp_2, orNull(joinToString(_this__u8e3s4.pt_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserialized$lambda($this))), Spacer_instance.toString() + ')']), '\n');
883
883
  }
884
884
  function emitSerialized($this, _this__u8e3s4, endpoint) {
885
- var tmp = $this.mv(endpoint.ut_1);
886
- var tmp_0 = Spacer_instance.gw(1);
887
- var tmp_1 = Spacer_instance.gw(2);
888
- var tmp_2 = Spacer_instance.gw(2);
885
+ var tmp = $this.uu(endpoint.ct_1);
886
+ var tmp_0 = Spacer_instance.ov(1);
887
+ var tmp_1 = Spacer_instance.ov(2);
888
+ var tmp_2 = Spacer_instance.ov(2);
889
889
  var tmp_3;
890
890
  // Inline function 'kotlin.collections.isNotEmpty' call
891
- if (!_this__u8e3s4.hu_1.r()) {
892
- tmp_3 = joinToString(_this__u8e3s4.hu_1, ', ', '{', '}', VOID, VOID, PythonEndpointDefinitionEmitter$emitSerialized$lambda($this));
891
+ if (!_this__u8e3s4.pt_1.r()) {
892
+ tmp_3 = joinToString(_this__u8e3s4.pt_1, ', ', '{', '}', VOID, VOID, PythonEndpointDefinitionEmitter$emitSerialized$lambda($this));
893
893
  } else {
894
894
  tmp_3 = '{}';
895
895
  }
896
896
  var tmp_4 = tmp_3;
897
- var tmp_5 = Spacer_instance.gw(2);
898
- var tmp0_safe_receiver = _this__u8e3s4.iu_1;
897
+ var tmp_5 = Spacer_instance.ov(2);
898
+ var tmp0_safe_receiver = _this__u8e3s4.qt_1;
899
899
  var tmp_6;
900
900
  if (tmp0_safe_receiver == null) {
901
901
  tmp_6 = null;
902
902
  } else {
903
903
  // Inline function 'kotlin.let' call
904
- tmp_6 = 'serialization.serialize(response.body, ' + $this.u22(tmp0_safe_receiver.fu_1) + ')';
904
+ tmp_6 = 'serialization.serialize(response.body, ' + $this.c22(tmp0_safe_receiver.nt_1) + ')';
905
905
  }
906
906
  var tmp1_elvis_lhs = tmp_6;
907
- return trimMargin('\n |case ' + tmp + '.Response' + _this__u8e3s4.gu_1 + '():\n |' + tmp_0 + 'return Wirespec.RawResponse(\n |' + tmp_1 + 'status_code = response.status,\n |' + tmp_2 + 'headers = ' + tmp_4 + ',\n |' + tmp_5 + 'body = ' + (tmp1_elvis_lhs == null ? 'type(None)' : tmp1_elvis_lhs) + ',\n |' + Spacer_instance.gw(1) + ')\n ');
907
+ return trimMargin('\n |case ' + tmp + '.Response' + _this__u8e3s4.ot_1 + '():\n |' + tmp_0 + 'return Wirespec.RawResponse(\n |' + tmp_1 + 'status_code = response.status,\n |' + tmp_2 + 'headers = ' + tmp_4 + ',\n |' + tmp_5 + 'body = ' + (tmp1_elvis_lhs == null ? 'type(None)' : tmp1_elvis_lhs) + ',\n |' + Spacer_instance.ov(1) + ')\n ');
908
908
  }
909
909
  function emitSerializedParams($this, _this__u8e3s4, type, fields) {
910
- return '"' + _this__u8e3s4.qt_1.n1() + '": serialization.serialize_param(' + type + '.' + fields + '.' + $this.mv(_this__u8e3s4.qt_1) + ', ' + $this.u22(_this__u8e3s4.rt_1) + ')';
910
+ return '"' + _this__u8e3s4.ys_1.m1() + '": serialization.serialize_param(' + type + '.' + fields + '.' + $this.uu(_this__u8e3s4.ys_1) + ', ' + $this.c22(_this__u8e3s4.zs_1) + ')';
911
911
  }
912
912
  function emitObject($this, _this__u8e3s4, name, extends_0, spaces, block) {
913
913
  var tmp;
914
914
  if (_this__u8e3s4.r()) {
915
- tmp = trimMargin('\n |' + Spacer_instance.gw(spaces) + '@dataclass\n |' + Spacer_instance.gw(spaces) + 'class ' + name + ' (' + extends_0 + '): pass\n ');
915
+ tmp = trimMargin('\n |' + Spacer_instance.ov(spaces) + '@dataclass\n |' + Spacer_instance.ov(spaces) + 'class ' + name + ' (' + extends_0 + '): pass\n ');
916
916
  } else {
917
- var tmp_0 = Spacer_instance.gw(spaces);
918
- var tmp_1 = Spacer_instance.gw(spaces);
917
+ var tmp_0 = Spacer_instance.ov(spaces);
918
+ var tmp_1 = Spacer_instance.ov(spaces);
919
919
  tmp = trimMargin('\n |' + tmp_0 + '@dataclass\n |' + tmp_1 + 'class ' + name + ' (' + extends_0 + '):\n |' + joinToString(_this__u8e3s4, '\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitObject$lambda(spaces, block)) + '\n ');
920
920
  }
921
921
  return tmp;
@@ -925,21 +925,21 @@ function emitObject$default($this, _this__u8e3s4, name, extends_0, spaces, block
925
925
  return emitObject($this, _this__u8e3s4, name, extends_0, spaces, block);
926
926
  }
927
927
  function emit_17($this, _this__u8e3s4) {
928
- return $this.mv(_this__u8e3s4.bu_1) + ': ' + $this.nu(_this__u8e3s4.cu_1);
928
+ return $this.uu(_this__u8e3s4.jt_1) + ': ' + $this.vt(_this__u8e3s4.kt_1);
929
929
  }
930
930
  function emit_18($this, _this__u8e3s4) {
931
- var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.fu_1;
932
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.nu(tmp1_safe_receiver);
931
+ var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.nt_1;
932
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.vt(tmp1_safe_receiver);
933
933
  return tmp2_elvis_lhs == null ? 'None' : tmp2_elvis_lhs;
934
934
  }
935
935
  function PythonEndpointDefinitionEmitter$emit$lambda(this$0) {
936
936
  return function (it) {
937
- return this$0.v22(it);
937
+ return this$0.d22(it);
938
938
  };
939
939
  }
940
940
  function PythonEndpointDefinitionEmitter$emit$lambda_0(this$0, $endpoint) {
941
941
  return function (it) {
942
- return this$0.t22(it, $endpoint);
942
+ return this$0.b22(it, $endpoint);
943
943
  };
944
944
  }
945
945
  function PythonEndpointDefinitionEmitter$emit$lambda_1(this$0) {
@@ -949,12 +949,12 @@ function PythonEndpointDefinitionEmitter$emit$lambda_1(this$0) {
949
949
  }
950
950
  function PythonEndpointDefinitionEmitter$emit$lambda_2(this$0) {
951
951
  return function (it) {
952
- return this$0.mu(it);
952
+ return this$0.ut(it);
953
953
  };
954
954
  }
955
955
  function PythonEndpointDefinitionEmitter$emit$lambda_3(this$0) {
956
956
  return function (it) {
957
- return this$0.mu(it);
957
+ return this$0.ut(it);
958
958
  };
959
959
  }
960
960
  function PythonEndpointDefinitionEmitter$emit$lambda_4(this$0) {
@@ -966,10 +966,10 @@ function PythonEndpointDefinitionEmitter$emitToRawRequest$lambda(this$0) {
966
966
  return function (it) {
967
967
  var tmp;
968
968
  if (it instanceof Literal) {
969
- tmp = '"' + it.xu_1 + '"';
969
+ tmp = '"' + it.fu_1 + '"';
970
970
  } else {
971
971
  if (it instanceof Param) {
972
- tmp = 'str(request.path.' + this$0.mv(it.bu_1) + ')';
972
+ tmp = 'str(request.path.' + this$0.uu(it.jt_1) + ')';
973
973
  } else {
974
974
  noWhenBranchMatchedException();
975
975
  }
@@ -1003,7 +1003,7 @@ function PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_1(this$0)
1003
1003
  };
1004
1004
  }
1005
1005
  function PythonEndpointDefinitionEmitter$emitResponseUnion$lambda(it) {
1006
- return 'Response' + it.gu_1;
1006
+ return 'Response' + it.ot_1;
1007
1007
  }
1008
1008
  function PythonEndpointDefinitionEmitter$emitAssignSelf$lambda(this$0) {
1009
1009
  return function (it) {
@@ -1027,7 +1027,7 @@ function PythonEndpointDefinitionEmitter$emitAssignSelf$lambda_2(this$0) {
1027
1027
  }
1028
1028
  function PythonEndpointDefinitionEmitter$emit$lambda_5(this$0) {
1029
1029
  return function (it) {
1030
- return this$0.mu(it);
1030
+ return this$0.ut(it);
1031
1031
  };
1032
1032
  }
1033
1033
  function PythonEndpointDefinitionEmitter$emit$lambda_6(this$0) {
@@ -1057,7 +1057,7 @@ function PythonEndpointDefinitionEmitter$emitSerialized$lambda(this$0) {
1057
1057
  }
1058
1058
  function PythonEndpointDefinitionEmitter$emitObject$lambda($spaces, $block) {
1059
1059
  return function (it) {
1060
- return Spacer_instance.gw($spaces + 2 | 0) + $block(it);
1060
+ return Spacer_instance.ov($spaces + 2 | 0) + $block(it);
1061
1061
  };
1062
1062
  }
1063
1063
  function PythonEndpointDefinitionEmitter() {
@@ -1086,14 +1086,14 @@ function sanitizeEnum($this, _this__u8e3s4) {
1086
1086
  }
1087
1087
  function PythonEnumDefinitionEmitter$emit$lambda(this$0) {
1088
1088
  return function (it) {
1089
- return Spacer_instance.toString() + this$0.d21(sanitizeEnum(this$0, it)) + ' = "' + it + '"';
1089
+ return Spacer_instance.toString() + this$0.l20(sanitizeEnum(this$0, it)) + ' = "' + it + '"';
1090
1090
  };
1091
1091
  }
1092
1092
  function PythonEnumDefinitionEmitter() {
1093
1093
  }
1094
1094
  function Companion() {
1095
1095
  Companion_instance_2 = this;
1096
- this.w22_1 = setOf(['False', 'None', 'True', 'and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']);
1096
+ this.e22_1 = setOf(['False', 'None', 'True', 'and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']);
1097
1097
  }
1098
1098
  var Companion_instance_2;
1099
1099
  function Companion_getInstance_0() {
@@ -1104,15 +1104,15 @@ function Companion_getInstance_0() {
1104
1104
  function PythonIdentifierEmitter() {
1105
1105
  }
1106
1106
  function _get_sanitizationConfig__sns434($this) {
1107
- var tmp0 = $this.b23_1;
1107
+ var tmp0 = $this.j22_1;
1108
1108
  var tmp = KProperty1;
1109
1109
  // Inline function 'kotlin.getValue' call
1110
1110
  getPropertyCallableRef('sanitizationConfig', 1, tmp, PythonIrEmitter$_get_sanitizationConfig_$ref_1q5eai(), null);
1111
- return tmp0.n1();
1111
+ return tmp0.m1();
1112
1112
  }
1113
1113
  function sanitize_0($this, _this__u8e3s4) {
1114
1114
  // Inline function 'kotlin.collections.mapIndexed' call
1115
- var this_0 = split(_this__u8e3s4.n1(), ['.', ' ']);
1115
+ var this_0 = split(_this__u8e3s4.m1(), ['.', ' ']);
1116
1116
  // Inline function 'kotlin.collections.mapIndexedTo' call
1117
1117
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1118
1118
  var index = 0;
@@ -1121,7 +1121,7 @@ function sanitize_0($this, _this__u8e3s4) {
1121
1121
  var item = _iterator__ex2g4s.v();
1122
1122
  var _unary__edvuaz = index;
1123
1123
  index = _unary__edvuaz + 1 | 0;
1124
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.ev(item) : item;
1124
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.mu(item) : item;
1125
1125
  destination.x(tmp$ret$0);
1126
1126
  }
1127
1127
  // Inline function 'kotlin.text.filter' call
@@ -1167,7 +1167,7 @@ function sanitize_0($this, _this__u8e3s4) {
1167
1167
  return tmp_2;
1168
1168
  }
1169
1169
  function sanitizeKeywords_0($this, _this__u8e3s4) {
1170
- return Companion_getInstance_1().d23_1.a2(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1170
+ return Companion_getInstance_1().l22_1.v1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1171
1171
  }
1172
1172
  function sanitizeEnum_0($this, _this__u8e3s4) {
1173
1173
  // Inline function 'kotlin.let' call
@@ -1193,7 +1193,7 @@ function buildImports($this, wirespecPath) {
1193
1193
  }
1194
1194
  function Companion_0() {
1195
1195
  Companion_instance_3 = this;
1196
- this.d23_1 = setOf(['False', 'None', 'True', 'and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']);
1196
+ this.l22_1 = setOf(['False', 'None', 'True', 'and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']);
1197
1197
  }
1198
1198
  var Companion_instance_3;
1199
1199
  function Companion_getInstance_1() {
@@ -1202,23 +1202,23 @@ function Companion_getInstance_1() {
1202
1202
  return Companion_instance_3;
1203
1203
  }
1204
1204
  function sam$kotlin_Comparator$0_0(function_0) {
1205
- this.e23_1 = function_0;
1205
+ this.m22_1 = function_0;
1206
1206
  }
1207
- protoOf(sam$kotlin_Comparator$0_0).xd = function (a, b) {
1208
- return this.e23_1(a, b);
1207
+ protoOf(sam$kotlin_Comparator$0_0).sd = function (a, b) {
1208
+ return this.m22_1(a, b);
1209
1209
  };
1210
1210
  protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
1211
- return this.xd(a, b);
1211
+ return this.sd(a, b);
1212
1212
  };
1213
- protoOf(sam$kotlin_Comparator$0_0).r3 = function () {
1214
- return this.e23_1;
1213
+ protoOf(sam$kotlin_Comparator$0_0).m3 = function () {
1214
+ return this.m22_1;
1215
1215
  };
1216
1216
  protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
1217
1217
  var tmp;
1218
1218
  if (!(other == null) ? isInterface(other, Comparator) : false) {
1219
1219
  var tmp_0;
1220
1220
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1221
- tmp_0 = equals(this.r3(), other.r3());
1221
+ tmp_0 = equals(this.m3(), other.m3());
1222
1222
  } else {
1223
1223
  tmp_0 = false;
1224
1224
  }
@@ -1229,17 +1229,17 @@ protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
1229
1229
  return tmp;
1230
1230
  };
1231
1231
  protoOf(sam$kotlin_Comparator$0_0).hashCode = function () {
1232
- return hashCode(this.r3());
1232
+ return hashCode(this.m3());
1233
1233
  };
1234
1234
  function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda(it) {
1235
1235
  return '_' + it;
1236
1236
  }
1237
1237
  function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_0(name) {
1238
- var sanitized = name.k1l_1.b1() > 1 ? name.n1q() : name.h1n();
1238
+ var sanitized = name.s1k_1.a1() > 1 ? name.v1p() : name.p1m();
1239
1239
  return new Name(listOf_0(sanitized));
1240
1240
  }
1241
1241
  function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_1(name) {
1242
- return new Name(listOf_0(name.n1q()));
1242
+ return new Name(listOf_0(name.v1p()));
1243
1243
  }
1244
1244
  function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_2(it) {
1245
1245
  return it;
@@ -1248,20 +1248,20 @@ function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
1248
1248
  return function (stmt, tr) {
1249
1249
  var tmp;
1250
1250
  if (stmt instanceof ConstructorStatement) {
1251
- var tmp_0 = tr.v1y(stmt.p1r_1);
1251
+ var tmp_0 = tr.d1y(stmt.x1q_1);
1252
1252
  // Inline function 'kotlin.collections.map' call
1253
- var this_0 = stmt.q1r_1;
1253
+ var this_0 = stmt.y1q_1;
1254
1254
  // Inline function 'kotlin.collections.mapTo' call
1255
- var destination = ArrayList_init_$Create$_0(this_0.b1());
1255
+ var destination = ArrayList_init_$Create$_0(this_0.a1());
1256
1256
  // Inline function 'kotlin.collections.iterator' call
1257
- var _iterator__ex2g4s = this_0.l1().t();
1257
+ var _iterator__ex2g4s = this_0.k1().t();
1258
1258
  while (_iterator__ex2g4s.u()) {
1259
1259
  var item = _iterator__ex2g4s.v();
1260
1260
  // Inline function 'kotlin.collections.component1' call
1261
- var k = item.m1();
1261
+ var k = item.l1();
1262
1262
  // Inline function 'kotlin.collections.component2' call
1263
- var v = item.n1();
1264
- var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), k), tr.y1y(v));
1263
+ var v = item.m1();
1264
+ var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), k), tr.g1y(v));
1265
1265
  destination.x(tmp$ret$3);
1266
1266
  }
1267
1267
  tmp = new ConstructorStatement(tmp_0, toMap(destination));
@@ -1273,7 +1273,7 @@ function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
1273
1273
  }
1274
1274
  function PythonIrEmitter$sanitizationConfig$delegate$lambda(this$0) {
1275
1275
  return function () {
1276
- var tmp = Companion_getInstance_1().d23_1;
1276
+ var tmp = Companion_getInstance_1().l22_1;
1277
1277
  var tmp_0 = PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda;
1278
1278
  var tmp_1 = PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_0;
1279
1279
  var tmp_2 = PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_1;
@@ -1293,7 +1293,7 @@ function PythonIrEmitter$emit$lambda(a, b) {
1293
1293
  return compareValues(tmp, tmp$ret$1);
1294
1294
  }
1295
1295
  function emit$emitInitImport(this$0, def) {
1296
- return import_0('.' + sanitize_0(this$0, def.lv()), sanitize_0(this$0, def.lv()));
1296
+ return import_0('.' + sanitize_0(this$0, def.tu()), sanitize_0(this$0, def.tu()));
1297
1297
  }
1298
1298
  function PythonIrEmitter$emitGenerator$lambda(it) {
1299
1299
  return startsWith(it, 'Wirespec.') || it === 'Wirespec';
@@ -1312,17 +1312,17 @@ function PythonIrEmitter$emitGenerator$lambda_2($generatorOwnName, $generatorRef
1312
1312
  var tmp_0;
1313
1313
  var tmp_1;
1314
1314
  if (expr instanceof RawExpression) {
1315
- tmp_1 = endsWith(expr.j1t_1, 'Generator');
1315
+ tmp_1 = endsWith(expr.r1s_1, 'Generator');
1316
1316
  } else {
1317
1317
  tmp_1 = false;
1318
1318
  }
1319
1319
  if (tmp_1) {
1320
- tmp_0 = !(expr.j1t_1 === $generatorOwnName);
1320
+ tmp_0 = !(expr.r1s_1 === $generatorOwnName);
1321
1321
  } else {
1322
1322
  tmp_0 = false;
1323
1323
  }
1324
1324
  if (tmp_0) {
1325
- $generatorRefs.x(expr.j1t_1);
1325
+ $generatorRefs.x(expr.r1s_1);
1326
1326
  tmp = Unit_instance;
1327
1327
  }
1328
1328
  return transformChildren_0(expr, t);
@@ -1335,43 +1335,43 @@ function PythonIrEmitter$emit$lambda_0(this$0) {
1335
1335
  }
1336
1336
  function PythonIrEmitter(packageName, emitShared) {
1337
1337
  Companion_getInstance_1();
1338
- packageName = packageName === VOID ? Companion_instance.bw('community.flock.wirespec.generated') : packageName;
1339
- emitShared = emitShared === VOID ? Companion_instance_0.ws() : emitShared;
1340
- this.x22_1 = packageName;
1341
- this.y22_1 = emitShared;
1342
- this.z22_1 = PythonGenerator_instance;
1343
- this.a23_1 = FileExtension_Python_getInstance();
1338
+ packageName = packageName === VOID ? Companion_instance.jv('community.flock.wirespec.generated') : packageName;
1339
+ emitShared = emitShared === VOID ? Companion_instance_0.es() : emitShared;
1340
+ this.f22_1 = packageName;
1341
+ this.g22_1 = emitShared;
1342
+ this.h22_1 = PythonGenerator_instance;
1343
+ this.i22_1 = FileExtension_Python_getInstance();
1344
1344
  var tmp = this;
1345
- tmp.b23_1 = lazy(PythonIrEmitter$sanitizationConfig$delegate$lambda(this));
1346
- this.c23_1 = "from __future__ import annotations\n\nimport enum\nfrom abc import ABC, abstractmethod\nfrom dataclasses import dataclass\nfrom typing import Any, Callable, Generic, Optional, Type, TypeVar\n\nT = TypeVar('T')\nV = TypeVar('V')\n\n\ndef _raise(msg: str) -> Any:\n raise Exception(msg)\n\n";
1345
+ tmp.j22_1 = lazy(PythonIrEmitter$sanitizationConfig$delegate$lambda(this));
1346
+ this.k22_1 = "from __future__ import annotations\n\nimport enum\nfrom abc import ABC, abstractmethod\nfrom dataclasses import dataclass\nfrom typing import Any, Callable, Generic, Optional, Type, TypeVar\n\nT = TypeVar('T')\nV = TypeVar('V')\n\n\ndef _raise(msg: str) -> Any:\n raise Exception(msg)\n\n";
1347
1347
  }
1348
- protoOf(PythonIrEmitter).q1z = function () {
1349
- return this.z22_1;
1348
+ protoOf(PythonIrEmitter).y1y = function () {
1349
+ return this.h22_1;
1350
1350
  };
1351
- protoOf(PythonIrEmitter).uu = function () {
1352
- return this.a23_1;
1351
+ protoOf(PythonIrEmitter).cu = function () {
1352
+ return this.i22_1;
1353
1353
  };
1354
- protoOf(PythonIrEmitter).t1z = function () {
1355
- var source = replaceReflectInNonGenericStructFields(convert(Companion_instance.bw('shared')));
1354
+ protoOf(PythonIrEmitter).b1z = function () {
1355
+ var source = replaceReflectInNonGenericStructFields(convert(Companion_instance.jv('shared')));
1356
1356
  var tmp;
1357
- if (this.y22_1.xs_1) {
1358
- tmp = new File(Companion_getInstance().m1l(this.x22_1.ew() + 'wirespec'), listOf_0(raw(this.c23_1 + PythonGenerator_instance.r1z(source))));
1357
+ if (this.g22_1.fs_1) {
1358
+ tmp = new File(Companion_getInstance().u1k(this.f22_1.mv() + 'wirespec'), listOf_0(raw(this.k22_1 + PythonGenerator_instance.z1y(source))));
1359
1359
  } else {
1360
1360
  tmp = null;
1361
1361
  }
1362
1362
  return tmp;
1363
1363
  };
1364
- protoOf(PythonIrEmitter).s1z = function (module_0, logger) {
1364
+ protoOf(PythonIrEmitter).a1z = function (module_0, logger) {
1365
1365
  // Inline function 'kotlin.collections.sortedBy' call
1366
- var this_0 = new NonEmptyList(module_0.tu_1);
1366
+ var this_0 = new NonEmptyList(module_0.bu_1);
1367
1367
  // Inline function 'kotlin.comparisons.compareBy' call
1368
1368
  var tmp = PythonIrEmitter$emit$lambda;
1369
1369
  var tmp$ret$0 = new sam$kotlin_Comparator$0_0(tmp);
1370
1370
  var tmp$ret$1 = sortedWith(this_0, tmp$ret$0);
1371
1371
  var tmp_0 = toNonEmptyListOrNull(tmp$ret$1);
1372
- var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).oq_1;
1373
- var emitted = emit.call(this, module_0.lz(VOID, statements), logger);
1374
- var tmp0 = new NonEmptyList(module_0.tu_1);
1372
+ var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).wp_1;
1373
+ var emitted = emit.call(this, module_0.ty(VOID, statements), logger);
1374
+ var tmp0 = new NonEmptyList(module_0.bu_1);
1375
1375
  var tmp$ret$2;
1376
1376
  $l$block_0: {
1377
1377
  // Inline function 'kotlin.collections.any' call
@@ -1396,7 +1396,7 @@ protoOf(PythonIrEmitter).s1z = function (module_0, logger) {
1396
1396
  tmp$ret$2 = false;
1397
1397
  }
1398
1398
  var hasEndpoints = tmp$ret$2;
1399
- var tmp_2 = Companion_getInstance().m1l(this.x22_1.ew() + '__init__');
1399
+ var tmp_2 = Companion_getInstance().u1k(this.f22_1.mv() + '__init__');
1400
1400
  // Inline function 'kotlin.collections.buildList' call
1401
1401
  // Inline function 'kotlin.collections.buildListInternal' call
1402
1402
  // Inline function 'kotlin.apply' call
@@ -1407,11 +1407,11 @@ protoOf(PythonIrEmitter).s1z = function (module_0, logger) {
1407
1407
  this_1.x(import_0('.', 'client'));
1408
1408
  }
1409
1409
  this_1.x(import_0('.', 'wirespec'));
1410
- var tmp$ret$7 = this_1.u5();
1410
+ var tmp$ret$7 = this_1.p5();
1411
1411
  var init = new File(tmp_2, tmp$ret$7);
1412
- var tmp_3 = Companion_getInstance().m1l(this.x22_1.ew() + 'endpoint/' + '__init__');
1412
+ var tmp_3 = Companion_getInstance().u1k(this.f22_1.mv() + 'endpoint/' + '__init__');
1413
1413
  // Inline function 'kotlin.collections.filterIsInstance' call
1414
- var tmp0_0 = new NonEmptyList(module_0.tu_1);
1414
+ var tmp0_0 = new NonEmptyList(module_0.bu_1);
1415
1415
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1416
1416
  var destination = ArrayList_init_$Create$();
1417
1417
  var _iterator__ex2g4s_0 = tmp0_0.t();
@@ -1431,9 +1431,9 @@ protoOf(PythonIrEmitter).s1z = function (module_0, logger) {
1431
1431
  destination_0.x(tmp$ret$10);
1432
1432
  }
1433
1433
  var initEndpoint = new File(tmp_3, destination_0);
1434
- var tmp_4 = Companion_getInstance().m1l(this.x22_1.ew() + 'model/' + '__init__');
1434
+ var tmp_4 = Companion_getInstance().u1k(this.f22_1.mv() + 'model/' + '__init__');
1435
1435
  // Inline function 'kotlin.collections.filterIsInstance' call
1436
- var tmp0_1 = new NonEmptyList(module_0.tu_1);
1436
+ var tmp0_1 = new NonEmptyList(module_0.bu_1);
1437
1437
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1438
1438
  var destination_1 = ArrayList_init_$Create$();
1439
1439
  var _iterator__ex2g4s_2 = tmp0_1.t();
@@ -1453,8 +1453,8 @@ protoOf(PythonIrEmitter).s1z = function (module_0, logger) {
1453
1453
  destination_2.x(tmp$ret$15);
1454
1454
  }
1455
1455
  var initModel = new File(tmp_4, destination_2);
1456
- var initClient = hasEndpoints ? listOf_0(new File(Companion_getInstance().m1l(this.x22_1.ew() + 'client/' + '__init__'), emptyList())) : emptyList();
1457
- var tmp0_2 = dropLast(split(this.x22_1.cw_1, ['.']), 1);
1456
+ var initClient = hasEndpoints ? listOf_0(new File(Companion_getInstance().u1k(this.f22_1.mv() + 'client/' + '__init__'), emptyList())) : emptyList();
1457
+ var tmp0_2 = dropLast(split(this.f22_1.kv_1, ['.']), 1);
1458
1458
  var tmp$ret$18;
1459
1459
  $l$block_1: {
1460
1460
  // Inline function 'kotlin.collections.runningFold' call
@@ -1491,17 +1491,17 @@ protoOf(PythonIrEmitter).s1z = function (module_0, logger) {
1491
1491
  var _iterator__ex2g4s_5 = this_3.t();
1492
1492
  while (_iterator__ex2g4s_5.u()) {
1493
1493
  var item_1 = _iterator__ex2g4s_5.v();
1494
- var tmp$ret$23 = new File(Companion_getInstance().m1l(item_1 + '/__init__'), emptyList());
1494
+ var tmp$ret$23 = new File(Companion_getInstance().u1k(item_1 + '/__init__'), emptyList());
1495
1495
  destination_3.x(tmp$ret$23);
1496
1496
  }
1497
1497
  var parentInits = destination_3;
1498
- return this.y22_1.xs_1 ? NonEmptyList__plus_impl_xqmb9_0(NonEmptyList__plus_impl_xqmb9_0(NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(emitted, init), initEndpoint), initModel), initClient), parentInits) : NonEmptyList__plus_impl_xqmb9_0(NonEmptyList__plus_impl_xqmb9(emitted, init), parentInits);
1498
+ return this.g22_1.fs_1 ? NonEmptyList__plus_impl_xqmb9_0(NonEmptyList__plus_impl_xqmb9_0(NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(NonEmptyList__plus_impl_xqmb9(emitted, init), initEndpoint), initModel), initClient), parentInits) : NonEmptyList__plus_impl_xqmb9_0(NonEmptyList__plus_impl_xqmb9(emitted, init), parentInits);
1499
1499
  };
1500
- protoOf(PythonIrEmitter).kv = function (definition, module_0, logger) {
1500
+ protoOf(PythonIrEmitter).su = function (definition, module_0, logger) {
1501
1501
  var file = emit_0.call(this, definition, module_0, logger);
1502
- return placeInModule(prependImports(file, buildImports(this, '..wirespec')), this.x22_1, definition);
1502
+ return placeInModule(prependImports(file, buildImports(this, '..wirespec')), this.f22_1, definition);
1503
1503
  };
1504
- protoOf(PythonIrEmitter).x1z = function (definition, module_0) {
1504
+ protoOf(PythonIrEmitter).f1z = function (definition, module_0) {
1505
1505
  var tmp;
1506
1506
  if (definition instanceof Type) {
1507
1507
  tmp = convertToGenerator_2(definition, module_0);
@@ -1522,7 +1522,7 @@ protoOf(PythonIrEmitter).x1z = function (definition, module_0) {
1522
1522
  }
1523
1523
  var generatorFile = tmp;
1524
1524
  var sanitized = sanitizeNames(generatorFile, _get_sanitizationConfig__sns434(this));
1525
- var generatorOwnName = definition.lv().n1() + 'Generator';
1525
+ var generatorOwnName = definition.tu().m1() + 'Generator';
1526
1526
  var tmp_0 = asSequence(collectCustomTypeNames(sanitized));
1527
1527
  var tmp_1 = filterNot(tmp_0, PythonIrEmitter$emitGenerator$lambda);
1528
1528
  var tmp_2 = filterNot(tmp_1, PythonIrEmitter$emitGenerator$lambda_0(generatorOwnName));
@@ -1531,8 +1531,8 @@ protoOf(PythonIrEmitter).x1z = function (definition, module_0) {
1531
1531
  var generatorRefs = LinkedHashSet_init_$Create$();
1532
1532
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1533
1533
  var scope = new TransformScope(sanitized);
1534
- scope.l1z(PythonIrEmitter$emitGenerator$lambda_2(generatorOwnName, generatorRefs));
1535
- var tmp_3 = scope.d1z_1;
1534
+ scope.t1y(PythonIrEmitter$emitGenerator$lambda_2(generatorOwnName, generatorRefs));
1535
+ var tmp_3 = scope.l1y_1;
1536
1536
  isInterface(tmp_3, Element) || THROW_CCE();
1537
1537
  // Inline function 'kotlin.collections.filter' call
1538
1538
  // Inline function 'kotlin.collections.filterTo' call
@@ -1575,9 +1575,9 @@ protoOf(PythonIrEmitter).x1z = function (definition, module_0) {
1575
1575
  destination_2.x(tmp$ret$12);
1576
1576
  }
1577
1577
  var modelImports = destination_2;
1578
- return placeInModule_0(prependImports(sanitized, plus(plus(buildImports(this, '..wirespec'), modelImports), generatorImports)), this.x22_1, 'generator');
1578
+ return placeInModule_0(prependImports(sanitized, plus(plus(buildImports(this, '..wirespec'), modelImports), generatorImports)), this.f22_1, 'generator');
1579
1579
  };
1580
- protoOf(PythonIrEmitter).ku = function (type, module_0) {
1580
+ protoOf(PythonIrEmitter).st = function (type, module_0) {
1581
1581
  // Inline function 'kotlin.collections.distinctBy' call
1582
1582
  var this_0 = importReferences(type);
1583
1583
  var set = HashSet_init_$Create$();
@@ -1585,7 +1585,7 @@ protoOf(PythonIrEmitter).ku = function (type, module_0) {
1585
1585
  var _iterator__ex2g4s = this_0.t();
1586
1586
  while (_iterator__ex2g4s.u()) {
1587
1587
  var e = _iterator__ex2g4s.v();
1588
- var key = e.az_1;
1588
+ var key = e.iy_1;
1589
1589
  if (set.x(key)) {
1590
1590
  list.x(e);
1591
1591
  }
@@ -1596,18 +1596,18 @@ protoOf(PythonIrEmitter).ku = function (type, module_0) {
1596
1596
  var _iterator__ex2g4s_0 = list.t();
1597
1597
  while (_iterator__ex2g4s_0.u()) {
1598
1598
  var item = _iterator__ex2g4s_0.v();
1599
- var tmp$ret$2 = import_0('.' + item.az_1, item.az_1);
1599
+ var tmp$ret$2 = import_0('.' + item.iy_1, item.iy_1);
1600
1600
  destination.x(tmp$ret$2);
1601
1601
  }
1602
1602
  var typeImports = destination;
1603
1603
  // Inline function 'kotlin.collections.map' call
1604
- var this_1 = type.mt_1.it_1;
1604
+ var this_1 = type.us_1.qs_1;
1605
1605
  // Inline function 'kotlin.collections.mapTo' call
1606
1606
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
1607
1607
  var _iterator__ex2g4s_1 = this_1.t();
1608
1608
  while (_iterator__ex2g4s_1.u()) {
1609
1609
  var item_0 = _iterator__ex2g4s_1.v();
1610
- var tmp$ret$5 = item_0.qt_1.n1();
1610
+ var tmp$ret$5 = item_0.ys_1.m1();
1611
1611
  destination_0.x(tmp$ret$5);
1612
1612
  }
1613
1613
  var fieldNames = toSet(destination_0);
@@ -1623,17 +1623,17 @@ protoOf(PythonIrEmitter).ku = function (type, module_0) {
1623
1623
  var tmp$ret$10 = tmp_0;
1624
1624
  return prependImports(tmp, tmp$ret$10);
1625
1625
  };
1626
- protoOf(PythonIrEmitter).yv = function (enum_0, module_0) {
1626
+ protoOf(PythonIrEmitter).gv = function (enum_0, module_0) {
1627
1627
  var tmp = convert_0(enum_0);
1628
1628
  return sanitizeNames(sanitizeEnumEntries(tmp, PythonIrEmitter$emit$lambda_0(this)), _get_sanitizationConfig__sns434(this));
1629
1629
  };
1630
- protoOf(PythonIrEmitter).ov = function (union) {
1630
+ protoOf(PythonIrEmitter).wu = function (union) {
1631
1631
  return sanitizeNames(convert_1(union), _get_sanitizationConfig__sns434(this));
1632
1632
  };
1633
- protoOf(PythonIrEmitter).tv = function (refined) {
1633
+ protoOf(PythonIrEmitter).bv = function (refined) {
1634
1634
  return sanitizeNames(replaceRefinedFunctions(convert_2(refined), refined), _get_sanitizationConfig__sns434(this));
1635
1635
  };
1636
- protoOf(PythonIrEmitter).zv = function (endpoint) {
1636
+ protoOf(PythonIrEmitter).hv = function (endpoint) {
1637
1637
  // Inline function 'kotlin.collections.distinctBy' call
1638
1638
  var this_0 = importReferences(endpoint);
1639
1639
  var set = HashSet_init_$Create$();
@@ -1641,7 +1641,7 @@ protoOf(PythonIrEmitter).zv = function (endpoint) {
1641
1641
  var _iterator__ex2g4s = this_0.t();
1642
1642
  while (_iterator__ex2g4s.u()) {
1643
1643
  var e = _iterator__ex2g4s.v();
1644
- var key = e.az_1;
1644
+ var key = e.iy_1;
1645
1645
  if (set.x(key)) {
1646
1646
  list.x(e);
1647
1647
  }
@@ -1652,19 +1652,19 @@ protoOf(PythonIrEmitter).zv = function (endpoint) {
1652
1652
  var _iterator__ex2g4s_0 = list.t();
1653
1653
  while (_iterator__ex2g4s_0.u()) {
1654
1654
  var item = _iterator__ex2g4s_0.v();
1655
- var tmp$ret$2 = import_0('..model.' + item.az_1, item.az_1);
1655
+ var tmp$ret$2 = import_0('..model.' + item.iy_1, item.iy_1);
1656
1656
  destination.x(tmp$ret$2);
1657
1657
  }
1658
1658
  var endpointImports = destination;
1659
1659
  // Inline function 'kotlin.let' call
1660
1660
  var it = splitEndpointStructsToModuleLevel(convert_3(endpoint));
1661
- var tmp$ret$6 = it.w1r(VOID, plus(endpointImports, it.t1r_1));
1661
+ var tmp$ret$6 = it.e1r(VOID, plus(endpointImports, it.b1r_1));
1662
1662
  return sanitizeNames(snakeCaseHandlerAndCallMethods(tmp$ret$6), _get_sanitizationConfig__sns434(this));
1663
1663
  };
1664
- protoOf(PythonIrEmitter).nv = function (channel) {
1664
+ protoOf(PythonIrEmitter).vu = function (channel) {
1665
1665
  return sanitizeNames(convert_4(channel), _get_sanitizationConfig__sns434(this));
1666
1666
  };
1667
- protoOf(PythonIrEmitter).w1z = function (endpoint) {
1667
+ protoOf(PythonIrEmitter).e1z = function (endpoint) {
1668
1668
  // Inline function 'kotlin.collections.distinctBy' call
1669
1669
  var this_0 = importReferences(endpoint);
1670
1670
  var set = HashSet_init_$Create$();
@@ -1672,7 +1672,7 @@ protoOf(PythonIrEmitter).w1z = function (endpoint) {
1672
1672
  var _iterator__ex2g4s = this_0.t();
1673
1673
  while (_iterator__ex2g4s.u()) {
1674
1674
  var e = _iterator__ex2g4s.v();
1675
- var key = e.az_1;
1675
+ var key = e.iy_1;
1676
1676
  if (set.x(key)) {
1677
1677
  list.x(e);
1678
1678
  }
@@ -1683,17 +1683,17 @@ protoOf(PythonIrEmitter).w1z = function (endpoint) {
1683
1683
  var _iterator__ex2g4s_0 = list.t();
1684
1684
  while (_iterator__ex2g4s_0.u()) {
1685
1685
  var item = _iterator__ex2g4s_0.v();
1686
- var tmp$ret$2 = import_0('..model.' + item.az_1, item.az_1);
1686
+ var tmp$ret$2 = import_0('..model.' + item.iy_1, item.iy_1);
1687
1687
  destination.x(tmp$ret$2);
1688
1688
  }
1689
1689
  var modelImports = destination;
1690
- var endpointImport = import_0('..endpoint.' + endpoint.ut_1.n1(), '*');
1691
- var endpointName = endpoint.ut_1.n1();
1690
+ var endpointImport = import_0('..endpoint.' + endpoint.ct_1.m1(), '*');
1691
+ var endpointName = endpoint.ct_1.m1();
1692
1692
  var file = flattenEndpointTypeRefs(snakeCaseClientFunctions(addSelfReceiverToClientFields(sanitizeNames(emitEndpointClient.call(this, endpoint), _get_sanitizationConfig__sns434(this)))), endpointName);
1693
- var subPackageName = plus_2(this.x22_1, 'client');
1694
- return new File(Companion_getInstance().m1l(subPackageName.ew() + file.s1r_1.t1q()), plus(plus(plus(buildImports(this, '..wirespec'), modelImports), listOf_0(endpointImport)), file.t1r_1));
1693
+ var subPackageName = plus_2(this.f22_1, 'client');
1694
+ return new File(Companion_getInstance().u1k(subPackageName.mv() + file.a1r_1.b1q()), plus(plus(plus(buildImports(this, '..wirespec'), modelImports), listOf_0(endpointImport)), file.b1r_1));
1695
1695
  };
1696
- protoOf(PythonIrEmitter).u1z = function (endpoints, logger) {
1696
+ protoOf(PythonIrEmitter).c1z = function (endpoints, logger) {
1697
1697
  // Inline function 'kotlin.collections.flatMap' call
1698
1698
  // Inline function 'kotlin.collections.flatMapTo' call
1699
1699
  var destination = ArrayList_init_$Create$();
@@ -1709,7 +1709,7 @@ protoOf(PythonIrEmitter).u1z = function (endpoints, logger) {
1709
1709
  var _iterator__ex2g4s_0 = destination.t();
1710
1710
  while (_iterator__ex2g4s_0.u()) {
1711
1711
  var e = _iterator__ex2g4s_0.v();
1712
- var key = e.az_1;
1712
+ var key = e.iy_1;
1713
1713
  if (set.x(key)) {
1714
1714
  list_0.x(e);
1715
1715
  }
@@ -1720,7 +1720,7 @@ protoOf(PythonIrEmitter).u1z = function (endpoints, logger) {
1720
1720
  var _iterator__ex2g4s_1 = list_0.t();
1721
1721
  while (_iterator__ex2g4s_1.u()) {
1722
1722
  var item = _iterator__ex2g4s_1.v();
1723
- var tmp$ret$5 = import_0('.model.' + item.az_1, item.az_1);
1723
+ var tmp$ret$5 = import_0('.model.' + item.iy_1, item.iy_1);
1724
1724
  destination_0.x(tmp$ret$5);
1725
1725
  }
1726
1726
  var modelImports = destination_0;
@@ -1730,7 +1730,7 @@ protoOf(PythonIrEmitter).u1z = function (endpoints, logger) {
1730
1730
  var _iterator__ex2g4s_2 = endpoints.t();
1731
1731
  while (_iterator__ex2g4s_2.u()) {
1732
1732
  var item_0 = _iterator__ex2g4s_2.v();
1733
- var tmp$ret$8 = import_0('.endpoint.' + item_0.ut_1.n1(), '*');
1733
+ var tmp$ret$8 = import_0('.endpoint.' + item_0.ct_1.m1(), '*');
1734
1734
  destination_1.x(tmp$ret$8);
1735
1735
  }
1736
1736
  var endpointImports = destination_1;
@@ -1740,7 +1740,7 @@ protoOf(PythonIrEmitter).u1z = function (endpoints, logger) {
1740
1740
  var _iterator__ex2g4s_3 = endpoints.t();
1741
1741
  while (_iterator__ex2g4s_3.u()) {
1742
1742
  var item_1 = _iterator__ex2g4s_3.v();
1743
- var tmp$ret$11 = import_0('.client.' + item_1.ut_1.n1() + 'Client', item_1.ut_1.n1() + 'Client');
1743
+ var tmp$ret$11 = import_0('.client.' + item_1.ct_1.m1() + 'Client', item_1.ct_1.m1() + 'Client');
1744
1744
  destination_2.x(tmp$ret$11);
1745
1745
  }
1746
1746
  var clientImports = destination_2;
@@ -1751,7 +1751,7 @@ protoOf(PythonIrEmitter).u1z = function (endpoints, logger) {
1751
1751
  var _iterator__ex2g4s_4 = endpoints.t();
1752
1752
  while (_iterator__ex2g4s_4.u()) {
1753
1753
  var item_2 = _iterator__ex2g4s_4.v();
1754
- var tmp$ret$14 = item_2.ut_1.n1();
1754
+ var tmp$ret$14 = item_2.ct_1.m1();
1755
1755
  destination_3.x(tmp$ret$14);
1756
1756
  }
1757
1757
  var endpointNames = destination_3;
@@ -1765,7 +1765,7 @@ protoOf(PythonIrEmitter).u1z = function (endpoints, logger) {
1765
1765
  accumulator = flattenEndpointTypeRefs(acc, element_0);
1766
1766
  }
1767
1767
  var file = accumulator;
1768
- return new File(Companion_getInstance().m1l(this.x22_1.ew() + file.s1r_1.t1q()), plus(plus(buildImports(this, '.wirespec'), allImports), file.t1r_1));
1768
+ return new File(Companion_getInstance().u1k(this.f22_1.mv() + file.a1r_1.b1q()), plus(plus(buildImports(this, '.wirespec'), allImports), file.b1r_1));
1769
1769
  };
1770
1770
  function replaceReflectInNonGenericStructFields(_this__u8e3s4) {
1771
1771
  // Inline function 'community.flock.wirespec.ir.core.transform' call
@@ -1773,14 +1773,14 @@ function replaceReflectInNonGenericStructFields(_this__u8e3s4) {
1773
1773
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1774
1774
  var tmp = scope;
1775
1775
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1776
- var this_0 = scope.d1z_1;
1776
+ var this_0 = scope.l1y_1;
1777
1777
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1778
1778
  // Inline function 'kotlin.apply' call
1779
1779
  var this_1 = new TransformerBuilder();
1780
- this_1.v1m(replaceReflectInNonGenericStructFields$lambda);
1781
- var tmp$ret$2 = this_1.w1m();
1782
- tmp.d1z_1 = transform(this_0, tmp$ret$2);
1783
- var tmp_0 = scope.d1z_1;
1780
+ this_1.d1m(replaceReflectInNonGenericStructFields$lambda);
1781
+ var tmp$ret$2 = this_1.e1m();
1782
+ tmp.l1y_1 = transform(this_0, tmp$ret$2);
1783
+ var tmp_0 = scope.l1y_1;
1784
1784
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1785
1785
  }
1786
1786
  function replaceRefinedFunctions(_this__u8e3s4, refined) {
@@ -1789,14 +1789,14 @@ function replaceRefinedFunctions(_this__u8e3s4, refined) {
1789
1789
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1790
1790
  var tmp = scope;
1791
1791
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1792
- var this_0 = scope.d1z_1;
1792
+ var this_0 = scope.l1y_1;
1793
1793
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1794
1794
  // Inline function 'kotlin.apply' call
1795
1795
  var this_1 = new TransformerBuilder();
1796
- this_1.v1m(replaceRefinedFunctions$lambda(refined));
1797
- var tmp$ret$2 = this_1.w1m();
1798
- tmp.d1z_1 = transform(this_0, tmp$ret$2);
1799
- var tmp_0 = scope.d1z_1;
1796
+ this_1.d1m(replaceRefinedFunctions$lambda(refined));
1797
+ var tmp$ret$2 = this_1.e1m();
1798
+ tmp.l1y_1 = transform(this_0, tmp$ret$2);
1799
+ var tmp_0 = scope.l1y_1;
1800
1800
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1801
1801
  }
1802
1802
  function snakeCaseHandlerAndCallMethods(_this__u8e3s4) {
@@ -1805,20 +1805,20 @@ function snakeCaseHandlerAndCallMethods(_this__u8e3s4) {
1805
1805
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1806
1806
  var tmp = scope;
1807
1807
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1808
- var this_0 = scope.d1z_1;
1808
+ var this_0 = scope.l1y_1;
1809
1809
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1810
1810
  // Inline function 'kotlin.apply' call
1811
1811
  var this_1 = new TransformerBuilder();
1812
- this_1.v1m(snakeCaseHandlerAndCallMethods$lambda);
1813
- var tmp$ret$2 = this_1.w1m();
1814
- tmp.d1z_1 = transform(this_0, tmp$ret$2);
1815
- var tmp_0 = scope.d1z_1;
1812
+ this_1.d1m(snakeCaseHandlerAndCallMethods$lambda);
1813
+ var tmp$ret$2 = this_1.e1m();
1814
+ tmp.l1y_1 = transform(this_0, tmp$ret$2);
1815
+ var tmp_0 = scope.l1y_1;
1816
1816
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1817
1817
  }
1818
1818
  function splitEndpointStructsToModuleLevel(_this__u8e3s4) {
1819
1819
  // Inline function 'community.flock.wirespec.ir.core.findElement' call
1820
1820
  // Inline function 'kotlin.collections.filterIsInstance' call
1821
- var tmp0 = _this__u8e3s4.u1r();
1821
+ var tmp0 = _this__u8e3s4.c1r();
1822
1822
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1823
1823
  var destination = ArrayList_init_$Create$();
1824
1824
  var _iterator__ex2g4s = tmp0.t();
@@ -1832,7 +1832,7 @@ function splitEndpointStructsToModuleLevel(_this__u8e3s4) {
1832
1832
  var namespace = ensureNotNull(tmp$ret$2);
1833
1833
  var flattened = flattenNestedStructs(namespace);
1834
1834
  // Inline function 'kotlin.collections.partition' call
1835
- var this_0 = flattened.z1r_1;
1835
+ var this_0 = flattened.h1r_1;
1836
1836
  var first = ArrayList_init_$Create$();
1837
1837
  var second = ArrayList_init_$Create$();
1838
1838
  var _iterator__ex2g4s_0 = this_0.t();
@@ -1851,16 +1851,16 @@ function splitEndpointStructsToModuleLevel(_this__u8e3s4) {
1851
1851
  }
1852
1852
  }
1853
1853
  var _destruct__k2r9zo = new Pair(first, second);
1854
- var moduleElements = _destruct__k2r9zo.pf();
1855
- var classElements = _destruct__k2r9zo.qf();
1856
- var endpointClass = new Namespace(namespace.y1r_1, classElements, namespace.a1s_1);
1857
- return new File(namespace.y1r_1, plus_0(moduleElements, endpointClass));
1854
+ var moduleElements = _destruct__k2r9zo.kf();
1855
+ var classElements = _destruct__k2r9zo.lf();
1856
+ var endpointClass = new Namespace(namespace.g1r_1, classElements, namespace.i1r_1);
1857
+ return new File(namespace.g1r_1, plus_0(moduleElements, endpointClass));
1858
1858
  }
1859
1859
  function flattenEndpointTypeRefs(_this__u8e3s4, endpointName) {
1860
1860
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1861
1861
  var scope = new TransformScope(_this__u8e3s4);
1862
- scope.j1z(flattenEndpointTypeRefs$lambda(endpointName));
1863
- var tmp = scope.d1z_1;
1862
+ scope.r1y(flattenEndpointTypeRefs$lambda(endpointName));
1863
+ var tmp = scope.l1y_1;
1864
1864
  return isInterface(tmp, Element) ? tmp : THROW_CCE();
1865
1865
  }
1866
1866
  function snakeCaseClientFunctions(_this__u8e3s4) {
@@ -1869,15 +1869,15 @@ function snakeCaseClientFunctions(_this__u8e3s4) {
1869
1869
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1870
1870
  var tmp = scope;
1871
1871
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1872
- var this_0 = scope.d1z_1;
1872
+ var this_0 = scope.l1y_1;
1873
1873
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1874
1874
  // Inline function 'kotlin.apply' call
1875
1875
  var this_1 = new TransformerBuilder();
1876
- this_1.v1m(snakeCaseClientFunctions$lambda);
1877
- var tmp$ret$2 = this_1.w1m();
1878
- tmp.d1z_1 = transform(this_0, tmp$ret$2);
1879
- scope.m1z(snakeCaseClientFunctions$lambda_0);
1880
- var tmp_0 = scope.d1z_1;
1876
+ this_1.d1m(snakeCaseClientFunctions$lambda);
1877
+ var tmp$ret$2 = this_1.e1m();
1878
+ tmp.l1y_1 = transform(this_0, tmp$ret$2);
1879
+ scope.u1y(snakeCaseClientFunctions$lambda_0);
1880
+ var tmp_0 = scope.l1y_1;
1881
1881
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1882
1882
  }
1883
1883
  function addSelfReceiverToClientFields(_this__u8e3s4) {
@@ -1888,7 +1888,7 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
1888
1888
  } else {
1889
1889
  // Inline function 'community.flock.wirespec.ir.core.findElement' call
1890
1890
  // Inline function 'kotlin.collections.filterIsInstance' call
1891
- var tmp0 = tmp0_safe_receiver.u1r();
1891
+ var tmp0 = tmp0_safe_receiver.c1r();
1892
1892
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1893
1893
  var destination = ArrayList_init_$Create$();
1894
1894
  var _iterator__ex2g4s = tmp0.t();
@@ -1901,7 +1901,7 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
1901
1901
  tmp = firstOrNull_0(destination);
1902
1902
  }
1903
1903
  var struct = tmp;
1904
- var tmp2_safe_receiver = struct == null ? null : struct.e1s_1;
1904
+ var tmp2_safe_receiver = struct == null ? null : struct.m1r_1;
1905
1905
  var tmp_0;
1906
1906
  if (tmp2_safe_receiver == null) {
1907
1907
  tmp_0 = null;
@@ -1912,7 +1912,7 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
1912
1912
  var _iterator__ex2g4s_0 = tmp2_safe_receiver.t();
1913
1913
  while (_iterator__ex2g4s_0.u()) {
1914
1914
  var item = _iterator__ex2g4s_0.v();
1915
- var tmp$ret$3 = item.z1t_1.h1n();
1915
+ var tmp$ret$3 = item.h1t_1.p1m();
1916
1916
  destination_0.x(tmp$ret$3);
1917
1917
  }
1918
1918
  tmp_0 = destination_0;
@@ -1924,8 +1924,8 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
1924
1924
  return _this__u8e3s4;
1925
1925
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1926
1926
  var scope = new TransformScope(_this__u8e3s4);
1927
- scope.m1z(addSelfReceiverToClientFields$lambda(fieldNames));
1928
- var tmp_1 = scope.d1z_1;
1927
+ scope.u1y(addSelfReceiverToClientFields$lambda(fieldNames));
1928
+ var tmp_1 = scope.l1y_1;
1929
1929
  return isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1930
1930
  }
1931
1931
  function replaceReflectAsTypeAny(_this__u8e3s4) {
@@ -1934,13 +1934,13 @@ function replaceReflectAsTypeAny(_this__u8e3s4) {
1934
1934
  tmp = new Custom_0('type', listOf_0(Any_instance));
1935
1935
  } else {
1936
1936
  if (_this__u8e3s4 instanceof Nullable) {
1937
- tmp = _this__u8e3s4.e1r(replaceReflectAsTypeAny(_this__u8e3s4.d1n_1));
1937
+ tmp = _this__u8e3s4.m1q(replaceReflectAsTypeAny(_this__u8e3s4.l1m_1));
1938
1938
  } else {
1939
1939
  if (_this__u8e3s4 instanceof Array_0) {
1940
- tmp = _this__u8e3s4.e1r(replaceReflectAsTypeAny(_this__u8e3s4.e1n_1));
1940
+ tmp = _this__u8e3s4.m1q(replaceReflectAsTypeAny(_this__u8e3s4.m1m_1));
1941
1941
  } else {
1942
1942
  if (_this__u8e3s4 instanceof Dict_0) {
1943
- tmp = _this__u8e3s4.h1r(replaceReflectAsTypeAny(_this__u8e3s4.f1r_1), replaceReflectAsTypeAny(_this__u8e3s4.g1r_1));
1943
+ tmp = _this__u8e3s4.p1q(replaceReflectAsTypeAny(_this__u8e3s4.n1q_1), replaceReflectAsTypeAny(_this__u8e3s4.o1q_1));
1944
1944
  } else {
1945
1945
  tmp = _this__u8e3s4;
1946
1946
  }
@@ -1955,21 +1955,21 @@ function replaceReflectInNonGenericStructFields$lambda(element, transformer) {
1955
1955
  var tmp$ret$1;
1956
1956
  $l$block: {
1957
1957
  // Inline function 'kotlin.collections.isNotEmpty' call
1958
- if (!element.i1s_1.r()) {
1958
+ if (!element.q1r_1.r()) {
1959
1959
  tmp$ret$1 = element;
1960
1960
  break $l$block;
1961
1961
  }
1962
1962
  // Inline function 'kotlin.collections.map' call
1963
- var this_0 = element.e1s_1;
1963
+ var this_0 = element.m1r_1;
1964
1964
  // Inline function 'kotlin.collections.mapTo' call
1965
1965
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1966
1966
  var _iterator__ex2g4s = this_0.t();
1967
1967
  while (_iterator__ex2g4s.u()) {
1968
1968
  var item = _iterator__ex2g4s.v();
1969
- var tmp$ret$2 = item.d1u(VOID, replaceReflectAsTypeAny(item.a1u_1));
1969
+ var tmp$ret$2 = item.l1t(VOID, replaceReflectAsTypeAny(item.i1t_1));
1970
1970
  destination.x(tmp$ret$2);
1971
1971
  }
1972
- tmp$ret$1 = element.k1s(VOID, destination);
1972
+ tmp$ret$1 = element.s1r(VOID, destination);
1973
1973
  }
1974
1974
  tmp = tmp$ret$1;
1975
1975
  } else {
@@ -1980,17 +1980,17 @@ function replaceReflectInNonGenericStructFields$lambda(element, transformer) {
1980
1980
  }
1981
1981
  function replaceRefinedFunctions$lambda$lambda($constraintExpr) {
1982
1982
  return function ($this$function) {
1983
- $this$function.w1l('self', new Custom_0(''));
1984
- $this$function.z1l(Boolean_instance_0);
1985
- $this$function.a1m($constraintExpr);
1983
+ $this$function.e1l('self', new Custom_0(''));
1984
+ $this$function.h1l(Boolean_instance_0);
1985
+ $this$function.i1l($constraintExpr);
1986
1986
  return Unit_instance;
1987
1987
  };
1988
1988
  }
1989
1989
  function replaceRefinedFunctions$lambda$lambda_0($toStringExpr) {
1990
1990
  return function ($this$function) {
1991
- $this$function.w1l('self', new Custom_0(''));
1992
- $this$function.z1l(String_instance);
1993
- $this$function.a1m(new RawExpression($toStringExpr));
1991
+ $this$function.e1l('self', new Custom_0(''));
1992
+ $this$function.h1l(String_instance);
1993
+ $this$function.i1l(new RawExpression($toStringExpr));
1994
1994
  return Unit_instance;
1995
1995
  };
1996
1996
  }
@@ -1999,7 +1999,7 @@ function replaceRefinedFunctions$lambda($refined) {
1999
1999
  var tmp;
2000
2000
  if (element instanceof Struct) {
2001
2001
  // Inline function 'kotlin.collections.mapNotNull' call
2002
- var tmp0 = element.h1s_1;
2002
+ var tmp0 = element.p1r_1;
2003
2003
  // Inline function 'kotlin.collections.mapNotNullTo' call
2004
2004
  var destination = ArrayList_init_$Create$();
2005
2005
  // Inline function 'kotlin.collections.forEach' call
@@ -2009,23 +2009,23 @@ function replaceRefinedFunctions$lambda($refined) {
2009
2009
  var tmp_0;
2010
2010
  var tmp_1;
2011
2011
  if (element_0 instanceof Function) {
2012
- tmp_1 = element_0.b1p_1.equals(Companion_getInstance().m1l('validate'));
2012
+ tmp_1 = element_0.j1o_1.equals(Companion_getInstance().u1k('validate'));
2013
2013
  } else {
2014
2014
  tmp_1 = false;
2015
2015
  }
2016
2016
  if (tmp_1) {
2017
- var constraintExpr = convertConstraint($refined.sv_1, new FieldCall(new VariableReference(Companion_getInstance().m1l('self')), Companion_getInstance().m1l('value')));
2017
+ var constraintExpr = convertConstraint($refined.av_1, new FieldCall(new VariableReference(Companion_getInstance().u1k('self')), Companion_getInstance().u1k('value')));
2018
2018
  tmp_0 = function_0('validate', VOID, VOID, replaceRefinedFunctions$lambda$lambda(constraintExpr));
2019
2019
  } else {
2020
2020
  var tmp_2;
2021
2021
  if (element_0 instanceof Function) {
2022
- tmp_2 = element_0.b1p_1.equals(Companion_getInstance().m1l('toString'));
2022
+ tmp_2 = element_0.j1o_1.equals(Companion_getInstance().u1k('toString'));
2023
2023
  } else {
2024
2024
  tmp_2 = false;
2025
2025
  }
2026
2026
  if (tmp_2) {
2027
2027
  var tmp_3;
2028
- if ($refined.sv_1.ez_1 instanceof String_0) {
2028
+ if ($refined.av_1.my_1 instanceof String_0) {
2029
2029
  tmp_3 = 'self.value';
2030
2030
  } else {
2031
2031
  tmp_3 = 'str(self.value)';
@@ -2044,7 +2044,7 @@ function replaceRefinedFunctions$lambda($refined) {
2044
2044
  destination.x(tmp0_safe_receiver);
2045
2045
  }
2046
2046
  }
2047
- tmp = element.k1s(VOID, VOID, VOID, VOID, destination);
2047
+ tmp = element.s1r(VOID, VOID, VOID, VOID, destination);
2048
2048
  } else {
2049
2049
  tmp = element;
2050
2050
  }
@@ -2057,23 +2057,23 @@ function snakeCaseHandlerAndCallMethods$lambda(element, transformer) {
2057
2057
  if (element instanceof Interface) {
2058
2058
  var tmp$ret$0;
2059
2059
  $l$block: {
2060
- if (!element.l1s_1.equals(Companion_getInstance().m1l('Handler')) && !element.l1s_1.equals(Companion_getInstance().m1l('Call'))) {
2060
+ if (!element.t1r_1.equals(Companion_getInstance().u1k('Handler')) && !element.t1r_1.equals(Companion_getInstance().u1k('Call'))) {
2061
2061
  tmp$ret$0 = element;
2062
2062
  break $l$block;
2063
2063
  }
2064
2064
  // Inline function 'kotlin.collections.map' call
2065
- var this_0 = element.m1s_1;
2065
+ var this_0 = element.u1r_1;
2066
2066
  // Inline function 'kotlin.collections.mapTo' call
2067
2067
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
2068
2068
  var _iterator__ex2g4s = this_0.t();
2069
2069
  while (_iterator__ex2g4s.u()) {
2070
2070
  var item = _iterator__ex2g4s.v();
2071
2071
  var tmp0_safe_receiver = item instanceof Function ? item : null;
2072
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j1p(Companion_getInstance().m1l(item.b1p_1.u1q()));
2072
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r1o(Companion_getInstance().u1k(item.j1o_1.c1q()));
2073
2073
  var tmp$ret$1 = tmp1_elvis_lhs == null ? item : tmp1_elvis_lhs;
2074
2074
  destination.x(tmp$ret$1);
2075
2075
  }
2076
- tmp$ret$0 = element.s1s(VOID, destination);
2076
+ tmp$ret$0 = element.a1s(VOID, destination);
2077
2077
  }
2078
2078
  tmp = tmp$ret$0;
2079
2079
  } else {
@@ -2088,17 +2088,17 @@ function flattenEndpointTypeRefs$lambda($endpointName) {
2088
2088
  if (!(type instanceof Custom_0)) {
2089
2089
  tmp = type;
2090
2090
  } else {
2091
- if (!startsWith(type.f1n_1, $endpointName + '.')) {
2091
+ if (!startsWith(type.n1m_1, $endpointName + '.')) {
2092
2092
  tmp = type;
2093
2093
  } else {
2094
- var suffix = removePrefix(type.f1n_1, $endpointName + '.');
2094
+ var suffix = removePrefix(type.n1m_1, $endpointName + '.');
2095
2095
  switch (suffix) {
2096
2096
  case 'Call':
2097
2097
  case 'Handler':
2098
2098
  tmp = type;
2099
2099
  break;
2100
2100
  default:
2101
- tmp = type.j1r(suffix);
2101
+ tmp = type.r1q(suffix);
2102
2102
  break;
2103
2103
  }
2104
2104
  }
@@ -2109,7 +2109,7 @@ function flattenEndpointTypeRefs$lambda($endpointName) {
2109
2109
  function snakeCaseClientFunctions$lambda(element, transformer) {
2110
2110
  var tmp;
2111
2111
  if (element instanceof Function) {
2112
- tmp = element.j1p(Companion_getInstance().m1l(element.b1p_1.u1q()), VOID, plus(listOf_0(new Parameter(Companion_getInstance().m1l('self'), new Custom_0(''))), element.d1p_1));
2112
+ tmp = element.r1o(Companion_getInstance().u1k(element.j1o_1.c1q()), VOID, plus(listOf_0(new Parameter(Companion_getInstance().u1k('self'), new Custom_0(''))), element.l1o_1));
2113
2113
  } else {
2114
2114
  tmp = element;
2115
2115
  }
@@ -2119,32 +2119,32 @@ function snakeCaseClientFunctions$lambda(element, transformer) {
2119
2119
  function snakeCaseClientFunctions$lambda_0(stmt, tr) {
2120
2120
  var tmp;
2121
2121
  if (stmt instanceof FunctionCall) {
2122
- var nameStr = stmt.x1q_1.h1n();
2123
- var newName = contains(nameStr, '.') ? stmt.x1q_1 : Companion_getInstance().m1l(Companion_getInstance().m1l(nameStr).u1q());
2124
- var tmp1_safe_receiver = stmt.v1q_1;
2122
+ var nameStr = stmt.f1q_1.p1m();
2123
+ var newName = contains(nameStr, '.') ? stmt.f1q_1 : Companion_getInstance().u1k(Companion_getInstance().u1k(nameStr).c1q());
2124
+ var tmp1_safe_receiver = stmt.d1q_1;
2125
2125
  var tmp_0;
2126
2126
  if (tmp1_safe_receiver == null) {
2127
2127
  tmp_0 = null;
2128
2128
  } else {
2129
2129
  // Inline function 'kotlin.let' call
2130
- tmp_0 = tr.y1y(tmp1_safe_receiver);
2130
+ tmp_0 = tr.g1y(tmp1_safe_receiver);
2131
2131
  }
2132
2132
  var tmp2_receiver = tmp_0;
2133
2133
  // Inline function 'kotlin.collections.mapValues' call
2134
- var this_0 = stmt.y1q_1;
2134
+ var this_0 = stmt.g1q_1;
2135
2135
  // Inline function 'kotlin.collections.mapValuesTo' call
2136
- var destination = LinkedHashMap_init_$Create$(mapCapacity(this_0.b1()));
2136
+ var destination = LinkedHashMap_init_$Create$(mapCapacity(this_0.a1()));
2137
2137
  // Inline function 'kotlin.collections.associateByTo' call
2138
- var _iterator__ex2g4s = this_0.l1().t();
2138
+ var _iterator__ex2g4s = this_0.k1().t();
2139
2139
  while (_iterator__ex2g4s.u()) {
2140
2140
  var element = _iterator__ex2g4s.v();
2141
- var tmp_1 = element.m1();
2141
+ var tmp_1 = element.l1();
2142
2142
  // Inline function 'kotlin.collections.component2' call
2143
- var v = element.n1();
2144
- var tmp$ret$4 = tr.y1y(v);
2145
- destination.d3(tmp_1, tmp$ret$4);
2143
+ var v = element.m1();
2144
+ var tmp$ret$4 = tr.g1y(v);
2145
+ destination.y2(tmp_1, tmp$ret$4);
2146
2146
  }
2147
- var tmp4_isAwait = !(stmt.v1q_1 == null);
2147
+ var tmp4_isAwait = !(stmt.d1q_1 == null);
2148
2148
  tmp = new FunctionCall(tmp2_receiver, VOID, newName, destination, tmp4_isAwait);
2149
2149
  } else {
2150
2150
  tmp = transformChildren(stmt, tr);
@@ -2157,28 +2157,28 @@ function addSelfReceiverToClientFields$lambda($fieldNames) {
2157
2157
  var tmp_0;
2158
2158
  var tmp_1;
2159
2159
  if (stmt instanceof FieldCall) {
2160
- tmp_1 = stmt.p1u_1 == null;
2160
+ tmp_1 = stmt.x1t_1 == null;
2161
2161
  } else {
2162
2162
  tmp_1 = false;
2163
2163
  }
2164
2164
  if (tmp_1) {
2165
- tmp_0 = $fieldNames.a2(stmt.q1u_1.h1n());
2165
+ tmp_0 = $fieldNames.v1(stmt.y1t_1.p1m());
2166
2166
  } else {
2167
2167
  tmp_0 = false;
2168
2168
  }
2169
2169
  if (tmp_0) {
2170
- tmp = new FieldCall(new VariableReference(Companion_getInstance().m1l('self')), stmt.q1u_1);
2170
+ tmp = new FieldCall(new VariableReference(Companion_getInstance().u1k('self')), stmt.y1t_1);
2171
2171
  } else {
2172
2172
  if (stmt instanceof FieldCall) {
2173
- var tmp0_safe_receiver = stmt.p1u_1;
2173
+ var tmp0_safe_receiver = stmt.x1t_1;
2174
2174
  var tmp_2;
2175
2175
  if (tmp0_safe_receiver == null) {
2176
2176
  tmp_2 = null;
2177
2177
  } else {
2178
2178
  // Inline function 'kotlin.let' call
2179
- tmp_2 = tr.y1y(tmp0_safe_receiver);
2179
+ tmp_2 = tr.g1y(tmp0_safe_receiver);
2180
2180
  }
2181
- tmp = new FieldCall(tmp_2, stmt.q1u_1);
2181
+ tmp = new FieldCall(tmp_2, stmt.y1t_1);
2182
2182
  } else {
2183
2183
  tmp = transformChildren(stmt, tr);
2184
2184
  }
@@ -2189,8 +2189,8 @@ function addSelfReceiverToClientFields$lambda($fieldNames) {
2189
2189
  function PythonRefinedTypeDefinitionEmitter() {
2190
2190
  }
2191
2191
  function PythonShared() {
2192
- this.q22_1 = 'shared';
2193
- this.r22_1 = "from abc import ABC, abstractmethod\nfrom dataclasses import dataclass\nfrom enum import Enum\nfrom typing import Generic, List, Dict, Optional, TypeVar\n\nT = TypeVar('T')\nREQ = TypeVar('REQ')\nRES = TypeVar('RES')\n\nclass Wirespec:\n\n class Refined(ABC, Generic[T]):\n @property\n @abstractmethod\n def value(self) -> T: pass\n\n class Endpoint(ABC):\n\n class Handler(ABC):\n pass\n\n class Convert(ABC, Generic[REQ, RES]):\n @staticmethod\n @abstractmethod\n def to_raw_request(serializer: 'Wirespec.Serializer', req: REQ) -> 'Wirespec.RawRequest': pass\n\n @staticmethod\n @abstractmethod\n def from_raw_response(serializer: 'Wirespec.Deserializer', res: 'Wirespec.RawResponse') -> RES: pass\n\n @staticmethod\n @abstractmethod\n def to_raw_response(serializer: 'Wirespec.Serializer', res: RES) -> 'Wirespec.RawResponse': pass\n\n @staticmethod\n @abstractmethod\n def from_raw_request(serializer: 'Wirespec.Deserializer[T]', req: 'Wirespec.RawRequest') -> REQ: pass\n\n class Method(Enum):\n GET = \"GET\"\n PUT = \"PUT\"\n POST = \"POST\"\n DELETE = \"DELETE\"\n OPTIONS = \"OPTIONS\"\n HEAD = \"HEAD\"\n PATCH = \"PATCH\"\n TRACE = \"TRACE\"\n\n class Request(Generic[T], ABC):\n\n class Path(ABC): pass\n\n class Queries(ABC): pass\n\n class Headers(ABC): pass\n\n @property\n @abstractmethod\n def path(self) -> Path: pass\n\n @property\n @abstractmethod\n def method(self) -> 'Wirespec.Method': pass\n\n @property\n @abstractmethod\n def queries(self) -> Queries: pass\n\n @property\n @abstractmethod\n def headers(self) -> Headers: pass\n\n @property\n @abstractmethod\n def body(self) -> T: pass\n\n class Response(Generic[T], ABC):\n\n class Headers(ABC): pass\n\n @property\n @abstractmethod\n def status(self) -> int: pass\n\n @property\n @abstractmethod\n def headers(self) -> Headers: pass\n\n @property\n @abstractmethod\n def body(self) -> T: pass\n\n class Serializer(Generic[T], ABC):\n @abstractmethod\n def serialize(self, value: T, t: type[T]) -> str: pass\n @abstractmethod\n def serialize_param(self, value: T, t: type[T]) -> List[str]: pass\n\n class Deserializer(Generic[T], ABC):\n @abstractmethod\n def deserialize(self, value: str | None, t: type[T]) -> T: pass\n @abstractmethod\n def deserialize_param(self, value: List[str] | None, t: type[T]) -> T: pass\n\n class Serialization(Serializer, Deserializer):\n @abstractmethod\n def serialize(self, value: T, t: type[T]) -> str: pass\n @abstractmethod\n def serialize_param(self, value: T, t: type[T]) -> List[str]: pass\n @abstractmethod\n def deserialize(self, value: str | None, t: type[T]) -> T: pass\n @abstractmethod\n def deserialize_param(self, value: List[str] | None, t: type[T]) -> T: pass\n\n @dataclass\n class RawRequest:\n method: str\n path: List[str]\n queries: Dict[str, List[str]]\n headers: Dict[str, List[str]]\n body: Optional[str]\n\n\n @dataclass\n class RawResponse:\n status_code: int\n headers: Dict[str, List[str]]\n body: Optional[str]\n";
2192
+ this.y21_1 = 'shared';
2193
+ this.z21_1 = "from abc import ABC, abstractmethod\nfrom dataclasses import dataclass\nfrom enum import Enum\nfrom typing import Generic, List, Dict, Optional, TypeVar\n\nT = TypeVar('T')\nREQ = TypeVar('REQ')\nRES = TypeVar('RES')\n\nclass Wirespec:\n\n class Refined(ABC, Generic[T]):\n @property\n @abstractmethod\n def value(self) -> T: pass\n\n class Endpoint(ABC):\n\n class Handler(ABC):\n pass\n\n class Convert(ABC, Generic[REQ, RES]):\n @staticmethod\n @abstractmethod\n def to_raw_request(serializer: 'Wirespec.Serializer', req: REQ) -> 'Wirespec.RawRequest': pass\n\n @staticmethod\n @abstractmethod\n def from_raw_response(serializer: 'Wirespec.Deserializer', res: 'Wirespec.RawResponse') -> RES: pass\n\n @staticmethod\n @abstractmethod\n def to_raw_response(serializer: 'Wirespec.Serializer', res: RES) -> 'Wirespec.RawResponse': pass\n\n @staticmethod\n @abstractmethod\n def from_raw_request(serializer: 'Wirespec.Deserializer[T]', req: 'Wirespec.RawRequest') -> REQ: pass\n\n class Method(Enum):\n GET = \"GET\"\n PUT = \"PUT\"\n POST = \"POST\"\n DELETE = \"DELETE\"\n OPTIONS = \"OPTIONS\"\n HEAD = \"HEAD\"\n PATCH = \"PATCH\"\n TRACE = \"TRACE\"\n\n class Request(Generic[T], ABC):\n\n class Path(ABC): pass\n\n class Queries(ABC): pass\n\n class Headers(ABC): pass\n\n @property\n @abstractmethod\n def path(self) -> Path: pass\n\n @property\n @abstractmethod\n def method(self) -> 'Wirespec.Method': pass\n\n @property\n @abstractmethod\n def queries(self) -> Queries: pass\n\n @property\n @abstractmethod\n def headers(self) -> Headers: pass\n\n @property\n @abstractmethod\n def body(self) -> T: pass\n\n class Response(Generic[T], ABC):\n\n class Headers(ABC): pass\n\n @property\n @abstractmethod\n def status(self) -> int: pass\n\n @property\n @abstractmethod\n def headers(self) -> Headers: pass\n\n @property\n @abstractmethod\n def body(self) -> T: pass\n\n class Serializer(Generic[T], ABC):\n @abstractmethod\n def serialize(self, value: T, t: type[T]) -> str: pass\n @abstractmethod\n def serialize_param(self, value: T, t: type[T]) -> List[str]: pass\n\n class Deserializer(Generic[T], ABC):\n @abstractmethod\n def deserialize(self, value: str | None, t: type[T]) -> T: pass\n @abstractmethod\n def deserialize_param(self, value: List[str] | None, t: type[T]) -> T: pass\n\n class Serialization(Serializer, Deserializer):\n @abstractmethod\n def serialize(self, value: T, t: type[T]) -> str: pass\n @abstractmethod\n def serialize_param(self, value: T, t: type[T]) -> List[str]: pass\n @abstractmethod\n def deserialize(self, value: str | None, t: type[T]) -> T: pass\n @abstractmethod\n def deserialize_param(self, value: List[str] | None, t: type[T]) -> T: pass\n\n @dataclass\n class RawRequest:\n method: str\n path: List[str]\n queries: Dict[str, List[str]]\n headers: Dict[str, List[str]]\n body: Optional[str]\n\n\n @dataclass\n class RawResponse:\n status_code: int\n headers: Dict[str, List[str]]\n body: Optional[str]\n";
2194
2194
  }
2195
2195
  protoOf(PythonShared).toString = function () {
2196
2196
  return 'PythonShared';
@@ -2211,17 +2211,17 @@ function PythonShared_getInstance() {
2211
2211
  }
2212
2212
  function PythonTypeDefinitionEmitter$emit$lambda(this$0) {
2213
2213
  return function (it) {
2214
- return this$0.v22(it);
2214
+ return this$0.d22(it);
2215
2215
  };
2216
2216
  }
2217
2217
  function PythonTypeDefinitionEmitter$emit$lambda_0(this$0) {
2218
2218
  return function (it) {
2219
- return this$0.v22(it);
2219
+ return this$0.d22(it);
2220
2220
  };
2221
2221
  }
2222
2222
  function PythonTypeDefinitionEmitter$emit$lambda_1(this$0) {
2223
2223
  return function (it) {
2224
- return Spacer_instance.toString() + this$0.mu(it);
2224
+ return Spacer_instance.toString() + this$0.ut(it);
2225
2225
  };
2226
2226
  }
2227
2227
  function PythonTypeDefinitionEmitter() {
@@ -2229,27 +2229,27 @@ function PythonTypeDefinitionEmitter() {
2229
2229
  function PythonUnionDefinitionEmitter() {
2230
2230
  }
2231
2231
  //region block: post-declaration
2232
- protoOf(PythonEmitter).ku = emit_4;
2233
- protoOf(PythonEmitter).lu = emit_5;
2234
- protoOf(PythonEmitter).mu = emit_6;
2235
- protoOf(PythonEmitter).nu = emit_7;
2236
- protoOf(PythonEmitter).ou = emit_9;
2237
- protoOf(PythonEmitter).yv = emit_14;
2238
- protoOf(PythonEmitter).tv = emit_15;
2239
- protoOf(PythonEmitter).zv = emit_10;
2240
- protoOf(PythonEmitter).ov = emit_13;
2241
- protoOf(PythonEmitter).mv = emit_3;
2242
- protoOf(PythonEmitter).nv = emit_2;
2243
- protoOf(PythonEmitter).s22 = emit_8;
2244
- protoOf(PythonEmitter).a21 = emit_11;
2245
- protoOf(PythonEmitter).t22 = emit_12;
2246
- protoOf(PythonEmitter).aw = emitValidator;
2247
- protoOf(PythonEmitter).n21 = sanitize;
2248
- protoOf(PythonEmitter).d21 = sanitizeKeywords;
2249
- protoOf(PythonEmitter).u22 = emitType;
2250
- protoOf(PythonEmitter).v22 = emitReferenceCustomImports;
2251
- protoOf(PythonIrEmitter).es = emit_1;
2252
- protoOf(PythonIrEmitter).v1z = beforeGenerate;
2232
+ protoOf(PythonEmitter).st = emit_4;
2233
+ protoOf(PythonEmitter).tt = emit_5;
2234
+ protoOf(PythonEmitter).ut = emit_6;
2235
+ protoOf(PythonEmitter).vt = emit_7;
2236
+ protoOf(PythonEmitter).wt = emit_9;
2237
+ protoOf(PythonEmitter).gv = emit_15;
2238
+ protoOf(PythonEmitter).bv = emit_13;
2239
+ protoOf(PythonEmitter).hv = emit_10;
2240
+ protoOf(PythonEmitter).wu = emit_14;
2241
+ protoOf(PythonEmitter).uu = emit_3;
2242
+ protoOf(PythonEmitter).vu = emit_2;
2243
+ protoOf(PythonEmitter).a22 = emit_8;
2244
+ protoOf(PythonEmitter).i20 = emit_11;
2245
+ protoOf(PythonEmitter).b22 = emit_12;
2246
+ protoOf(PythonEmitter).iv = emitValidator;
2247
+ protoOf(PythonEmitter).v20 = sanitize;
2248
+ protoOf(PythonEmitter).l20 = sanitizeKeywords;
2249
+ protoOf(PythonEmitter).c22 = emitType;
2250
+ protoOf(PythonEmitter).d22 = emitReferenceCustomImports;
2251
+ protoOf(PythonIrEmitter).mr = emit_1;
2252
+ protoOf(PythonIrEmitter).d1z = beforeGenerate;
2253
2253
  //endregion
2254
2254
  //region block: init
2255
2255
  PythonShared_instance = new PythonShared();