@flock/wirespec 0.20.0-RC.1 → 0.20.0-RC.11

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 (75) 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 +2584 -5365
  9. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  10. package/kotlin-openapi-bindings.mjs +10275 -10275
  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 +1436 -1436
  21. package/package.json +2 -6
  22. package/wirespec-src-compiler-core.mjs +1627 -1601
  23. package/wirespec-src-compiler-core.mjs.map +1 -1
  24. package/wirespec-src-compiler-emitters-java.mjs +425 -454
  25. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  26. package/wirespec-src-compiler-emitters-kotlin.mjs +342 -342
  27. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  28. package/wirespec-src-compiler-emitters-python.mjs +424 -416
  29. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  30. package/wirespec-src-compiler-emitters-rust.mjs +489 -489
  31. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  32. package/wirespec-src-compiler-emitters-scala.mjs +194 -194
  33. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  34. package/wirespec-src-compiler-emitters-typescript.mjs +530 -530
  35. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  36. package/wirespec-src-compiler-emitters-wirespec.mjs +93 -83
  37. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  38. package/wirespec-src-compiler-ir.mjs +4514 -4076
  39. package/wirespec-src-compiler-ir.mjs.map +1 -1
  40. package/wirespec-src-compiler-lib.mjs +457 -457
  41. package/wirespec-src-compiler-lib.mjs.map +1 -1
  42. package/wirespec-src-converter-avro.mjs +521 -521
  43. package/wirespec-src-converter-avro.mjs.map +1 -1
  44. package/wirespec-src-converter-openapi.mjs +859 -859
  45. package/wirespec-src-converter-openapi.mjs.map +1 -1
  46. package/wirespec-src-ide-lsp.mjs +1387 -1387
  47. package/wirespec-src-ide-lsp.mjs.map +1 -1
  48. package/wirespec-src-plugin-arguments.mjs +192 -192
  49. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  50. package/wirespec-src-plugin-cli.mjs +109 -109
  51. package/wirespec-src-plugin-npm.d.mts +0 -21
  52. package/wirespec-src-plugin-npm.mjs +43 -43
  53. package/wirespec-src-plugin-npm.mjs.map +1 -1
  54. package/wirespec-src-tools-generator.mjs +35 -35
  55. package/wirespec-src-tools-generator.mjs.map +1 -1
  56. package/kotest-kotest-assertions-kotest-assertions-core.mjs +0 -4
  57. package/kotest-kotest-assertions-kotest-assertions-core.mjs.map +0 -1
  58. package/kotest-kotest-assertions-kotest-assertions-shared.mjs +0 -4
  59. package/kotest-kotest-assertions-kotest-assertions-shared.mjs.map +0 -1
  60. package/kotest-kotest-common.mjs +0 -56
  61. package/kotest-kotest-common.mjs.map +0 -1
  62. package/kotest-kotest-framework-kotest-framework-engine.mjs +0 -4
  63. package/kotest-kotest-framework-kotest-framework-engine.mjs.map +0 -1
  64. package/kotest-kotest-property.mjs +0 -2501
  65. package/kotest-kotest-property.mjs.map +0 -1
  66. package/kotlinx-coroutines-test.mjs +0 -4
  67. package/kotlinx-coroutines-test.mjs.map +0 -1
  68. package/wirespec-generator.d.ts +0 -51
  69. package/wirespec-generator.mjs +0 -9
  70. package/wirespec-src-integration-kotest.mjs +0 -1647
  71. package/wirespec-src-integration-kotest.mjs.map +0 -1
  72. package/xmlutil-core.mjs +0 -4
  73. package/xmlutil-core.mjs.map +0 -1
  74. package/xmlutil-serialization.mjs +0 -4
  75. package/xmlutil-serialization.mjs.map +0 -1
@@ -177,12 +177,14 @@ import {
177
177
  Namespace345pal554qu3j as Namespace,
178
178
  Union38f3pecvfcpxh as Union_0,
179
179
  Struct39wf79cwtn4ty as Struct,
180
+ fieldList3dg35dj9v5h4v as fieldList,
180
181
  Dict22iqrhoo0g8et as Dict_0,
181
182
  Array2goj74t0aak7b as Array_0,
182
183
  Nullable3wjn6l6q3h6o as Nullable,
183
184
  Any_instance2998xag3cdzh3 as Any_instance,
184
185
  Custom_init_$Create$2enn7oyj71j1t as Custom_init_$Create$,
185
186
  Reflect_instance3i17lxiopj78t as Reflect_instance,
187
+ Field354s1ceh5pvhf as Field,
186
188
  transformChildrend9p91tpcqdkx as transformChildren_1,
187
189
  Boolean_instance27opaqtiiiysz as Boolean_instance_0,
188
190
  String_instance3uxvo48ki208u as String_instance,
@@ -207,10 +209,10 @@ initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, V
207
209
  function emit_3(identifier) {
208
210
  var tmp;
209
211
  if (identifier instanceof DefinitionIdentifier) {
210
- tmp = this.j21(identifier);
212
+ tmp = this.v1y(identifier);
211
213
  } else {
212
214
  if (identifier instanceof FieldIdentifier) {
213
- tmp = this.z20(this.j21(identifier));
215
+ tmp = this.l1y(this.v1y(identifier));
214
216
  } else {
215
217
  noWhenBranchMatchedException();
216
218
  }
@@ -219,7 +221,7 @@ function emit_3(identifier) {
219
221
  }
220
222
  function sanitize(_this__u8e3s4) {
221
223
  // Inline function 'kotlin.collections.mapIndexed' call
222
- var this_0 = split(_this__u8e3s4.m1(), ['.', ' ']);
224
+ var this_0 = split(_this__u8e3s4.l1(), ['.', ' ']);
223
225
  // Inline function 'kotlin.collections.mapIndexedTo' call
224
226
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
225
227
  var index = 0;
@@ -228,8 +230,8 @@ function sanitize(_this__u8e3s4) {
228
230
  var item = _iterator__ex2g4s.v();
229
231
  var _unary__edvuaz = index;
230
232
  index = _unary__edvuaz + 1 | 0;
231
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.pu(item) : item;
232
- destination.y(tmp$ret$0);
233
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.fr(item) : item;
234
+ destination.x(tmp$ret$0);
233
235
  }
234
236
  // Inline function 'kotlin.text.filter' call
235
237
  var tmp0 = joinToString(destination, '');
@@ -266,42 +268,42 @@ function sanitize(_this__u8e3s4) {
266
268
  return tmp;
267
269
  }
268
270
  function sanitizeKeywords(_this__u8e3s4) {
269
- return Companion_getInstance_0().t22_1.v1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
271
+ return Companion_getInstance_0().f20_1.u1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
270
272
  }
271
273
  initMetadataForInterface(PythonIdentifierEmitter, 'PythonIdentifierEmitter');
272
274
  function emit_4(type, module_0) {
273
275
  var tmp;
274
- if (type.xs_1.ts_1.r()) {
275
- var tmp_0 = this.yu(type.ws_1);
276
+ if (type.np_1.jp_1.r()) {
277
+ var tmp_0 = this.or(type.mp_1);
276
278
  var tmp_1 = Spacer_instance.toString();
277
279
  var tmp_2 = importReferences(type);
278
280
  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 ');
279
281
  } else {
280
- var tmp_3 = this.yu(type.ws_1);
281
- var tmp_4 = this.wt(type.xs_1);
282
+ var tmp_3 = this.or(type.mp_1);
283
+ var tmp_4 = this.mq(type.np_1);
282
284
  var tmp_5 = importReferences(type);
283
285
  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 ');
284
286
  }
285
287
  return tmp;
286
288
  }
287
289
  function emit_5(_this__u8e3s4) {
288
- return joinToString(_this__u8e3s4.ts_1, '\n', VOID, VOID, VOID, VOID, PythonTypeDefinitionEmitter$emit$lambda_1(this));
290
+ return joinToString(_this__u8e3s4.jp_1, '\n', VOID, VOID, VOID, VOID, PythonTypeDefinitionEmitter$emit$lambda_1(this));
289
291
  }
290
292
  function emit_6(_this__u8e3s4) {
291
- return this.yu(_this__u8e3s4.bt_1) + ": '" + this.yt(_this__u8e3s4.ct_1) + "'";
293
+ return this.or(_this__u8e3s4.rp_1) + ": '" + this.oq(_this__u8e3s4.sp_1) + "'";
292
294
  }
293
295
  function emit_7(_this__u8e3s4) {
294
296
  // Inline function 'kotlin.let' call
295
- var it = this.r22(_this__u8e3s4);
296
- return _this__u8e3s4.ey() ? 'Optional[' + it + ']' : it;
297
+ var it = this.d20(_this__u8e3s4);
298
+ return _this__u8e3s4.xu() ? 'Optional[' + it + ']' : it;
297
299
  }
298
300
  function emitType(_this__u8e3s4) {
299
301
  var tmp;
300
302
  if (_this__u8e3s4 instanceof Dict) {
301
- tmp = 'Dict[str, ' + this.yt(_this__u8e3s4.ds_1) + ']';
303
+ tmp = 'Dict[str, ' + this.oq(_this__u8e3s4.so_1) + ']';
302
304
  } else {
303
305
  if (_this__u8e3s4 instanceof Iterable) {
304
- tmp = 'List[' + this.yt(_this__u8e3s4.as_1) + ']';
306
+ tmp = 'List[' + this.oq(_this__u8e3s4.po_1) + ']';
305
307
  } else {
306
308
  if (_this__u8e3s4 instanceof Unit) {
307
309
  tmp = 'None';
@@ -310,10 +312,10 @@ function emitType(_this__u8e3s4) {
310
312
  tmp = 'Any';
311
313
  } else {
312
314
  if (_this__u8e3s4 instanceof Custom) {
313
- tmp = _this__u8e3s4.my_1;
315
+ tmp = _this__u8e3s4.fv_1;
314
316
  } else {
315
317
  if (_this__u8e3s4 instanceof Primitive) {
316
- tmp = this.p22(_this__u8e3s4.qy_1);
318
+ tmp = this.b20(_this__u8e3s4.rt_1);
317
319
  } else {
318
320
  noWhenBranchMatchedException();
319
321
  }
@@ -352,10 +354,10 @@ function emit_8(_this__u8e3s4) {
352
354
  function emit_9(_this__u8e3s4) {
353
355
  var tmp;
354
356
  if (_this__u8e3s4 instanceof RegExp_0) {
355
- tmp = 'bool(re.match(r"' + _RegExp___get_value__impl__7o7618(_this__u8e3s4.ax_1) + '", self.value))';
357
+ tmp = 'bool(re.match(r"' + _RegExp___get_value__impl__7o7618(_this__u8e3s4.qt_1) + '", self.value))';
356
358
  } else {
357
359
  if (_this__u8e3s4 instanceof Bound) {
358
- var tmp1_safe_receiver = _this__u8e3s4.qx_1;
360
+ var tmp1_safe_receiver = _this__u8e3s4.ju_1;
359
361
  var tmp_0;
360
362
  if (tmp1_safe_receiver == null) {
361
363
  tmp_0 = null;
@@ -364,7 +366,7 @@ function emit_9(_this__u8e3s4) {
364
366
  tmp_0 = tmp1_safe_receiver + ' < self.value';
365
367
  }
366
368
  var minCheck = tmp_0;
367
- var tmp2_safe_receiver = _this__u8e3s4.rx_1;
369
+ var tmp2_safe_receiver = _this__u8e3s4.ku_1;
368
370
  var tmp_1;
369
371
  if (tmp2_safe_receiver == null) {
370
372
  tmp_1 = null;
@@ -390,34 +392,34 @@ function emit_9(_this__u8e3s4) {
390
392
  return tmp;
391
393
  }
392
394
  function emitReferenceCustomImports(_this__u8e3s4) {
393
- return 'from ..model.' + _this__u8e3s4.my_1 + ' import ' + _this__u8e3s4.my_1;
395
+ return 'from ..model.' + _this__u8e3s4.fv_1 + ' import ' + _this__u8e3s4.fv_1;
394
396
  }
395
397
  initMetadataForInterface(PythonTypeDefinitionEmitter, 'PythonTypeDefinitionEmitter', VOID, VOID, [TypeDefinitionEmitter, PythonIdentifierEmitter]);
396
398
  function emit_10(refined) {
397
- return trimMargin('\n |@dataclass\n |class ' + this.j21(refined.dv_1) + '(Wirespec.Refined):\n |' + Spacer_instance.toString() + 'value: ' + this.r22(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 ');
399
+ return trimMargin('\n |@dataclass\n |class ' + this.v1y(refined.tr_1) + '(Wirespec.Refined):\n |' + Spacer_instance.toString() + 'value: ' + this.d20(refined.ur_1) + '\n |\n |' + Spacer_instance.toString() + 'def validate(self) -> bool:\n |' + Spacer_instance.is(2) + 'return ' + this.cs(refined) + '\n |\n |' + Spacer_instance.toString() + 'def __str__(self) -> str:\n |' + Spacer_instance.is(2) + 'return str(self.value)\n |\n ');
398
400
  }
399
401
  function emitValidator(_this__u8e3s4) {
400
402
  var defaultReturn = 'True';
401
- var type = _this__u8e3s4.ev_1.qy_1;
403
+ var type = _this__u8e3s4.ur_1.rt_1;
402
404
  var tmp;
403
405
  if (type instanceof Integer) {
404
- var tmp0_safe_receiver = type.vx_1;
405
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.zt(tmp0_safe_receiver);
406
+ var tmp0_safe_receiver = type.ou_1;
407
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.pq(tmp0_safe_receiver);
406
408
  tmp = tmp1_elvis_lhs == null ? defaultReturn : tmp1_elvis_lhs;
407
409
  } else {
408
410
  if (type instanceof Number_0) {
409
- var tmp2_safe_receiver = type.yx_1;
410
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.zt(tmp2_safe_receiver);
411
+ var tmp2_safe_receiver = type.ru_1;
412
+ var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.pq(tmp2_safe_receiver);
411
413
  tmp = tmp3_elvis_lhs == null ? defaultReturn : tmp3_elvis_lhs;
412
414
  } else {
413
415
  if (type instanceof String_0) {
414
- var tmp4_safe_receiver = type.sx_1;
416
+ var tmp4_safe_receiver = type.lu_1;
415
417
  var tmp_0;
416
418
  var tmp_1 = tmp4_safe_receiver;
417
419
  if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
418
420
  tmp_0 = null;
419
421
  } else {
420
- tmp_0 = this.zt(new RegExp_0(tmp4_safe_receiver));
422
+ tmp_0 = this.pq(new RegExp_0(tmp4_safe_receiver));
421
423
  }
422
424
  var tmp5_elvis_lhs = tmp_0;
423
425
  tmp = tmp5_elvis_lhs == null ? defaultReturn : tmp5_elvis_lhs;
@@ -438,27 +440,27 @@ function emitValidator(_this__u8e3s4) {
438
440
  }
439
441
  initMetadataForInterface(PythonRefinedTypeDefinitionEmitter, 'PythonRefinedTypeDefinitionEmitter', VOID, VOID, [PythonTypeDefinitionEmitter, PythonIdentifierEmitter]);
440
442
  function emit_11(enum_0, module_0) {
441
- var tmp = this.j21(enum_0.iv_1);
442
- 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 ');
443
+ var tmp = this.v1y(enum_0.yr_1);
444
+ return trimMargin('\n |class ' + tmp + '(str, Enum):\n |' + joinToString(enum_0.zr_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.is(2) + 'return self.value\n |\n |' + Spacer_instance.toString() + 'def __str__(self) -> str:\n |' + Spacer_instance.is(2) + 'return self.value\n ');
443
445
  }
444
446
  initMetadataForInterface(PythonEnumDefinitionEmitter, 'PythonEnumDefinitionEmitter', VOID, VOID, [PythonIdentifierEmitter]);
445
447
  function emit_12(endpoint) {
446
448
  var tmp = importReferences(endpoint);
447
449
  var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emit$lambda(this));
448
- var tmp_1 = this.yu(endpoint.ft_1);
449
- var tmp_2 = spacer(this.w20(first(endpoint.kt_1), endpoint), 1);
450
- var tmp_3 = distinctByStatus(endpoint.lt_1);
450
+ var tmp_1 = this.or(endpoint.vp_1);
451
+ var tmp_2 = spacer(this.i1y(first(endpoint.aq_1), endpoint), 1);
452
+ var tmp_3 = distinctByStatus(endpoint.bq_1);
451
453
  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 ');
452
454
  }
453
455
  function emit_13(_this__u8e3s4, endpoint) {
454
- var tmp = emit_18(this, _this__u8e3s4.ot_1);
456
+ var tmp = emit_18(this, _this__u8e3s4.eq_1);
455
457
  var tmp_0 = get_pathParams(endpoint);
456
458
  var tmp_1 = emitObject$default(this, tmp_0, 'Path', 'Wirespec.Request.Path', VOID, PythonEndpointDefinitionEmitter$emit$lambda_1(this));
457
- var tmp_2 = emitObject$default(this, endpoint.it_1, 'Queries', 'Wirespec.Request.Queries', VOID, PythonEndpointDefinitionEmitter$emit$lambda_2(this));
458
- var tmp_3 = emitObject$default(this, endpoint.jt_1, 'Headers', 'Wirespec.Request.Headers', VOID, PythonEndpointDefinitionEmitter$emit$lambda_3(this));
459
+ var tmp_2 = emitObject$default(this, endpoint.yp_1, 'Queries', 'Wirespec.Request.Queries', VOID, PythonEndpointDefinitionEmitter$emit$lambda_2(this));
460
+ var tmp_3 = emitObject$default(this, endpoint.zp_1, 'Headers', 'Wirespec.Request.Headers', VOID, PythonEndpointDefinitionEmitter$emit$lambda_3(this));
459
461
  var tmp_4 = Spacer_instance.toString();
460
462
  var tmp_5 = Spacer_instance.toString();
461
- var tmp_6 = emit_18(this, _this__u8e3s4.ot_1);
463
+ var tmp_6 = emit_18(this, _this__u8e3s4.eq_1);
462
464
  var tmp_7 = Spacer_instance.toString();
463
465
  var tmp_8 = Spacer_instance.toString();
464
466
  var tmp_9 = Spacer_instance.toString();
@@ -474,41 +476,41 @@ function emit_13(_this__u8e3s4, endpoint) {
474
476
  var tmp_19 = Spacer_instance.toString();
475
477
  var tmp_20 = Spacer_instance.toString();
476
478
  var tmp_21 = Spacer_instance.toString();
477
- var tmp_22 = emit_18(this, _this__u8e3s4.ot_1);
479
+ var tmp_22 = emit_18(this, _this__u8e3s4.eq_1);
478
480
  var tmp_23 = Spacer_instance.toString();
479
481
  var tmp_24 = Spacer_instance.toString();
480
482
  var tmp_25 = Spacer_instance.toString();
481
483
  var tmp_26 = Spacer_instance.toString();
482
484
  var tmp_27 = Spacer_instance.toString();
483
485
  var tmp_28 = paramList(_this__u8e3s4, endpoint);
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.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 ');
486
+ 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.wp_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 ');
485
487
  }
486
488
  function emit_14(_this__u8e3s4, endpoint) {
487
- var tmp = emit_18(this, _this__u8e3s4.tt_1);
488
- var tmp_0 = emitObject$default(this, _this__u8e3s4.st_1, 'Headers', 'Wirespec.Response.Headers', VOID, PythonEndpointDefinitionEmitter$emit$lambda_5(this));
489
+ var tmp = emit_18(this, _this__u8e3s4.jq_1);
490
+ var tmp_0 = emitObject$default(this, _this__u8e3s4.iq_1, 'Headers', 'Wirespec.Response.Headers', VOID, PythonEndpointDefinitionEmitter$emit$lambda_5(this));
489
491
  var tmp_1 = Spacer_instance.toString();
490
492
  var tmp_2 = Spacer_instance.toString();
491
493
  var tmp_3 = Spacer_instance.toString();
492
494
  var tmp_4 = Spacer_instance.toString();
493
495
  var tmp_5 = Spacer_instance.toString();
494
496
  var tmp_6 = Spacer_instance.toString();
495
- var tmp_7 = emit_18(this, _this__u8e3s4.tt_1);
497
+ var tmp_7 = emit_18(this, _this__u8e3s4.jq_1);
496
498
  var tmp_8 = Spacer_instance.toString();
497
499
  var tmp_9 = Spacer_instance.toString();
498
500
  var tmp_10 = Spacer_instance.toString();
499
- var tmp_11 = emit_18(this, _this__u8e3s4.tt_1);
501
+ var tmp_11 = emit_18(this, _this__u8e3s4.jq_1);
500
502
  var tmp_12 = Spacer_instance.toString();
501
503
  var tmp_13 = Spacer_instance.toString();
502
504
  var tmp_14 = Spacer_instance.toString();
503
505
  var tmp_15 = paramList_0(_this__u8e3s4);
504
- 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 ');
506
+ return trimMargin('\n |@dataclass\n |class Response' + _this__u8e3s4.hq_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.hq_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 ');
505
507
  }
506
508
  initMetadataForInterface(PythonEndpointDefinitionEmitter, 'PythonEndpointDefinitionEmitter', VOID, VOID, [PythonTypeDefinitionEmitter]);
507
509
  function emit_15(union) {
508
- return trimMargin('\n |class ' + this.yu(union.rs_1) + '(ABC):\n |' + Spacer_instance.toString() + 'pass\n ');
510
+ return trimMargin('\n |class ' + this.or(union.hp_1) + '(ABC):\n |' + Spacer_instance.toString() + 'pass\n ');
509
511
  }
510
512
  initMetadataForInterface(PythonUnionDefinitionEmitter, 'PythonUnionDefinitionEmitter', VOID, VOID, [PythonIdentifierEmitter]);
511
- initMetadataForClass(PythonEmitter, 'PythonEmitter', PythonEmitter, LanguageEmitter, [LanguageEmitter, PythonChannelDefinitionEmitter, PythonRefinedTypeDefinitionEmitter, PythonEnumDefinitionEmitter, PythonEndpointDefinitionEmitter, PythonIdentifierEmitter, PythonUnionDefinitionEmitter, PythonTypeDefinitionEmitter]);
513
+ initMetadataForClass(PythonEmitter, 'PythonEmitter', PythonEmitter, LanguageEmitter, [LanguageEmitter, PythonRefinedTypeDefinitionEmitter, PythonTypeDefinitionEmitter, PythonIdentifierEmitter, PythonEnumDefinitionEmitter, PythonChannelDefinitionEmitter, PythonEndpointDefinitionEmitter, PythonUnionDefinitionEmitter]);
512
514
  initMetadataForCompanion(Companion);
513
515
  initMetadataForCompanion(Companion_0);
514
516
  initMetadataForClass(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
@@ -518,23 +520,23 @@ initMetadataForObject(PythonShared, 'PythonShared');
518
520
  function PythonChannelDefinitionEmitter() {
519
521
  }
520
522
  function sam$kotlin_Comparator$0(function_0) {
521
- this.f22_1 = function_0;
523
+ this.r1z_1 = function_0;
522
524
  }
523
- protoOf(sam$kotlin_Comparator$0).ud = function (a, b) {
524
- return this.f22_1(a, b);
525
+ protoOf(sam$kotlin_Comparator$0).td = function (a, b) {
526
+ return this.r1z_1(a, b);
525
527
  };
526
528
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
527
- return this.ud(a, b);
529
+ return this.td(a, b);
528
530
  };
529
- protoOf(sam$kotlin_Comparator$0).m3 = function () {
530
- return this.f22_1;
531
+ protoOf(sam$kotlin_Comparator$0).l3 = function () {
532
+ return this.r1z_1;
531
533
  };
532
534
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
533
535
  var tmp;
534
536
  if (!(other == null) ? isInterface(other, Comparator) : false) {
535
537
  var tmp_0;
536
538
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
537
- tmp_0 = equals(this.m3(), other.m3());
539
+ tmp_0 = equals(this.l3(), other.l3());
538
540
  } else {
539
541
  tmp_0 = false;
540
542
  }
@@ -545,40 +547,40 @@ protoOf(sam$kotlin_Comparator$0).equals = function (other) {
545
547
  return tmp;
546
548
  };
547
549
  protoOf(sam$kotlin_Comparator$0).hashCode = function () {
548
- return hashCode(this.m3());
550
+ return hashCode(this.l3());
549
551
  };
550
552
  function PythonEmitter$emit$lambda(this$0) {
551
553
  return function (a, b) {
552
554
  // Inline function 'kotlin.comparisons.compareValuesBy' call
553
- var tmp = this$0.m22(a);
554
- var tmp$ret$1 = this$0.m22(b);
555
+ var tmp = this$0.y1z(a);
556
+ var tmp$ret$1 = this$0.y1z(b);
555
557
  return compareValues(tmp, tmp$ret$1);
556
558
  };
557
559
  }
558
560
  function emit$emitInit(this$0, def) {
559
- return 'from .' + this$0.yu(def.xu()) + ' import ' + this$0.yu(def.xu());
561
+ return 'from .' + this$0.or(def.nr()) + ' import ' + this$0.or(def.nr());
560
562
  }
561
563
  function PythonEmitter(packageName, emitShared) {
562
- packageName = packageName === VOID ? Companion_instance.nv('community.flock.wirespec.generated') : packageName;
563
- emitShared = emitShared === VOID ? Companion_instance_0.hs() : emitShared;
564
+ packageName = packageName === VOID ? Companion_instance.ds('community.flock.wirespec.generated') : packageName;
565
+ emitShared = emitShared === VOID ? Companion_instance_0.wo() : emitShared;
564
566
  LanguageEmitter.call(this);
565
- this.g22_1 = packageName;
566
- this.h22_1 = emitShared;
567
- this.i22_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.j22_1 = FileExtension_Python_getInstance();
569
- this.k22_1 = PythonShared_instance;
570
- this.l22_1 = '#';
571
- }
572
- protoOf(PythonEmitter).fu = function () {
573
- return this.j22_1;
567
+ this.s1z_1 = packageName;
568
+ this.t1z_1 = emitShared;
569
+ this.u1z_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';
570
+ this.v1z_1 = FileExtension_Python_getInstance();
571
+ this.w1z_1 = PythonShared_instance;
572
+ this.x1z_1 = '#';
573
+ }
574
+ protoOf(PythonEmitter).vq = function () {
575
+ return this.v1z_1;
574
576
  };
575
- protoOf(PythonEmitter).s20 = function () {
576
- return this.k22_1;
577
+ protoOf(PythonEmitter).e1y = function () {
578
+ return this.w1z_1;
577
579
  };
578
- protoOf(PythonEmitter).gu = function () {
579
- return this.l22_1;
580
+ protoOf(PythonEmitter).wq = function () {
581
+ return this.x1z_1;
580
582
  };
581
- protoOf(PythonEmitter).m22 = function (definition) {
583
+ protoOf(PythonEmitter).y1z = function (definition) {
582
584
  var tmp;
583
585
  if (definition instanceof Enum) {
584
586
  tmp = 1;
@@ -607,28 +609,28 @@ protoOf(PythonEmitter).m22 = function (definition) {
607
609
  }
608
610
  return tmp;
609
611
  };
610
- protoOf(PythonEmitter).vu = function (module_0, logger) {
612
+ protoOf(PythonEmitter).lr = function (module_0, logger) {
611
613
  // Inline function 'kotlin.collections.sortedBy' call
612
- var this_0 = new NonEmptyList(module_0.eu_1);
614
+ var this_0 = new NonEmptyList(module_0.uq_1);
613
615
  // Inline function 'kotlin.comparisons.compareBy' call
614
616
  var tmp = PythonEmitter$emit$lambda(this);
615
617
  var tmp$ret$0 = new sam$kotlin_Comparator$0(tmp);
616
618
  var tmp$ret$1 = sortedWith(this_0, tmp$ret$0);
617
619
  var tmp_0 = toNonEmptyListOrNull(tmp$ret$1);
618
- var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).zp_1;
620
+ var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).om_1;
619
621
  // Inline function 'kotlin.let' call
620
- var it = protoOf(LanguageEmitter).vu.call(this, module_0.xy(VOID, statements), logger);
621
- var init = new Emitted(this.g22_1.qv() + '__init__', 'from . import model\nfrom . import endpoint\nfrom . import wirespec\n');
622
- var tmp_1 = this.g22_1.qv() + 'endpoint/' + '__init__';
622
+ var it = protoOf(LanguageEmitter).lr.call(this, module_0.nv(VOID, statements), logger);
623
+ var init = new Emitted(this.s1z_1.gs() + '__init__', 'from . import model\nfrom . import endpoint\nfrom . import wirespec\n');
624
+ var tmp_1 = this.s1z_1.gs() + 'endpoint/' + '__init__';
623
625
  // Inline function 'kotlin.collections.filter' call
624
- var tmp0 = new NonEmptyList(module_0.eu_1);
626
+ var tmp0 = new NonEmptyList(module_0.uq_1);
625
627
  // Inline function 'kotlin.collections.filterTo' call
626
628
  var destination = ArrayList_init_$Create$();
627
629
  var _iterator__ex2g4s = tmp0.t();
628
630
  while (_iterator__ex2g4s.u()) {
629
631
  var element = _iterator__ex2g4s.v();
630
632
  if (element instanceof Endpoint) {
631
- destination.y(element);
633
+ destination.x(element);
632
634
  }
633
635
  }
634
636
  // Inline function 'kotlin.collections.map' call
@@ -638,19 +640,19 @@ protoOf(PythonEmitter).vu = function (module_0, logger) {
638
640
  while (_iterator__ex2g4s_0.u()) {
639
641
  var item = _iterator__ex2g4s_0.v();
640
642
  var tmp$ret$5 = emit$emitInit(this, item);
641
- destination_0.y(tmp$ret$5);
643
+ destination_0.x(tmp$ret$5);
642
644
  }
643
645
  var initEndpoint = new Emitted(tmp_1, joinToString(destination_0, '\n'));
644
- var tmp_2 = this.g22_1.qv() + 'model/' + '__init__';
646
+ var tmp_2 = this.s1z_1.gs() + 'model/' + '__init__';
645
647
  // Inline function 'kotlin.collections.filter' call
646
- var tmp0_0 = new NonEmptyList(module_0.eu_1);
648
+ var tmp0_0 = new NonEmptyList(module_0.uq_1);
647
649
  // Inline function 'kotlin.collections.filterTo' call
648
650
  var destination_1 = ArrayList_init_$Create$();
649
651
  var _iterator__ex2g4s_1 = tmp0_0.t();
650
652
  while (_iterator__ex2g4s_1.u()) {
651
653
  var element_0 = _iterator__ex2g4s_1.v();
652
654
  if (isInterface(element_0, Model)) {
653
- destination_1.y(element_0);
655
+ destination_1.x(element_0);
654
656
  }
655
657
  }
656
658
  // Inline function 'kotlin.collections.map' call
@@ -660,36 +662,36 @@ protoOf(PythonEmitter).vu = function (module_0, logger) {
660
662
  while (_iterator__ex2g4s_2.u()) {
661
663
  var item_0 = _iterator__ex2g4s_2.v();
662
664
  var tmp$ret$11 = emit$emitInit(this, item_0);
663
- destination_2.y(tmp$ret$11);
665
+ destination_2.x(tmp$ret$11);
664
666
  }
665
667
  var initModel = new Emitted(tmp_2, joinToString(destination_2, '\n'));
666
- var shared = new Emitted(this.g22_1.qv() + 'wirespec', this.s20().o22_1);
667
- return this.h22_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);
668
+ var shared = new Emitted(this.s1z_1.gs() + 'wirespec', this.e1y().a20_1);
669
+ return this.t1z_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);
668
670
  };
669
- protoOf(PythonEmitter).wu = function (definition, module_0, logger) {
670
- var subPackageName = plus_1(this.g22_1, definition);
671
+ protoOf(PythonEmitter).mr = function (definition, module_0, logger) {
672
+ var subPackageName = plus_1(this.s1z_1, definition);
671
673
  // Inline function 'kotlin.let' call
672
- var it = protoOf(LanguageEmitter).wu.call(this, definition, module_0, logger);
673
- var tmp = subPackageName.qv() + it.js_1;
674
+ var it = protoOf(LanguageEmitter).mr.call(this, definition, module_0, logger);
675
+ var tmp = subPackageName.gs() + it.yo_1;
674
676
  // Inline function 'kotlin.text.trimStart' call
675
- var this_0 = trimMargin('\n |' + this.i22_1 + '\n |' + it.ks_1 + '\n ');
677
+ var this_0 = trimMargin('\n |' + this.u1z_1 + '\n |' + it.zo_1 + '\n ');
676
678
  var tmp$ret$0 = toString(trimStart(isCharSequence(this_0) ? this_0 : THROW_CCE()));
677
679
  return new Emitted(tmp, tmp$ret$0);
678
680
  };
679
681
  function emitToRawRequest($this, _this__u8e3s4, endpoint) {
680
- var tmp = $this.yu(endpoint.ft_1);
682
+ var tmp = $this.or(endpoint.vp_1);
681
683
  var tmp_0 = Spacer_instance.toString();
682
684
  var tmp_1 = Spacer_instance.toString();
683
685
  var tmp_2 = Spacer_instance.toString();
684
- var tmp_3 = joinToString(endpoint.ht_1, VOID, VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda($this));
686
+ var tmp_3 = joinToString(endpoint.xp_1, VOID, VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda($this));
685
687
  var tmp_4 = Spacer_instance.toString();
686
688
  var tmp_5 = Spacer_instance.toString();
687
689
  var tmp_6 = Spacer_instance.toString();
688
690
  var tmp_7 = Spacer_instance.toString();
689
691
  var tmp_8;
690
692
  // Inline function 'kotlin.collections.isNotEmpty' call
691
- if (!endpoint.it_1.r()) {
692
- tmp_8 = prependIndent(joinToString(endpoint.it_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda_0($this)), Spacer_instance.sv(3));
693
+ if (!endpoint.yp_1.r()) {
694
+ tmp_8 = prependIndent(joinToString(endpoint.yp_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda_0($this)), Spacer_instance.is(3));
693
695
  } else {
694
696
  tmp_8 = '';
695
697
  }
@@ -700,8 +702,8 @@ function emitToRawRequest($this, _this__u8e3s4, endpoint) {
700
702
  var tmp_13 = Spacer_instance.toString();
701
703
  var tmp_14;
702
704
  // Inline function 'kotlin.collections.isNotEmpty' call
703
- if (!endpoint.jt_1.r()) {
704
- tmp_14 = prependIndent(joinToString(endpoint.jt_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda_1($this)), Spacer_instance.sv(3));
705
+ if (!endpoint.zp_1.r()) {
706
+ tmp_14 = prependIndent(joinToString(endpoint.zp_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitToRawRequest$lambda_1($this)), Spacer_instance.is(3));
705
707
  } else {
706
708
  tmp_14 = '';
707
709
  }
@@ -710,48 +712,48 @@ function emitToRawRequest($this, _this__u8e3s4, endpoint) {
710
712
  var tmp_17 = Spacer_instance.toString();
711
713
  var tmp_18 = Spacer_instance.toString();
712
714
  var tmp_19 = Spacer_instance.toString();
713
- var tmp0_safe_receiver = _this__u8e3s4.ot_1;
714
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qt_1;
715
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.r22(tmp1_safe_receiver);
715
+ var tmp0_safe_receiver = _this__u8e3s4.eq_1;
716
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gq_1;
717
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.d20(tmp1_safe_receiver);
716
718
  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 ');
717
719
  }
718
720
  function emitFromRawRequest($this, _this__u8e3s4, endpoint) {
719
- 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 ');
721
+ return trimMargin("\n |@staticmethod\n |def from_raw_request(serialization: Wirespec.Deserializer, request: Wirespec.RawRequest) -> '" + $this.or(endpoint.vp_1) + ".Request':\n |" + Spacer_instance.toString() + 'return ' + $this.or(endpoint.vp_1) + '.Request' + emitDeserializedParams($this, _this__u8e3s4, endpoint) + '\n |\n ');
720
722
  }
721
723
  function emitDeserializedParams($this, _this__u8e3s4, endpoint) {
722
724
  var tmp = get_indexedPathParams(endpoint);
723
725
  var tmp_0 = orNull(joinToString(tmp, VOID, VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda($this)));
724
- var tmp_1 = orNull(joinToString(endpoint.it_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_0($this)));
725
- var tmp_2 = orNull(joinToString(endpoint.jt_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_1($this)));
726
- var tmp0_safe_receiver = _this__u8e3s4.ot_1;
726
+ var tmp_1 = orNull(joinToString(endpoint.yp_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_0($this)));
727
+ var tmp_2 = orNull(joinToString(endpoint.zp_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_1($this)));
728
+ var tmp0_safe_receiver = _this__u8e3s4.eq_1;
727
729
  var tmp_3;
728
730
  if (tmp0_safe_receiver == null) {
729
731
  tmp_3 = null;
730
732
  } else {
731
733
  // Inline function 'kotlin.let' call
732
- tmp_3 = Spacer_instance.sv(3) + 'body = serialization.deserialize(request.body, ' + $this.r22(tmp0_safe_receiver.qt_1) + '),';
734
+ tmp_3 = Spacer_instance.is(3) + 'body = serialization.deserialize(request.body, ' + $this.d20(tmp0_safe_receiver.gq_1) + '),';
733
735
  }
734
736
  // Inline function 'kotlin.let' call
735
737
  var it = joinToString(listOfNotNull([tmp_0, tmp_1, tmp_2, tmp_3]), ',\n');
736
738
  return isBlank(it) ? '()' : '(\n' + it + '\n)';
737
739
  }
738
740
  function emitResponseUnion($this, _this__u8e3s4) {
739
- return trimMargin('\n |Response = ' + joinToString(_this__u8e3s4.lt_1, ' | ', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitResponseUnion$lambda) + '\n |\n ');
741
+ return trimMargin('\n |Response = ' + joinToString(_this__u8e3s4.bq_1, ' | ', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitResponseUnion$lambda) + '\n |\n ');
740
742
  }
741
743
  function emitHandleClass($this, _this__u8e3s4) {
742
- 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 ");
744
+ return trimMargin('\n |class Handler(Wirespec.Endpoint.Handler):\n |' + Spacer_instance.toString() + '@abstractmethod\n |' + Spacer_instance.toString() + 'def ' + _this__u8e3s4.vp_1.l1() + "(self, req: '" + $this.or(_this__u8e3s4.vp_1) + ".Request') -> '" + $this.or(_this__u8e3s4.vp_1) + ".Response': pass\n |\n ");
743
745
  }
744
746
  function emitConvertClass($this, _this__u8e3s4) {
745
- 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 ');
747
+ return trimMargin('\n |class Convert(Wirespec.Endpoint.Convert[Request, Response]):\n |' + spacer(emitToRawRequest($this, first(_this__u8e3s4.aq_1), _this__u8e3s4), 1) + '\n |' + spacer(emitFromRawRequest($this, first(_this__u8e3s4.aq_1), _this__u8e3s4), 1) + '\n |' + spacer(emitToRawResponse($this, _this__u8e3s4), 1) + '\n |' + spacer(emitFromRawResponse($this, _this__u8e3s4), 1) + '\n |\n ');
746
748
  }
747
749
  function emit_16($this, _this__u8e3s4) {
748
- return $this.yu(_this__u8e3s4.ku_1) + ': ' + $this.yt(_this__u8e3s4.lu_1);
750
+ return $this.or(_this__u8e3s4.ar_1) + ': ' + $this.oq(_this__u8e3s4.br_1);
749
751
  }
750
752
  function emitAssignSelf($this, _this__u8e3s4) {
751
- return $this.yu(_this__u8e3s4.ku_1) + ' = ' + $this.yu(_this__u8e3s4.ku_1);
753
+ return $this.or(_this__u8e3s4.ar_1) + ' = ' + $this.or(_this__u8e3s4.ar_1);
752
754
  }
753
755
  function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
754
- var tmp = $this.yu(endpoint.ft_1);
756
+ var tmp = $this.or(endpoint.vp_1);
755
757
  // Inline function 'kotlin.collections.filter' call
756
758
  var tmp0 = paramList(_this__u8e3s4, endpoint);
757
759
  // Inline function 'kotlin.collections.filterTo' call
@@ -759,13 +761,13 @@ function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
759
761
  var _iterator__ex2g4s = tmp0.t();
760
762
  while (_iterator__ex2g4s.u()) {
761
763
  var element = _iterator__ex2g4s.v();
762
- if (element.ju_1.equals(ParamType_PATH_getInstance())) {
763
- destination.y(element);
764
+ if (element.zq_1.equals(ParamType_PATH_getInstance())) {
765
+ destination.x(element);
764
766
  }
765
767
  }
766
768
  var tmp_0 = destination;
767
769
  var tmp_1 = joinToString(tmp_0, VOID, VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitAssignSelf$lambda($this));
768
- var tmp_2 = $this.yu(endpoint.ft_1);
770
+ var tmp_2 = $this.or(endpoint.vp_1);
769
771
  // Inline function 'kotlin.collections.filter' call
770
772
  var tmp0_0 = paramList(_this__u8e3s4, endpoint);
771
773
  // Inline function 'kotlin.collections.filterTo' call
@@ -773,13 +775,13 @@ function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
773
775
  var _iterator__ex2g4s_0 = tmp0_0.t();
774
776
  while (_iterator__ex2g4s_0.u()) {
775
777
  var element_0 = _iterator__ex2g4s_0.v();
776
- if (element_0.ju_1.equals(ParamType_QUERY_getInstance())) {
777
- destination_0.y(element_0);
778
+ if (element_0.zq_1.equals(ParamType_QUERY_getInstance())) {
779
+ destination_0.x(element_0);
778
780
  }
779
781
  }
780
782
  var tmp_3 = destination_0;
781
783
  var tmp_4 = spacer(joinToString(tmp_3, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitAssignSelf$lambda_0($this)), 1);
782
- var tmp_5 = $this.yu(endpoint.ft_1);
784
+ var tmp_5 = $this.or(endpoint.vp_1);
783
785
  // Inline function 'kotlin.collections.filter' call
784
786
  var tmp0_1 = paramList(_this__u8e3s4, endpoint);
785
787
  // Inline function 'kotlin.collections.filterTo' call
@@ -787,14 +789,14 @@ function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
787
789
  var _iterator__ex2g4s_1 = tmp0_1.t();
788
790
  while (_iterator__ex2g4s_1.u()) {
789
791
  var element_1 = _iterator__ex2g4s_1.v();
790
- if (element_1.ju_1.equals(ParamType_HEADER_getInstance())) {
791
- destination_1.y(element_1);
792
+ if (element_1.zq_1.equals(ParamType_HEADER_getInstance())) {
793
+ destination_1.x(element_1);
792
794
  }
793
795
  }
794
796
  var tmp_6 = destination_1;
795
797
  var tmp_7 = spacer(joinToString(tmp_6, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitAssignSelf$lambda_1($this)), 1);
796
798
  var tmp_8;
797
- if (_this__u8e3s4.ot_1 == null) {
799
+ if (_this__u8e3s4.eq_1 == null) {
798
800
  tmp_8 = null;
799
801
  } else {
800
802
  // Inline function 'kotlin.let' call
@@ -804,7 +806,7 @@ function emitAssignSelf_0($this, _this__u8e3s4, endpoint) {
804
806
  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 ');
805
807
  }
806
808
  function emitAssignSelf_1($this, _this__u8e3s4, endpoint) {
807
- var tmp = $this.yu(endpoint.ft_1);
809
+ var tmp = $this.or(endpoint.vp_1);
808
810
  // Inline function 'kotlin.collections.filter' call
809
811
  var tmp0 = paramList_0(_this__u8e3s4);
810
812
  // Inline function 'kotlin.collections.filterTo' call
@@ -812,35 +814,35 @@ function emitAssignSelf_1($this, _this__u8e3s4, endpoint) {
812
814
  var _iterator__ex2g4s = tmp0.t();
813
815
  while (_iterator__ex2g4s.u()) {
814
816
  var element = _iterator__ex2g4s.v();
815
- if (element.ju_1.equals(ParamType_HEADER_getInstance())) {
816
- destination.y(element);
817
+ if (element.zq_1.equals(ParamType_HEADER_getInstance())) {
818
+ destination.x(element);
817
819
  }
818
820
  }
819
821
  var tmp_0 = destination;
820
822
  var tmp_1 = spacer(joinToString(tmp_0, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitAssignSelf$lambda_2($this)), 1);
821
823
  var tmp_2;
822
- if (_this__u8e3s4.tt_1 == null) {
824
+ if (_this__u8e3s4.jq_1 == null) {
823
825
  tmp_2 = null;
824
826
  } else {
825
827
  // Inline function 'kotlin.let' call
826
828
  tmp_2 = 'body';
827
829
  }
828
830
  var tmp1_elvis_lhs = tmp_2;
829
- 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 ');
831
+ return trimMargin('\n |self._headers = ' + tmp + '.Response' + _this__u8e3s4.hq_1 + '.Headers(' + tmp_1 + ')\n |self._body = ' + (tmp1_elvis_lhs == null ? 'None' : tmp1_elvis_lhs) + '\n ');
830
832
  }
831
833
  function emitDeserialized($this, _this__u8e3s4) {
832
- return Spacer_instance.sv(3) + $this.yu(_this__u8e3s4.lf_1.mt_1) + ' = serialization.deserialize(request.path[' + _this__u8e3s4.kf_1 + '], ' + $this.r22(_this__u8e3s4.lf_1.nt_1) + ')';
834
+ return Spacer_instance.is(3) + $this.or(_this__u8e3s4.ue_1.cq_1) + ' = serialization.deserialize(request.path[' + _this__u8e3s4.te_1 + '], ' + $this.d20(_this__u8e3s4.ue_1.dq_1) + ')';
833
835
  }
834
836
  function emitDeserializedParams_0($this, _this__u8e3s4, type, fields, spaces, caseSensitive) {
835
837
  var tmp;
836
838
  if (caseSensitive) {
837
- tmp = Spacer_instance.sv(spaces) + $this.yu(_this__u8e3s4.bt_1) + ' = serialization.deserialize_param(' + type + '.' + fields + '.get("' + _this__u8e3s4.bt_1.m1() + '"), ' + $this.r22(_this__u8e3s4.ct_1) + ')';
839
+ tmp = Spacer_instance.is(spaces) + $this.or(_this__u8e3s4.rp_1) + ' = serialization.deserialize_param(' + type + '.' + fields + '.get("' + _this__u8e3s4.rp_1.l1() + '"), ' + $this.d20(_this__u8e3s4.sp_1) + ')';
838
840
  } else {
839
- var tmp_0 = Spacer_instance.sv(spaces);
840
- var tmp_1 = $this.yu(_this__u8e3s4.bt_1);
841
+ var tmp_0 = Spacer_instance.is(spaces);
842
+ var tmp_1 = $this.or(_this__u8e3s4.rp_1);
841
843
  // Inline function 'kotlin.text.lowercase' call
842
844
  // Inline function 'kotlin.js.asDynamic' call
843
- 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.r22(_this__u8e3s4.ct_1) + ')';
845
+ tmp = tmp_0 + tmp_1 + ' = serialization.deserialize_param(next((v for k, v in ' + type + '.' + fields + '.items() if k.lower() == "' + _this__u8e3s4.rp_1.l1().toLowerCase() + '"), None), ' + $this.d20(_this__u8e3s4.sp_1) + ')';
844
846
  }
845
847
  return tmp;
846
848
  }
@@ -850,73 +852,73 @@ function emitDeserializedParams$default($this, _this__u8e3s4, type, fields, spac
850
852
  return emitDeserializedParams_0($this, _this__u8e3s4, type, fields, spaces, caseSensitive);
851
853
  }
852
854
  function emitToRawResponse($this, _this__u8e3s4) {
853
- var tmp = $this.yu(_this__u8e3s4.ft_1);
855
+ var tmp = $this.or(_this__u8e3s4.vp_1);
854
856
  var tmp_0 = Spacer_instance.toString();
855
- var tmp_1 = distinctByStatus(_this__u8e3s4.lt_1);
857
+ var tmp_1 = distinctByStatus(_this__u8e3s4.bq_1);
856
858
  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 ');
857
859
  }
858
860
  function emitFromRawResponse($this, _this__u8e3s4) {
859
- var tmp = $this.yu(_this__u8e3s4.ft_1);
861
+ var tmp = $this.or(_this__u8e3s4.vp_1);
860
862
  var tmp_0 = Spacer_instance.toString();
861
863
  // Inline function 'kotlin.collections.filter' call
862
- var tmp0 = distinctByStatus(_this__u8e3s4.lt_1);
864
+ var tmp0 = distinctByStatus(_this__u8e3s4.bq_1);
863
865
  // Inline function 'kotlin.collections.filterTo' call
864
866
  var destination = ArrayList_init_$Create$();
865
867
  var _iterator__ex2g4s = tmp0.t();
866
868
  while (_iterator__ex2g4s.u()) {
867
869
  var element = _iterator__ex2g4s.v();
868
- if (Companion_instance_1.tu(element.rt_1)) {
869
- destination.y(element);
870
+ if (Companion_instance_1.jr(element.hq_1)) {
871
+ destination.x(element);
870
872
  }
871
873
  }
872
874
  var tmp_1 = destination;
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.sv(2) + 'case _:\n |' + Spacer_instance.sv(3) + 'raise Exception("Cannot match response with status: " + str(response.status_code))\n |\n ');
875
+ 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.is(2) + 'case _:\n |' + Spacer_instance.is(3) + 'raise Exception("Cannot match response with status: " + str(response.status_code))\n |\n ');
874
876
  }
875
877
  function emitDeserialized_0($this, _this__u8e3s4, endpoint) {
876
- var tmp = 'case ' + _this__u8e3s4.rt_1 + ':';
877
- var tmp_0 = Spacer_instance.toString() + 'return ' + $this.yu(endpoint.ft_1) + '.Response' + _this__u8e3s4.rt_1 + '(';
878
- var tmp_1 = Spacer_instance.sv(2);
879
- var tmp0_safe_receiver = _this__u8e3s4.tt_1;
880
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qt_1;
881
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.r22(tmp1_safe_receiver);
878
+ var tmp = 'case ' + _this__u8e3s4.hq_1 + ':';
879
+ var tmp_0 = Spacer_instance.toString() + 'return ' + $this.or(endpoint.vp_1) + '.Response' + _this__u8e3s4.hq_1 + '(';
880
+ var tmp_1 = Spacer_instance.is(2);
881
+ var tmp0_safe_receiver = _this__u8e3s4.jq_1;
882
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gq_1;
883
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.d20(tmp1_safe_receiver);
882
884
  var tmp_2 = tmp_1 + 'body = serialization.deserialize(response.body, ' + (tmp2_elvis_lhs == null ? 'type(None)' : tmp2_elvis_lhs) + '),';
883
- 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');
885
+ return joinToString(listOfNotNull([tmp, tmp_0, tmp_2, orNull(joinToString(_this__u8e3s4.iq_1, ',\n', VOID, VOID, VOID, VOID, PythonEndpointDefinitionEmitter$emitDeserialized$lambda($this))), Spacer_instance.toString() + ')']), '\n');
884
886
  }
885
887
  function emitSerialized($this, _this__u8e3s4, endpoint) {
886
- var tmp = $this.yu(endpoint.ft_1);
887
- var tmp_0 = Spacer_instance.sv(1);
888
- var tmp_1 = Spacer_instance.sv(2);
889
- var tmp_2 = Spacer_instance.sv(2);
888
+ var tmp = $this.or(endpoint.vp_1);
889
+ var tmp_0 = Spacer_instance.is(1);
890
+ var tmp_1 = Spacer_instance.is(2);
891
+ var tmp_2 = Spacer_instance.is(2);
890
892
  var tmp_3;
891
893
  // Inline function 'kotlin.collections.isNotEmpty' call
892
- if (!_this__u8e3s4.st_1.r()) {
893
- tmp_3 = joinToString(_this__u8e3s4.st_1, ', ', '{', '}', VOID, VOID, PythonEndpointDefinitionEmitter$emitSerialized$lambda($this));
894
+ if (!_this__u8e3s4.iq_1.r()) {
895
+ tmp_3 = joinToString(_this__u8e3s4.iq_1, ', ', '{', '}', VOID, VOID, PythonEndpointDefinitionEmitter$emitSerialized$lambda($this));
894
896
  } else {
895
897
  tmp_3 = '{}';
896
898
  }
897
899
  var tmp_4 = tmp_3;
898
- var tmp_5 = Spacer_instance.sv(2);
899
- var tmp0_safe_receiver = _this__u8e3s4.tt_1;
900
+ var tmp_5 = Spacer_instance.is(2);
901
+ var tmp0_safe_receiver = _this__u8e3s4.jq_1;
900
902
  var tmp_6;
901
903
  if (tmp0_safe_receiver == null) {
902
904
  tmp_6 = null;
903
905
  } else {
904
906
  // Inline function 'kotlin.let' call
905
- tmp_6 = 'serialization.serialize(response.body, ' + $this.r22(tmp0_safe_receiver.qt_1) + ')';
907
+ tmp_6 = 'serialization.serialize(response.body, ' + $this.d20(tmp0_safe_receiver.gq_1) + ')';
906
908
  }
907
909
  var tmp1_elvis_lhs = tmp_6;
908
- 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 ');
910
+ return trimMargin('\n |case ' + tmp + '.Response' + _this__u8e3s4.hq_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.is(1) + ')\n ');
909
911
  }
910
912
  function emitSerializedParams($this, _this__u8e3s4, type, fields) {
911
- return '"' + _this__u8e3s4.bt_1.m1() + '": serialization.serialize_param(' + type + '.' + fields + '.' + $this.yu(_this__u8e3s4.bt_1) + ', ' + $this.r22(_this__u8e3s4.ct_1) + ')';
913
+ return '"' + _this__u8e3s4.rp_1.l1() + '": serialization.serialize_param(' + type + '.' + fields + '.' + $this.or(_this__u8e3s4.rp_1) + ', ' + $this.d20(_this__u8e3s4.sp_1) + ')';
912
914
  }
913
915
  function emitObject($this, _this__u8e3s4, name, extends_0, spaces, block) {
914
916
  var tmp;
915
917
  if (_this__u8e3s4.r()) {
916
- tmp = trimMargin('\n |' + Spacer_instance.sv(spaces) + '@dataclass\n |' + Spacer_instance.sv(spaces) + 'class ' + name + ' (' + extends_0 + '): pass\n ');
918
+ tmp = trimMargin('\n |' + Spacer_instance.is(spaces) + '@dataclass\n |' + Spacer_instance.is(spaces) + 'class ' + name + ' (' + extends_0 + '): pass\n ');
917
919
  } else {
918
- var tmp_0 = Spacer_instance.sv(spaces);
919
- var tmp_1 = Spacer_instance.sv(spaces);
920
+ var tmp_0 = Spacer_instance.is(spaces);
921
+ var tmp_1 = Spacer_instance.is(spaces);
920
922
  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 ');
921
923
  }
922
924
  return tmp;
@@ -926,21 +928,21 @@ function emitObject$default($this, _this__u8e3s4, name, extends_0, spaces, block
926
928
  return emitObject($this, _this__u8e3s4, name, extends_0, spaces, block);
927
929
  }
928
930
  function emit_17($this, _this__u8e3s4) {
929
- return $this.yu(_this__u8e3s4.mt_1) + ': ' + $this.yt(_this__u8e3s4.nt_1);
931
+ return $this.or(_this__u8e3s4.cq_1) + ': ' + $this.oq(_this__u8e3s4.dq_1);
930
932
  }
931
933
  function emit_18($this, _this__u8e3s4) {
932
- var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.qt_1;
933
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.yt(tmp1_safe_receiver);
934
+ var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.gq_1;
935
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.oq(tmp1_safe_receiver);
934
936
  return tmp2_elvis_lhs == null ? 'None' : tmp2_elvis_lhs;
935
937
  }
936
938
  function PythonEndpointDefinitionEmitter$emit$lambda(this$0) {
937
939
  return function (it) {
938
- return this$0.s22(it);
940
+ return this$0.e20(it);
939
941
  };
940
942
  }
941
943
  function PythonEndpointDefinitionEmitter$emit$lambda_0(this$0, $endpoint) {
942
944
  return function (it) {
943
- return this$0.q22(it, $endpoint);
945
+ return this$0.c20(it, $endpoint);
944
946
  };
945
947
  }
946
948
  function PythonEndpointDefinitionEmitter$emit$lambda_1(this$0) {
@@ -950,12 +952,12 @@ function PythonEndpointDefinitionEmitter$emit$lambda_1(this$0) {
950
952
  }
951
953
  function PythonEndpointDefinitionEmitter$emit$lambda_2(this$0) {
952
954
  return function (it) {
953
- return this$0.xt(it);
955
+ return this$0.nq(it);
954
956
  };
955
957
  }
956
958
  function PythonEndpointDefinitionEmitter$emit$lambda_3(this$0) {
957
959
  return function (it) {
958
- return this$0.xt(it);
960
+ return this$0.nq(it);
959
961
  };
960
962
  }
961
963
  function PythonEndpointDefinitionEmitter$emit$lambda_4(this$0) {
@@ -967,10 +969,10 @@ function PythonEndpointDefinitionEmitter$emitToRawRequest$lambda(this$0) {
967
969
  return function (it) {
968
970
  var tmp;
969
971
  if (it instanceof Literal) {
970
- tmp = '"' + it.iu_1 + '"';
972
+ tmp = '"' + it.yq_1 + '"';
971
973
  } else {
972
974
  if (it instanceof Param) {
973
- tmp = 'str(request.path.' + this$0.yu(it.mt_1) + ')';
975
+ tmp = 'str(request.path.' + this$0.or(it.cq_1) + ')';
974
976
  } else {
975
977
  noWhenBranchMatchedException();
976
978
  }
@@ -1004,7 +1006,7 @@ function PythonEndpointDefinitionEmitter$emitDeserializedParams$lambda_1(this$0)
1004
1006
  };
1005
1007
  }
1006
1008
  function PythonEndpointDefinitionEmitter$emitResponseUnion$lambda(it) {
1007
- return 'Response' + it.rt_1;
1009
+ return 'Response' + it.hq_1;
1008
1010
  }
1009
1011
  function PythonEndpointDefinitionEmitter$emitAssignSelf$lambda(this$0) {
1010
1012
  return function (it) {
@@ -1028,7 +1030,7 @@ function PythonEndpointDefinitionEmitter$emitAssignSelf$lambda_2(this$0) {
1028
1030
  }
1029
1031
  function PythonEndpointDefinitionEmitter$emit$lambda_5(this$0) {
1030
1032
  return function (it) {
1031
- return this$0.xt(it);
1033
+ return this$0.nq(it);
1032
1034
  };
1033
1035
  }
1034
1036
  function PythonEndpointDefinitionEmitter$emit$lambda_6(this$0) {
@@ -1058,7 +1060,7 @@ function PythonEndpointDefinitionEmitter$emitSerialized$lambda(this$0) {
1058
1060
  }
1059
1061
  function PythonEndpointDefinitionEmitter$emitObject$lambda($spaces, $block) {
1060
1062
  return function (it) {
1061
- return Spacer_instance.sv($spaces + 2 | 0) + $block(it);
1063
+ return Spacer_instance.is($spaces + 2 | 0) + $block(it);
1062
1064
  };
1063
1065
  }
1064
1066
  function PythonEndpointDefinitionEmitter() {
@@ -1087,14 +1089,14 @@ function sanitizeEnum($this, _this__u8e3s4) {
1087
1089
  }
1088
1090
  function PythonEnumDefinitionEmitter$emit$lambda(this$0) {
1089
1091
  return function (it) {
1090
- return Spacer_instance.toString() + this$0.z20(sanitizeEnum(this$0, it)) + ' = "' + it + '"';
1092
+ return Spacer_instance.toString() + this$0.l1y(sanitizeEnum(this$0, it)) + ' = "' + it + '"';
1091
1093
  };
1092
1094
  }
1093
1095
  function PythonEnumDefinitionEmitter() {
1094
1096
  }
1095
1097
  function Companion() {
1096
1098
  Companion_instance_2 = this;
1097
- this.t22_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']);
1099
+ this.f20_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']);
1098
1100
  }
1099
1101
  var Companion_instance_2;
1100
1102
  function Companion_getInstance_0() {
@@ -1105,15 +1107,15 @@ function Companion_getInstance_0() {
1105
1107
  function PythonIdentifierEmitter() {
1106
1108
  }
1107
1109
  function _get_sanitizationConfig__sns434($this) {
1108
- var tmp0 = $this.y22_1;
1110
+ var tmp0 = $this.k20_1;
1109
1111
  var tmp = KProperty1;
1110
1112
  // Inline function 'kotlin.getValue' call
1111
1113
  getPropertyCallableRef('sanitizationConfig', 1, tmp, PythonIrEmitter$_get_sanitizationConfig_$ref_1q5eai(), null);
1112
- return tmp0.m1();
1114
+ return tmp0.l1();
1113
1115
  }
1114
1116
  function sanitize_0($this, _this__u8e3s4) {
1115
1117
  // Inline function 'kotlin.collections.mapIndexed' call
1116
- var this_0 = split(_this__u8e3s4.m1(), ['.', ' ']);
1118
+ var this_0 = split(_this__u8e3s4.l1(), ['.', ' ']);
1117
1119
  // Inline function 'kotlin.collections.mapIndexedTo' call
1118
1120
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1119
1121
  var index = 0;
@@ -1122,8 +1124,8 @@ function sanitize_0($this, _this__u8e3s4) {
1122
1124
  var item = _iterator__ex2g4s.v();
1123
1125
  var _unary__edvuaz = index;
1124
1126
  index = _unary__edvuaz + 1 | 0;
1125
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.pu(item) : item;
1126
- destination.y(tmp$ret$0);
1127
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.fr(item) : item;
1128
+ destination.x(tmp$ret$0);
1127
1129
  }
1128
1130
  // Inline function 'kotlin.text.filter' call
1129
1131
  var tmp0 = joinToString(destination, '');
@@ -1168,7 +1170,7 @@ function sanitize_0($this, _this__u8e3s4) {
1168
1170
  return tmp_2;
1169
1171
  }
1170
1172
  function sanitizeKeywords_0($this, _this__u8e3s4) {
1171
- return Companion_getInstance_1().a23_1.v1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1173
+ return Companion_getInstance_1().m20_1.u1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1172
1174
  }
1173
1175
  function sanitizeEnum_0($this, _this__u8e3s4) {
1174
1176
  // Inline function 'kotlin.let' call
@@ -1194,7 +1196,7 @@ function buildImports($this, wirespecPath) {
1194
1196
  }
1195
1197
  function Companion_0() {
1196
1198
  Companion_instance_3 = this;
1197
- this.a23_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']);
1199
+ this.m20_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']);
1198
1200
  }
1199
1201
  var Companion_instance_3;
1200
1202
  function Companion_getInstance_1() {
@@ -1203,23 +1205,23 @@ function Companion_getInstance_1() {
1203
1205
  return Companion_instance_3;
1204
1206
  }
1205
1207
  function sam$kotlin_Comparator$0_0(function_0) {
1206
- this.b23_1 = function_0;
1208
+ this.n20_1 = function_0;
1207
1209
  }
1208
- protoOf(sam$kotlin_Comparator$0_0).ud = function (a, b) {
1209
- return this.b23_1(a, b);
1210
+ protoOf(sam$kotlin_Comparator$0_0).td = function (a, b) {
1211
+ return this.n20_1(a, b);
1210
1212
  };
1211
1213
  protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
1212
- return this.ud(a, b);
1214
+ return this.td(a, b);
1213
1215
  };
1214
- protoOf(sam$kotlin_Comparator$0_0).m3 = function () {
1215
- return this.b23_1;
1216
+ protoOf(sam$kotlin_Comparator$0_0).l3 = function () {
1217
+ return this.n20_1;
1216
1218
  };
1217
1219
  protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
1218
1220
  var tmp;
1219
1221
  if (!(other == null) ? isInterface(other, Comparator) : false) {
1220
1222
  var tmp_0;
1221
1223
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1222
- tmp_0 = equals(this.m3(), other.m3());
1224
+ tmp_0 = equals(this.l3(), other.l3());
1223
1225
  } else {
1224
1226
  tmp_0 = false;
1225
1227
  }
@@ -1230,17 +1232,17 @@ protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
1230
1232
  return tmp;
1231
1233
  };
1232
1234
  protoOf(sam$kotlin_Comparator$0_0).hashCode = function () {
1233
- return hashCode(this.m3());
1235
+ return hashCode(this.l3());
1234
1236
  };
1235
1237
  function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda(it) {
1236
1238
  return '_' + it;
1237
1239
  }
1238
1240
  function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_0(name) {
1239
- var sanitized = name.a1l_1.b1() > 1 ? name.f1q() : name.y1m();
1241
+ var sanitized = name.q1h_1.a1() > 1 ? name.e1n() : name.r1j();
1240
1242
  return new Name(listOf_0(sanitized));
1241
1243
  }
1242
1244
  function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_1(name) {
1243
- return new Name(listOf_0(name.f1q()));
1245
+ return new Name(listOf_0(name.e1n()));
1244
1246
  }
1245
1247
  function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_2(it) {
1246
1248
  return it;
@@ -1249,21 +1251,21 @@ function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
1249
1251
  return function (stmt, tr) {
1250
1252
  var tmp;
1251
1253
  if (stmt instanceof ConstructorStatement) {
1252
- var tmp_0 = tr.n1y(stmt.h1r_1);
1254
+ var tmp_0 = tr.z1v(stmt.j1o_1);
1253
1255
  // Inline function 'kotlin.collections.map' call
1254
- var this_0 = stmt.i1r_1;
1256
+ var this_0 = stmt.k1o_1;
1255
1257
  // Inline function 'kotlin.collections.mapTo' call
1256
- var destination = ArrayList_init_$Create$_0(this_0.b1());
1258
+ var destination = ArrayList_init_$Create$_0(this_0.a1());
1257
1259
  // Inline function 'kotlin.collections.iterator' call
1258
- var _iterator__ex2g4s = this_0.k1().t();
1260
+ var _iterator__ex2g4s = this_0.j1().t();
1259
1261
  while (_iterator__ex2g4s.u()) {
1260
1262
  var item = _iterator__ex2g4s.v();
1261
1263
  // Inline function 'kotlin.collections.component1' call
1262
- var k = item.l1();
1264
+ var k = item.k1();
1263
1265
  // Inline function 'kotlin.collections.component2' call
1264
- var v = item.m1();
1265
- var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), k), tr.q1y(v));
1266
- destination.y(tmp$ret$3);
1266
+ var v = item.l1();
1267
+ var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), k), tr.c1w(v));
1268
+ destination.x(tmp$ret$3);
1267
1269
  }
1268
1270
  tmp = new ConstructorStatement(tmp_0, toMap(destination));
1269
1271
  } else {
@@ -1274,7 +1276,7 @@ function PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
1274
1276
  }
1275
1277
  function PythonIrEmitter$sanitizationConfig$delegate$lambda(this$0) {
1276
1278
  return function () {
1277
- var tmp = Companion_getInstance_1().a23_1;
1279
+ var tmp = Companion_getInstance_1().m20_1;
1278
1280
  var tmp_0 = PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda;
1279
1281
  var tmp_1 = PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_0;
1280
1282
  var tmp_2 = PythonIrEmitter$sanitizationConfig$delegate$lambda$lambda_1;
@@ -1294,7 +1296,7 @@ function PythonIrEmitter$emit$lambda(a, b) {
1294
1296
  return compareValues(tmp, tmp$ret$1);
1295
1297
  }
1296
1298
  function emit$emitInitImport(this$0, def) {
1297
- return import_0('.' + sanitize_0(this$0, def.xu()), sanitize_0(this$0, def.xu()));
1299
+ return import_0('.' + sanitize_0(this$0, def.nr()), sanitize_0(this$0, def.nr()));
1298
1300
  }
1299
1301
  function PythonIrEmitter$emitGenerator$lambda(it) {
1300
1302
  return startsWith(it, 'Wirespec.') || it === 'Wirespec';
@@ -1313,17 +1315,17 @@ function PythonIrEmitter$emitGenerator$lambda_2($generatorOwnName, $generatorRef
1313
1315
  var tmp_0;
1314
1316
  var tmp_1;
1315
1317
  if (expr instanceof RawExpression) {
1316
- tmp_1 = endsWith(expr.b1t_1, 'Generator');
1318
+ tmp_1 = endsWith(expr.h1q_1, 'Generator');
1317
1319
  } else {
1318
1320
  tmp_1 = false;
1319
1321
  }
1320
1322
  if (tmp_1) {
1321
- tmp_0 = !(expr.b1t_1 === $generatorOwnName);
1323
+ tmp_0 = !(expr.h1q_1 === $generatorOwnName);
1322
1324
  } else {
1323
1325
  tmp_0 = false;
1324
1326
  }
1325
1327
  if (tmp_0) {
1326
- $generatorRefs.y(expr.b1t_1);
1328
+ $generatorRefs.x(expr.h1q_1);
1327
1329
  tmp = Unit_instance;
1328
1330
  }
1329
1331
  return transformChildren_0(expr, t);
@@ -1336,43 +1338,43 @@ function PythonIrEmitter$emit$lambda_0(this$0) {
1336
1338
  }
1337
1339
  function PythonIrEmitter(packageName, emitShared) {
1338
1340
  Companion_getInstance_1();
1339
- packageName = packageName === VOID ? Companion_instance.nv('community.flock.wirespec.generated') : packageName;
1340
- emitShared = emitShared === VOID ? Companion_instance_0.hs() : emitShared;
1341
- this.u22_1 = packageName;
1342
- this.v22_1 = emitShared;
1343
- this.w22_1 = PythonGenerator_instance;
1344
- this.x22_1 = FileExtension_Python_getInstance();
1341
+ packageName = packageName === VOID ? Companion_instance.ds('community.flock.wirespec.generated') : packageName;
1342
+ emitShared = emitShared === VOID ? Companion_instance_0.wo() : emitShared;
1343
+ this.g20_1 = packageName;
1344
+ this.h20_1 = emitShared;
1345
+ this.i20_1 = PythonGenerator_instance;
1346
+ this.j20_1 = FileExtension_Python_getInstance();
1345
1347
  var tmp = this;
1346
- tmp.y22_1 = lazy(PythonIrEmitter$sanitizationConfig$delegate$lambda(this));
1347
- this.z22_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";
1348
+ tmp.k20_1 = lazy(PythonIrEmitter$sanitizationConfig$delegate$lambda(this));
1349
+ this.l20_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";
1348
1350
  }
1349
- protoOf(PythonIrEmitter).i1z = function () {
1350
- return this.w22_1;
1351
+ protoOf(PythonIrEmitter).u1w = function () {
1352
+ return this.i20_1;
1351
1353
  };
1352
- protoOf(PythonIrEmitter).fu = function () {
1353
- return this.x22_1;
1354
+ protoOf(PythonIrEmitter).vq = function () {
1355
+ return this.j20_1;
1354
1356
  };
1355
- protoOf(PythonIrEmitter).m1z = function () {
1356
- var source = replaceReflectInNonGenericStructFields(convert(Companion_instance.nv('shared')));
1357
+ protoOf(PythonIrEmitter).y1w = function () {
1358
+ var source = replaceReflectInNonGenericStructFields(convert(Companion_instance.ds('shared')));
1357
1359
  var tmp;
1358
- if (this.v22_1.is_1) {
1359
- tmp = new File(Companion_getInstance().c1l(this.u22_1.qv() + 'wirespec'), listOf_0(raw(this.z22_1 + PythonGenerator_instance.j1z(source))));
1360
+ if (this.h20_1.xo_1) {
1361
+ tmp = new File(Companion_getInstance().s1h(this.g20_1.gs() + 'wirespec'), listOf_0(raw(this.l20_1 + PythonGenerator_instance.v1w(source))));
1360
1362
  } else {
1361
1363
  tmp = null;
1362
1364
  }
1363
1365
  return tmp;
1364
1366
  };
1365
- protoOf(PythonIrEmitter).l1z = function (module_0, logger) {
1367
+ protoOf(PythonIrEmitter).x1w = function (module_0, logger) {
1366
1368
  // Inline function 'kotlin.collections.sortedBy' call
1367
- var this_0 = new NonEmptyList(module_0.eu_1);
1369
+ var this_0 = new NonEmptyList(module_0.uq_1);
1368
1370
  // Inline function 'kotlin.comparisons.compareBy' call
1369
1371
  var tmp = PythonIrEmitter$emit$lambda;
1370
1372
  var tmp$ret$0 = new sam$kotlin_Comparator$0_0(tmp);
1371
1373
  var tmp$ret$1 = sortedWith(this_0, tmp$ret$0);
1372
1374
  var tmp_0 = toNonEmptyListOrNull(tmp$ret$1);
1373
- var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).zp_1;
1374
- var emitted = emit.call(this, module_0.xy(VOID, statements), logger);
1375
- var tmp0 = new NonEmptyList(module_0.eu_1);
1375
+ var statements = ensureNotNull(tmp_0 == null ? null : new NonEmptyList(tmp_0)).om_1;
1376
+ var emitted = emit.call(this, module_0.nv(VOID, statements), logger);
1377
+ var tmp0 = new NonEmptyList(module_0.uq_1);
1376
1378
  var tmp$ret$2;
1377
1379
  $l$block_0: {
1378
1380
  // Inline function 'kotlin.collections.any' call
@@ -1397,29 +1399,29 @@ protoOf(PythonIrEmitter).l1z = function (module_0, logger) {
1397
1399
  tmp$ret$2 = false;
1398
1400
  }
1399
1401
  var hasEndpoints = tmp$ret$2;
1400
- var tmp_2 = Companion_getInstance().c1l(this.u22_1.qv() + '__init__');
1402
+ var tmp_2 = Companion_getInstance().s1h(this.g20_1.gs() + '__init__');
1401
1403
  // Inline function 'kotlin.collections.buildList' call
1402
1404
  // Inline function 'kotlin.collections.buildListInternal' call
1403
1405
  // Inline function 'kotlin.apply' call
1404
1406
  var this_1 = ArrayList_init_$Create$();
1405
- this_1.y(import_0('.', 'model'));
1406
- this_1.y(import_0('.', 'endpoint'));
1407
+ this_1.x(import_0('.', 'model'));
1408
+ this_1.x(import_0('.', 'endpoint'));
1407
1409
  if (hasEndpoints) {
1408
- this_1.y(import_0('.', 'client'));
1410
+ this_1.x(import_0('.', 'client'));
1409
1411
  }
1410
- this_1.y(import_0('.', 'wirespec'));
1411
- var tmp$ret$7 = this_1.p5();
1412
+ this_1.x(import_0('.', 'wirespec'));
1413
+ var tmp$ret$7 = this_1.o5();
1412
1414
  var init = new File(tmp_2, tmp$ret$7);
1413
- var tmp_3 = Companion_getInstance().c1l(this.u22_1.qv() + 'endpoint/' + '__init__');
1415
+ var tmp_3 = Companion_getInstance().s1h(this.g20_1.gs() + 'endpoint/' + '__init__');
1414
1416
  // Inline function 'kotlin.collections.filterIsInstance' call
1415
- var tmp0_0 = new NonEmptyList(module_0.eu_1);
1417
+ var tmp0_0 = new NonEmptyList(module_0.uq_1);
1416
1418
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1417
1419
  var destination = ArrayList_init_$Create$();
1418
1420
  var _iterator__ex2g4s_0 = tmp0_0.t();
1419
1421
  while (_iterator__ex2g4s_0.u()) {
1420
1422
  var element_0 = _iterator__ex2g4s_0.v();
1421
1423
  if (element_0 instanceof Endpoint) {
1422
- destination.y(element_0);
1424
+ destination.x(element_0);
1423
1425
  }
1424
1426
  }
1425
1427
  // Inline function 'kotlin.collections.map' call
@@ -1429,19 +1431,19 @@ protoOf(PythonIrEmitter).l1z = function (module_0, logger) {
1429
1431
  while (_iterator__ex2g4s_1.u()) {
1430
1432
  var item = _iterator__ex2g4s_1.v();
1431
1433
  var tmp$ret$10 = emit$emitInitImport(this, item);
1432
- destination_0.y(tmp$ret$10);
1434
+ destination_0.x(tmp$ret$10);
1433
1435
  }
1434
1436
  var initEndpoint = new File(tmp_3, destination_0);
1435
- var tmp_4 = Companion_getInstance().c1l(this.u22_1.qv() + 'model/' + '__init__');
1437
+ var tmp_4 = Companion_getInstance().s1h(this.g20_1.gs() + 'model/' + '__init__');
1436
1438
  // Inline function 'kotlin.collections.filterIsInstance' call
1437
- var tmp0_1 = new NonEmptyList(module_0.eu_1);
1439
+ var tmp0_1 = new NonEmptyList(module_0.uq_1);
1438
1440
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1439
1441
  var destination_1 = ArrayList_init_$Create$();
1440
1442
  var _iterator__ex2g4s_2 = tmp0_1.t();
1441
1443
  while (_iterator__ex2g4s_2.u()) {
1442
1444
  var element_1 = _iterator__ex2g4s_2.v();
1443
1445
  if (!(element_1 == null) ? isInterface(element_1, Model) : false) {
1444
- destination_1.y(element_1);
1446
+ destination_1.x(element_1);
1445
1447
  }
1446
1448
  }
1447
1449
  // Inline function 'kotlin.collections.map' call
@@ -1451,11 +1453,11 @@ protoOf(PythonIrEmitter).l1z = function (module_0, logger) {
1451
1453
  while (_iterator__ex2g4s_3.u()) {
1452
1454
  var item_0 = _iterator__ex2g4s_3.v();
1453
1455
  var tmp$ret$15 = emit$emitInitImport(this, item_0);
1454
- destination_2.y(tmp$ret$15);
1456
+ destination_2.x(tmp$ret$15);
1455
1457
  }
1456
1458
  var initModel = new File(tmp_4, destination_2);
1457
- var initClient = hasEndpoints ? listOf_0(new File(Companion_getInstance().c1l(this.u22_1.qv() + 'client/' + '__init__'), emptyList())) : emptyList();
1458
- var tmp0_2 = dropLast(split(this.u22_1.ov_1, ['.']), 1);
1459
+ var initClient = hasEndpoints ? listOf_0(new File(Companion_getInstance().s1h(this.g20_1.gs() + 'client/' + '__init__'), emptyList())) : emptyList();
1460
+ var tmp0_2 = dropLast(split(this.g20_1.es_1, ['.']), 1);
1459
1461
  var tmp$ret$18;
1460
1462
  $l$block_1: {
1461
1463
  // Inline function 'kotlin.collections.runningFold' call
@@ -1466,7 +1468,7 @@ protoOf(PythonIrEmitter).l1z = function (module_0, logger) {
1466
1468
  }
1467
1469
  // Inline function 'kotlin.apply' call
1468
1470
  var this_2 = ArrayList_init_$Create$_0(estimatedSize + 1 | 0);
1469
- this_2.y('');
1471
+ this_2.x('');
1470
1472
  var result = this_2;
1471
1473
  var accumulator = '';
1472
1474
  var _iterator__ex2g4s_4 = tmp0_2.t();
@@ -1481,7 +1483,7 @@ protoOf(PythonIrEmitter).l1z = function (module_0, logger) {
1481
1483
  tmp_5 = acc + '/' + element_2;
1482
1484
  }
1483
1485
  accumulator = tmp_5;
1484
- result.y(accumulator);
1486
+ result.x(accumulator);
1485
1487
  }
1486
1488
  tmp$ret$18 = result;
1487
1489
  }
@@ -1492,17 +1494,17 @@ protoOf(PythonIrEmitter).l1z = function (module_0, logger) {
1492
1494
  var _iterator__ex2g4s_5 = this_3.t();
1493
1495
  while (_iterator__ex2g4s_5.u()) {
1494
1496
  var item_1 = _iterator__ex2g4s_5.v();
1495
- var tmp$ret$23 = new File(Companion_getInstance().c1l(item_1 + '/__init__'), emptyList());
1496
- destination_3.y(tmp$ret$23);
1497
+ var tmp$ret$23 = new File(Companion_getInstance().s1h(item_1 + '/__init__'), emptyList());
1498
+ destination_3.x(tmp$ret$23);
1497
1499
  }
1498
1500
  var parentInits = destination_3;
1499
- return this.v22_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);
1501
+ return this.h20_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);
1500
1502
  };
1501
- protoOf(PythonIrEmitter).wu = function (definition, module_0, logger) {
1503
+ protoOf(PythonIrEmitter).mr = function (definition, module_0, logger) {
1502
1504
  var file = emit_0.call(this, definition, module_0, logger);
1503
- return placeInModule(prependImports(file, buildImports(this, '..wirespec')), this.u22_1, definition);
1505
+ return placeInModule(prependImports(file, buildImports(this, '..wirespec')), this.g20_1, definition);
1504
1506
  };
1505
- protoOf(PythonIrEmitter).r1z = function (definition, module_0) {
1507
+ protoOf(PythonIrEmitter).d1x = function (definition, module_0) {
1506
1508
  var tmp;
1507
1509
  if (definition instanceof Type) {
1508
1510
  tmp = convertToGenerator_2(definition, module_0);
@@ -1523,7 +1525,7 @@ protoOf(PythonIrEmitter).r1z = function (definition, module_0) {
1523
1525
  }
1524
1526
  var generatorFile = tmp;
1525
1527
  var sanitized = sanitizeNames(generatorFile, _get_sanitizationConfig__sns434(this));
1526
- var generatorOwnName = definition.xu().m1() + 'Generator';
1528
+ var generatorOwnName = definition.nr().l1() + 'Generator';
1527
1529
  var tmp_0 = asSequence(collectCustomTypeNames(sanitized));
1528
1530
  var tmp_1 = filterNot(tmp_0, PythonIrEmitter$emitGenerator$lambda);
1529
1531
  var tmp_2 = filterNot(tmp_1, PythonIrEmitter$emitGenerator$lambda_0(generatorOwnName));
@@ -1532,8 +1534,8 @@ protoOf(PythonIrEmitter).r1z = function (definition, module_0) {
1532
1534
  var generatorRefs = LinkedHashSet_init_$Create$();
1533
1535
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1534
1536
  var scope = new TransformScope(sanitized);
1535
- scope.d1z(PythonIrEmitter$emitGenerator$lambda_2(generatorOwnName, generatorRefs));
1536
- var tmp_3 = scope.v1y_1;
1537
+ scope.p1w(PythonIrEmitter$emitGenerator$lambda_2(generatorOwnName, generatorRefs));
1538
+ var tmp_3 = scope.h1w_1;
1537
1539
  isInterface(tmp_3, Element) || THROW_CCE();
1538
1540
  // Inline function 'kotlin.collections.filter' call
1539
1541
  // Inline function 'kotlin.collections.filterTo' call
@@ -1542,7 +1544,7 @@ protoOf(PythonIrEmitter).r1z = function (definition, module_0) {
1542
1544
  while (_iterator__ex2g4s.u()) {
1543
1545
  var element = _iterator__ex2g4s.v();
1544
1546
  if (endsWith(element, 'Generator')) {
1545
- destination.y(element);
1547
+ destination.x(element);
1546
1548
  }
1547
1549
  }
1548
1550
  // Inline function 'kotlin.collections.map' call
@@ -1553,7 +1555,7 @@ protoOf(PythonIrEmitter).r1z = function (definition, module_0) {
1553
1555
  while (_iterator__ex2g4s_0.u()) {
1554
1556
  var item = _iterator__ex2g4s_0.v();
1555
1557
  var tmp$ret$6 = import_0('.' + item, item);
1556
- destination_0.y(tmp$ret$6);
1558
+ destination_0.x(tmp$ret$6);
1557
1559
  }
1558
1560
  var generatorImports = destination_0;
1559
1561
  // Inline function 'kotlin.collections.filterNot' call
@@ -1563,7 +1565,7 @@ protoOf(PythonIrEmitter).r1z = function (definition, module_0) {
1563
1565
  while (_iterator__ex2g4s_1.u()) {
1564
1566
  var element_0 = _iterator__ex2g4s_1.v();
1565
1567
  if (!endsWith(element_0, 'Generator')) {
1566
- destination_1.y(element_0);
1568
+ destination_1.x(element_0);
1567
1569
  }
1568
1570
  }
1569
1571
  // Inline function 'kotlin.collections.map' call
@@ -1573,12 +1575,12 @@ protoOf(PythonIrEmitter).r1z = function (definition, module_0) {
1573
1575
  while (_iterator__ex2g4s_2.u()) {
1574
1576
  var item_0 = _iterator__ex2g4s_2.v();
1575
1577
  var tmp$ret$12 = import_0('..model.' + item_0, item_0);
1576
- destination_2.y(tmp$ret$12);
1578
+ destination_2.x(tmp$ret$12);
1577
1579
  }
1578
1580
  var modelImports = destination_2;
1579
- return placeInModule_0(prependImports(sanitized, plus(plus(buildImports(this, '..wirespec'), modelImports), generatorImports)), this.u22_1, 'generator');
1581
+ return placeInModule_0(prependImports(sanitized, plus(plus(buildImports(this, '..wirespec'), modelImports), generatorImports)), this.g20_1, 'generator');
1580
1582
  };
1581
- protoOf(PythonIrEmitter).vt = function (type, module_0) {
1583
+ protoOf(PythonIrEmitter).lq = function (type, module_0) {
1582
1584
  // Inline function 'kotlin.collections.distinctBy' call
1583
1585
  var this_0 = importReferences(type);
1584
1586
  var set = HashSet_init_$Create$();
@@ -1586,9 +1588,9 @@ protoOf(PythonIrEmitter).vt = function (type, module_0) {
1586
1588
  var _iterator__ex2g4s = this_0.t();
1587
1589
  while (_iterator__ex2g4s.u()) {
1588
1590
  var e = _iterator__ex2g4s.v();
1589
- var key = e.my_1;
1590
- if (set.y(key)) {
1591
- list.y(e);
1591
+ var key = e.fv_1;
1592
+ if (set.x(key)) {
1593
+ list.x(e);
1592
1594
  }
1593
1595
  }
1594
1596
  // Inline function 'kotlin.collections.map' call
@@ -1597,19 +1599,19 @@ protoOf(PythonIrEmitter).vt = function (type, module_0) {
1597
1599
  var _iterator__ex2g4s_0 = list.t();
1598
1600
  while (_iterator__ex2g4s_0.u()) {
1599
1601
  var item = _iterator__ex2g4s_0.v();
1600
- var tmp$ret$2 = import_0('.' + item.my_1, item.my_1);
1601
- destination.y(tmp$ret$2);
1602
+ var tmp$ret$2 = import_0('.' + item.fv_1, item.fv_1);
1603
+ destination.x(tmp$ret$2);
1602
1604
  }
1603
1605
  var typeImports = destination;
1604
1606
  // Inline function 'kotlin.collections.map' call
1605
- var this_1 = type.xs_1.ts_1;
1607
+ var this_1 = type.np_1.jp_1;
1606
1608
  // Inline function 'kotlin.collections.mapTo' call
1607
1609
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
1608
1610
  var _iterator__ex2g4s_1 = this_1.t();
1609
1611
  while (_iterator__ex2g4s_1.u()) {
1610
1612
  var item_0 = _iterator__ex2g4s_1.v();
1611
- var tmp$ret$5 = item_0.bt_1.m1();
1612
- destination_0.y(tmp$ret$5);
1613
+ var tmp$ret$5 = item_0.rp_1.l1();
1614
+ destination_0.x(tmp$ret$5);
1613
1615
  }
1614
1616
  var fieldNames = toSet(destination_0);
1615
1617
  var tmp = sanitizeNames(injectSelfReceiverToValidate(convertWithValidation(type, module_0), fieldNames), _get_sanitizationConfig__sns434(this));
@@ -1624,17 +1626,17 @@ protoOf(PythonIrEmitter).vt = function (type, module_0) {
1624
1626
  var tmp$ret$10 = tmp_0;
1625
1627
  return prependImports(tmp, tmp$ret$10);
1626
1628
  };
1627
- protoOf(PythonIrEmitter).kv = function (enum_0, module_0) {
1629
+ protoOf(PythonIrEmitter).as = function (enum_0, module_0) {
1628
1630
  var tmp = convert_0(enum_0);
1629
1631
  return sanitizeNames(sanitizeEnumEntries(tmp, PythonIrEmitter$emit$lambda_0(this)), _get_sanitizationConfig__sns434(this));
1630
1632
  };
1631
- protoOf(PythonIrEmitter).av = function (union) {
1633
+ protoOf(PythonIrEmitter).qr = function (union) {
1632
1634
  return sanitizeNames(convert_1(union), _get_sanitizationConfig__sns434(this));
1633
1635
  };
1634
- protoOf(PythonIrEmitter).fv = function (refined) {
1636
+ protoOf(PythonIrEmitter).vr = function (refined) {
1635
1637
  return sanitizeNames(replaceRefinedFunctions(convert_2(refined), refined), _get_sanitizationConfig__sns434(this));
1636
1638
  };
1637
- protoOf(PythonIrEmitter).lv = function (endpoint) {
1639
+ protoOf(PythonIrEmitter).bs = function (endpoint) {
1638
1640
  // Inline function 'kotlin.collections.distinctBy' call
1639
1641
  var this_0 = importReferences(endpoint);
1640
1642
  var set = HashSet_init_$Create$();
@@ -1642,9 +1644,9 @@ protoOf(PythonIrEmitter).lv = function (endpoint) {
1642
1644
  var _iterator__ex2g4s = this_0.t();
1643
1645
  while (_iterator__ex2g4s.u()) {
1644
1646
  var e = _iterator__ex2g4s.v();
1645
- var key = e.my_1;
1646
- if (set.y(key)) {
1647
- list.y(e);
1647
+ var key = e.fv_1;
1648
+ if (set.x(key)) {
1649
+ list.x(e);
1648
1650
  }
1649
1651
  }
1650
1652
  // Inline function 'kotlin.collections.map' call
@@ -1653,19 +1655,19 @@ protoOf(PythonIrEmitter).lv = function (endpoint) {
1653
1655
  var _iterator__ex2g4s_0 = list.t();
1654
1656
  while (_iterator__ex2g4s_0.u()) {
1655
1657
  var item = _iterator__ex2g4s_0.v();
1656
- var tmp$ret$2 = import_0('..model.' + item.my_1, item.my_1);
1657
- destination.y(tmp$ret$2);
1658
+ var tmp$ret$2 = import_0('..model.' + item.fv_1, item.fv_1);
1659
+ destination.x(tmp$ret$2);
1658
1660
  }
1659
1661
  var endpointImports = destination;
1660
1662
  // Inline function 'kotlin.let' call
1661
1663
  var it = splitEndpointStructsToModuleLevel(convert_3(endpoint));
1662
- var tmp$ret$6 = it.o1r(VOID, plus(endpointImports, it.l1r_1));
1664
+ var tmp$ret$6 = it.q1o(VOID, plus(endpointImports, it.n1o_1));
1663
1665
  return sanitizeNames(snakeCaseHandlerAndCallMethods(tmp$ret$6), _get_sanitizationConfig__sns434(this));
1664
1666
  };
1665
- protoOf(PythonIrEmitter).zu = function (channel) {
1667
+ protoOf(PythonIrEmitter).pr = function (channel) {
1666
1668
  return sanitizeNames(convert_4(channel), _get_sanitizationConfig__sns434(this));
1667
1669
  };
1668
- protoOf(PythonIrEmitter).q1z = function (endpoint) {
1670
+ protoOf(PythonIrEmitter).c1x = function (endpoint) {
1669
1671
  // Inline function 'kotlin.collections.distinctBy' call
1670
1672
  var this_0 = importReferences(endpoint);
1671
1673
  var set = HashSet_init_$Create$();
@@ -1673,9 +1675,9 @@ protoOf(PythonIrEmitter).q1z = function (endpoint) {
1673
1675
  var _iterator__ex2g4s = this_0.t();
1674
1676
  while (_iterator__ex2g4s.u()) {
1675
1677
  var e = _iterator__ex2g4s.v();
1676
- var key = e.my_1;
1677
- if (set.y(key)) {
1678
- list.y(e);
1678
+ var key = e.fv_1;
1679
+ if (set.x(key)) {
1680
+ list.x(e);
1679
1681
  }
1680
1682
  }
1681
1683
  // Inline function 'kotlin.collections.map' call
@@ -1684,17 +1686,17 @@ protoOf(PythonIrEmitter).q1z = function (endpoint) {
1684
1686
  var _iterator__ex2g4s_0 = list.t();
1685
1687
  while (_iterator__ex2g4s_0.u()) {
1686
1688
  var item = _iterator__ex2g4s_0.v();
1687
- var tmp$ret$2 = import_0('..model.' + item.my_1, item.my_1);
1688
- destination.y(tmp$ret$2);
1689
+ var tmp$ret$2 = import_0('..model.' + item.fv_1, item.fv_1);
1690
+ destination.x(tmp$ret$2);
1689
1691
  }
1690
1692
  var modelImports = destination;
1691
- var endpointImport = import_0('..endpoint.' + endpoint.ft_1.m1(), '*');
1692
- var endpointName = endpoint.ft_1.m1();
1693
+ var endpointImport = import_0('..endpoint.' + endpoint.vp_1.l1(), '*');
1694
+ var endpointName = endpoint.vp_1.l1();
1693
1695
  var file = flattenEndpointTypeRefs(snakeCaseClientFunctions(addSelfReceiverToClientFields(sanitizeNames(emitEndpointClient.call(this, endpoint), _get_sanitizationConfig__sns434(this)))), endpointName);
1694
- var subPackageName = plus_2(this.u22_1, 'client');
1695
- return new File(Companion_getInstance().c1l(subPackageName.qv() + file.k1r_1.d1l()), plus(plus(plus(buildImports(this, '..wirespec'), modelImports), listOf_0(endpointImport)), file.l1r_1));
1696
+ var subPackageName = plus_2(this.g20_1, 'client');
1697
+ return new File(Companion_getInstance().s1h(subPackageName.gs() + file.m1o_1.t1h()), plus(plus(plus(buildImports(this, '..wirespec'), modelImports), listOf_0(endpointImport)), file.n1o_1));
1696
1698
  };
1697
- protoOf(PythonIrEmitter).n1z = function (endpoints, logger) {
1699
+ protoOf(PythonIrEmitter).z1w = function (endpoints, logger) {
1698
1700
  // Inline function 'kotlin.collections.flatMap' call
1699
1701
  // Inline function 'kotlin.collections.flatMapTo' call
1700
1702
  var destination = ArrayList_init_$Create$();
@@ -1710,9 +1712,9 @@ protoOf(PythonIrEmitter).n1z = function (endpoints, logger) {
1710
1712
  var _iterator__ex2g4s_0 = destination.t();
1711
1713
  while (_iterator__ex2g4s_0.u()) {
1712
1714
  var e = _iterator__ex2g4s_0.v();
1713
- var key = e.my_1;
1714
- if (set.y(key)) {
1715
- list_0.y(e);
1715
+ var key = e.fv_1;
1716
+ if (set.x(key)) {
1717
+ list_0.x(e);
1716
1718
  }
1717
1719
  }
1718
1720
  // Inline function 'kotlin.collections.map' call
@@ -1721,8 +1723,8 @@ protoOf(PythonIrEmitter).n1z = function (endpoints, logger) {
1721
1723
  var _iterator__ex2g4s_1 = list_0.t();
1722
1724
  while (_iterator__ex2g4s_1.u()) {
1723
1725
  var item = _iterator__ex2g4s_1.v();
1724
- var tmp$ret$5 = import_0('.model.' + item.my_1, item.my_1);
1725
- destination_0.y(tmp$ret$5);
1726
+ var tmp$ret$5 = import_0('.model.' + item.fv_1, item.fv_1);
1727
+ destination_0.x(tmp$ret$5);
1726
1728
  }
1727
1729
  var modelImports = destination_0;
1728
1730
  // Inline function 'kotlin.collections.map' call
@@ -1731,8 +1733,8 @@ protoOf(PythonIrEmitter).n1z = function (endpoints, logger) {
1731
1733
  var _iterator__ex2g4s_2 = endpoints.t();
1732
1734
  while (_iterator__ex2g4s_2.u()) {
1733
1735
  var item_0 = _iterator__ex2g4s_2.v();
1734
- var tmp$ret$8 = import_0('.endpoint.' + item_0.ft_1.m1(), '*');
1735
- destination_1.y(tmp$ret$8);
1736
+ var tmp$ret$8 = import_0('.endpoint.' + item_0.vp_1.l1(), '*');
1737
+ destination_1.x(tmp$ret$8);
1736
1738
  }
1737
1739
  var endpointImports = destination_1;
1738
1740
  // Inline function 'kotlin.collections.map' call
@@ -1741,8 +1743,8 @@ protoOf(PythonIrEmitter).n1z = function (endpoints, logger) {
1741
1743
  var _iterator__ex2g4s_3 = endpoints.t();
1742
1744
  while (_iterator__ex2g4s_3.u()) {
1743
1745
  var item_1 = _iterator__ex2g4s_3.v();
1744
- var tmp$ret$11 = import_0('.client.' + item_1.ft_1.m1() + 'Client', item_1.ft_1.m1() + 'Client');
1745
- destination_2.y(tmp$ret$11);
1746
+ var tmp$ret$11 = import_0('.client.' + item_1.vp_1.l1() + 'Client', item_1.vp_1.l1() + 'Client');
1747
+ destination_2.x(tmp$ret$11);
1746
1748
  }
1747
1749
  var clientImports = destination_2;
1748
1750
  var allImports = plus(plus(modelImports, endpointImports), clientImports);
@@ -1752,8 +1754,8 @@ protoOf(PythonIrEmitter).n1z = function (endpoints, logger) {
1752
1754
  var _iterator__ex2g4s_4 = endpoints.t();
1753
1755
  while (_iterator__ex2g4s_4.u()) {
1754
1756
  var item_2 = _iterator__ex2g4s_4.v();
1755
- var tmp$ret$14 = item_2.ft_1.m1();
1756
- destination_3.y(tmp$ret$14);
1757
+ var tmp$ret$14 = item_2.vp_1.l1();
1758
+ destination_3.x(tmp$ret$14);
1757
1759
  }
1758
1760
  var endpointNames = destination_3;
1759
1761
  // Inline function 'kotlin.let' call
@@ -1766,7 +1768,7 @@ protoOf(PythonIrEmitter).n1z = function (endpoints, logger) {
1766
1768
  accumulator = flattenEndpointTypeRefs(acc, element_0);
1767
1769
  }
1768
1770
  var file = accumulator;
1769
- return new File(Companion_getInstance().c1l(this.u22_1.qv() + file.k1r_1.d1l()), plus(plus(buildImports(this, '.wirespec'), allImports), file.l1r_1));
1771
+ return new File(Companion_getInstance().s1h(this.g20_1.gs() + file.m1o_1.t1h()), plus(plus(buildImports(this, '.wirespec'), allImports), file.n1o_1));
1770
1772
  };
1771
1773
  function replaceReflectInNonGenericStructFields(_this__u8e3s4) {
1772
1774
  // Inline function 'community.flock.wirespec.ir.core.transform' call
@@ -1774,14 +1776,14 @@ function replaceReflectInNonGenericStructFields(_this__u8e3s4) {
1774
1776
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1775
1777
  var tmp = scope;
1776
1778
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1777
- var this_0 = scope.v1y_1;
1779
+ var this_0 = scope.h1w_1;
1778
1780
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1779
1781
  // Inline function 'kotlin.apply' call
1780
1782
  var this_1 = new TransformerBuilder();
1781
- this_1.m1m(replaceReflectInNonGenericStructFields$lambda);
1782
- var tmp$ret$2 = this_1.n1m();
1783
- tmp.v1y_1 = transform(this_0, tmp$ret$2);
1784
- var tmp_0 = scope.v1y_1;
1783
+ this_1.f1j(replaceReflectInNonGenericStructFields$lambda);
1784
+ var tmp$ret$2 = this_1.g1j();
1785
+ tmp.h1w_1 = transform(this_0, tmp$ret$2);
1786
+ var tmp_0 = scope.h1w_1;
1785
1787
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1786
1788
  }
1787
1789
  function replaceRefinedFunctions(_this__u8e3s4, refined) {
@@ -1790,14 +1792,14 @@ function replaceRefinedFunctions(_this__u8e3s4, refined) {
1790
1792
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1791
1793
  var tmp = scope;
1792
1794
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1793
- var this_0 = scope.v1y_1;
1795
+ var this_0 = scope.h1w_1;
1794
1796
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1795
1797
  // Inline function 'kotlin.apply' call
1796
1798
  var this_1 = new TransformerBuilder();
1797
- this_1.m1m(replaceRefinedFunctions$lambda(refined));
1798
- var tmp$ret$2 = this_1.n1m();
1799
- tmp.v1y_1 = transform(this_0, tmp$ret$2);
1800
- var tmp_0 = scope.v1y_1;
1799
+ this_1.f1j(replaceRefinedFunctions$lambda(refined));
1800
+ var tmp$ret$2 = this_1.g1j();
1801
+ tmp.h1w_1 = transform(this_0, tmp$ret$2);
1802
+ var tmp_0 = scope.h1w_1;
1801
1803
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1802
1804
  }
1803
1805
  function snakeCaseHandlerAndCallMethods(_this__u8e3s4) {
@@ -1806,33 +1808,33 @@ function snakeCaseHandlerAndCallMethods(_this__u8e3s4) {
1806
1808
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1807
1809
  var tmp = scope;
1808
1810
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1809
- var this_0 = scope.v1y_1;
1811
+ var this_0 = scope.h1w_1;
1810
1812
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1811
1813
  // Inline function 'kotlin.apply' call
1812
1814
  var this_1 = new TransformerBuilder();
1813
- this_1.m1m(snakeCaseHandlerAndCallMethods$lambda);
1814
- var tmp$ret$2 = this_1.n1m();
1815
- tmp.v1y_1 = transform(this_0, tmp$ret$2);
1816
- var tmp_0 = scope.v1y_1;
1815
+ this_1.f1j(snakeCaseHandlerAndCallMethods$lambda);
1816
+ var tmp$ret$2 = this_1.g1j();
1817
+ tmp.h1w_1 = transform(this_0, tmp$ret$2);
1818
+ var tmp_0 = scope.h1w_1;
1817
1819
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1818
1820
  }
1819
1821
  function splitEndpointStructsToModuleLevel(_this__u8e3s4) {
1820
1822
  // Inline function 'community.flock.wirespec.ir.core.findElement' call
1821
1823
  // Inline function 'kotlin.collections.filterIsInstance' call
1822
- var tmp0 = _this__u8e3s4.m1r();
1824
+ var tmp0 = _this__u8e3s4.o1o();
1823
1825
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1824
1826
  var destination = ArrayList_init_$Create$();
1825
1827
  var _iterator__ex2g4s = tmp0.t();
1826
1828
  while (_iterator__ex2g4s.u()) {
1827
1829
  var element = _iterator__ex2g4s.v();
1828
1830
  if (element instanceof Namespace) {
1829
- destination.y(element);
1831
+ destination.x(element);
1830
1832
  }
1831
1833
  }
1832
1834
  var tmp$ret$2 = firstOrNull_0(destination);
1833
1835
  var namespace = ensureNotNull(tmp$ret$2);
1834
1836
  // Inline function 'kotlin.collections.partition' call
1835
- var this_0 = namespace.r1r_1;
1837
+ var this_0 = namespace.t1o_1;
1836
1838
  var first = ArrayList_init_$Create$();
1837
1839
  var second = ArrayList_init_$Create$();
1838
1840
  var _iterator__ex2g4s_0 = this_0.t();
@@ -1845,22 +1847,22 @@ function splitEndpointStructsToModuleLevel(_this__u8e3s4) {
1845
1847
  tmp = element_0 instanceof Union_0;
1846
1848
  }
1847
1849
  if (tmp) {
1848
- first.y(element_0);
1850
+ first.x(element_0);
1849
1851
  } else {
1850
- second.y(element_0);
1852
+ second.x(element_0);
1851
1853
  }
1852
1854
  }
1853
1855
  var _destruct__k2r9zo = new Pair(first, second);
1854
- var moduleElements = _destruct__k2r9zo.mf();
1855
- var classElements = _destruct__k2r9zo.nf();
1856
- var endpointClass = new Namespace(namespace.q1r_1, classElements, namespace.s1r_1);
1857
- return new File(namespace.q1r_1, plus_0(moduleElements, endpointClass));
1856
+ var moduleElements = _destruct__k2r9zo.ve();
1857
+ var classElements = _destruct__k2r9zo.we();
1858
+ var endpointClass = new Namespace(namespace.s1o_1, classElements, namespace.u1o_1);
1859
+ return new File(namespace.s1o_1, plus_0(moduleElements, endpointClass));
1858
1860
  }
1859
1861
  function flattenEndpointTypeRefs(_this__u8e3s4, endpointName) {
1860
1862
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1861
1863
  var scope = new TransformScope(_this__u8e3s4);
1862
- scope.b1z(flattenEndpointTypeRefs$lambda(endpointName));
1863
- var tmp = scope.v1y_1;
1864
+ scope.n1w(flattenEndpointTypeRefs$lambda(endpointName));
1865
+ var tmp = scope.h1w_1;
1864
1866
  return isInterface(tmp, Element) ? tmp : THROW_CCE();
1865
1867
  }
1866
1868
  function snakeCaseClientFunctions(_this__u8e3s4) {
@@ -1869,15 +1871,15 @@ function snakeCaseClientFunctions(_this__u8e3s4) {
1869
1871
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1870
1872
  var tmp = scope;
1871
1873
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1872
- var this_0 = scope.v1y_1;
1874
+ var this_0 = scope.h1w_1;
1873
1875
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1874
1876
  // Inline function 'kotlin.apply' call
1875
1877
  var this_1 = new TransformerBuilder();
1876
- this_1.m1m(snakeCaseClientFunctions$lambda);
1877
- var tmp$ret$2 = this_1.n1m();
1878
- tmp.v1y_1 = transform(this_0, tmp$ret$2);
1879
- scope.e1z(snakeCaseClientFunctions$lambda_0);
1880
- var tmp_0 = scope.v1y_1;
1878
+ this_1.f1j(snakeCaseClientFunctions$lambda);
1879
+ var tmp$ret$2 = this_1.g1j();
1880
+ tmp.h1w_1 = transform(this_0, tmp$ret$2);
1881
+ scope.q1w(snakeCaseClientFunctions$lambda_0);
1882
+ var tmp_0 = scope.h1w_1;
1881
1883
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1882
1884
  }
1883
1885
  function addSelfReceiverToClientFields(_this__u8e3s4) {
@@ -1888,20 +1890,20 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
1888
1890
  } else {
1889
1891
  // Inline function 'community.flock.wirespec.ir.core.findElement' call
1890
1892
  // Inline function 'kotlin.collections.filterIsInstance' call
1891
- var tmp0 = tmp0_safe_receiver.m1r();
1893
+ var tmp0 = tmp0_safe_receiver.o1o();
1892
1894
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1893
1895
  var destination = ArrayList_init_$Create$();
1894
1896
  var _iterator__ex2g4s = tmp0.t();
1895
1897
  while (_iterator__ex2g4s.u()) {
1896
1898
  var element = _iterator__ex2g4s.v();
1897
1899
  if (element instanceof Struct) {
1898
- destination.y(element);
1900
+ destination.x(element);
1899
1901
  }
1900
1902
  }
1901
1903
  tmp = firstOrNull_0(destination);
1902
1904
  }
1903
1905
  var struct = tmp;
1904
- var tmp2_safe_receiver = struct == null ? null : struct.w1r_1;
1906
+ var tmp2_safe_receiver = struct == null ? null : fieldList(struct);
1905
1907
  var tmp_0;
1906
1908
  if (tmp2_safe_receiver == null) {
1907
1909
  tmp_0 = null;
@@ -1912,8 +1914,8 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
1912
1914
  var _iterator__ex2g4s_0 = tmp2_safe_receiver.t();
1913
1915
  while (_iterator__ex2g4s_0.u()) {
1914
1916
  var item = _iterator__ex2g4s_0.v();
1915
- var tmp$ret$3 = item.r1t_1.y1m();
1916
- destination_0.y(tmp$ret$3);
1917
+ var tmp$ret$3 = item.t1q_1.r1j();
1918
+ destination_0.x(tmp$ret$3);
1917
1919
  }
1918
1920
  tmp_0 = destination_0;
1919
1921
  }
@@ -1924,8 +1926,8 @@ function addSelfReceiverToClientFields(_this__u8e3s4) {
1924
1926
  return _this__u8e3s4;
1925
1927
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1926
1928
  var scope = new TransformScope(_this__u8e3s4);
1927
- scope.e1z(addSelfReceiverToClientFields$lambda(fieldNames));
1928
- var tmp_1 = scope.v1y_1;
1929
+ scope.q1w(addSelfReceiverToClientFields$lambda(fieldNames));
1930
+ var tmp_1 = scope.h1w_1;
1929
1931
  return isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1930
1932
  }
1931
1933
  function replaceReflectAsTypeAny(_this__u8e3s4) {
@@ -1934,13 +1936,13 @@ function replaceReflectAsTypeAny(_this__u8e3s4) {
1934
1936
  tmp = Custom_init_$Create$('type', listOf_0(Any_instance));
1935
1937
  } else {
1936
1938
  if (_this__u8e3s4 instanceof Nullable) {
1937
- tmp = _this__u8e3s4.w1q(replaceReflectAsTypeAny(_this__u8e3s4.u1m_1));
1939
+ tmp = _this__u8e3s4.v1n(replaceReflectAsTypeAny(_this__u8e3s4.n1j_1));
1938
1940
  } else {
1939
1941
  if (_this__u8e3s4 instanceof Array_0) {
1940
- tmp = _this__u8e3s4.w1q(replaceReflectAsTypeAny(_this__u8e3s4.v1m_1));
1942
+ tmp = _this__u8e3s4.v1n(replaceReflectAsTypeAny(_this__u8e3s4.o1j_1));
1941
1943
  } else {
1942
1944
  if (_this__u8e3s4 instanceof Dict_0) {
1943
- tmp = _this__u8e3s4.z1q(replaceReflectAsTypeAny(_this__u8e3s4.x1q_1), replaceReflectAsTypeAny(_this__u8e3s4.y1q_1));
1945
+ tmp = _this__u8e3s4.y1n(replaceReflectAsTypeAny(_this__u8e3s4.w1n_1), replaceReflectAsTypeAny(_this__u8e3s4.x1n_1));
1944
1946
  } else {
1945
1947
  tmp = _this__u8e3s4;
1946
1948
  }
@@ -1955,21 +1957,27 @@ function replaceReflectInNonGenericStructFields$lambda(element, transformer) {
1955
1957
  var tmp$ret$1;
1956
1958
  $l$block: {
1957
1959
  // Inline function 'kotlin.collections.isNotEmpty' call
1958
- if (!element.a1s_1.r()) {
1960
+ if (!element.c1p_1.r()) {
1959
1961
  tmp$ret$1 = element;
1960
1962
  break $l$block;
1961
1963
  }
1962
1964
  // Inline function 'kotlin.collections.map' call
1963
- var this_0 = element.w1r_1;
1965
+ var this_0 = element.y1o_1;
1964
1966
  // Inline function 'kotlin.collections.mapTo' call
1965
1967
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1966
1968
  var _iterator__ex2g4s = this_0.t();
1967
1969
  while (_iterator__ex2g4s.u()) {
1968
1970
  var item = _iterator__ex2g4s.v();
1969
- var tmp$ret$2 = item.v1t(VOID, replaceReflectAsTypeAny(item.s1t_1));
1970
- destination.y(tmp$ret$2);
1971
+ var tmp_0;
1972
+ if (item instanceof Field) {
1973
+ tmp_0 = item.d1r(VOID, replaceReflectAsTypeAny(item.u1q_1));
1974
+ } else {
1975
+ tmp_0 = item;
1976
+ }
1977
+ var tmp$ret$2 = tmp_0;
1978
+ destination.x(tmp$ret$2);
1971
1979
  }
1972
- tmp$ret$1 = element.c1s(VOID, destination);
1980
+ tmp$ret$1 = element.i1p(VOID, destination);
1973
1981
  }
1974
1982
  tmp = tmp$ret$1;
1975
1983
  } else {
@@ -1980,17 +1988,17 @@ function replaceReflectInNonGenericStructFields$lambda(element, transformer) {
1980
1988
  }
1981
1989
  function replaceRefinedFunctions$lambda$lambda($constraintExpr) {
1982
1990
  return function ($this$function) {
1983
- $this$function.n1l('self', Custom_init_$Create$(''));
1984
- $this$function.q1l(Boolean_instance_0);
1985
- $this$function.r1l($constraintExpr);
1991
+ $this$function.g1i('self', Custom_init_$Create$(''));
1992
+ $this$function.j1i(Boolean_instance_0);
1993
+ $this$function.k1i($constraintExpr);
1986
1994
  return Unit_instance;
1987
1995
  };
1988
1996
  }
1989
1997
  function replaceRefinedFunctions$lambda$lambda_0($toStringExpr) {
1990
1998
  return function ($this$function) {
1991
- $this$function.n1l('self', Custom_init_$Create$(''));
1992
- $this$function.q1l(String_instance);
1993
- $this$function.r1l(new RawExpression($toStringExpr));
1999
+ $this$function.g1i('self', Custom_init_$Create$(''));
2000
+ $this$function.j1i(String_instance);
2001
+ $this$function.k1i(new RawExpression($toStringExpr));
1994
2002
  return Unit_instance;
1995
2003
  };
1996
2004
  }
@@ -1999,7 +2007,7 @@ function replaceRefinedFunctions$lambda($refined) {
1999
2007
  var tmp;
2000
2008
  if (element instanceof Struct) {
2001
2009
  // Inline function 'kotlin.collections.mapNotNull' call
2002
- var tmp0 = element.z1r_1;
2010
+ var tmp0 = element.b1p_1;
2003
2011
  // Inline function 'kotlin.collections.mapNotNullTo' call
2004
2012
  var destination = ArrayList_init_$Create$();
2005
2013
  // Inline function 'kotlin.collections.forEach' call
@@ -2009,23 +2017,23 @@ function replaceRefinedFunctions$lambda($refined) {
2009
2017
  var tmp_0;
2010
2018
  var tmp_1;
2011
2019
  if (element_0 instanceof Function) {
2012
- tmp_1 = element_0.s1o_1.equals(Companion_getInstance().c1l('validate'));
2020
+ tmp_1 = element_0.p1l_1.equals(Companion_getInstance().s1h('validate'));
2013
2021
  } else {
2014
2022
  tmp_1 = false;
2015
2023
  }
2016
2024
  if (tmp_1) {
2017
- var constraintExpr = convertConstraint($refined.ev_1, new FieldCall(new VariableReference(Companion_getInstance().c1l('self')), Companion_getInstance().c1l('value')));
2025
+ var constraintExpr = convertConstraint($refined.ur_1, new FieldCall(new VariableReference(Companion_getInstance().s1h('self')), Companion_getInstance().s1h('value')));
2018
2026
  tmp_0 = function_0('validate', VOID, VOID, replaceRefinedFunctions$lambda$lambda(constraintExpr));
2019
2027
  } else {
2020
2028
  var tmp_2;
2021
2029
  if (element_0 instanceof Function) {
2022
- tmp_2 = element_0.s1o_1.equals(Companion_getInstance().c1l('toString'));
2030
+ tmp_2 = element_0.p1l_1.equals(Companion_getInstance().s1h('toString'));
2023
2031
  } else {
2024
2032
  tmp_2 = false;
2025
2033
  }
2026
2034
  if (tmp_2) {
2027
2035
  var tmp_3;
2028
- if ($refined.ev_1.qy_1 instanceof String_0) {
2036
+ if ($refined.ur_1.rt_1 instanceof String_0) {
2029
2037
  tmp_3 = 'self.value';
2030
2038
  } else {
2031
2039
  tmp_3 = 'str(self.value)';
@@ -2041,10 +2049,10 @@ function replaceRefinedFunctions$lambda($refined) {
2041
2049
  null;
2042
2050
  else {
2043
2051
  // Inline function 'kotlin.let' call
2044
- destination.y(tmp0_safe_receiver);
2052
+ destination.x(tmp0_safe_receiver);
2045
2053
  }
2046
2054
  }
2047
- tmp = element.c1s(VOID, VOID, VOID, VOID, destination);
2055
+ tmp = element.i1p(VOID, VOID, VOID, VOID, destination);
2048
2056
  } else {
2049
2057
  tmp = element;
2050
2058
  }
@@ -2057,23 +2065,23 @@ function snakeCaseHandlerAndCallMethods$lambda(element, transformer) {
2057
2065
  if (element instanceof Interface) {
2058
2066
  var tmp$ret$0;
2059
2067
  $l$block: {
2060
- if (!element.e1s_1.equals(Companion_getInstance().c1l('Handler')) && !element.e1s_1.equals(Companion_getInstance().c1l('Call'))) {
2068
+ if (!element.k1p_1.equals(Companion_getInstance().s1h('Handler')) && !element.k1p_1.equals(Companion_getInstance().s1h('Call'))) {
2061
2069
  tmp$ret$0 = element;
2062
2070
  break $l$block;
2063
2071
  }
2064
2072
  // Inline function 'kotlin.collections.map' call
2065
- var this_0 = element.f1s_1;
2073
+ var this_0 = element.l1p_1;
2066
2074
  // Inline function 'kotlin.collections.mapTo' call
2067
2075
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
2068
2076
  var _iterator__ex2g4s = this_0.t();
2069
2077
  while (_iterator__ex2g4s.u()) {
2070
2078
  var item = _iterator__ex2g4s.v();
2071
2079
  var tmp0_safe_receiver = item instanceof Function ? item : null;
2072
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a1p(Companion_getInstance().c1l(item.s1o_1.l1q()));
2080
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a1m(Companion_getInstance().s1h(item.p1l_1.k1n()));
2073
2081
  var tmp$ret$1 = tmp1_elvis_lhs == null ? item : tmp1_elvis_lhs;
2074
- destination.y(tmp$ret$1);
2082
+ destination.x(tmp$ret$1);
2075
2083
  }
2076
- tmp$ret$0 = element.l1s(VOID, destination);
2084
+ tmp$ret$0 = element.r1p(VOID, destination);
2077
2085
  }
2078
2086
  tmp = tmp$ret$0;
2079
2087
  } else {
@@ -2088,17 +2096,17 @@ function flattenEndpointTypeRefs$lambda($endpointName) {
2088
2096
  if (!(type instanceof Custom_0)) {
2089
2097
  tmp = type;
2090
2098
  } else {
2091
- if (!startsWith(type.w1m_1.d1l(), $endpointName + '.')) {
2099
+ if (!startsWith(type.p1j_1.t1h(), $endpointName + '.')) {
2092
2100
  tmp = type;
2093
2101
  } else {
2094
- var suffix = removePrefix(type.w1m_1.d1l(), $endpointName + '.');
2102
+ var suffix = removePrefix(type.p1j_1.t1h(), $endpointName + '.');
2095
2103
  switch (suffix) {
2096
2104
  case 'Call':
2097
2105
  case 'Handler':
2098
2106
  tmp = type;
2099
2107
  break;
2100
2108
  default:
2101
- tmp = type.b1r(Companion_getInstance().c1l(suffix));
2109
+ tmp = type.a1o(Companion_getInstance().s1h(suffix));
2102
2110
  break;
2103
2111
  }
2104
2112
  }
@@ -2109,7 +2117,7 @@ function flattenEndpointTypeRefs$lambda($endpointName) {
2109
2117
  function snakeCaseClientFunctions$lambda(element, transformer) {
2110
2118
  var tmp;
2111
2119
  if (element instanceof Function) {
2112
- tmp = element.a1p(Companion_getInstance().c1l(element.s1o_1.l1q()), VOID, plus(listOf_0(new Parameter(Companion_getInstance().c1l('self'), Custom_init_$Create$(''))), element.u1o_1));
2120
+ tmp = element.a1m(Companion_getInstance().s1h(element.p1l_1.k1n()), VOID, plus(listOf_0(new Parameter(Companion_getInstance().s1h('self'), Custom_init_$Create$(''))), element.r1l_1));
2113
2121
  } else {
2114
2122
  tmp = element;
2115
2123
  }
@@ -2119,32 +2127,32 @@ function snakeCaseClientFunctions$lambda(element, transformer) {
2119
2127
  function snakeCaseClientFunctions$lambda_0(stmt, tr) {
2120
2128
  var tmp;
2121
2129
  if (stmt instanceof FunctionCall) {
2122
- var nameStr = stmt.p1q_1.y1m();
2123
- var newName = contains(nameStr, '.') ? stmt.p1q_1 : Companion_getInstance().c1l(Companion_getInstance().c1l(nameStr).l1q());
2124
- var tmp1_safe_receiver = stmt.n1q_1;
2130
+ var nameStr = stmt.o1n_1.r1j();
2131
+ var newName = contains(nameStr, '.') ? stmt.o1n_1 : Companion_getInstance().s1h(Companion_getInstance().s1h(nameStr).k1n());
2132
+ var tmp1_safe_receiver = stmt.m1n_1;
2125
2133
  var tmp_0;
2126
2134
  if (tmp1_safe_receiver == null) {
2127
2135
  tmp_0 = null;
2128
2136
  } else {
2129
2137
  // Inline function 'kotlin.let' call
2130
- tmp_0 = tr.q1y(tmp1_safe_receiver);
2138
+ tmp_0 = tr.c1w(tmp1_safe_receiver);
2131
2139
  }
2132
2140
  var tmp2_receiver = tmp_0;
2133
2141
  // Inline function 'kotlin.collections.mapValues' call
2134
- var this_0 = stmt.q1q_1;
2142
+ var this_0 = stmt.p1n_1;
2135
2143
  // Inline function 'kotlin.collections.mapValuesTo' call
2136
- var destination = LinkedHashMap_init_$Create$(mapCapacity(this_0.b1()));
2144
+ var destination = LinkedHashMap_init_$Create$(mapCapacity(this_0.a1()));
2137
2145
  // Inline function 'kotlin.collections.associateByTo' call
2138
- var _iterator__ex2g4s = this_0.k1().t();
2146
+ var _iterator__ex2g4s = this_0.j1().t();
2139
2147
  while (_iterator__ex2g4s.u()) {
2140
2148
  var element = _iterator__ex2g4s.v();
2141
- var tmp_1 = element.l1();
2149
+ var tmp_1 = element.k1();
2142
2150
  // Inline function 'kotlin.collections.component2' call
2143
- var v = element.m1();
2144
- var tmp$ret$4 = tr.q1y(v);
2145
- destination.t2(tmp_1, tmp$ret$4);
2151
+ var v = element.l1();
2152
+ var tmp$ret$4 = tr.c1w(v);
2153
+ destination.s2(tmp_1, tmp$ret$4);
2146
2154
  }
2147
- var tmp4_isAwait = !(stmt.n1q_1 == null);
2155
+ var tmp4_isAwait = !(stmt.m1n_1 == null);
2148
2156
  tmp = new FunctionCall(tmp2_receiver, VOID, newName, destination, tmp4_isAwait);
2149
2157
  } else {
2150
2158
  tmp = transformChildren(stmt, tr);
@@ -2157,28 +2165,28 @@ function addSelfReceiverToClientFields$lambda($fieldNames) {
2157
2165
  var tmp_0;
2158
2166
  var tmp_1;
2159
2167
  if (stmt instanceof FieldCall) {
2160
- tmp_1 = stmt.h1u_1 == null;
2168
+ tmp_1 = stmt.p1r_1 == null;
2161
2169
  } else {
2162
2170
  tmp_1 = false;
2163
2171
  }
2164
2172
  if (tmp_1) {
2165
- tmp_0 = $fieldNames.v1(stmt.i1u_1.y1m());
2173
+ tmp_0 = $fieldNames.u1(stmt.q1r_1.r1j());
2166
2174
  } else {
2167
2175
  tmp_0 = false;
2168
2176
  }
2169
2177
  if (tmp_0) {
2170
- tmp = new FieldCall(new VariableReference(Companion_getInstance().c1l('self')), stmt.i1u_1);
2178
+ tmp = new FieldCall(new VariableReference(Companion_getInstance().s1h('self')), stmt.q1r_1);
2171
2179
  } else {
2172
2180
  if (stmt instanceof FieldCall) {
2173
- var tmp0_safe_receiver = stmt.h1u_1;
2181
+ var tmp0_safe_receiver = stmt.p1r_1;
2174
2182
  var tmp_2;
2175
2183
  if (tmp0_safe_receiver == null) {
2176
2184
  tmp_2 = null;
2177
2185
  } else {
2178
2186
  // Inline function 'kotlin.let' call
2179
- tmp_2 = tr.q1y(tmp0_safe_receiver);
2187
+ tmp_2 = tr.c1w(tmp0_safe_receiver);
2180
2188
  }
2181
- tmp = new FieldCall(tmp_2, stmt.i1u_1);
2189
+ tmp = new FieldCall(tmp_2, stmt.q1r_1);
2182
2190
  } else {
2183
2191
  tmp = transformChildren(stmt, tr);
2184
2192
  }
@@ -2189,8 +2197,8 @@ function addSelfReceiverToClientFields$lambda($fieldNames) {
2189
2197
  function PythonRefinedTypeDefinitionEmitter() {
2190
2198
  }
2191
2199
  function PythonShared() {
2192
- this.n22_1 = 'shared';
2193
- this.o22_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";
2200
+ this.z1z_1 = 'shared';
2201
+ this.a20_1 = "from abc import ABC, abstractmethod\nfrom dataclasses import dataclass\nfrom enum import Enum\nfrom typing import Generic, List, Dict, Optional, TypeVar\n\nT = TypeVar('T')\nREQ = TypeVar('REQ')\nRES = TypeVar('RES')\n\nclass Wirespec:\n\n class Refined(ABC, Generic[T]):\n @property\n @abstractmethod\n def value(self) -> T: pass\n\n class Endpoint(ABC):\n\n class Handler(ABC):\n pass\n\n class Convert(ABC, Generic[REQ, RES]):\n @staticmethod\n @abstractmethod\n def to_raw_request(serializer: 'Wirespec.Serializer', req: REQ) -> 'Wirespec.RawRequest': pass\n\n @staticmethod\n @abstractmethod\n def from_raw_response(serializer: 'Wirespec.Deserializer', res: 'Wirespec.RawResponse') -> RES: pass\n\n @staticmethod\n @abstractmethod\n def to_raw_response(serializer: 'Wirespec.Serializer', res: RES) -> 'Wirespec.RawResponse': pass\n\n @staticmethod\n @abstractmethod\n def from_raw_request(serializer: 'Wirespec.Deserializer[T]', req: 'Wirespec.RawRequest') -> REQ: pass\n\n class Method(Enum):\n GET = \"GET\"\n PUT = \"PUT\"\n POST = \"POST\"\n DELETE = \"DELETE\"\n OPTIONS = \"OPTIONS\"\n HEAD = \"HEAD\"\n PATCH = \"PATCH\"\n TRACE = \"TRACE\"\n\n class Request(Generic[T], ABC):\n\n class Path(ABC): pass\n\n class Queries(ABC): pass\n\n class Headers(ABC): pass\n\n @property\n @abstractmethod\n def path(self) -> Path: pass\n\n @property\n @abstractmethod\n def method(self) -> 'Wirespec.Method': pass\n\n @property\n @abstractmethod\n def queries(self) -> Queries: pass\n\n @property\n @abstractmethod\n def headers(self) -> Headers: pass\n\n @property\n @abstractmethod\n def body(self) -> T: pass\n\n class Response(Generic[T], ABC):\n\n class Headers(ABC): pass\n\n @property\n @abstractmethod\n def status(self) -> int: pass\n\n @property\n @abstractmethod\n def headers(self) -> Headers: pass\n\n @property\n @abstractmethod\n def body(self) -> T: pass\n\n class Serializer(Generic[T], ABC):\n @abstractmethod\n def serialize(self, value: T, t: type[T]) -> str: pass\n @abstractmethod\n def serialize_param(self, value: T, t: type[T]) -> List[str]: pass\n\n class Deserializer(Generic[T], ABC):\n @abstractmethod\n def deserialize(self, value: str | None, t: type[T]) -> T: pass\n @abstractmethod\n def deserialize_param(self, value: List[str] | None, t: type[T]) -> T: pass\n\n class Serialization(Serializer, Deserializer):\n @abstractmethod\n def serialize(self, value: T, t: type[T]) -> str: pass\n @abstractmethod\n def serialize_param(self, value: T, t: type[T]) -> List[str]: pass\n @abstractmethod\n def deserialize(self, value: str | None, t: type[T]) -> T: pass\n @abstractmethod\n def deserialize_param(self, value: List[str] | None, t: type[T]) -> T: pass\n\n @dataclass\n class RawRequest:\n method: str\n path: List[str]\n queries: Dict[str, List[str]]\n headers: Dict[str, List[str]]\n body: Optional[str]\n\n\n @dataclass\n class RawResponse:\n status_code: int\n headers: Dict[str, List[str]]\n body: Optional[str]\n";
2194
2202
  }
2195
2203
  protoOf(PythonShared).toString = function () {
2196
2204
  return 'PythonShared';
@@ -2211,17 +2219,17 @@ function PythonShared_getInstance() {
2211
2219
  }
2212
2220
  function PythonTypeDefinitionEmitter$emit$lambda(this$0) {
2213
2221
  return function (it) {
2214
- return this$0.s22(it);
2222
+ return this$0.e20(it);
2215
2223
  };
2216
2224
  }
2217
2225
  function PythonTypeDefinitionEmitter$emit$lambda_0(this$0) {
2218
2226
  return function (it) {
2219
- return this$0.s22(it);
2227
+ return this$0.e20(it);
2220
2228
  };
2221
2229
  }
2222
2230
  function PythonTypeDefinitionEmitter$emit$lambda_1(this$0) {
2223
2231
  return function (it) {
2224
- return Spacer_instance.toString() + this$0.xt(it);
2232
+ return Spacer_instance.toString() + this$0.nq(it);
2225
2233
  };
2226
2234
  }
2227
2235
  function PythonTypeDefinitionEmitter() {
@@ -2229,28 +2237,28 @@ function PythonTypeDefinitionEmitter() {
2229
2237
  function PythonUnionDefinitionEmitter() {
2230
2238
  }
2231
2239
  //region block: post-declaration
2232
- protoOf(PythonEmitter).vt = emit_4;
2233
- protoOf(PythonEmitter).wt = emit_5;
2234
- protoOf(PythonEmitter).xt = emit_6;
2235
- protoOf(PythonEmitter).yt = emit_7;
2236
- protoOf(PythonEmitter).zt = emit_9;
2237
- protoOf(PythonEmitter).kv = emit_11;
2238
- protoOf(PythonEmitter).fv = emit_10;
2239
- protoOf(PythonEmitter).lv = emit_12;
2240
- protoOf(PythonEmitter).av = emit_15;
2241
- protoOf(PythonEmitter).yu = emit_3;
2242
- protoOf(PythonEmitter).zu = emit_2;
2243
- protoOf(PythonEmitter).p22 = emit_8;
2244
- protoOf(PythonEmitter).w20 = emit_13;
2245
- protoOf(PythonEmitter).q22 = emit_14;
2246
- protoOf(PythonEmitter).mv = emitValidator;
2247
- protoOf(PythonEmitter).j21 = sanitize;
2248
- protoOf(PythonEmitter).z20 = sanitizeKeywords;
2249
- protoOf(PythonEmitter).r22 = emitType;
2250
- protoOf(PythonEmitter).s22 = emitReferenceCustomImports;
2251
- protoOf(PythonIrEmitter).k1z = get_extensions;
2252
- protoOf(PythonIrEmitter).pr = emit_1;
2253
- protoOf(PythonIrEmitter).p1z = beforeGenerate;
2240
+ protoOf(PythonEmitter).lq = emit_4;
2241
+ protoOf(PythonEmitter).mq = emit_5;
2242
+ protoOf(PythonEmitter).nq = emit_6;
2243
+ protoOf(PythonEmitter).oq = emit_7;
2244
+ protoOf(PythonEmitter).pq = emit_9;
2245
+ protoOf(PythonEmitter).as = emit_11;
2246
+ protoOf(PythonEmitter).vr = emit_10;
2247
+ protoOf(PythonEmitter).bs = emit_12;
2248
+ protoOf(PythonEmitter).qr = emit_15;
2249
+ protoOf(PythonEmitter).or = emit_3;
2250
+ protoOf(PythonEmitter).pr = emit_2;
2251
+ protoOf(PythonEmitter).b20 = emit_8;
2252
+ protoOf(PythonEmitter).i1y = emit_13;
2253
+ protoOf(PythonEmitter).c20 = emit_14;
2254
+ protoOf(PythonEmitter).cs = emitValidator;
2255
+ protoOf(PythonEmitter).v1y = sanitize;
2256
+ protoOf(PythonEmitter).l1y = sanitizeKeywords;
2257
+ protoOf(PythonEmitter).d20 = emitType;
2258
+ protoOf(PythonEmitter).e20 = emitReferenceCustomImports;
2259
+ protoOf(PythonIrEmitter).w1w = get_extensions;
2260
+ protoOf(PythonIrEmitter).eo = emit_1;
2261
+ protoOf(PythonIrEmitter).b1x = beforeGenerate;
2254
2262
  //endregion
2255
2263
  //region block: init
2256
2264
  PythonShared_instance = new PythonShared();