@flock/wirespec 0.19.3-RC.1 → 0.19.4

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 (74) hide show
  1. package/arrow-arrow-atomic.mjs +12 -12
  2. package/arrow-arrow-core.mjs +167 -167
  3. package/clikt-clikt-mordant.mjs +81 -81
  4. package/clikt-clikt-mordant.mjs.map +1 -1
  5. package/clikt-clikt.mjs +1636 -1636
  6. package/clikt-clikt.mjs.map +1 -1
  7. package/colormath-root-colormath.mjs +448 -448
  8. package/kotlin-kotlin-stdlib.mjs +2428 -5210
  9. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  10. package/kotlin-openapi-bindings.mjs +10248 -10248
  11. package/kotlin-openapi-bindings.mjs.map +1 -1
  12. package/kotlin-rgxgen.mjs +1846 -1846
  13. package/kotlin-rgxgen.mjs.map +1 -1
  14. package/kotlinx-io-kotlinx-io-core.mjs +455 -455
  15. package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
  16. package/kotlinx-serialization-kotlinx-serialization-core.mjs +2101 -2135
  17. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  18. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1579 -1579
  19. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  20. package/mordant-mordant.mjs +1435 -1435
  21. package/package.json +1 -5
  22. package/wirespec-src-compiler-core.mjs +1598 -1598
  23. package/wirespec-src-compiler-emitters-java.mjs +453 -451
  24. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  25. package/wirespec-src-compiler-emitters-kotlin.mjs +341 -339
  26. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  27. package/wirespec-src-compiler-emitters-python.mjs +430 -428
  28. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  29. package/wirespec-src-compiler-emitters-rust.mjs +483 -481
  30. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  31. package/wirespec-src-compiler-emitters-scala.mjs +195 -193
  32. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  33. package/wirespec-src-compiler-emitters-typescript.mjs +501 -499
  34. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  35. package/wirespec-src-compiler-emitters-wirespec.mjs +82 -82
  36. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  37. package/wirespec-src-compiler-ir.mjs +3901 -3909
  38. package/wirespec-src-compiler-ir.mjs.map +1 -1
  39. package/wirespec-src-compiler-lib.mjs +439 -439
  40. package/wirespec-src-compiler-lib.mjs.map +1 -1
  41. package/wirespec-src-converter-avro.mjs +521 -521
  42. package/wirespec-src-converter-avro.mjs.map +1 -1
  43. package/wirespec-src-converter-openapi.mjs +859 -859
  44. package/wirespec-src-converter-openapi.mjs.map +1 -1
  45. package/wirespec-src-ide-lsp.mjs +1387 -1387
  46. package/wirespec-src-ide-lsp.mjs.map +1 -1
  47. package/wirespec-src-plugin-arguments.mjs +192 -192
  48. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  49. package/wirespec-src-plugin-cli.mjs +109 -109
  50. package/wirespec-src-plugin-npm.d.mts +0 -21
  51. package/wirespec-src-plugin-npm.mjs +43 -43
  52. package/wirespec-src-plugin-npm.mjs.map +1 -1
  53. package/wirespec-src-tools-generator.mjs +35 -35
  54. package/wirespec-src-tools-generator.mjs.map +1 -1
  55. package/kotest-kotest-assertions-kotest-assertions-core.mjs +0 -4
  56. package/kotest-kotest-assertions-kotest-assertions-core.mjs.map +0 -1
  57. package/kotest-kotest-assertions-kotest-assertions-shared.mjs +0 -4
  58. package/kotest-kotest-assertions-kotest-assertions-shared.mjs.map +0 -1
  59. package/kotest-kotest-common.mjs +0 -56
  60. package/kotest-kotest-common.mjs.map +0 -1
  61. package/kotest-kotest-framework-kotest-framework-engine.mjs +0 -4
  62. package/kotest-kotest-framework-kotest-framework-engine.mjs.map +0 -1
  63. package/kotest-kotest-property.mjs +0 -2501
  64. package/kotest-kotest-property.mjs.map +0 -1
  65. package/kotlinx-coroutines-test.mjs +0 -4
  66. package/kotlinx-coroutines-test.mjs.map +0 -1
  67. package/wirespec-generator.d.ts +0 -51
  68. package/wirespec-generator.mjs +0 -9
  69. package/wirespec-src-integration-kotest.mjs +0 -1647
  70. package/wirespec-src-integration-kotest.mjs.map +0 -1
  71. package/xmlutil-core.mjs +0 -4
  72. package/xmlutil-core.mjs.map +0 -1
  73. package/xmlutil-serialization.mjs +0 -4
  74. package/xmlutil-serialization.mjs.map +0 -1
@@ -168,6 +168,7 @@ import {
168
168
  convert1cn4bolzoed8c as convert_4,
169
169
  emitEndpointClient1meajc90wf3el as emitEndpointClient,
170
170
  emitClient32kfwzg2hm5vj as emitClient,
171
+ get_extensions31c4or738wbxz as get_extensions,
171
172
  emit1oxjujel6f3jb as emit_1,
172
173
  beforeGenerate3o8idb3hey1b0 as beforeGenerate,
173
174
  IrEmitterh2m93ojzvkep as IrEmitter,
@@ -206,10 +207,10 @@ initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, V
206
207
  function emit_3(identifier) {
207
208
  var tmp;
208
209
  if (identifier instanceof DefinitionIdentifier) {
209
- tmp = this.d21(identifier);
210
+ tmp = this.u1x(identifier);
210
211
  } else {
211
212
  if (identifier instanceof FieldIdentifier) {
212
- tmp = this.t20(this.d21(identifier));
213
+ tmp = this.k1x(this.u1x(identifier));
213
214
  } else {
214
215
  noWhenBranchMatchedException();
215
216
  }
@@ -218,7 +219,7 @@ function emit_3(identifier) {
218
219
  }
219
220
  function sanitize(_this__u8e3s4) {
220
221
  // Inline function 'kotlin.collections.mapIndexed' call
221
- var this_0 = split(_this__u8e3s4.m1(), ['.', ' ']);
222
+ var this_0 = split(_this__u8e3s4.l1(), ['.', ' ']);
222
223
  // Inline function 'kotlin.collections.mapIndexedTo' call
223
224
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
224
225
  var index = 0;
@@ -227,8 +228,8 @@ function sanitize(_this__u8e3s4) {
227
228
  var item = _iterator__ex2g4s.v();
228
229
  var _unary__edvuaz = index;
229
230
  index = _unary__edvuaz + 1 | 0;
230
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.pu(item) : item;
231
- destination.y(tmp$ret$0);
231
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.er(item) : item;
232
+ destination.x(tmp$ret$0);
232
233
  }
233
234
  // Inline function 'kotlin.text.filter' call
234
235
  var tmp0 = joinToString(destination, '');
@@ -265,42 +266,47 @@ function sanitize(_this__u8e3s4) {
265
266
  return tmp;
266
267
  }
267
268
  function sanitizeKeywords(_this__u8e3s4) {
268
- return Companion_getInstance_0().n22_1.v1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
269
+ return Companion_getInstance_0().e1z_1.u1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
269
270
  }
270
271
  initMetadataForInterface(PythonIdentifierEmitter, 'PythonIdentifierEmitter');
271
- function emit_4(type, module_0) {
272
+ function emit_4(enum_0, module_0) {
273
+ var tmp = this.u1x(enum_0.xr_1);
274
+ return trimMargin('\n |class ' + tmp + '(str, Enum):\n |' + joinToString(enum_0.yr_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.hs(2) + 'return self.value\n |\n |' + Spacer_instance.toString() + 'def __str__(self) -> str:\n |' + Spacer_instance.hs(2) + 'return self.value\n ');
275
+ }
276
+ initMetadataForInterface(PythonEnumDefinitionEmitter, 'PythonEnumDefinitionEmitter', VOID, VOID, [PythonIdentifierEmitter]);
277
+ function emit_5(type, module_0) {
272
278
  var tmp;
273
- if (type.xs_1.ts_1.r()) {
274
- var tmp_0 = this.yu(type.ws_1);
279
+ if (type.mp_1.ip_1.r()) {
280
+ var tmp_0 = this.nr(type.lp_1);
275
281
  var tmp_1 = Spacer_instance.toString();
276
282
  var tmp_2 = importReferences(type);
277
283
  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
284
  } else {
279
- var tmp_3 = this.yu(type.ws_1);
280
- var tmp_4 = this.wt(type.xs_1);
285
+ var tmp_3 = this.nr(type.lp_1);
286
+ var tmp_4 = this.lq(type.mp_1);
281
287
  var tmp_5 = importReferences(type);
282
288
  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
289
  }
284
290
  return tmp;
285
291
  }
286
- function emit_5(_this__u8e3s4) {
287
- return joinToString(_this__u8e3s4.ts_1, '\n', VOID, VOID, VOID, VOID, PythonTypeDefinitionEmitter$emit$lambda_1(this));
288
- }
289
292
  function emit_6(_this__u8e3s4) {
290
- return this.yu(_this__u8e3s4.bt_1) + ": '" + this.yt(_this__u8e3s4.ct_1) + "'";
293
+ return joinToString(_this__u8e3s4.ip_1, '\n', VOID, VOID, VOID, VOID, PythonTypeDefinitionEmitter$emit$lambda_1(this));
291
294
  }
292
295
  function emit_7(_this__u8e3s4) {
296
+ return this.nr(_this__u8e3s4.qp_1) + ": '" + this.nq(_this__u8e3s4.rp_1) + "'";
297
+ }
298
+ function emit_8(_this__u8e3s4) {
293
299
  // Inline function 'kotlin.let' call
294
- var it = this.l22(_this__u8e3s4);
295
- return _this__u8e3s4.ey() ? 'Optional[' + it + ']' : it;
300
+ var it = this.c1z(_this__u8e3s4);
301
+ return _this__u8e3s4.tu() ? 'Optional[' + it + ']' : it;
296
302
  }
297
303
  function emitType(_this__u8e3s4) {
298
304
  var tmp;
299
305
  if (_this__u8e3s4 instanceof Dict) {
300
- tmp = 'Dict[str, ' + this.yt(_this__u8e3s4.ds_1) + ']';
306
+ tmp = 'Dict[str, ' + this.nq(_this__u8e3s4.so_1) + ']';
301
307
  } else {
302
308
  if (_this__u8e3s4 instanceof Iterable) {
303
- tmp = 'List[' + this.yt(_this__u8e3s4.as_1) + ']';
309
+ tmp = 'List[' + this.nq(_this__u8e3s4.po_1) + ']';
304
310
  } else {
305
311
  if (_this__u8e3s4 instanceof Unit) {
306
312
  tmp = 'None';
@@ -309,10 +315,10 @@ function emitType(_this__u8e3s4) {
309
315
  tmp = 'Any';
310
316
  } else {
311
317
  if (_this__u8e3s4 instanceof Custom) {
312
- tmp = _this__u8e3s4.my_1;
318
+ tmp = _this__u8e3s4.bv_1;
313
319
  } else {
314
320
  if (_this__u8e3s4 instanceof Primitive) {
315
- tmp = this.j22(_this__u8e3s4.qy_1);
321
+ tmp = this.a1z(_this__u8e3s4.fv_1);
316
322
  } else {
317
323
  noWhenBranchMatchedException();
318
324
  }
@@ -323,7 +329,7 @@ function emitType(_this__u8e3s4) {
323
329
  }
324
330
  return tmp;
325
331
  }
326
- function emit_8(_this__u8e3s4) {
332
+ function emit_9(_this__u8e3s4) {
327
333
  var tmp;
328
334
  if (_this__u8e3s4 instanceof String_0) {
329
335
  tmp = 'str';
@@ -348,13 +354,13 @@ function emit_8(_this__u8e3s4) {
348
354
  }
349
355
  return tmp;
350
356
  }
351
- function emit_9(_this__u8e3s4) {
357
+ function emit_10(_this__u8e3s4) {
352
358
  var tmp;
353
359
  if (_this__u8e3s4 instanceof RegExp_0) {
354
- tmp = 'bool(re.match(r"' + _RegExp___get_value__impl__7o7618(_this__u8e3s4.ax_1) + '", self.value))';
360
+ tmp = 'bool(re.match(r"' + _RegExp___get_value__impl__7o7618(_this__u8e3s4.pt_1) + '", self.value))';
355
361
  } else {
356
362
  if (_this__u8e3s4 instanceof Bound) {
357
- var tmp1_safe_receiver = _this__u8e3s4.qx_1;
363
+ var tmp1_safe_receiver = _this__u8e3s4.fu_1;
358
364
  var tmp_0;
359
365
  if (tmp1_safe_receiver == null) {
360
366
  tmp_0 = null;
@@ -363,7 +369,7 @@ function emit_9(_this__u8e3s4) {
363
369
  tmp_0 = tmp1_safe_receiver + ' < self.value';
364
370
  }
365
371
  var minCheck = tmp_0;
366
- var tmp2_safe_receiver = _this__u8e3s4.rx_1;
372
+ var tmp2_safe_receiver = _this__u8e3s4.gu_1;
367
373
  var tmp_1;
368
374
  if (tmp2_safe_receiver == null) {
369
375
  tmp_1 = null;
@@ -389,34 +395,34 @@ function emit_9(_this__u8e3s4) {
389
395
  return tmp;
390
396
  }
391
397
  function emitReferenceCustomImports(_this__u8e3s4) {
392
- return 'from ..model.' + _this__u8e3s4.my_1 + ' import ' + _this__u8e3s4.my_1;
398
+ return 'from ..model.' + _this__u8e3s4.bv_1 + ' import ' + _this__u8e3s4.bv_1;
393
399
  }
394
400
  initMetadataForInterface(PythonTypeDefinitionEmitter, 'PythonTypeDefinitionEmitter', VOID, VOID, [TypeDefinitionEmitter, PythonIdentifierEmitter]);
395
- function emit_10(refined) {
396
- return trimMargin('\n |@dataclass\n |class ' + this.d21(refined.dv_1) + '(Wirespec.Refined):\n |' + Spacer_instance.toString() + 'value: ' + this.l22(refined.ev_1) + '\n |\n |' + Spacer_instance.toString() + 'def validate(self) -> bool:\n |' + Spacer_instance.sv(2) + 'return ' + this.mv(refined) + '\n |\n |' + Spacer_instance.toString() + 'def __str__(self) -> str:\n |' + Spacer_instance.sv(2) + 'return str(self.value)\n |\n ');
401
+ function emit_11(refined) {
402
+ return trimMargin('\n |@dataclass\n |class ' + this.u1x(refined.sr_1) + '(Wirespec.Refined):\n |' + Spacer_instance.toString() + 'value: ' + this.c1z(refined.tr_1) + '\n |\n |' + Spacer_instance.toString() + 'def validate(self) -> bool:\n |' + Spacer_instance.hs(2) + 'return ' + this.bs(refined) + '\n |\n |' + Spacer_instance.toString() + 'def __str__(self) -> str:\n |' + Spacer_instance.hs(2) + 'return str(self.value)\n |\n ');
397
403
  }
398
404
  function emitValidator(_this__u8e3s4) {
399
405
  var defaultReturn = 'True';
400
- var type = _this__u8e3s4.ev_1.qy_1;
406
+ var type = _this__u8e3s4.tr_1.fv_1;
401
407
  var tmp;
402
408
  if (type instanceof Integer) {
403
- var tmp0_safe_receiver = type.vx_1;
404
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.zt(tmp0_safe_receiver);
409
+ var tmp0_safe_receiver = type.ku_1;
410
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.oq(tmp0_safe_receiver);
405
411
  tmp = tmp1_elvis_lhs == null ? defaultReturn : tmp1_elvis_lhs;
406
412
  } else {
407
413
  if (type instanceof Number_0) {
408
- var tmp2_safe_receiver = type.yx_1;
409
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.zt(tmp2_safe_receiver);
414
+ var tmp2_safe_receiver = type.nu_1;
415
+ var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.oq(tmp2_safe_receiver);
410
416
  tmp = tmp3_elvis_lhs == null ? defaultReturn : tmp3_elvis_lhs;
411
417
  } else {
412
418
  if (type instanceof String_0) {
413
- var tmp4_safe_receiver = type.sx_1;
419
+ var tmp4_safe_receiver = type.hu_1;
414
420
  var tmp_0;
415
421
  var tmp_1 = tmp4_safe_receiver;
416
422
  if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
417
423
  tmp_0 = null;
418
424
  } else {
419
- tmp_0 = this.zt(new RegExp_0(tmp4_safe_receiver));
425
+ tmp_0 = this.oq(new RegExp_0(tmp4_safe_receiver));
420
426
  }
421
427
  var tmp5_elvis_lhs = tmp_0;
422
428
  tmp = tmp5_elvis_lhs == null ? defaultReturn : tmp5_elvis_lhs;
@@ -436,23 +442,23 @@ function emitValidator(_this__u8e3s4) {
436
442
  return tmp;
437
443
  }
438
444
  initMetadataForInterface(PythonRefinedTypeDefinitionEmitter, 'PythonRefinedTypeDefinitionEmitter', VOID, VOID, [PythonTypeDefinitionEmitter, PythonIdentifierEmitter]);
439
- function emit_11(endpoint) {
445
+ function emit_12(endpoint) {
440
446
  var tmp = importReferences(endpoint);
441
447
  var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emit$lambda(this));
442
- var tmp_1 = this.yu(endpoint.ft_1);
443
- var tmp_2 = spacer(this.q20(first(endpoint.kt_1), endpoint), 1);
444
- var tmp_3 = distinctByStatus(endpoint.lt_1);
448
+ var tmp_1 = this.nr(endpoint.up_1);
449
+ var tmp_2 = spacer(this.h1x(first(endpoint.zp_1), endpoint), 1);
450
+ var tmp_3 = distinctByStatus(endpoint.aq_1);
445
451
  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 ');
446
452
  }
447
- function emit_12(_this__u8e3s4, endpoint) {
448
- var tmp = emit_18(this, _this__u8e3s4.ot_1);
453
+ function emit_13(_this__u8e3s4, endpoint) {
454
+ var tmp = emit_18(this, _this__u8e3s4.dq_1);
449
455
  var tmp_0 = get_pathParams(endpoint);
450
456
  var tmp_1 = emitObject$default(this, tmp_0, 'Path', 'Wirespec.Request.Path', VOID, PythonEndpointDefinitionEmitter$emit$lambda_1(this));
451
- var tmp_2 = emitObject$default(this, endpoint.it_1, 'Queries', 'Wirespec.Request.Queries', VOID, PythonEndpointDefinitionEmitter$emit$lambda_2(this));
452
- var tmp_3 = emitObject$default(this, endpoint.jt_1, 'Headers', 'Wirespec.Request.Headers', VOID, PythonEndpointDefinitionEmitter$emit$lambda_3(this));
457
+ var tmp_2 = emitObject$default(this, endpoint.xp_1, 'Queries', 'Wirespec.Request.Queries', VOID, PythonEndpointDefinitionEmitter$emit$lambda_2(this));
458
+ var tmp_3 = emitObject$default(this, endpoint.yp_1, 'Headers', 'Wirespec.Request.Headers', VOID, PythonEndpointDefinitionEmitter$emit$lambda_3(this));
453
459
  var tmp_4 = Spacer_instance.toString();
454
460
  var tmp_5 = Spacer_instance.toString();
455
- var tmp_6 = emit_18(this, _this__u8e3s4.ot_1);
461
+ var tmp_6 = emit_18(this, _this__u8e3s4.dq_1);
456
462
  var tmp_7 = Spacer_instance.toString();
457
463
  var tmp_8 = Spacer_instance.toString();
458
464
  var tmp_9 = Spacer_instance.toString();
@@ -468,46 +474,41 @@ function emit_12(_this__u8e3s4, endpoint) {
468
474
  var tmp_19 = Spacer_instance.toString();
469
475
  var tmp_20 = Spacer_instance.toString();
470
476
  var tmp_21 = Spacer_instance.toString();
471
- var tmp_22 = emit_18(this, _this__u8e3s4.ot_1);
477
+ var tmp_22 = emit_18(this, _this__u8e3s4.dq_1);
472
478
  var tmp_23 = Spacer_instance.toString();
473
479
  var tmp_24 = Spacer_instance.toString();
474
480
  var tmp_25 = Spacer_instance.toString();
475
481
  var tmp_26 = Spacer_instance.toString();
476
482
  var tmp_27 = Spacer_instance.toString();
477
483
  var tmp_28 = paramList(_this__u8e3s4, endpoint);
478
- 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.gt_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 ');
484
+ 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.vp_1.a3_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 ');
479
485
  }
480
- function emit_13(_this__u8e3s4, endpoint) {
481
- var tmp = emit_18(this, _this__u8e3s4.tt_1);
482
- var tmp_0 = emitObject$default(this, _this__u8e3s4.st_1, 'Headers', 'Wirespec.Response.Headers', VOID, PythonEndpointDefinitionEmitter$emit$lambda_5(this));
486
+ function emit_14(_this__u8e3s4, endpoint) {
487
+ var tmp = emit_18(this, _this__u8e3s4.iq_1);
488
+ var tmp_0 = emitObject$default(this, _this__u8e3s4.hq_1, 'Headers', 'Wirespec.Response.Headers', VOID, PythonEndpointDefinitionEmitter$emit$lambda_5(this));
483
489
  var tmp_1 = Spacer_instance.toString();
484
490
  var tmp_2 = Spacer_instance.toString();
485
491
  var tmp_3 = Spacer_instance.toString();
486
492
  var tmp_4 = Spacer_instance.toString();
487
493
  var tmp_5 = Spacer_instance.toString();
488
494
  var tmp_6 = Spacer_instance.toString();
489
- var tmp_7 = emit_18(this, _this__u8e3s4.tt_1);
495
+ var tmp_7 = emit_18(this, _this__u8e3s4.iq_1);
490
496
  var tmp_8 = Spacer_instance.toString();
491
497
  var tmp_9 = Spacer_instance.toString();
492
498
  var tmp_10 = Spacer_instance.toString();
493
- var tmp_11 = emit_18(this, _this__u8e3s4.tt_1);
499
+ var tmp_11 = emit_18(this, _this__u8e3s4.iq_1);
494
500
  var tmp_12 = Spacer_instance.toString();
495
501
  var tmp_13 = Spacer_instance.toString();
496
502
  var tmp_14 = Spacer_instance.toString();
497
503
  var tmp_15 = paramList_0(_this__u8e3s4);
498
- return trimMargin('\n |@dataclass\n |class Response' + _this__u8e3s4.rt_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.rt_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 ');
504
+ return trimMargin('\n |@dataclass\n |class Response' + _this__u8e3s4.gq_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.gq_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 ');
499
505
  }
500
506
  initMetadataForInterface(PythonEndpointDefinitionEmitter, 'PythonEndpointDefinitionEmitter', VOID, VOID, [PythonTypeDefinitionEmitter]);
501
- function emit_14(union) {
502
- return trimMargin('\n |class ' + this.yu(union.rs_1) + '(ABC):\n |' + Spacer_instance.toString() + 'pass\n ');
507
+ function emit_15(union) {
508
+ return trimMargin('\n |class ' + this.nr(union.gp_1) + '(ABC):\n |' + Spacer_instance.toString() + 'pass\n ');
503
509
  }
504
510
  initMetadataForInterface(PythonUnionDefinitionEmitter, 'PythonUnionDefinitionEmitter', VOID, VOID, [PythonIdentifierEmitter]);
505
- function emit_15(enum_0, module_0) {
506
- var tmp = this.d21(enum_0.iv_1);
507
- return trimMargin('\n |class ' + tmp + '(str, Enum):\n |' + joinToString(enum_0.jv_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.sv(2) + 'return self.value\n |\n |' + Spacer_instance.toString() + 'def __str__(self) -> str:\n |' + Spacer_instance.sv(2) + 'return self.value\n ');
508
- }
509
- initMetadataForInterface(PythonEnumDefinitionEmitter, 'PythonEnumDefinitionEmitter', VOID, VOID, [PythonIdentifierEmitter]);
510
- initMetadataForClass(PythonEmitter, 'PythonEmitter', PythonEmitter, LanguageEmitter, [LanguageEmitter, PythonRefinedTypeDefinitionEmitter, PythonEndpointDefinitionEmitter, PythonUnionDefinitionEmitter, PythonTypeDefinitionEmitter, PythonChannelDefinitionEmitter, PythonIdentifierEmitter, PythonEnumDefinitionEmitter]);
511
+ initMetadataForClass(PythonEmitter, 'PythonEmitter', PythonEmitter, LanguageEmitter, [LanguageEmitter, PythonChannelDefinitionEmitter, PythonEnumDefinitionEmitter, PythonRefinedTypeDefinitionEmitter, PythonTypeDefinitionEmitter, PythonIdentifierEmitter, PythonEndpointDefinitionEmitter, PythonUnionDefinitionEmitter]);
511
512
  initMetadataForCompanion(Companion);
512
513
  initMetadataForCompanion(Companion_0);
513
514
  initMetadataForClass(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
@@ -517,23 +518,23 @@ initMetadataForObject(PythonShared, 'PythonShared');
517
518
  function PythonChannelDefinitionEmitter() {
518
519
  }
519
520
  function sam$kotlin_Comparator$0(function_0) {
520
- this.z21_1 = function_0;
521
+ this.q1y_1 = function_0;
521
522
  }
522
- protoOf(sam$kotlin_Comparator$0).ud = function (a, b) {
523
- return this.z21_1(a, b);
523
+ protoOf(sam$kotlin_Comparator$0).td = function (a, b) {
524
+ return this.q1y_1(a, b);
524
525
  };
525
526
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
526
- return this.ud(a, b);
527
+ return this.td(a, b);
527
528
  };
528
- protoOf(sam$kotlin_Comparator$0).m3 = function () {
529
- return this.z21_1;
529
+ protoOf(sam$kotlin_Comparator$0).l3 = function () {
530
+ return this.q1y_1;
530
531
  };
531
532
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
532
533
  var tmp;
533
534
  if (!(other == null) ? isInterface(other, Comparator) : false) {
534
535
  var tmp_0;
535
536
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
536
- tmp_0 = equals(this.m3(), other.m3());
537
+ tmp_0 = equals(this.l3(), other.l3());
537
538
  } else {
538
539
  tmp_0 = false;
539
540
  }
@@ -544,40 +545,40 @@ protoOf(sam$kotlin_Comparator$0).equals = function (other) {
544
545
  return tmp;
545
546
  };
546
547
  protoOf(sam$kotlin_Comparator$0).hashCode = function () {
547
- return hashCode(this.m3());
548
+ return hashCode(this.l3());
548
549
  };
549
550
  function PythonEmitter$emit$lambda(this$0) {
550
551
  return function (a, b) {
551
552
  // Inline function 'kotlin.comparisons.compareValuesBy' call
552
- var tmp = this$0.g22(a);
553
- var tmp$ret$1 = this$0.g22(b);
553
+ var tmp = this$0.x1y(a);
554
+ var tmp$ret$1 = this$0.x1y(b);
554
555
  return compareValues(tmp, tmp$ret$1);
555
556
  };
556
557
  }
557
558
  function emit$emitInit(this$0, def) {
558
- return 'from .' + this$0.yu(def.xu()) + ' import ' + this$0.yu(def.xu());
559
+ return 'from .' + this$0.nr(def.mr()) + ' import ' + this$0.nr(def.mr());
559
560
  }
560
561
  function PythonEmitter(packageName, emitShared) {
561
- packageName = packageName === VOID ? Companion_instance.nv('community.flock.wirespec.generated') : packageName;
562
- emitShared = emitShared === VOID ? Companion_instance_0.hs() : emitShared;
562
+ packageName = packageName === VOID ? Companion_instance.cs('community.flock.wirespec.generated') : packageName;
563
+ emitShared = emitShared === VOID ? Companion_instance_0.wo() : emitShared;
563
564
  LanguageEmitter.call(this);
564
- this.a22_1 = packageName;
565
- this.b22_1 = emitShared;
566
- this.c22_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.d22_1 = FileExtension_Python_getInstance();
568
- this.e22_1 = PythonShared_instance;
569
- this.f22_1 = '#';
570
- }
571
- protoOf(PythonEmitter).fu = function () {
572
- return this.d22_1;
565
+ this.r1y_1 = packageName;
566
+ this.s1y_1 = emitShared;
567
+ this.t1y_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';
568
+ this.u1y_1 = FileExtension_Python_getInstance();
569
+ this.v1y_1 = PythonShared_instance;
570
+ this.w1y_1 = '#';
571
+ }
572
+ protoOf(PythonEmitter).uq = function () {
573
+ return this.u1y_1;
573
574
  };
574
- protoOf(PythonEmitter).m20 = function () {
575
- return this.e22_1;
575
+ protoOf(PythonEmitter).d1x = function () {
576
+ return this.v1y_1;
576
577
  };
577
- protoOf(PythonEmitter).gu = function () {
578
- return this.f22_1;
578
+ protoOf(PythonEmitter).vq = function () {
579
+ return this.w1y_1;
579
580
  };
580
- protoOf(PythonEmitter).g22 = function (definition) {
581
+ protoOf(PythonEmitter).x1y = function (definition) {
581
582
  var tmp;
582
583
  if (definition instanceof Enum) {
583
584
  tmp = 1;
@@ -606,28 +607,28 @@ protoOf(PythonEmitter).g22 = function (definition) {
606
607
  }
607
608
  return tmp;
608
609
  };
609
- protoOf(PythonEmitter).vu = function (module_0, logger) {
610
+ protoOf(PythonEmitter).kr = function (module_0, logger) {
610
611
  // Inline function 'kotlin.collections.sortedBy' call
611
- var this_0 = new NonEmptyList(module_0.eu_1);
612
+ var this_0 = new NonEmptyList(module_0.tq_1);
612
613
  // Inline function 'kotlin.comparisons.compareBy' call
613
614
  var tmp = PythonEmitter$emit$lambda(this);
614
615
  var tmp$ret$0 = new sam$kotlin_Comparator$0(tmp);
615
616
  var tmp$ret$1 = sortedWith(this_0, tmp$ret$0);
616
617
  var tmp_0 = toNonEmptyListOrNull(tmp$ret$1);
617
- var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).zp_1;
618
+ var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).om_1;
618
619
  // Inline function 'kotlin.let' call
619
- var it = protoOf(LanguageEmitter).vu.call(this, module_0.xy(VOID, statements), logger);
620
- var init = new Emitted(this.a22_1.qv() + '__init__', 'from . import model\nfrom . import endpoint\nfrom . import wirespec\n');
621
- var tmp_1 = this.a22_1.qv() + 'endpoint/' + '__init__';
620
+ var it = protoOf(LanguageEmitter).kr.call(this, module_0.mv(VOID, statements), logger);
621
+ var init = new Emitted(this.r1y_1.fs() + '__init__', 'from . import model\nfrom . import endpoint\nfrom . import wirespec\n');
622
+ var tmp_1 = this.r1y_1.fs() + 'endpoint/' + '__init__';
622
623
  // Inline function 'kotlin.collections.filter' call
623
- var tmp0 = new NonEmptyList(module_0.eu_1);
624
+ var tmp0 = new NonEmptyList(module_0.tq_1);
624
625
  // Inline function 'kotlin.collections.filterTo' call
625
626
  var destination = ArrayList_init_$Create$();
626
627
  var _iterator__ex2g4s = tmp0.t();
627
628
  while (_iterator__ex2g4s.u()) {
628
629
  var element = _iterator__ex2g4s.v();
629
630
  if (element instanceof Endpoint) {
630
- destination.y(element);
631
+ destination.x(element);
631
632
  }
632
633
  }
633
634
  // Inline function 'kotlin.collections.map' call
@@ -637,19 +638,19 @@ protoOf(PythonEmitter).vu = function (module_0, logger) {
637
638
  while (_iterator__ex2g4s_0.u()) {
638
639
  var item = _iterator__ex2g4s_0.v();
639
640
  var tmp$ret$5 = emit$emitInit(this, item);
640
- destination_0.y(tmp$ret$5);
641
+ destination_0.x(tmp$ret$5);
641
642
  }
642
643
  var initEndpoint = new Emitted(tmp_1, joinToString(destination_0, '\n'));
643
- var tmp_2 = this.a22_1.qv() + 'model/' + '__init__';
644
+ var tmp_2 = this.r1y_1.fs() + 'model/' + '__init__';
644
645
  // Inline function 'kotlin.collections.filter' call
645
- var tmp0_0 = new NonEmptyList(module_0.eu_1);
646
+ var tmp0_0 = new NonEmptyList(module_0.tq_1);
646
647
  // Inline function 'kotlin.collections.filterTo' call
647
648
  var destination_1 = ArrayList_init_$Create$();
648
649
  var _iterator__ex2g4s_1 = tmp0_0.t();
649
650
  while (_iterator__ex2g4s_1.u()) {
650
651
  var element_0 = _iterator__ex2g4s_1.v();
651
652
  if (isInterface(element_0, Model)) {
652
- destination_1.y(element_0);
653
+ destination_1.x(element_0);
653
654
  }
654
655
  }
655
656
  // Inline function 'kotlin.collections.map' call
@@ -659,36 +660,36 @@ protoOf(PythonEmitter).vu = function (module_0, logger) {
659
660
  while (_iterator__ex2g4s_2.u()) {
660
661
  var item_0 = _iterator__ex2g4s_2.v();
661
662
  var tmp$ret$11 = emit$emitInit(this, item_0);
662
- destination_2.y(tmp$ret$11);
663
+ destination_2.x(tmp$ret$11);
663
664
  }
664
665
  var initModel = new Emitted(tmp_2, joinToString(destination_2, '\n'));
665
- var shared = new Emitted(this.a22_1.qv() + 'wirespec', this.m20().i22_1);
666
- return this.b22_1.is_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);
666
+ var shared = new Emitted(this.r1y_1.fs() + 'wirespec', this.d1x().z1y_1);
667
+ return this.s1y_1.xo_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
668
  };
668
- protoOf(PythonEmitter).wu = function (definition, module_0, logger) {
669
- var subPackageName = plus_1(this.a22_1, definition);
669
+ protoOf(PythonEmitter).lr = function (definition, module_0, logger) {
670
+ var subPackageName = plus_1(this.r1y_1, definition);
670
671
  // Inline function 'kotlin.let' call
671
- var it = protoOf(LanguageEmitter).wu.call(this, definition, module_0, logger);
672
- var tmp = subPackageName.qv() + it.js_1;
672
+ var it = protoOf(LanguageEmitter).lr.call(this, definition, module_0, logger);
673
+ var tmp = subPackageName.fs() + it.yo_1;
673
674
  // Inline function 'kotlin.text.trimStart' call
674
- var this_0 = trimMargin('\n |' + this.c22_1 + '\n |' + it.ks_1 + '\n ');
675
+ var this_0 = trimMargin('\n |' + this.t1y_1 + '\n |' + it.zo_1 + '\n ');
675
676
  var tmp$ret$0 = toString(trimStart(isCharSequence(this_0) ? this_0 : THROW_CCE()));
676
677
  return new Emitted(tmp, tmp$ret$0);
677
678
  };
678
679
  function emitToRawRequest($this, _this__u8e3s4, endpoint) {
679
- var tmp = $this.yu(endpoint.ft_1);
680
+ var tmp = $this.nr(endpoint.up_1);
680
681
  var tmp_0 = Spacer_instance.toString();
681
682
  var tmp_1 = Spacer_instance.toString();
682
683
  var tmp_2 = Spacer_instance.toString();
683
- var tmp_3 = joinToString(endpoint.ht_1, VOID, VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda($this));
684
+ var tmp_3 = joinToString(endpoint.wp_1, VOID, VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda($this));
684
685
  var tmp_4 = Spacer_instance.toString();
685
686
  var tmp_5 = Spacer_instance.toString();
686
687
  var tmp_6 = Spacer_instance.toString();
687
688
  var tmp_7 = Spacer_instance.toString();
688
689
  var tmp_8;
689
690
  // Inline function 'kotlin.collections.isNotEmpty' call
690
- if (!endpoint.it_1.r()) {
691
- tmp_8 = prependIndent(joinToString(endpoint.it_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda_0($this)), Spacer_instance.sv(3));
691
+ if (!endpoint.xp_1.r()) {
692
+ tmp_8 = prependIndent(joinToString(endpoint.xp_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda_0($this)), Spacer_instance.hs(3));
692
693
  } else {
693
694
  tmp_8 = '';
694
695
  }
@@ -699,8 +700,8 @@ function emitToRawRequest($this, _this__u8e3s4, endpoint) {
699
700
  var tmp_13 = Spacer_instance.toString();
700
701
  var tmp_14;
701
702
  // Inline function 'kotlin.collections.isNotEmpty' call
702
- if (!endpoint.jt_1.r()) {
703
- tmp_14 = prependIndent(joinToString(endpoint.jt_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda_1($this)), Spacer_instance.sv(3));
703
+ if (!endpoint.yp_1.r()) {
704
+ tmp_14 = prependIndent(joinToString(endpoint.yp_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda_1($this)), Spacer_instance.hs(3));
704
705
  } else {
705
706
  tmp_14 = '';
706
707
  }
@@ -709,48 +710,48 @@ function emitToRawRequest($this, _this__u8e3s4, endpoint) {
709
710
  var tmp_17 = Spacer_instance.toString();
710
711
  var tmp_18 = Spacer_instance.toString();
711
712
  var tmp_19 = Spacer_instance.toString();
712
- var tmp0_safe_receiver = _this__u8e3s4.ot_1;
713
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qt_1;
714
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.l22(tmp1_safe_receiver);
713
+ var tmp0_safe_receiver = _this__u8e3s4.dq_1;
714
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.fq_1;
715
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.c1z(tmp1_safe_receiver);
715
716
  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
717
  }
717
718
  function emitFromRawRequest($this, _this__u8e3s4, endpoint) {
718
- return trimMargin("\n |@staticmethod\n |def from_raw_request(serialization: Wirespec.Deserializer, request: Wirespec.RawRequest) -> '" + $this.yu(endpoint.ft_1) + ".Request':\n |" + Spacer_instance.toString() + 'return ' + $this.yu(endpoint.ft_1) + '.Request' + emitDeserializedParams($this, _this__u8e3s4, endpoint) + '\n |\n ');
719
+ return trimMargin("\n |@staticmethod\n |def from_raw_request(serialization: Wirespec.Deserializer, request: Wirespec.RawRequest) -> '" + $this.nr(endpoint.up_1) + ".Request':\n |" + Spacer_instance.toString() + 'return ' + $this.nr(endpoint.up_1) + '.Request' + emitDeserializedParams($this, _this__u8e3s4, endpoint) + '\n |\n ');
719
720
  }
720
721
  function emitDeserializedParams($this, _this__u8e3s4, endpoint) {
721
722
  var tmp = get_indexedPathParams(endpoint);
722
723
  var tmp_0 = orNull(joinToString(tmp, VOID, VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda($this)));
723
- var tmp_1 = orNull(joinToString(endpoint.it_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_0($this)));
724
- var tmp_2 = orNull(joinToString(endpoint.jt_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_1($this)));
725
- var tmp0_safe_receiver = _this__u8e3s4.ot_1;
724
+ var tmp_1 = orNull(joinToString(endpoint.xp_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_0($this)));
725
+ var tmp_2 = orNull(joinToString(endpoint.yp_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_1($this)));
726
+ var tmp0_safe_receiver = _this__u8e3s4.dq_1;
726
727
  var tmp_3;
727
728
  if (tmp0_safe_receiver == null) {
728
729
  tmp_3 = null;
729
730
  } else {
730
731
  // Inline function 'kotlin.let' call
731
- tmp_3 = Spacer_instance.sv(3) + 'body = serialization.deserialize(request.body, ' + $this.l22(tmp0_safe_receiver.qt_1) + '),';
732
+ tmp_3 = Spacer_instance.hs(3) + 'body = serialization.deserialize(request.body, ' + $this.c1z(tmp0_safe_receiver.fq_1) + '),';
732
733
  }
733
734
  // Inline function 'kotlin.let' call
734
735
  var it = joinToString(listOfNotNull([tmp_0, tmp_1, tmp_2, tmp_3]), ',\n');
735
736
  return isBlank(it) ? '()' : '(\n' + it + '\n)';
736
737
  }
737
738
  function emitResponseUnion($this, _this__u8e3s4) {
738
- return trimMargin('\n |Response = ' + joinToString(_this__u8e3s4.lt_1, ' | ', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitResponseUnion$lambda) + '\n |\n ');
739
+ return trimMargin('\n |Response = ' + joinToString(_this__u8e3s4.aq_1, ' | ', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitResponseUnion$lambda) + '\n |\n ');
739
740
  }
740
741
  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.ft_1.m1() + "(self, req: '" + $this.yu(_this__u8e3s4.ft_1) + ".Request') -> '" + $this.yu(_this__u8e3s4.ft_1) + ".Response': pass\n |\n ");
742
+ return trimMargin('\n |class Handler(Wirespec.Endpoint.Handler):\n |' + Spacer_instance.toString() + '@abstractmethod\n |' + Spacer_instance.toString() + 'def ' + _this__u8e3s4.up_1.l1() + "(self, req: '" + $this.nr(_this__u8e3s4.up_1) + ".Request') -> '" + $this.nr(_this__u8e3s4.up_1) + ".Response': pass\n |\n ");
742
743
  }
743
744
  function emitConvertClass($this, _this__u8e3s4) {
744
- return trimMargin('\n |class Convert(Wirespec.Endpoint.Convert[Request, Response]):\n |' + spacer(emitToRawRequest($this, first(_this__u8e3s4.kt_1), _this__u8e3s4), 1) + '\n |' + spacer(emitFromRawRequest($this, first(_this__u8e3s4.kt_1), _this__u8e3s4), 1) + '\n |' + spacer(emitToRawResponse($this, _this__u8e3s4), 1) + '\n |' + spacer(emitFromRawResponse($this, _this__u8e3s4), 1) + '\n |\n ');
745
+ return trimMargin('\n |class Convert(Wirespec.Endpoint.Convert[Request, Response]):\n |' + spacer(emitToRawRequest($this, first(_this__u8e3s4.zp_1), _this__u8e3s4), 1) + '\n |' + spacer(emitFromRawRequest($this, first(_this__u8e3s4.zp_1), _this__u8e3s4), 1) + '\n |' + spacer(emitToRawResponse($this, _this__u8e3s4), 1) + '\n |' + spacer(emitFromRawResponse($this, _this__u8e3s4), 1) + '\n |\n ');
745
746
  }
746
747
  function emit_16($this, _this__u8e3s4) {
747
- return $this.yu(_this__u8e3s4.ku_1) + ': ' + $this.yt(_this__u8e3s4.lu_1);
748
+ return $this.nr(_this__u8e3s4.zq_1) + ': ' + $this.nq(_this__u8e3s4.ar_1);
748
749
  }
749
750
  function emitAssignSelf($this, _this__u8e3s4) {
750
- return $this.yu(_this__u8e3s4.ku_1) + ' = ' + $this.yu(_this__u8e3s4.ku_1);
751
+ return $this.nr(_this__u8e3s4.zq_1) + ' = ' + $this.nr(_this__u8e3s4.zq_1);
751
752
  }
752
753
  function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
753
- var tmp = $this.yu(endpoint.ft_1);
754
+ var tmp = $this.nr(endpoint.up_1);
754
755
  // Inline function 'kotlin.collections.filter' call
755
756
  var tmp0 = paramList(_this__u8e3s4, endpoint);
756
757
  // Inline function 'kotlin.collections.filterTo' call
@@ -758,13 +759,13 @@ function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
758
759
  var _iterator__ex2g4s = tmp0.t();
759
760
  while (_iterator__ex2g4s.u()) {
760
761
  var element = _iterator__ex2g4s.v();
761
- if (element.ju_1.equals(ParamType_PATH_getInstance())) {
762
- destination.y(element);
762
+ if (element.yq_1.equals(ParamType_PATH_getInstance())) {
763
+ destination.x(element);
763
764
  }
764
765
  }
765
766
  var tmp_0 = destination;
766
767
  var tmp_1 = joinToString(tmp_0, VOID, VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitAssignSelf$lambda($this));
767
- var tmp_2 = $this.yu(endpoint.ft_1);
768
+ var tmp_2 = $this.nr(endpoint.up_1);
768
769
  // Inline function 'kotlin.collections.filter' call
769
770
  var tmp0_0 = paramList(_this__u8e3s4, endpoint);
770
771
  // Inline function 'kotlin.collections.filterTo' call
@@ -772,13 +773,13 @@ function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
772
773
  var _iterator__ex2g4s_0 = tmp0_0.t();
773
774
  while (_iterator__ex2g4s_0.u()) {
774
775
  var element_0 = _iterator__ex2g4s_0.v();
775
- if (element_0.ju_1.equals(ParamType_QUERY_getInstance())) {
776
- destination_0.y(element_0);
776
+ if (element_0.yq_1.equals(ParamType_QUERY_getInstance())) {
777
+ destination_0.x(element_0);
777
778
  }
778
779
  }
779
780
  var tmp_3 = destination_0;
780
781
  var tmp_4 = spacer(joinToString(tmp_3, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitAssignSelf$lambda_0($this)), 1);
781
- var tmp_5 = $this.yu(endpoint.ft_1);
782
+ var tmp_5 = $this.nr(endpoint.up_1);
782
783
  // Inline function 'kotlin.collections.filter' call
783
784
  var tmp0_1 = paramList(_this__u8e3s4, endpoint);
784
785
  // Inline function 'kotlin.collections.filterTo' call
@@ -786,14 +787,14 @@ function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
786
787
  var _iterator__ex2g4s_1 = tmp0_1.t();
787
788
  while (_iterator__ex2g4s_1.u()) {
788
789
  var element_1 = _iterator__ex2g4s_1.v();
789
- if (element_1.ju_1.equals(ParamType_HEADER_getInstance())) {
790
- destination_1.y(element_1);
790
+ if (element_1.yq_1.equals(ParamType_HEADER_getInstance())) {
791
+ destination_1.x(element_1);
791
792
  }
792
793
  }
793
794
  var tmp_6 = destination_1;
794
795
  var tmp_7 = spacer(joinToString(tmp_6, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitAssignSelf$lambda_1($this)), 1);
795
796
  var tmp_8;
796
- if (_this__u8e3s4.ot_1 == null) {
797
+ if (_this__u8e3s4.dq_1 == null) {
797
798
  tmp_8 = null;
798
799
  } else {
799
800
  // Inline function 'kotlin.let' call
@@ -803,7 +804,7 @@ function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
803
804
  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
805
  }
805
806
  function emitAssignSelf_1($this, _this__u8e3s4, endpoint) {
806
- var tmp = $this.yu(endpoint.ft_1);
807
+ var tmp = $this.nr(endpoint.up_1);
807
808
  // Inline function 'kotlin.collections.filter' call
808
809
  var tmp0 = paramList_0(_this__u8e3s4);
809
810
  // Inline function 'kotlin.collections.filterTo' call
@@ -811,35 +812,35 @@ function emitAssignSelf_1($this, _this__u8e3s4, endpoint) {
811
812
  var _iterator__ex2g4s = tmp0.t();
812
813
  while (_iterator__ex2g4s.u()) {
813
814
  var element = _iterator__ex2g4s.v();
814
- if (element.ju_1.equals(ParamType_HEADER_getInstance())) {
815
- destination.y(element);
815
+ if (element.yq_1.equals(ParamType_HEADER_getInstance())) {
816
+ destination.x(element);
816
817
  }
817
818
  }
818
819
  var tmp_0 = destination;
819
820
  var tmp_1 = spacer(joinToString(tmp_0, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitAssignSelf$lambda_2($this)), 1);
820
821
  var tmp_2;
821
- if (_this__u8e3s4.tt_1 == null) {
822
+ if (_this__u8e3s4.iq_1 == null) {
822
823
  tmp_2 = null;
823
824
  } else {
824
825
  // Inline function 'kotlin.let' call
825
826
  tmp_2 = 'body';
826
827
  }
827
828
  var tmp1_elvis_lhs = tmp_2;
828
- return trimMargin('\n |self._headers = ' + tmp + '.Response' + _this__u8e3s4.rt_1 + '.Headers(' + tmp_1 + ')\n |self._body = ' + (tmp1_elvis_lhs == null ? 'None' : tmp1_elvis_lhs) + '\n ');
829
+ return trimMargin('\n |self._headers = ' + tmp + '.Response' + _this__u8e3s4.gq_1 + '.Headers(' + tmp_1 + ')\n |self._body = ' + (tmp1_elvis_lhs == null ? 'None' : tmp1_elvis_lhs) + '\n ');
829
830
  }
830
831
  function emitDeserialized($this, _this__u8e3s4) {
831
- return Spacer_instance.sv(3) + $this.yu(_this__u8e3s4.lf_1.mt_1) + ' = serialization.deserialize(request.path[' + _this__u8e3s4.kf_1 + '], ' + $this.l22(_this__u8e3s4.lf_1.nt_1) + ')';
832
+ return Spacer_instance.hs(3) + $this.nr(_this__u8e3s4.ue_1.bq_1) + ' = serialization.deserialize(request.path[' + _this__u8e3s4.te_1 + '], ' + $this.c1z(_this__u8e3s4.ue_1.cq_1) + ')';
832
833
  }
833
834
  function emitDeserializedParams_0($this, _this__u8e3s4, type, fields, spaces, caseSensitive) {
834
835
  var tmp;
835
836
  if (caseSensitive) {
836
- tmp = Spacer_instance.sv(spaces) + $this.yu(_this__u8e3s4.bt_1) + ' = serialization.deserialize_param(' + type + '.' + fields + '.get("' + _this__u8e3s4.bt_1.m1() + '"), ' + $this.l22(_this__u8e3s4.ct_1) + ')';
837
+ tmp = Spacer_instance.hs(spaces) + $this.nr(_this__u8e3s4.qp_1) + ' = serialization.deserialize_param(' + type + '.' + fields + '.get("' + _this__u8e3s4.qp_1.l1() + '"), ' + $this.c1z(_this__u8e3s4.rp_1) + ')';
837
838
  } else {
838
- var tmp_0 = Spacer_instance.sv(spaces);
839
- var tmp_1 = $this.yu(_this__u8e3s4.bt_1);
839
+ var tmp_0 = Spacer_instance.hs(spaces);
840
+ var tmp_1 = $this.nr(_this__u8e3s4.qp_1);
840
841
  // Inline function 'kotlin.text.lowercase' call
841
842
  // 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.bt_1.m1().toLowerCase() + '"), None), ' + $this.l22(_this__u8e3s4.ct_1) + ')';
843
+ tmp = tmp_0 + tmp_1 + ' = serialization.deserialize_param(next((v for k, v in ' + type + '.' + fields + '.items() if k.lower() == "' + _this__u8e3s4.qp_1.l1().toLowerCase() + '"), None), ' + $this.c1z(_this__u8e3s4.rp_1) + ')';
843
844
  }
844
845
  return tmp;
845
846
  }
@@ -849,73 +850,73 @@ function emitDeserializedParams$default($this, _this__u8e3s4, type, fields, spac
849
850
  return emitDeserializedParams_0($this, _this__u8e3s4, type, fields, spaces, caseSensitive);
850
851
  }
851
852
  function emitToRawResponse($this, _this__u8e3s4) {
852
- var tmp = $this.yu(_this__u8e3s4.ft_1);
853
+ var tmp = $this.nr(_this__u8e3s4.up_1);
853
854
  var tmp_0 = Spacer_instance.toString();
854
- var tmp_1 = distinctByStatus(_this__u8e3s4.lt_1);
855
+ var tmp_1 = distinctByStatus(_this__u8e3s4.aq_1);
855
856
  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
857
  }
857
858
  function emitFromRawResponse($this, _this__u8e3s4) {
858
- var tmp = $this.yu(_this__u8e3s4.ft_1);
859
+ var tmp = $this.nr(_this__u8e3s4.up_1);
859
860
  var tmp_0 = Spacer_instance.toString();
860
861
  // Inline function 'kotlin.collections.filter' call
861
- var tmp0 = distinctByStatus(_this__u8e3s4.lt_1);
862
+ var tmp0 = distinctByStatus(_this__u8e3s4.aq_1);
862
863
  // Inline function 'kotlin.collections.filterTo' call
863
864
  var destination = ArrayList_init_$Create$();
864
865
  var _iterator__ex2g4s = tmp0.t();
865
866
  while (_iterator__ex2g4s.u()) {
866
867
  var element = _iterator__ex2g4s.v();
867
- if (Companion_instance_1.tu(element.rt_1)) {
868
- destination.y(element);
868
+ if (Companion_instance_1.ir(element.gq_1)) {
869
+ destination.x(element);
869
870
  }
870
871
  }
871
872
  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.sv(2) + 'case _:\n |' + Spacer_instance.sv(3) + 'raise Exception("Cannot match response with status: " + str(response.status_code))\n |\n ');
873
+ 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.hs(2) + 'case _:\n |' + Spacer_instance.hs(3) + 'raise Exception("Cannot match response with status: " + str(response.status_code))\n |\n ');
873
874
  }
874
875
  function emitDeserialized_0($this, _this__u8e3s4, endpoint) {
875
- var tmp = 'case ' + _this__u8e3s4.rt_1 + ':';
876
- var tmp_0 = Spacer_instance.toString() + 'return ' + $this.yu(endpoint.ft_1) + '.Response' + _this__u8e3s4.rt_1 + '(';
877
- var tmp_1 = Spacer_instance.sv(2);
878
- var tmp0_safe_receiver = _this__u8e3s4.tt_1;
879
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qt_1;
880
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.l22(tmp1_safe_receiver);
876
+ var tmp = 'case ' + _this__u8e3s4.gq_1 + ':';
877
+ var tmp_0 = Spacer_instance.toString() + 'return ' + $this.nr(endpoint.up_1) + '.Response' + _this__u8e3s4.gq_1 + '(';
878
+ var tmp_1 = Spacer_instance.hs(2);
879
+ var tmp0_safe_receiver = _this__u8e3s4.iq_1;
880
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.fq_1;
881
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.c1z(tmp1_safe_receiver);
881
882
  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.st_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserialized$lambda($this))), Spacer_instance.toString() + ')']), '\n');
883
+ return joinToString(listOfNotNull([tmp, tmp_0, tmp_2, orNull(joinToString(_this__u8e3s4.hq_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserialized$lambda($this))), Spacer_instance.toString() + ')']), '\n');
883
884
  }
884
885
  function emitSerialized($this, _this__u8e3s4, endpoint) {
885
- var tmp = $this.yu(endpoint.ft_1);
886
- var tmp_0 = Spacer_instance.sv(1);
887
- var tmp_1 = Spacer_instance.sv(2);
888
- var tmp_2 = Spacer_instance.sv(2);
886
+ var tmp = $this.nr(endpoint.up_1);
887
+ var tmp_0 = Spacer_instance.hs(1);
888
+ var tmp_1 = Spacer_instance.hs(2);
889
+ var tmp_2 = Spacer_instance.hs(2);
889
890
  var tmp_3;
890
891
  // Inline function 'kotlin.collections.isNotEmpty' call
891
- if (!_this__u8e3s4.st_1.r()) {
892
- tmp_3 = joinToString(_this__u8e3s4.st_1, ', ', '{', '}', VOID, VOID, PythonEndpointDefinitionEmitter$emitSerialized$lambda($this));
892
+ if (!_this__u8e3s4.hq_1.r()) {
893
+ tmp_3 = joinToString(_this__u8e3s4.hq_1, ', ', '{', '}', VOID, VOID, PythonEndpointDefinitionEmitter$emitSerialized$lambda($this));
893
894
  } else {
894
895
  tmp_3 = '{}';
895
896
  }
896
897
  var tmp_4 = tmp_3;
897
- var tmp_5 = Spacer_instance.sv(2);
898
- var tmp0_safe_receiver = _this__u8e3s4.tt_1;
898
+ var tmp_5 = Spacer_instance.hs(2);
899
+ var tmp0_safe_receiver = _this__u8e3s4.iq_1;
899
900
  var tmp_6;
900
901
  if (tmp0_safe_receiver == null) {
901
902
  tmp_6 = null;
902
903
  } else {
903
904
  // Inline function 'kotlin.let' call
904
- tmp_6 = 'serialization.serialize(response.body, ' + $this.l22(tmp0_safe_receiver.qt_1) + ')';
905
+ tmp_6 = 'serialization.serialize(response.body, ' + $this.c1z(tmp0_safe_receiver.fq_1) + ')';
905
906
  }
906
907
  var tmp1_elvis_lhs = tmp_6;
907
- return trimMargin('\n |case ' + tmp + '.Response' + _this__u8e3s4.rt_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.sv(1) + ')\n ');
908
+ return trimMargin('\n |case ' + tmp + '.Response' + _this__u8e3s4.gq_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.hs(1) + ')\n ');
908
909
  }
909
910
  function emitSerializedParams($this, _this__u8e3s4, type, fields) {
910
- return '"' + _this__u8e3s4.bt_1.m1() + '": serialization.serialize_param(' + type + '.' + fields + '.' + $this.yu(_this__u8e3s4.bt_1) + ', ' + $this.l22(_this__u8e3s4.ct_1) + ')';
911
+ return '"' + _this__u8e3s4.qp_1.l1() + '": serialization.serialize_param(' + type + '.' + fields + '.' + $this.nr(_this__u8e3s4.qp_1) + ', ' + $this.c1z(_this__u8e3s4.rp_1) + ')';
911
912
  }
912
913
  function emitObject($this, _this__u8e3s4, name, extends_0, spaces, block) {
913
914
  var tmp;
914
915
  if (_this__u8e3s4.r()) {
915
- tmp = trimMargin('\n |' + Spacer_instance.sv(spaces) + '@dataclass\n |' + Spacer_instance.sv(spaces) + 'class ' + name + ' (' + extends_0 + '): pass\n ');
916
+ tmp = trimMargin('\n |' + Spacer_instance.hs(spaces) + '@dataclass\n |' + Spacer_instance.hs(spaces) + 'class ' + name + ' (' + extends_0 + '): pass\n ');
916
917
  } else {
917
- var tmp_0 = Spacer_instance.sv(spaces);
918
- var tmp_1 = Spacer_instance.sv(spaces);
918
+ var tmp_0 = Spacer_instance.hs(spaces);
919
+ var tmp_1 = Spacer_instance.hs(spaces);
919
920
  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
921
  }
921
922
  return tmp;
@@ -925,21 +926,21 @@ function emitObject$default($this, _this__u8e3s4, name, extends_0, spaces, block
925
926
  return emitObject($this, _this__u8e3s4, name, extends_0, spaces, block);
926
927
  }
927
928
  function emit_17($this, _this__u8e3s4) {
928
- return $this.yu(_this__u8e3s4.mt_1) + ': ' + $this.yt(_this__u8e3s4.nt_1);
929
+ return $this.nr(_this__u8e3s4.bq_1) + ': ' + $this.nq(_this__u8e3s4.cq_1);
929
930
  }
930
931
  function emit_18($this, _this__u8e3s4) {
931
- var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.qt_1;
932
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.yt(tmp1_safe_receiver);
932
+ var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.fq_1;
933
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.nq(tmp1_safe_receiver);
933
934
  return tmp2_elvis_lhs == null ? 'None' : tmp2_elvis_lhs;
934
935
  }
935
936
  function PythonEndpointDefinitionEmitter$emit$lambda(this$0) {
936
937
  return function (it) {
937
- return this$0.m22(it);
938
+ return this$0.d1z(it);
938
939
  };
939
940
  }
940
941
  function PythonEndpointDefinitionEmitter$emit$lambda_0(this$0, $endpoint) {
941
942
  return function (it) {
942
- return this$0.k22(it, $endpoint);
943
+ return this$0.b1z(it, $endpoint);
943
944
  };
944
945
  }
945
946
  function PythonEndpointDefinitionEmitter$emit$lambda_1(this$0) {
@@ -949,12 +950,12 @@ function PythonEndpointDefinitionEmitter$emit$lambda_1(this$0) {
949
950
  }
950
951
  function PythonEndpointDefinitionEmitter$emit$lambda_2(this$0) {
951
952
  return function (it) {
952
- return this$0.xt(it);
953
+ return this$0.mq(it);
953
954
  };
954
955
  }
955
956
  function PythonEndpointDefinitionEmitter$emit$lambda_3(this$0) {
956
957
  return function (it) {
957
- return this$0.xt(it);
958
+ return this$0.mq(it);
958
959
  };
959
960
  }
960
961
  function PythonEndpointDefinitionEmitter$emit$lambda_4(this$0) {
@@ -966,10 +967,10 @@ function PythonEndpointDefinitionEmitter$emitToRawRequest$lambda(this$0) {
966
967
  return function (it) {
967
968
  var tmp;
968
969
  if (it instanceof Literal) {
969
- tmp = '"' + it.iu_1 + '"';
970
+ tmp = '"' + it.xq_1 + '"';
970
971
  } else {
971
972
  if (it instanceof Param) {
972
- tmp = 'str(request.path.' + this$0.yu(it.mt_1) + ')';
973
+ tmp = 'str(request.path.' + this$0.nr(it.bq_1) + ')';
973
974
  } else {
974
975
  noWhenBranchMatchedException();
975
976
  }
@@ -1003,7 +1004,7 @@ function PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_1(this$0)
1003
1004
  };
1004
1005
  }
1005
1006
  function PythonEndpointDefinitionEmitter$emitResponseUnion$lambda(it) {
1006
- return 'Response' + it.rt_1;
1007
+ return 'Response' + it.gq_1;
1007
1008
  }
1008
1009
  function PythonEndpointDefinitionEmitter$emitAssignSelf$lambda(this$0) {
1009
1010
  return function (it) {
@@ -1027,7 +1028,7 @@ function PythonEndpointDefinitionEmitter$emitAssignSelf$lambda_2(this$0) {
1027
1028
  }
1028
1029
  function PythonEndpointDefinitionEmitter$emit$lambda_5(this$0) {
1029
1030
  return function (it) {
1030
- return this$0.xt(it);
1031
+ return this$0.mq(it);
1031
1032
  };
1032
1033
  }
1033
1034
  function PythonEndpointDefinitionEmitter$emit$lambda_6(this$0) {
@@ -1057,7 +1058,7 @@ function PythonEndpointDefinitionEmitter$emitSerialized$lambda(this$0) {
1057
1058
  }
1058
1059
  function PythonEndpointDefinitionEmitter$emitObject$lambda($spaces, $block) {
1059
1060
  return function (it) {
1060
- return Spacer_instance.sv($spaces + 2 | 0) + $block(it);
1061
+ return Spacer_instance.hs($spaces + 2 | 0) + $block(it);
1061
1062
  };
1062
1063
  }
1063
1064
  function PythonEndpointDefinitionEmitter() {
@@ -1086,14 +1087,14 @@ function sanitizeEnum($this, _this__u8e3s4) {
1086
1087
  }
1087
1088
  function PythonEnumDefinitionEmitter$emit$lambda(this$0) {
1088
1089
  return function (it) {
1089
- return Spacer_instance.toString() + this$0.t20(sanitizeEnum(this$0, it)) + ' = "' + it + '"';
1090
+ return Spacer_instance.toString() + this$0.k1x(sanitizeEnum(this$0, it)) + ' = "' + it + '"';
1090
1091
  };
1091
1092
  }
1092
1093
  function PythonEnumDefinitionEmitter() {
1093
1094
  }
1094
1095
  function Companion() {
1095
1096
  Companion_instance_2 = this;
1096
- this.n22_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
+ this.e1z_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
1098
  }
1098
1099
  var Companion_instance_2;
1099
1100
  function Companion_getInstance_0() {
@@ -1104,15 +1105,15 @@ function Companion_getInstance_0() {
1104
1105
  function PythonIdentifierEmitter() {
1105
1106
  }
1106
1107
  function _get_sanitizationConfig__sns434($this) {
1107
- var tmp0 = $this.s22_1;
1108
+ var tmp0 = $this.j1z_1;
1108
1109
  var tmp = KProperty1;
1109
1110
  // Inline function 'kotlin.getValue' call
1110
1111
  getPropertyCallableRef('sanitizationConfig', 1, tmp, PythonIrEmitter$_get_sanitizationConfig_$ref_1q5eai(), null);
1111
- return tmp0.m1();
1112
+ return tmp0.l1();
1112
1113
  }
1113
1114
  function sanitize_0($this, _this__u8e3s4) {
1114
1115
  // Inline function 'kotlin.collections.mapIndexed' call
1115
- var this_0 = split(_this__u8e3s4.m1(), ['.', ' ']);
1116
+ var this_0 = split(_this__u8e3s4.l1(), ['.', ' ']);
1116
1117
  // Inline function 'kotlin.collections.mapIndexedTo' call
1117
1118
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1118
1119
  var index = 0;
@@ -1121,8 +1122,8 @@ function sanitize_0($this, _this__u8e3s4) {
1121
1122
  var item = _iterator__ex2g4s.v();
1122
1123
  var _unary__edvuaz = index;
1123
1124
  index = _unary__edvuaz + 1 | 0;
1124
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.pu(item) : item;
1125
- destination.y(tmp$ret$0);
1125
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.er(item) : item;
1126
+ destination.x(tmp$ret$0);
1126
1127
  }
1127
1128
  // Inline function 'kotlin.text.filter' call
1128
1129
  var tmp0 = joinToString(destination, '');
@@ -1167,7 +1168,7 @@ function sanitize_0($this, _this__u8e3s4) {
1167
1168
  return tmp_2;
1168
1169
  }
1169
1170
  function sanitizeKeywords_0($this, _this__u8e3s4) {
1170
- return Companion_getInstance_1().u22_1.v1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1171
+ return Companion_getInstance_1().l1z_1.u1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1171
1172
  }
1172
1173
  function sanitizeEnum_0($this, _this__u8e3s4) {
1173
1174
  // Inline function 'kotlin.let' call
@@ -1193,7 +1194,7 @@ function buildImports($this, wirespecPath) {
1193
1194
  }
1194
1195
  function Companion_0() {
1195
1196
  Companion_instance_3 = this;
1196
- this.u22_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
+ this.l1z_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
1198
  }
1198
1199
  var Companion_instance_3;
1199
1200
  function Companion_getInstance_1() {
@@ -1202,23 +1203,23 @@ function Companion_getInstance_1() {
1202
1203
  return Companion_instance_3;
1203
1204
  }
1204
1205
  function sam$kotlin_Comparator$0_0(function_0) {
1205
- this.v22_1 = function_0;
1206
+ this.m1z_1 = function_0;
1206
1207
  }
1207
- protoOf(sam$kotlin_Comparator$0_0).ud = function (a, b) {
1208
- return this.v22_1(a, b);
1208
+ protoOf(sam$kotlin_Comparator$0_0).td = function (a, b) {
1209
+ return this.m1z_1(a, b);
1209
1210
  };
1210
1211
  protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
1211
- return this.ud(a, b);
1212
+ return this.td(a, b);
1212
1213
  };
1213
- protoOf(sam$kotlin_Comparator$0_0).m3 = function () {
1214
- return this.v22_1;
1214
+ protoOf(sam$kotlin_Comparator$0_0).l3 = function () {
1215
+ return this.m1z_1;
1215
1216
  };
1216
1217
  protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
1217
1218
  var tmp;
1218
1219
  if (!(other == null) ? isInterface(other, Comparator) : false) {
1219
1220
  var tmp_0;
1220
1221
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1221
- tmp_0 = equals(this.m3(), other.m3());
1222
+ tmp_0 = equals(this.l3(), other.l3());
1222
1223
  } else {
1223
1224
  tmp_0 = false;
1224
1225
  }
@@ -1229,17 +1230,17 @@ protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
1229
1230
  return tmp;
1230
1231
  };
1231
1232
  protoOf(sam$kotlin_Comparator$0_0).hashCode = function () {
1232
- return hashCode(this.m3());
1233
+ return hashCode(this.l3());
1233
1234
  };
1234
1235
  function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda(it) {
1235
1236
  return '_' + it;
1236
1237
  }
1237
1238
  function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_0(name) {
1238
- var sanitized = name.w1k_1.b1() > 1 ? name.b1q() : name.u1m();
1239
+ var sanitized = name.l1h_1.a1() > 1 ? name.q1m() : name.j1j();
1239
1240
  return new Name(listOf_0(sanitized));
1240
1241
  }
1241
1242
  function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_1(name) {
1242
- return new Name(listOf_0(name.b1q()));
1243
+ return new Name(listOf_0(name.q1m()));
1243
1244
  }
1244
1245
  function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_2(it) {
1245
1246
  return it;
@@ -1248,21 +1249,21 @@ function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
1248
1249
  return function (stmt, tr) {
1249
1250
  var tmp;
1250
1251
  if (stmt instanceof ConstructorStatement) {
1251
- var tmp_0 = tr.j1y(stmt.d1r_1);
1252
+ var tmp_0 = tr.y1u(stmt.s1n_1);
1252
1253
  // Inline function 'kotlin.collections.map' call
1253
- var this_0 = stmt.e1r_1;
1254
+ var this_0 = stmt.t1n_1;
1254
1255
  // Inline function 'kotlin.collections.mapTo' call
1255
- var destination = ArrayList_init_$Create$_0(this_0.b1());
1256
+ var destination = ArrayList_init_$Create$_0(this_0.a1());
1256
1257
  // Inline function 'kotlin.collections.iterator' call
1257
- var _iterator__ex2g4s = this_0.k1().t();
1258
+ var _iterator__ex2g4s = this_0.j1().t();
1258
1259
  while (_iterator__ex2g4s.u()) {
1259
1260
  var item = _iterator__ex2g4s.v();
1260
1261
  // Inline function 'kotlin.collections.component1' call
1261
- var k = item.l1();
1262
+ var k = item.k1();
1262
1263
  // Inline function 'kotlin.collections.component2' call
1263
- var v = item.m1();
1264
- var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), k), tr.m1y(v));
1265
- destination.y(tmp$ret$3);
1264
+ var v = item.l1();
1265
+ var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), k), tr.b1v(v));
1266
+ destination.x(tmp$ret$3);
1266
1267
  }
1267
1268
  tmp = new ConstructorStatement(tmp_0, toMap(destination));
1268
1269
  } else {
@@ -1273,7 +1274,7 @@ function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
1273
1274
  }
1274
1275
  function PythonIrEmitter$sanitizationConfig$delegate$lambda(this$0) {
1275
1276
  return function () {
1276
- var tmp = Companion_getInstance_1().u22_1;
1277
+ var tmp = Companion_getInstance_1().l1z_1;
1277
1278
  var tmp_0 = PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda;
1278
1279
  var tmp_1 = PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_0;
1279
1280
  var tmp_2 = PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_1;
@@ -1293,7 +1294,7 @@ function PythonIrEmitter$emit$lambda(a, b) {
1293
1294
  return compareValues(tmp, tmp$ret$1);
1294
1295
  }
1295
1296
  function emit$emitInitImport(this$0, def) {
1296
- return import_0('.' + sanitize_0(this$0, def.xu()), sanitize_0(this$0, def.xu()));
1297
+ return import_0('.' + sanitize_0(this$0, def.mr()), sanitize_0(this$0, def.mr()));
1297
1298
  }
1298
1299
  function PythonIrEmitter$emitGenerator$lambda(it) {
1299
1300
  return startsWith(it, 'Wirespec.') || it === 'Wirespec';
@@ -1312,17 +1313,17 @@ function PythonIrEmitter$emitGenerator$lambda_2($generatorOwnName, $generatorRef
1312
1313
  var tmp_0;
1313
1314
  var tmp_1;
1314
1315
  if (expr instanceof RawExpression) {
1315
- tmp_1 = endsWith(expr.x1s_1, 'Generator');
1316
+ tmp_1 = endsWith(expr.m1p_1, 'Generator');
1316
1317
  } else {
1317
1318
  tmp_1 = false;
1318
1319
  }
1319
1320
  if (tmp_1) {
1320
- tmp_0 = !(expr.x1s_1 === $generatorOwnName);
1321
+ tmp_0 = !(expr.m1p_1 === $generatorOwnName);
1321
1322
  } else {
1322
1323
  tmp_0 = false;
1323
1324
  }
1324
1325
  if (tmp_0) {
1325
- $generatorRefs.y(expr.x1s_1);
1326
+ $generatorRefs.x(expr.m1p_1);
1326
1327
  tmp = Unit_instance;
1327
1328
  }
1328
1329
  return transformChildren_0(expr, t);
@@ -1335,43 +1336,43 @@ function PythonIrEmitter$emit$lambda_0(this$0) {
1335
1336
  }
1336
1337
  function PythonIrEmitter(packageName, emitShared) {
1337
1338
  Companion_getInstance_1();
1338
- packageName = packageName === VOID ? Companion_instance.nv('community.flock.wirespec.generated') : packageName;
1339
- emitShared = emitShared === VOID ? Companion_instance_0.hs() : emitShared;
1340
- this.o22_1 = packageName;
1341
- this.p22_1 = emitShared;
1342
- this.q22_1 = PythonGenerator_instance;
1343
- this.r22_1 = FileExtension_Python_getInstance();
1339
+ packageName = packageName === VOID ? Companion_instance.cs('community.flock.wirespec.generated') : packageName;
1340
+ emitShared = emitShared === VOID ? Companion_instance_0.wo() : emitShared;
1341
+ this.f1z_1 = packageName;
1342
+ this.g1z_1 = emitShared;
1343
+ this.h1z_1 = PythonGenerator_instance;
1344
+ this.i1z_1 = FileExtension_Python_getInstance();
1344
1345
  var tmp = this;
1345
- tmp.s22_1 = lazy(PythonIrEmitter$sanitizationConfig$delegate$lambda(this));
1346
- this.t22_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";
1346
+ tmp.j1z_1 = lazy(PythonIrEmitter$sanitizationConfig$delegate$lambda(this));
1347
+ this.k1z_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
1348
  }
1348
- protoOf(PythonIrEmitter).e1z = function () {
1349
- return this.q22_1;
1349
+ protoOf(PythonIrEmitter).t1v = function () {
1350
+ return this.h1z_1;
1350
1351
  };
1351
- protoOf(PythonIrEmitter).fu = function () {
1352
- return this.r22_1;
1352
+ protoOf(PythonIrEmitter).uq = function () {
1353
+ return this.i1z_1;
1353
1354
  };
1354
- protoOf(PythonIrEmitter).h1z = function () {
1355
- var source = replaceReflectInNonGenericStructFields(convert(Companion_instance.nv('shared')));
1355
+ protoOf(PythonIrEmitter).x1v = function () {
1356
+ var source = replaceReflectInNonGenericStructFields(convert(Companion_instance.cs('shared')));
1356
1357
  var tmp;
1357
- if (this.p22_1.is_1) {
1358
- tmp = new File(Companion_getInstance().y1k(this.o22_1.qv() + 'wirespec'), listOf_0(raw(this.t22_1 + PythonGenerator_instance.f1z(source))));
1358
+ if (this.g1z_1.xo_1) {
1359
+ tmp = new File(Companion_getInstance().n1h(this.f1z_1.fs() + 'wirespec'), listOf_0(raw(this.k1z_1 + PythonGenerator_instance.u1v(source))));
1359
1360
  } else {
1360
1361
  tmp = null;
1361
1362
  }
1362
1363
  return tmp;
1363
1364
  };
1364
- protoOf(PythonIrEmitter).g1z = function (module_0, logger) {
1365
+ protoOf(PythonIrEmitter).w1v = function (module_0, logger) {
1365
1366
  // Inline function 'kotlin.collections.sortedBy' call
1366
- var this_0 = new NonEmptyList(module_0.eu_1);
1367
+ var this_0 = new NonEmptyList(module_0.tq_1);
1367
1368
  // Inline function 'kotlin.comparisons.compareBy' call
1368
1369
  var tmp = PythonIrEmitter$emit$lambda;
1369
1370
  var tmp$ret$0 = new sam$kotlin_Comparator$0_0(tmp);
1370
1371
  var tmp$ret$1 = sortedWith(this_0, tmp$ret$0);
1371
1372
  var tmp_0 = toNonEmptyListOrNull(tmp$ret$1);
1372
- var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).zp_1;
1373
- var emitted = emit.call(this, module_0.xy(VOID, statements), logger);
1374
- var tmp0 = new NonEmptyList(module_0.eu_1);
1373
+ var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).om_1;
1374
+ var emitted = emit.call(this, module_0.mv(VOID, statements), logger);
1375
+ var tmp0 = new NonEmptyList(module_0.tq_1);
1375
1376
  var tmp$ret$2;
1376
1377
  $l$block_0: {
1377
1378
  // Inline function 'kotlin.collections.any' call
@@ -1396,29 +1397,29 @@ protoOf(PythonIrEmitter).g1z = function (module_0, logger) {
1396
1397
  tmp$ret$2 = false;
1397
1398
  }
1398
1399
  var hasEndpoints = tmp$ret$2;
1399
- var tmp_2 = Companion_getInstance().y1k(this.o22_1.qv() + '__init__');
1400
+ var tmp_2 = Companion_getInstance().n1h(this.f1z_1.fs() + '__init__');
1400
1401
  // Inline function 'kotlin.collections.buildList' call
1401
1402
  // Inline function 'kotlin.collections.buildListInternal' call
1402
1403
  // Inline function 'kotlin.apply' call
1403
1404
  var this_1 = ArrayList_init_$Create$();
1404
- this_1.y(import_0('.', 'model'));
1405
- this_1.y(import_0('.', 'endpoint'));
1405
+ this_1.x(import_0('.', 'model'));
1406
+ this_1.x(import_0('.', 'endpoint'));
1406
1407
  if (hasEndpoints) {
1407
- this_1.y(import_0('.', 'client'));
1408
+ this_1.x(import_0('.', 'client'));
1408
1409
  }
1409
- this_1.y(import_0('.', 'wirespec'));
1410
- var tmp$ret$7 = this_1.p5();
1410
+ this_1.x(import_0('.', 'wirespec'));
1411
+ var tmp$ret$7 = this_1.o5();
1411
1412
  var init = new File(tmp_2, tmp$ret$7);
1412
- var tmp_3 = Companion_getInstance().y1k(this.o22_1.qv() + 'endpoint/' + '__init__');
1413
+ var tmp_3 = Companion_getInstance().n1h(this.f1z_1.fs() + 'endpoint/' + '__init__');
1413
1414
  // Inline function 'kotlin.collections.filterIsInstance' call
1414
- var tmp0_0 = new NonEmptyList(module_0.eu_1);
1415
+ var tmp0_0 = new NonEmptyList(module_0.tq_1);
1415
1416
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1416
1417
  var destination = ArrayList_init_$Create$();
1417
1418
  var _iterator__ex2g4s_0 = tmp0_0.t();
1418
1419
  while (_iterator__ex2g4s_0.u()) {
1419
1420
  var element_0 = _iterator__ex2g4s_0.v();
1420
1421
  if (element_0 instanceof Endpoint) {
1421
- destination.y(element_0);
1422
+ destination.x(element_0);
1422
1423
  }
1423
1424
  }
1424
1425
  // Inline function 'kotlin.collections.map' call
@@ -1428,19 +1429,19 @@ protoOf(PythonIrEmitter).g1z = function (module_0, logger) {
1428
1429
  while (_iterator__ex2g4s_1.u()) {
1429
1430
  var item = _iterator__ex2g4s_1.v();
1430
1431
  var tmp$ret$10 = emit$emitInitImport(this, item);
1431
- destination_0.y(tmp$ret$10);
1432
+ destination_0.x(tmp$ret$10);
1432
1433
  }
1433
1434
  var initEndpoint = new File(tmp_3, destination_0);
1434
- var tmp_4 = Companion_getInstance().y1k(this.o22_1.qv() + 'model/' + '__init__');
1435
+ var tmp_4 = Companion_getInstance().n1h(this.f1z_1.fs() + 'model/' + '__init__');
1435
1436
  // Inline function 'kotlin.collections.filterIsInstance' call
1436
- var tmp0_1 = new NonEmptyList(module_0.eu_1);
1437
+ var tmp0_1 = new NonEmptyList(module_0.tq_1);
1437
1438
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1438
1439
  var destination_1 = ArrayList_init_$Create$();
1439
1440
  var _iterator__ex2g4s_2 = tmp0_1.t();
1440
1441
  while (_iterator__ex2g4s_2.u()) {
1441
1442
  var element_1 = _iterator__ex2g4s_2.v();
1442
1443
  if (!(element_1 == null) ? isInterface(element_1, Model) : false) {
1443
- destination_1.y(element_1);
1444
+ destination_1.x(element_1);
1444
1445
  }
1445
1446
  }
1446
1447
  // Inline function 'kotlin.collections.map' call
@@ -1450,11 +1451,11 @@ protoOf(PythonIrEmitter).g1z = function (module_0, logger) {
1450
1451
  while (_iterator__ex2g4s_3.u()) {
1451
1452
  var item_0 = _iterator__ex2g4s_3.v();
1452
1453
  var tmp$ret$15 = emit$emitInitImport(this, item_0);
1453
- destination_2.y(tmp$ret$15);
1454
+ destination_2.x(tmp$ret$15);
1454
1455
  }
1455
1456
  var initModel = new File(tmp_4, destination_2);
1456
- var initClient = hasEndpoints ? listOf_0(new File(Companion_getInstance().y1k(this.o22_1.qv() + 'client/' + '__init__'), emptyList())) : emptyList();
1457
- var tmp0_2 = dropLast(split(this.o22_1.ov_1, ['.']), 1);
1457
+ var initClient = hasEndpoints ? listOf_0(new File(Companion_getInstance().n1h(this.f1z_1.fs() + 'client/' + '__init__'), emptyList())) : emptyList();
1458
+ var tmp0_2 = dropLast(split(this.f1z_1.ds_1, ['.']), 1);
1458
1459
  var tmp$ret$18;
1459
1460
  $l$block_1: {
1460
1461
  // Inline function 'kotlin.collections.runningFold' call
@@ -1465,7 +1466,7 @@ protoOf(PythonIrEmitter).g1z = function (module_0, logger) {
1465
1466
  }
1466
1467
  // Inline function 'kotlin.apply' call
1467
1468
  var this_2 = ArrayList_init_$Create$_0(estimatedSize + 1 | 0);
1468
- this_2.y('');
1469
+ this_2.x('');
1469
1470
  var result = this_2;
1470
1471
  var accumulator = '';
1471
1472
  var _iterator__ex2g4s_4 = tmp0_2.t();
@@ -1480,7 +1481,7 @@ protoOf(PythonIrEmitter).g1z = function (module_0, logger) {
1480
1481
  tmp_5 = acc + '/' + element_2;
1481
1482
  }
1482
1483
  accumulator = tmp_5;
1483
- result.y(accumulator);
1484
+ result.x(accumulator);
1484
1485
  }
1485
1486
  tmp$ret$18 = result;
1486
1487
  }
@@ -1491,17 +1492,17 @@ protoOf(PythonIrEmitter).g1z = function (module_0, logger) {
1491
1492
  var _iterator__ex2g4s_5 = this_3.t();
1492
1493
  while (_iterator__ex2g4s_5.u()) {
1493
1494
  var item_1 = _iterator__ex2g4s_5.v();
1494
- var tmp$ret$23 = new File(Companion_getInstance().y1k(item_1 + '/__init__'), emptyList());
1495
- destination_3.y(tmp$ret$23);
1495
+ var tmp$ret$23 = new File(Companion_getInstance().n1h(item_1 + '/__init__'), emptyList());
1496
+ destination_3.x(tmp$ret$23);
1496
1497
  }
1497
1498
  var parentInits = destination_3;
1498
- return this.p22_1.is_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
+ return this.g1z_1.xo_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
1500
  };
1500
- protoOf(PythonIrEmitter).wu = function (definition, module_0, logger) {
1501
+ protoOf(PythonIrEmitter).lr = function (definition, module_0, logger) {
1501
1502
  var file = emit_0.call(this, definition, module_0, logger);
1502
- return placeInModule(prependImports(file, buildImports(this, '..wirespec')), this.o22_1, definition);
1503
+ return placeInModule(prependImports(file, buildImports(this, '..wirespec')), this.f1z_1, definition);
1503
1504
  };
1504
- protoOf(PythonIrEmitter).l1z = function (definition, module_0) {
1505
+ protoOf(PythonIrEmitter).c1w = function (definition, module_0) {
1505
1506
  var tmp;
1506
1507
  if (definition instanceof Type) {
1507
1508
  tmp = convertToGenerator_2(definition, module_0);
@@ -1522,7 +1523,7 @@ protoOf(PythonIrEmitter).l1z = function (definition, module_0) {
1522
1523
  }
1523
1524
  var generatorFile = tmp;
1524
1525
  var sanitized = sanitizeNames(generatorFile, _get_sanitizationConfig__sns434(this));
1525
- var generatorOwnName = definition.xu().m1() + 'Generator';
1526
+ var generatorOwnName = definition.mr().l1() + 'Generator';
1526
1527
  var tmp_0 = asSequence(collectCustomTypeNames(sanitized));
1527
1528
  var tmp_1 = filterNot(tmp_0, PythonIrEmitter$emitGenerator$lambda);
1528
1529
  var tmp_2 = filterNot(tmp_1, PythonIrEmitter$emitGenerator$lambda_0(generatorOwnName));
@@ -1531,8 +1532,8 @@ protoOf(PythonIrEmitter).l1z = function (definition, module_0) {
1531
1532
  var generatorRefs = LinkedHashSet_init_$Create$();
1532
1533
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1533
1534
  var scope = new TransformScope(sanitized);
1534
- scope.z1y(PythonIrEmitter$emitGenerator$lambda_2(generatorOwnName, generatorRefs));
1535
- var tmp_3 = scope.r1y_1;
1535
+ scope.o1v(PythonIrEmitter$emitGenerator$lambda_2(generatorOwnName, generatorRefs));
1536
+ var tmp_3 = scope.g1v_1;
1536
1537
  isInterface(tmp_3, Element) || THROW_CCE();
1537
1538
  // Inline function 'kotlin.collections.filter' call
1538
1539
  // Inline function 'kotlin.collections.filterTo' call
@@ -1541,7 +1542,7 @@ protoOf(PythonIrEmitter).l1z = function (definition, module_0) {
1541
1542
  while (_iterator__ex2g4s.u()) {
1542
1543
  var element = _iterator__ex2g4s.v();
1543
1544
  if (endsWith(element, 'Generator')) {
1544
- destination.y(element);
1545
+ destination.x(element);
1545
1546
  }
1546
1547
  }
1547
1548
  // Inline function 'kotlin.collections.map' call
@@ -1552,7 +1553,7 @@ protoOf(PythonIrEmitter).l1z = function (definition, module_0) {
1552
1553
  while (_iterator__ex2g4s_0.u()) {
1553
1554
  var item = _iterator__ex2g4s_0.v();
1554
1555
  var tmp$ret$6 = import_0('.' + item, item);
1555
- destination_0.y(tmp$ret$6);
1556
+ destination_0.x(tmp$ret$6);
1556
1557
  }
1557
1558
  var generatorImports = destination_0;
1558
1559
  // Inline function 'kotlin.collections.filterNot' call
@@ -1562,7 +1563,7 @@ protoOf(PythonIrEmitter).l1z = function (definition, module_0) {
1562
1563
  while (_iterator__ex2g4s_1.u()) {
1563
1564
  var element_0 = _iterator__ex2g4s_1.v();
1564
1565
  if (!endsWith(element_0, 'Generator')) {
1565
- destination_1.y(element_0);
1566
+ destination_1.x(element_0);
1566
1567
  }
1567
1568
  }
1568
1569
  // Inline function 'kotlin.collections.map' call
@@ -1572,12 +1573,12 @@ protoOf(PythonIrEmitter).l1z = function (definition, module_0) {
1572
1573
  while (_iterator__ex2g4s_2.u()) {
1573
1574
  var item_0 = _iterator__ex2g4s_2.v();
1574
1575
  var tmp$ret$12 = import_0('..model.' + item_0, item_0);
1575
- destination_2.y(tmp$ret$12);
1576
+ destination_2.x(tmp$ret$12);
1576
1577
  }
1577
1578
  var modelImports = destination_2;
1578
- return placeInModule_0(prependImports(sanitized, plus(plus(buildImports(this, '..wirespec'), modelImports), generatorImports)), this.o22_1, 'generator');
1579
+ return placeInModule_0(prependImports(sanitized, plus(plus(buildImports(this, '..wirespec'), modelImports), generatorImports)), this.f1z_1, 'generator');
1579
1580
  };
1580
- protoOf(PythonIrEmitter).vt = function (type, module_0) {
1581
+ protoOf(PythonIrEmitter).kq = function (type, module_0) {
1581
1582
  // Inline function 'kotlin.collections.distinctBy' call
1582
1583
  var this_0 = importReferences(type);
1583
1584
  var set = HashSet_init_$Create$();
@@ -1585,9 +1586,9 @@ protoOf(PythonIrEmitter).vt = function (type, module_0) {
1585
1586
  var _iterator__ex2g4s = this_0.t();
1586
1587
  while (_iterator__ex2g4s.u()) {
1587
1588
  var e = _iterator__ex2g4s.v();
1588
- var key = e.my_1;
1589
- if (set.y(key)) {
1590
- list.y(e);
1589
+ var key = e.bv_1;
1590
+ if (set.x(key)) {
1591
+ list.x(e);
1591
1592
  }
1592
1593
  }
1593
1594
  // Inline function 'kotlin.collections.map' call
@@ -1596,19 +1597,19 @@ protoOf(PythonIrEmitter).vt = function (type, module_0) {
1596
1597
  var _iterator__ex2g4s_0 = list.t();
1597
1598
  while (_iterator__ex2g4s_0.u()) {
1598
1599
  var item = _iterator__ex2g4s_0.v();
1599
- var tmp$ret$2 = import_0('.' + item.my_1, item.my_1);
1600
- destination.y(tmp$ret$2);
1600
+ var tmp$ret$2 = import_0('.' + item.bv_1, item.bv_1);
1601
+ destination.x(tmp$ret$2);
1601
1602
  }
1602
1603
  var typeImports = destination;
1603
1604
  // Inline function 'kotlin.collections.map' call
1604
- var this_1 = type.xs_1.ts_1;
1605
+ var this_1 = type.mp_1.ip_1;
1605
1606
  // Inline function 'kotlin.collections.mapTo' call
1606
1607
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
1607
1608
  var _iterator__ex2g4s_1 = this_1.t();
1608
1609
  while (_iterator__ex2g4s_1.u()) {
1609
1610
  var item_0 = _iterator__ex2g4s_1.v();
1610
- var tmp$ret$5 = item_0.bt_1.m1();
1611
- destination_0.y(tmp$ret$5);
1611
+ var tmp$ret$5 = item_0.qp_1.l1();
1612
+ destination_0.x(tmp$ret$5);
1612
1613
  }
1613
1614
  var fieldNames = toSet(destination_0);
1614
1615
  var tmp = sanitizeNames(injectSelfReceiverToValidate(convertWithValidation(type, module_0), fieldNames), _get_sanitizationConfig__sns434(this));
@@ -1623,17 +1624,17 @@ protoOf(PythonIrEmitter).vt = function (type, module_0) {
1623
1624
  var tmp$ret$10 = tmp_0;
1624
1625
  return prependImports(tmp, tmp$ret$10);
1625
1626
  };
1626
- protoOf(PythonIrEmitter).kv = function (enum_0, module_0) {
1627
+ protoOf(PythonIrEmitter).zr = function (enum_0, module_0) {
1627
1628
  var tmp = convert_0(enum_0);
1628
1629
  return sanitizeNames(sanitizeEnumEntries(tmp, PythonIrEmitter$emit$lambda_0(this)), _get_sanitizationConfig__sns434(this));
1629
1630
  };
1630
- protoOf(PythonIrEmitter).av = function (union) {
1631
+ protoOf(PythonIrEmitter).pr = function (union) {
1631
1632
  return sanitizeNames(convert_1(union), _get_sanitizationConfig__sns434(this));
1632
1633
  };
1633
- protoOf(PythonIrEmitter).fv = function (refined) {
1634
+ protoOf(PythonIrEmitter).ur = function (refined) {
1634
1635
  return sanitizeNames(replaceRefinedFunctions(convert_2(refined), refined), _get_sanitizationConfig__sns434(this));
1635
1636
  };
1636
- protoOf(PythonIrEmitter).lv = function (endpoint) {
1637
+ protoOf(PythonIrEmitter).as = function (endpoint) {
1637
1638
  // Inline function 'kotlin.collections.distinctBy' call
1638
1639
  var this_0 = importReferences(endpoint);
1639
1640
  var set = HashSet_init_$Create$();
@@ -1641,9 +1642,9 @@ protoOf(PythonIrEmitter).lv = function (endpoint) {
1641
1642
  var _iterator__ex2g4s = this_0.t();
1642
1643
  while (_iterator__ex2g4s.u()) {
1643
1644
  var e = _iterator__ex2g4s.v();
1644
- var key = e.my_1;
1645
- if (set.y(key)) {
1646
- list.y(e);
1645
+ var key = e.bv_1;
1646
+ if (set.x(key)) {
1647
+ list.x(e);
1647
1648
  }
1648
1649
  }
1649
1650
  // Inline function 'kotlin.collections.map' call
@@ -1652,19 +1653,19 @@ protoOf(PythonIrEmitter).lv = function (endpoint) {
1652
1653
  var _iterator__ex2g4s_0 = list.t();
1653
1654
  while (_iterator__ex2g4s_0.u()) {
1654
1655
  var item = _iterator__ex2g4s_0.v();
1655
- var tmp$ret$2 = import_0('..model.' + item.my_1, item.my_1);
1656
- destination.y(tmp$ret$2);
1656
+ var tmp$ret$2 = import_0('..model.' + item.bv_1, item.bv_1);
1657
+ destination.x(tmp$ret$2);
1657
1658
  }
1658
1659
  var endpointImports = destination;
1659
1660
  // Inline function 'kotlin.let' call
1660
1661
  var it = splitEndpointStructsToModuleLevel(convert_3(endpoint));
1661
- var tmp$ret$6 = it.k1r(VOID, plus(endpointImports, it.h1r_1));
1662
+ var tmp$ret$6 = it.z1n(VOID, plus(endpointImports, it.w1n_1));
1662
1663
  return sanitizeNames(snakeCaseHandlerAndCallMethods(tmp$ret$6), _get_sanitizationConfig__sns434(this));
1663
1664
  };
1664
- protoOf(PythonIrEmitter).zu = function (channel) {
1665
+ protoOf(PythonIrEmitter).or = function (channel) {
1665
1666
  return sanitizeNames(convert_4(channel), _get_sanitizationConfig__sns434(this));
1666
1667
  };
1667
- protoOf(PythonIrEmitter).k1z = function (endpoint) {
1668
+ protoOf(PythonIrEmitter).b1w = function (endpoint) {
1668
1669
  // Inline function 'kotlin.collections.distinctBy' call
1669
1670
  var this_0 = importReferences(endpoint);
1670
1671
  var set = HashSet_init_$Create$();
@@ -1672,9 +1673,9 @@ protoOf(PythonIrEmitter).k1z = function (endpoint) {
1672
1673
  var _iterator__ex2g4s = this_0.t();
1673
1674
  while (_iterator__ex2g4s.u()) {
1674
1675
  var e = _iterator__ex2g4s.v();
1675
- var key = e.my_1;
1676
- if (set.y(key)) {
1677
- list.y(e);
1676
+ var key = e.bv_1;
1677
+ if (set.x(key)) {
1678
+ list.x(e);
1678
1679
  }
1679
1680
  }
1680
1681
  // Inline function 'kotlin.collections.map' call
@@ -1683,17 +1684,17 @@ protoOf(PythonIrEmitter).k1z = function (endpoint) {
1683
1684
  var _iterator__ex2g4s_0 = list.t();
1684
1685
  while (_iterator__ex2g4s_0.u()) {
1685
1686
  var item = _iterator__ex2g4s_0.v();
1686
- var tmp$ret$2 = import_0('..model.' + item.my_1, item.my_1);
1687
- destination.y(tmp$ret$2);
1687
+ var tmp$ret$2 = import_0('..model.' + item.bv_1, item.bv_1);
1688
+ destination.x(tmp$ret$2);
1688
1689
  }
1689
1690
  var modelImports = destination;
1690
- var endpointImport = import_0('..endpoint.' + endpoint.ft_1.m1(), '*');
1691
- var endpointName = endpoint.ft_1.m1();
1691
+ var endpointImport = import_0('..endpoint.' + endpoint.up_1.l1(), '*');
1692
+ var endpointName = endpoint.up_1.l1();
1692
1693
  var file = flattenEndpointTypeRefs(snakeCaseClientFunctions(addSelfReceiverToClientFields(sanitizeNames(emitEndpointClient.call(this, endpoint), _get_sanitizationConfig__sns434(this)))), endpointName);
1693
- var subPackageName = plus_2(this.o22_1, 'client');
1694
- return new File(Companion_getInstance().y1k(subPackageName.qv() + file.g1r_1.z1k()), plus(plus(plus(buildImports(this, '..wirespec'), modelImports), listOf_0(endpointImport)), file.h1r_1));
1694
+ var subPackageName = plus_2(this.f1z_1, 'client');
1695
+ return new File(Companion_getInstance().n1h(subPackageName.fs() + file.v1n_1.o1h()), plus(plus(plus(buildImports(this, '..wirespec'), modelImports), listOf_0(endpointImport)), file.w1n_1));
1695
1696
  };
1696
- protoOf(PythonIrEmitter).i1z = function (endpoints, logger) {
1697
+ protoOf(PythonIrEmitter).y1v = function (endpoints, logger) {
1697
1698
  // Inline function 'kotlin.collections.flatMap' call
1698
1699
  // Inline function 'kotlin.collections.flatMapTo' call
1699
1700
  var destination = ArrayList_init_$Create$();
@@ -1709,9 +1710,9 @@ protoOf(PythonIrEmitter).i1z = function (endpoints, logger) {
1709
1710
  var _iterator__ex2g4s_0 = destination.t();
1710
1711
  while (_iterator__ex2g4s_0.u()) {
1711
1712
  var e = _iterator__ex2g4s_0.v();
1712
- var key = e.my_1;
1713
- if (set.y(key)) {
1714
- list_0.y(e);
1713
+ var key = e.bv_1;
1714
+ if (set.x(key)) {
1715
+ list_0.x(e);
1715
1716
  }
1716
1717
  }
1717
1718
  // Inline function 'kotlin.collections.map' call
@@ -1720,8 +1721,8 @@ protoOf(PythonIrEmitter).i1z = function (endpoints, logger) {
1720
1721
  var _iterator__ex2g4s_1 = list_0.t();
1721
1722
  while (_iterator__ex2g4s_1.u()) {
1722
1723
  var item = _iterator__ex2g4s_1.v();
1723
- var tmp$ret$5 = import_0('.model.' + item.my_1, item.my_1);
1724
- destination_0.y(tmp$ret$5);
1724
+ var tmp$ret$5 = import_0('.model.' + item.bv_1, item.bv_1);
1725
+ destination_0.x(tmp$ret$5);
1725
1726
  }
1726
1727
  var modelImports = destination_0;
1727
1728
  // Inline function 'kotlin.collections.map' call
@@ -1730,8 +1731,8 @@ protoOf(PythonIrEmitter).i1z = function (endpoints, logger) {
1730
1731
  var _iterator__ex2g4s_2 = endpoints.t();
1731
1732
  while (_iterator__ex2g4s_2.u()) {
1732
1733
  var item_0 = _iterator__ex2g4s_2.v();
1733
- var tmp$ret$8 = import_0('.endpoint.' + item_0.ft_1.m1(), '*');
1734
- destination_1.y(tmp$ret$8);
1734
+ var tmp$ret$8 = import_0('.endpoint.' + item_0.up_1.l1(), '*');
1735
+ destination_1.x(tmp$ret$8);
1735
1736
  }
1736
1737
  var endpointImports = destination_1;
1737
1738
  // Inline function 'kotlin.collections.map' call
@@ -1740,8 +1741,8 @@ protoOf(PythonIrEmitter).i1z = function (endpoints, logger) {
1740
1741
  var _iterator__ex2g4s_3 = endpoints.t();
1741
1742
  while (_iterator__ex2g4s_3.u()) {
1742
1743
  var item_1 = _iterator__ex2g4s_3.v();
1743
- var tmp$ret$11 = import_0('.client.' + item_1.ft_1.m1() + 'Client', item_1.ft_1.m1() + 'Client');
1744
- destination_2.y(tmp$ret$11);
1744
+ var tmp$ret$11 = import_0('.client.' + item_1.up_1.l1() + 'Client', item_1.up_1.l1() + 'Client');
1745
+ destination_2.x(tmp$ret$11);
1745
1746
  }
1746
1747
  var clientImports = destination_2;
1747
1748
  var allImports = plus(plus(modelImports, endpointImports), clientImports);
@@ -1751,8 +1752,8 @@ protoOf(PythonIrEmitter).i1z = function (endpoints, logger) {
1751
1752
  var _iterator__ex2g4s_4 = endpoints.t();
1752
1753
  while (_iterator__ex2g4s_4.u()) {
1753
1754
  var item_2 = _iterator__ex2g4s_4.v();
1754
- var tmp$ret$14 = item_2.ft_1.m1();
1755
- destination_3.y(tmp$ret$14);
1755
+ var tmp$ret$14 = item_2.up_1.l1();
1756
+ destination_3.x(tmp$ret$14);
1756
1757
  }
1757
1758
  var endpointNames = destination_3;
1758
1759
  // Inline function 'kotlin.let' call
@@ -1765,7 +1766,7 @@ protoOf(PythonIrEmitter).i1z = function (endpoints, logger) {
1765
1766
  accumulator = flattenEndpointTypeRefs(acc, element_0);
1766
1767
  }
1767
1768
  var file = accumulator;
1768
- return new File(Companion_getInstance().y1k(this.o22_1.qv() + file.g1r_1.z1k()), plus(plus(buildImports(this, '.wirespec'), allImports), file.h1r_1));
1769
+ return new File(Companion_getInstance().n1h(this.f1z_1.fs() + file.v1n_1.o1h()), plus(plus(buildImports(this, '.wirespec'), allImports), file.w1n_1));
1769
1770
  };
1770
1771
  function replaceReflectInNonGenericStructFields(_this__u8e3s4) {
1771
1772
  // Inline function 'community.flock.wirespec.ir.core.transform' call
@@ -1773,14 +1774,14 @@ function replaceReflectInNonGenericStructFields(_this__u8e3s4) {
1773
1774
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1774
1775
  var tmp = scope;
1775
1776
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1776
- var this_0 = scope.r1y_1;
1777
+ var this_0 = scope.g1v_1;
1777
1778
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1778
1779
  // Inline function 'kotlin.apply' call
1779
1780
  var this_1 = new TransformerBuilder();
1780
- this_1.i1m(replaceReflectInNonGenericStructFields$lambda);
1781
- var tmp$ret$2 = this_1.j1m();
1782
- tmp.r1y_1 = transform(this_0, tmp$ret$2);
1783
- var tmp_0 = scope.r1y_1;
1781
+ this_1.x1i(replaceReflectInNonGenericStructFields$lambda);
1782
+ var tmp$ret$2 = this_1.y1i();
1783
+ tmp.g1v_1 = transform(this_0, tmp$ret$2);
1784
+ var tmp_0 = scope.g1v_1;
1784
1785
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1785
1786
  }
1786
1787
  function replaceRefinedFunctions(_this__u8e3s4, refined) {
@@ -1789,14 +1790,14 @@ function replaceRefinedFunctions(_this__u8e3s4, refined) {
1789
1790
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1790
1791
  var tmp = scope;
1791
1792
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1792
- var this_0 = scope.r1y_1;
1793
+ var this_0 = scope.g1v_1;
1793
1794
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1794
1795
  // Inline function 'kotlin.apply' call
1795
1796
  var this_1 = new TransformerBuilder();
1796
- this_1.i1m(replaceRefinedFunctions$lambda(refined));
1797
- var tmp$ret$2 = this_1.j1m();
1798
- tmp.r1y_1 = transform(this_0, tmp$ret$2);
1799
- var tmp_0 = scope.r1y_1;
1797
+ this_1.x1i(replaceRefinedFunctions$lambda(refined));
1798
+ var tmp$ret$2 = this_1.y1i();
1799
+ tmp.g1v_1 = transform(this_0, tmp$ret$2);
1800
+ var tmp_0 = scope.g1v_1;
1800
1801
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1801
1802
  }
1802
1803
  function snakeCaseHandlerAndCallMethods(_this__u8e3s4) {
@@ -1805,33 +1806,33 @@ function snakeCaseHandlerAndCallMethods(_this__u8e3s4) {
1805
1806
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1806
1807
  var tmp = scope;
1807
1808
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1808
- var this_0 = scope.r1y_1;
1809
+ var this_0 = scope.g1v_1;
1809
1810
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1810
1811
  // Inline function 'kotlin.apply' call
1811
1812
  var this_1 = new TransformerBuilder();
1812
- this_1.i1m(snakeCaseHandlerAndCallMethods$lambda);
1813
- var tmp$ret$2 = this_1.j1m();
1814
- tmp.r1y_1 = transform(this_0, tmp$ret$2);
1815
- var tmp_0 = scope.r1y_1;
1813
+ this_1.x1i(snakeCaseHandlerAndCallMethods$lambda);
1814
+ var tmp$ret$2 = this_1.y1i();
1815
+ tmp.g1v_1 = transform(this_0, tmp$ret$2);
1816
+ var tmp_0 = scope.g1v_1;
1816
1817
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1817
1818
  }
1818
1819
  function splitEndpointStructsToModuleLevel(_this__u8e3s4) {
1819
1820
  // Inline function 'community.flock.wirespec.ir.core.findElement' call
1820
1821
  // Inline function 'kotlin.collections.filterIsInstance' call
1821
- var tmp0 = _this__u8e3s4.i1r();
1822
+ var tmp0 = _this__u8e3s4.x1n();
1822
1823
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1823
1824
  var destination = ArrayList_init_$Create$();
1824
1825
  var _iterator__ex2g4s = tmp0.t();
1825
1826
  while (_iterator__ex2g4s.u()) {
1826
1827
  var element = _iterator__ex2g4s.v();
1827
1828
  if (element instanceof Namespace) {
1828
- destination.y(element);
1829
+ destination.x(element);
1829
1830
  }
1830
1831
  }
1831
1832
  var tmp$ret$2 = firstOrNull_0(destination);
1832
1833
  var namespace = ensureNotNull(tmp$ret$2);
1833
1834
  // Inline function 'kotlin.collections.partition' call
1834
- var this_0 = namespace.n1r_1;
1835
+ var this_0 = namespace.c1o_1;
1835
1836
  var first = ArrayList_init_$Create$();
1836
1837
  var second = ArrayList_init_$Create$();
1837
1838
  var _iterator__ex2g4s_0 = this_0.t();
@@ -1844,22 +1845,22 @@ function splitEndpointStructsToModuleLevel(_this__u8e3s4) {
1844
1845
  tmp = element_0 instanceof Union_0;
1845
1846
  }
1846
1847
  if (tmp) {
1847
- first.y(element_0);
1848
+ first.x(element_0);
1848
1849
  } else {
1849
- second.y(element_0);
1850
+ second.x(element_0);
1850
1851
  }
1851
1852
  }
1852
1853
  var _destruct__k2r9zo = new Pair(first, second);
1853
- var moduleElements = _destruct__k2r9zo.mf();
1854
- var classElements = _destruct__k2r9zo.nf();
1855
- var endpointClass = new Namespace(namespace.m1r_1, classElements, namespace.o1r_1);
1856
- return new File(namespace.m1r_1, plus_0(moduleElements, endpointClass));
1854
+ var moduleElements = _destruct__k2r9zo.ve();
1855
+ var classElements = _destruct__k2r9zo.we();
1856
+ var endpointClass = new Namespace(namespace.b1o_1, classElements, namespace.d1o_1);
1857
+ return new File(namespace.b1o_1, plus_0(moduleElements, endpointClass));
1857
1858
  }
1858
1859
  function flattenEndpointTypeRefs(_this__u8e3s4, endpointName) {
1859
1860
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1860
1861
  var scope = new TransformScope(_this__u8e3s4);
1861
- scope.x1y(flattenEndpointTypeRefs$lambda(endpointName));
1862
- var tmp = scope.r1y_1;
1862
+ scope.m1v(flattenEndpointTypeRefs$lambda(endpointName));
1863
+ var tmp = scope.g1v_1;
1863
1864
  return isInterface(tmp, Element) ? tmp : THROW_CCE();
1864
1865
  }
1865
1866
  function snakeCaseClientFunctions(_this__u8e3s4) {
@@ -1868,15 +1869,15 @@ function snakeCaseClientFunctions(_this__u8e3s4) {
1868
1869
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1869
1870
  var tmp = scope;
1870
1871
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1871
- var this_0 = scope.r1y_1;
1872
+ var this_0 = scope.g1v_1;
1872
1873
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1873
1874
  // Inline function 'kotlin.apply' call
1874
1875
  var this_1 = new TransformerBuilder();
1875
- this_1.i1m(snakeCaseClientFunctions$lambda);
1876
- var tmp$ret$2 = this_1.j1m();
1877
- tmp.r1y_1 = transform(this_0, tmp$ret$2);
1878
- scope.a1z(snakeCaseClientFunctions$lambda_0);
1879
- var tmp_0 = scope.r1y_1;
1876
+ this_1.x1i(snakeCaseClientFunctions$lambda);
1877
+ var tmp$ret$2 = this_1.y1i();
1878
+ tmp.g1v_1 = transform(this_0, tmp$ret$2);
1879
+ scope.p1v(snakeCaseClientFunctions$lambda_0);
1880
+ var tmp_0 = scope.g1v_1;
1880
1881
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1881
1882
  }
1882
1883
  function addSelfReceiverToClientFields(_this__u8e3s4) {
@@ -1887,20 +1888,20 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
1887
1888
  } else {
1888
1889
  // Inline function 'community.flock.wirespec.ir.core.findElement' call
1889
1890
  // Inline function 'kotlin.collections.filterIsInstance' call
1890
- var tmp0 = tmp0_safe_receiver.i1r();
1891
+ var tmp0 = tmp0_safe_receiver.x1n();
1891
1892
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1892
1893
  var destination = ArrayList_init_$Create$();
1893
1894
  var _iterator__ex2g4s = tmp0.t();
1894
1895
  while (_iterator__ex2g4s.u()) {
1895
1896
  var element = _iterator__ex2g4s.v();
1896
1897
  if (element instanceof Struct) {
1897
- destination.y(element);
1898
+ destination.x(element);
1898
1899
  }
1899
1900
  }
1900
1901
  tmp = firstOrNull_0(destination);
1901
1902
  }
1902
1903
  var struct = tmp;
1903
- var tmp2_safe_receiver = struct == null ? null : struct.s1r_1;
1904
+ var tmp2_safe_receiver = struct == null ? null : struct.h1o_1;
1904
1905
  var tmp_0;
1905
1906
  if (tmp2_safe_receiver == null) {
1906
1907
  tmp_0 = null;
@@ -1911,8 +1912,8 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
1911
1912
  var _iterator__ex2g4s_0 = tmp2_safe_receiver.t();
1912
1913
  while (_iterator__ex2g4s_0.u()) {
1913
1914
  var item = _iterator__ex2g4s_0.v();
1914
- var tmp$ret$3 = item.n1t_1.u1m();
1915
- destination_0.y(tmp$ret$3);
1915
+ var tmp$ret$3 = item.c1q_1.j1j();
1916
+ destination_0.x(tmp$ret$3);
1916
1917
  }
1917
1918
  tmp_0 = destination_0;
1918
1919
  }
@@ -1923,8 +1924,8 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
1923
1924
  return _this__u8e3s4;
1924
1925
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1925
1926
  var scope = new TransformScope(_this__u8e3s4);
1926
- scope.a1z(addSelfReceiverToClientFields$lambda(fieldNames));
1927
- var tmp_1 = scope.r1y_1;
1927
+ scope.p1v(addSelfReceiverToClientFields$lambda(fieldNames));
1928
+ var tmp_1 = scope.g1v_1;
1928
1929
  return isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1929
1930
  }
1930
1931
  function replaceReflectAsTypeAny(_this__u8e3s4) {
@@ -1933,13 +1934,13 @@ function replaceReflectAsTypeAny(_this__u8e3s4) {
1933
1934
  tmp = Custom_init_$Create$('type', listOf_0(Any_instance));
1934
1935
  } else {
1935
1936
  if (_this__u8e3s4 instanceof Nullable) {
1936
- tmp = _this__u8e3s4.s1q(replaceReflectAsTypeAny(_this__u8e3s4.q1m_1));
1937
+ tmp = _this__u8e3s4.h1n(replaceReflectAsTypeAny(_this__u8e3s4.f1j_1));
1937
1938
  } else {
1938
1939
  if (_this__u8e3s4 instanceof Array_0) {
1939
- tmp = _this__u8e3s4.s1q(replaceReflectAsTypeAny(_this__u8e3s4.r1m_1));
1940
+ tmp = _this__u8e3s4.h1n(replaceReflectAsTypeAny(_this__u8e3s4.g1j_1));
1940
1941
  } else {
1941
1942
  if (_this__u8e3s4 instanceof Dict_0) {
1942
- tmp = _this__u8e3s4.v1q(replaceReflectAsTypeAny(_this__u8e3s4.t1q_1), replaceReflectAsTypeAny(_this__u8e3s4.u1q_1));
1943
+ tmp = _this__u8e3s4.k1n(replaceReflectAsTypeAny(_this__u8e3s4.i1n_1), replaceReflectAsTypeAny(_this__u8e3s4.j1n_1));
1943
1944
  } else {
1944
1945
  tmp = _this__u8e3s4;
1945
1946
  }
@@ -1954,21 +1955,21 @@ function replaceReflectInNonGenericStructFields$lambda(element, transformer) {
1954
1955
  var tmp$ret$1;
1955
1956
  $l$block: {
1956
1957
  // Inline function 'kotlin.collections.isNotEmpty' call
1957
- if (!element.w1r_1.r()) {
1958
+ if (!element.l1o_1.r()) {
1958
1959
  tmp$ret$1 = element;
1959
1960
  break $l$block;
1960
1961
  }
1961
1962
  // Inline function 'kotlin.collections.map' call
1962
- var this_0 = element.s1r_1;
1963
+ var this_0 = element.h1o_1;
1963
1964
  // Inline function 'kotlin.collections.mapTo' call
1964
1965
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1965
1966
  var _iterator__ex2g4s = this_0.t();
1966
1967
  while (_iterator__ex2g4s.u()) {
1967
1968
  var item = _iterator__ex2g4s.v();
1968
- var tmp$ret$2 = item.r1t(VOID, replaceReflectAsTypeAny(item.o1t_1));
1969
- destination.y(tmp$ret$2);
1969
+ var tmp$ret$2 = item.g1q(VOID, replaceReflectAsTypeAny(item.d1q_1));
1970
+ destination.x(tmp$ret$2);
1970
1971
  }
1971
- tmp$ret$1 = element.y1r(VOID, destination);
1972
+ tmp$ret$1 = element.n1o(VOID, destination);
1972
1973
  }
1973
1974
  tmp = tmp$ret$1;
1974
1975
  } else {
@@ -1979,17 +1980,17 @@ function replaceReflectInNonGenericStructFields$lambda(element, transformer) {
1979
1980
  }
1980
1981
  function replaceRefinedFunctions$lambda$lambda($constraintExpr) {
1981
1982
  return function ($this$function) {
1982
- $this$function.j1l('self', Custom_init_$Create$(''));
1983
- $this$function.m1l(Boolean_instance_0);
1984
- $this$function.n1l($constraintExpr);
1983
+ $this$function.y1h('self', Custom_init_$Create$(''));
1984
+ $this$function.b1i(Boolean_instance_0);
1985
+ $this$function.c1i($constraintExpr);
1985
1986
  return Unit_instance;
1986
1987
  };
1987
1988
  }
1988
1989
  function replaceRefinedFunctions$lambda$lambda_0($toStringExpr) {
1989
1990
  return function ($this$function) {
1990
- $this$function.j1l('self', Custom_init_$Create$(''));
1991
- $this$function.m1l(String_instance);
1992
- $this$function.n1l(new RawExpression($toStringExpr));
1991
+ $this$function.y1h('self', Custom_init_$Create$(''));
1992
+ $this$function.b1i(String_instance);
1993
+ $this$function.c1i(new RawExpression($toStringExpr));
1993
1994
  return Unit_instance;
1994
1995
  };
1995
1996
  }
@@ -1998,7 +1999,7 @@ function replaceRefinedFunctions$lambda($refined) {
1998
1999
  var tmp;
1999
2000
  if (element instanceof Struct) {
2000
2001
  // Inline function 'kotlin.collections.mapNotNull' call
2001
- var tmp0 = element.v1r_1;
2002
+ var tmp0 = element.k1o_1;
2002
2003
  // Inline function 'kotlin.collections.mapNotNullTo' call
2003
2004
  var destination = ArrayList_init_$Create$();
2004
2005
  // Inline function 'kotlin.collections.forEach' call
@@ -2008,23 +2009,23 @@ function replaceRefinedFunctions$lambda($refined) {
2008
2009
  var tmp_0;
2009
2010
  var tmp_1;
2010
2011
  if (element_0 instanceof Function) {
2011
- tmp_1 = element_0.o1o_1.equals(Companion_getInstance().y1k('validate'));
2012
+ tmp_1 = element_0.d1l_1.equals(Companion_getInstance().n1h('validate'));
2012
2013
  } else {
2013
2014
  tmp_1 = false;
2014
2015
  }
2015
2016
  if (tmp_1) {
2016
- var constraintExpr = convertConstraint($refined.ev_1, new FieldCall(new VariableReference(Companion_getInstance().y1k('self')), Companion_getInstance().y1k('value')));
2017
+ var constraintExpr = convertConstraint($refined.tr_1, new FieldCall(new VariableReference(Companion_getInstance().n1h('self')), Companion_getInstance().n1h('value')));
2017
2018
  tmp_0 = function_0('validate', VOID, VOID, replaceRefinedFunctions$lambda$lambda(constraintExpr));
2018
2019
  } else {
2019
2020
  var tmp_2;
2020
2021
  if (element_0 instanceof Function) {
2021
- tmp_2 = element_0.o1o_1.equals(Companion_getInstance().y1k('toString'));
2022
+ tmp_2 = element_0.d1l_1.equals(Companion_getInstance().n1h('toString'));
2022
2023
  } else {
2023
2024
  tmp_2 = false;
2024
2025
  }
2025
2026
  if (tmp_2) {
2026
2027
  var tmp_3;
2027
- if ($refined.ev_1.qy_1 instanceof String_0) {
2028
+ if ($refined.tr_1.fv_1 instanceof String_0) {
2028
2029
  tmp_3 = 'self.value';
2029
2030
  } else {
2030
2031
  tmp_3 = 'str(self.value)';
@@ -2040,10 +2041,10 @@ function replaceRefinedFunctions$lambda($refined) {
2040
2041
  null;
2041
2042
  else {
2042
2043
  // Inline function 'kotlin.let' call
2043
- destination.y(tmp0_safe_receiver);
2044
+ destination.x(tmp0_safe_receiver);
2044
2045
  }
2045
2046
  }
2046
- tmp = element.y1r(VOID, VOID, VOID, VOID, destination);
2047
+ tmp = element.n1o(VOID, VOID, VOID, VOID, destination);
2047
2048
  } else {
2048
2049
  tmp = element;
2049
2050
  }
@@ -2056,23 +2057,23 @@ function snakeCaseHandlerAndCallMethods$lambda(element, transformer) {
2056
2057
  if (element instanceof Interface) {
2057
2058
  var tmp$ret$0;
2058
2059
  $l$block: {
2059
- if (!element.a1s_1.equals(Companion_getInstance().y1k('Handler')) && !element.a1s_1.equals(Companion_getInstance().y1k('Call'))) {
2060
+ if (!element.p1o_1.equals(Companion_getInstance().n1h('Handler')) && !element.p1o_1.equals(Companion_getInstance().n1h('Call'))) {
2060
2061
  tmp$ret$0 = element;
2061
2062
  break $l$block;
2062
2063
  }
2063
2064
  // Inline function 'kotlin.collections.map' call
2064
- var this_0 = element.b1s_1;
2065
+ var this_0 = element.q1o_1;
2065
2066
  // Inline function 'kotlin.collections.mapTo' call
2066
2067
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
2067
2068
  var _iterator__ex2g4s = this_0.t();
2068
2069
  while (_iterator__ex2g4s.u()) {
2069
2070
  var item = _iterator__ex2g4s.v();
2070
2071
  var tmp0_safe_receiver = item instanceof Function ? item : null;
2071
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w1o(Companion_getInstance().y1k(item.o1o_1.h1q()));
2072
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l1l(Companion_getInstance().n1h(item.d1l_1.w1m()));
2072
2073
  var tmp$ret$1 = tmp1_elvis_lhs == null ? item : tmp1_elvis_lhs;
2073
- destination.y(tmp$ret$1);
2074
+ destination.x(tmp$ret$1);
2074
2075
  }
2075
- tmp$ret$0 = element.h1s(VOID, destination);
2076
+ tmp$ret$0 = element.w1o(VOID, destination);
2076
2077
  }
2077
2078
  tmp = tmp$ret$0;
2078
2079
  } else {
@@ -2087,17 +2088,17 @@ function flattenEndpointTypeRefs$lambda($endpointName) {
2087
2088
  if (!(type instanceof Custom_0)) {
2088
2089
  tmp = type;
2089
2090
  } else {
2090
- if (!startsWith(type.s1m_1.z1k(), $endpointName + '.')) {
2091
+ if (!startsWith(type.h1j_1.o1h(), $endpointName + '.')) {
2091
2092
  tmp = type;
2092
2093
  } else {
2093
- var suffix = removePrefix(type.s1m_1.z1k(), $endpointName + '.');
2094
+ var suffix = removePrefix(type.h1j_1.o1h(), $endpointName + '.');
2094
2095
  switch (suffix) {
2095
2096
  case 'Call':
2096
2097
  case 'Handler':
2097
2098
  tmp = type;
2098
2099
  break;
2099
2100
  default:
2100
- tmp = type.x1q(Companion_getInstance().y1k(suffix));
2101
+ tmp = type.m1n(Companion_getInstance().n1h(suffix));
2101
2102
  break;
2102
2103
  }
2103
2104
  }
@@ -2108,7 +2109,7 @@ function flattenEndpointTypeRefs$lambda($endpointName) {
2108
2109
  function snakeCaseClientFunctions$lambda(element, transformer) {
2109
2110
  var tmp;
2110
2111
  if (element instanceof Function) {
2111
- tmp = element.w1o(Companion_getInstance().y1k(element.o1o_1.h1q()), VOID, plus(listOf_0(new Parameter(Companion_getInstance().y1k('self'), Custom_init_$Create$(''))), element.q1o_1));
2112
+ tmp = element.l1l(Companion_getInstance().n1h(element.d1l_1.w1m()), VOID, plus(listOf_0(new Parameter(Companion_getInstance().n1h('self'), Custom_init_$Create$(''))), element.f1l_1));
2112
2113
  } else {
2113
2114
  tmp = element;
2114
2115
  }
@@ -2118,32 +2119,32 @@ function snakeCaseClientFunctions$lambda(element, transformer) {
2118
2119
  function snakeCaseClientFunctions$lambda_0(stmt, tr) {
2119
2120
  var tmp;
2120
2121
  if (stmt instanceof FunctionCall) {
2121
- var nameStr = stmt.l1q_1.u1m();
2122
- var newName = contains(nameStr, '.') ? stmt.l1q_1 : Companion_getInstance().y1k(Companion_getInstance().y1k(nameStr).h1q());
2123
- var tmp1_safe_receiver = stmt.j1q_1;
2122
+ var nameStr = stmt.a1n_1.j1j();
2123
+ var newName = contains(nameStr, '.') ? stmt.a1n_1 : Companion_getInstance().n1h(Companion_getInstance().n1h(nameStr).w1m());
2124
+ var tmp1_safe_receiver = stmt.y1m_1;
2124
2125
  var tmp_0;
2125
2126
  if (tmp1_safe_receiver == null) {
2126
2127
  tmp_0 = null;
2127
2128
  } else {
2128
2129
  // Inline function 'kotlin.let' call
2129
- tmp_0 = tr.m1y(tmp1_safe_receiver);
2130
+ tmp_0 = tr.b1v(tmp1_safe_receiver);
2130
2131
  }
2131
2132
  var tmp2_receiver = tmp_0;
2132
2133
  // Inline function 'kotlin.collections.mapValues' call
2133
- var this_0 = stmt.m1q_1;
2134
+ var this_0 = stmt.b1n_1;
2134
2135
  // Inline function 'kotlin.collections.mapValuesTo' call
2135
- var destination = LinkedHashMap_init_$Create$(mapCapacity(this_0.b1()));
2136
+ var destination = LinkedHashMap_init_$Create$(mapCapacity(this_0.a1()));
2136
2137
  // Inline function 'kotlin.collections.associateByTo' call
2137
- var _iterator__ex2g4s = this_0.k1().t();
2138
+ var _iterator__ex2g4s = this_0.j1().t();
2138
2139
  while (_iterator__ex2g4s.u()) {
2139
2140
  var element = _iterator__ex2g4s.v();
2140
- var tmp_1 = element.l1();
2141
+ var tmp_1 = element.k1();
2141
2142
  // Inline function 'kotlin.collections.component2' call
2142
- var v = element.m1();
2143
- var tmp$ret$4 = tr.m1y(v);
2144
- destination.t2(tmp_1, tmp$ret$4);
2143
+ var v = element.l1();
2144
+ var tmp$ret$4 = tr.b1v(v);
2145
+ destination.s2(tmp_1, tmp$ret$4);
2145
2146
  }
2146
- var tmp4_isAwait = !(stmt.j1q_1 == null);
2147
+ var tmp4_isAwait = !(stmt.y1m_1 == null);
2147
2148
  tmp = new FunctionCall(tmp2_receiver, VOID, newName, destination, tmp4_isAwait);
2148
2149
  } else {
2149
2150
  tmp = transformChildren(stmt, tr);
@@ -2156,28 +2157,28 @@ function addSelfReceiverToClientFields$lambda($fieldNames) {
2156
2157
  var tmp_0;
2157
2158
  var tmp_1;
2158
2159
  if (stmt instanceof FieldCall) {
2159
- tmp_1 = stmt.d1u_1 == null;
2160
+ tmp_1 = stmt.s1q_1 == null;
2160
2161
  } else {
2161
2162
  tmp_1 = false;
2162
2163
  }
2163
2164
  if (tmp_1) {
2164
- tmp_0 = $fieldNames.v1(stmt.e1u_1.u1m());
2165
+ tmp_0 = $fieldNames.u1(stmt.t1q_1.j1j());
2165
2166
  } else {
2166
2167
  tmp_0 = false;
2167
2168
  }
2168
2169
  if (tmp_0) {
2169
- tmp = new FieldCall(new VariableReference(Companion_getInstance().y1k('self')), stmt.e1u_1);
2170
+ tmp = new FieldCall(new VariableReference(Companion_getInstance().n1h('self')), stmt.t1q_1);
2170
2171
  } else {
2171
2172
  if (stmt instanceof FieldCall) {
2172
- var tmp0_safe_receiver = stmt.d1u_1;
2173
+ var tmp0_safe_receiver = stmt.s1q_1;
2173
2174
  var tmp_2;
2174
2175
  if (tmp0_safe_receiver == null) {
2175
2176
  tmp_2 = null;
2176
2177
  } else {
2177
2178
  // Inline function 'kotlin.let' call
2178
- tmp_2 = tr.m1y(tmp0_safe_receiver);
2179
+ tmp_2 = tr.b1v(tmp0_safe_receiver);
2179
2180
  }
2180
- tmp = new FieldCall(tmp_2, stmt.e1u_1);
2181
+ tmp = new FieldCall(tmp_2, stmt.t1q_1);
2181
2182
  } else {
2182
2183
  tmp = transformChildren(stmt, tr);
2183
2184
  }
@@ -2188,8 +2189,8 @@ function addSelfReceiverToClientFields$lambda($fieldNames) {
2188
2189
  function PythonRefinedTypeDefinitionEmitter() {
2189
2190
  }
2190
2191
  function PythonShared() {
2191
- this.h22_1 = 'shared';
2192
- this.i22_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.y1y_1 = 'shared';
2193
+ this.z1y_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";
2193
2194
  }
2194
2195
  protoOf(PythonShared).toString = function () {
2195
2196
  return 'PythonShared';
@@ -2210,17 +2211,17 @@ function PythonShared_getInstance() {
2210
2211
  }
2211
2212
  function PythonTypeDefinitionEmitter$emit$lambda(this$0) {
2212
2213
  return function (it) {
2213
- return this$0.m22(it);
2214
+ return this$0.d1z(it);
2214
2215
  };
2215
2216
  }
2216
2217
  function PythonTypeDefinitionEmitter$emit$lambda_0(this$0) {
2217
2218
  return function (it) {
2218
- return this$0.m22(it);
2219
+ return this$0.d1z(it);
2219
2220
  };
2220
2221
  }
2221
2222
  function PythonTypeDefinitionEmitter$emit$lambda_1(this$0) {
2222
2223
  return function (it) {
2223
- return Spacer_instance.toString() + this$0.xt(it);
2224
+ return Spacer_instance.toString() + this$0.mq(it);
2224
2225
  };
2225
2226
  }
2226
2227
  function PythonTypeDefinitionEmitter() {
@@ -2228,27 +2229,28 @@ function PythonTypeDefinitionEmitter() {
2228
2229
  function PythonUnionDefinitionEmitter() {
2229
2230
  }
2230
2231
  //region block: post-declaration
2231
- protoOf(PythonEmitter).vt = emit_4;
2232
- protoOf(PythonEmitter).wt = emit_5;
2233
- protoOf(PythonEmitter).xt = emit_6;
2234
- protoOf(PythonEmitter).yt = emit_7;
2235
- protoOf(PythonEmitter).zt = emit_9;
2236
- protoOf(PythonEmitter).kv = emit_15;
2237
- protoOf(PythonEmitter).fv = emit_10;
2238
- protoOf(PythonEmitter).lv = emit_11;
2239
- protoOf(PythonEmitter).av = emit_14;
2240
- protoOf(PythonEmitter).yu = emit_3;
2241
- protoOf(PythonEmitter).zu = emit_2;
2242
- protoOf(PythonEmitter).j22 = emit_8;
2243
- protoOf(PythonEmitter).q20 = emit_12;
2244
- protoOf(PythonEmitter).k22 = emit_13;
2245
- protoOf(PythonEmitter).mv = emitValidator;
2246
- protoOf(PythonEmitter).d21 = sanitize;
2247
- protoOf(PythonEmitter).t20 = sanitizeKeywords;
2248
- protoOf(PythonEmitter).l22 = emitType;
2249
- protoOf(PythonEmitter).m22 = emitReferenceCustomImports;
2250
- protoOf(PythonIrEmitter).pr = emit_1;
2251
- protoOf(PythonIrEmitter).j1z = beforeGenerate;
2232
+ protoOf(PythonEmitter).kq = emit_5;
2233
+ protoOf(PythonEmitter).lq = emit_6;
2234
+ protoOf(PythonEmitter).mq = emit_7;
2235
+ protoOf(PythonEmitter).nq = emit_8;
2236
+ protoOf(PythonEmitter).oq = emit_10;
2237
+ protoOf(PythonEmitter).zr = emit_4;
2238
+ protoOf(PythonEmitter).ur = emit_11;
2239
+ protoOf(PythonEmitter).as = emit_12;
2240
+ protoOf(PythonEmitter).pr = emit_15;
2241
+ protoOf(PythonEmitter).nr = emit_3;
2242
+ protoOf(PythonEmitter).or = emit_2;
2243
+ protoOf(PythonEmitter).a1z = emit_9;
2244
+ protoOf(PythonEmitter).h1x = emit_13;
2245
+ protoOf(PythonEmitter).b1z = emit_14;
2246
+ protoOf(PythonEmitter).bs = emitValidator;
2247
+ protoOf(PythonEmitter).u1x = sanitize;
2248
+ protoOf(PythonEmitter).k1x = sanitizeKeywords;
2249
+ protoOf(PythonEmitter).c1z = emitType;
2250
+ protoOf(PythonEmitter).d1z = emitReferenceCustomImports;
2251
+ protoOf(PythonIrEmitter).v1v = get_extensions;
2252
+ protoOf(PythonIrEmitter).eo = emit_1;
2253
+ protoOf(PythonIrEmitter).a1w = beforeGenerate;
2252
2254
  //endregion
2253
2255
  //region block: init
2254
2256
  PythonShared_instance = new PythonShared();