@akashnetwork/chain-sdk 1.0.0-alpha.42 → 1.0.0-alpha.44

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 (272) hide show
  1. package/dist/cjs/generated/createNodeSDK.cjs +5 -328
  2. package/dist/cjs/generated/createNodeSDK.cjs.map +2 -2
  3. package/dist/cjs/generated/createProviderSDK.cjs +19 -36
  4. package/dist/cjs/generated/createProviderSDK.cjs.map +2 -2
  5. package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs +0 -6
  6. package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs.map +2 -2
  7. package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs +2 -18
  8. package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs.map +2 -2
  9. package/dist/cjs/generated/protos/akash/inventory/v1/cpu.cjs +17 -2
  10. package/dist/cjs/generated/protos/akash/inventory/v1/cpu.cjs.map +2 -2
  11. package/dist/cjs/generated/protos/akash/market/v1/types.cjs +0 -6
  12. package/dist/cjs/generated/protos/akash/market/v1/types.cjs.map +2 -2
  13. package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs +1 -139
  14. package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs.map +2 -2
  15. package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs +0 -9
  16. package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs.map +2 -2
  17. package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs +0 -266
  18. package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs.map +2 -2
  19. package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs +2 -71
  20. package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs.map +2 -2
  21. package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs +0 -321
  22. package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs.map +2 -2
  23. package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs +1 -88
  24. package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs.map +2 -2
  25. package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs +1 -462
  26. package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs.map +2 -2
  27. package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs +0 -36
  28. package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs.map +2 -2
  29. package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs +0 -25
  30. package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs.map +2 -2
  31. package/dist/cjs/generated/protos/index.akash.v1.cjs +25 -166
  32. package/dist/cjs/generated/protos/index.akash.v1.cjs.map +3 -3
  33. package/dist/cjs/generated/protos/index.akash.v1beta4.cjs +0 -25
  34. package/dist/cjs/generated/protos/index.akash.v1beta4.cjs.map +3 -3
  35. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs +0 -2
  36. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs.map +2 -2
  37. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs +0 -9
  38. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs.map +2 -2
  39. package/dist/cjs/sdl/manifest/manifestUtils.cjs +18 -1
  40. package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
  41. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +741 -798
  42. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
  43. package/dist/esm/{chunk-AKNHD3CM.js → chunk-2IHQEHWT.js} +19 -4
  44. package/dist/esm/chunk-2IHQEHWT.js.map +7 -0
  45. package/dist/esm/{chunk-MIJCN6AD.js → chunk-3K7Q5MUF.js} +2 -2
  46. package/dist/esm/{chunk-GRGSTKN3.js → chunk-3QS3CMF4.js} +2 -2
  47. package/dist/esm/{chunk-3U5XKNEU.js → chunk-4SZHF6SE.js} +3 -3
  48. package/dist/esm/{chunk-W3TLZPTC.js → chunk-4TSICBUM.js} +3 -3
  49. package/dist/esm/{chunk-P64VHYRM.js → chunk-5ODS4QTF.js} +2 -2
  50. package/dist/esm/{chunk-YFIDWQNM.js → chunk-6MIQPNOR.js} +785 -1147
  51. package/dist/esm/chunk-6MIQPNOR.js.map +7 -0
  52. package/dist/esm/{chunk-OJ54L3XZ.js → chunk-7XXZVOOW.js} +4 -4
  53. package/dist/esm/{chunk-F4IQOYFH.js → chunk-AR26HCRY.js} +2 -2
  54. package/dist/esm/chunk-C3WV6GJ6.js +234 -0
  55. package/dist/esm/chunk-C3WV6GJ6.js.map +7 -0
  56. package/dist/esm/{chunk-PYD5MY63.js → chunk-CZGHFBAO.js} +9 -131
  57. package/dist/esm/chunk-CZGHFBAO.js.map +7 -0
  58. package/dist/esm/{chunk-IEWLP7PR.js → chunk-E7KECYS7.js} +1 -7
  59. package/dist/esm/chunk-E7KECYS7.js.map +7 -0
  60. package/dist/esm/{chunk-DCLXPAMC.js → chunk-EJQUNX4L.js} +3 -3
  61. package/dist/esm/{chunk-F7KT5EX5.js → chunk-ENZ3OBCL.js} +2 -2
  62. package/dist/esm/{chunk-54RECHZZ.js → chunk-IKTMMFJ5.js} +2 -2
  63. package/dist/esm/chunk-IVLF3VVZ.js +364 -0
  64. package/dist/esm/chunk-IVLF3VVZ.js.map +7 -0
  65. package/dist/esm/{chunk-7F3NJG67.js → chunk-LLM2VXJM.js} +3 -3
  66. package/dist/esm/{chunk-WNFIFYG2.js → chunk-M2RS2IFR.js} +2 -2
  67. package/dist/esm/{chunk-PAOVIX5L.js → chunk-MFZVOFPX.js} +3 -3
  68. package/dist/esm/chunk-MV27RM25.js +368 -0
  69. package/dist/esm/chunk-MV27RM25.js.map +7 -0
  70. package/dist/esm/{chunk-M5P5LAJJ.js → chunk-N42ATJOO.js} +2 -2
  71. package/dist/esm/{chunk-RJZ46VHV.js → chunk-NP4QQMME.js} +2 -2
  72. package/dist/esm/{chunk-XP2XNYEA.js → chunk-OWB6ZEHB.js} +2 -2
  73. package/dist/esm/{chunk-NNB5QBR2.js → chunk-OYI3IQIV.js} +2 -2
  74. package/dist/esm/chunk-S2CZQ6AM.js +211 -0
  75. package/dist/esm/chunk-S2CZQ6AM.js.map +7 -0
  76. package/dist/esm/{chunk-Y7BVCD32.js → chunk-SGDEIQ7L.js} +3 -3
  77. package/dist/esm/chunk-SXGU4O34.js +258 -0
  78. package/dist/esm/chunk-SXGU4O34.js.map +7 -0
  79. package/dist/esm/{chunk-HRN6NSO2.js → chunk-TTQ36NQ5.js} +2 -2
  80. package/dist/esm/chunk-V42TLXWK.js +177 -0
  81. package/dist/esm/chunk-V42TLXWK.js.map +7 -0
  82. package/dist/esm/{chunk-57534UAR.js → chunk-WCUR732W.js} +2 -2
  83. package/dist/esm/{chunk-CFEWW2ER.js → chunk-YBRE4XNB.js} +2 -2
  84. package/dist/esm/{chunk-BQNJHJXY.js → chunk-ZGK4PJCD.js} +3 -3
  85. package/dist/esm/{chunk-TN4W5NLC.js → chunk-ZRZ6LUI2.js} +1 -7
  86. package/dist/esm/chunk-ZRZ6LUI2.js.map +7 -0
  87. package/dist/esm/{chunk-PWXFQ5FI.js → chunk-ZXN75Q55.js} +3 -3
  88. package/dist/esm/generated/protos/index.akash.v1.js +75 -2986
  89. package/dist/esm/generated/protos/index.akash.v1.js.map +4 -4
  90. package/dist/esm/generated/protos/index.akash.v1beta4.js +13 -58
  91. package/dist/esm/generated/protos/index.akash.v1beta5.js +12 -17
  92. package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
  93. package/dist/esm/generated/protos/index.akash.v2.js +4 -4
  94. package/dist/esm/generated/protos/index.provider.akash.v1.js +10 -29
  95. package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +4 -5
  96. package/dist/esm/index.js +36 -54
  97. package/dist/esm/index.js.map +2 -2
  98. package/dist/esm/index.web.js +13 -14
  99. package/dist/esm/index.web.js.map +1 -1
  100. package/dist/esm/{query_akash-HCIMNA7T.js → query_akash-44SHG3FL.js} +3 -4
  101. package/dist/esm/{query_akash-HCIMNA7T.js.map → query_akash-44SHG3FL.js.map} +1 -1
  102. package/dist/esm/{query_akash-SOJJMCBH.js → query_akash-54EYS6GQ.js} +7 -8
  103. package/dist/esm/{query_akash-SOJJMCBH.js.map → query_akash-54EYS6GQ.js.map} +1 -1
  104. package/dist/esm/{query_akash-HN4NCENR.js → query_akash-72TFPQBZ.js} +4 -4
  105. package/dist/esm/{query_akash-SVNQ4S67.js → query_akash-EGFDDA4L.js} +4 -4
  106. package/dist/esm/{query_akash-BTYAA6UN.js → query_akash-I3RPHLVA.js} +5 -5
  107. package/dist/esm/query_akash-N3FPIXVQ.js +39 -0
  108. package/dist/esm/query_akash-N3FPIXVQ.js.map +7 -0
  109. package/dist/esm/{query_akash-EG43V2QH.js → query_akash-QF2LHJQN.js} +4 -4
  110. package/dist/esm/{query_akash-LSGWB5MI.js → query_akash-TZ6F7OO4.js} +12 -24
  111. package/dist/esm/query_akash-TZ6F7OO4.js.map +7 -0
  112. package/dist/esm/service_akash-5AUMDLU5.js +46 -0
  113. package/dist/esm/service_akash-5AUMDLU5.js.map +7 -0
  114. package/dist/esm/{service_akash-43EJ5RKY.js → service_akash-EPHAYZEJ.js} +7 -8
  115. package/dist/esm/{service_akash-43EJ5RKY.js.map → service_akash-EPHAYZEJ.js.map} +1 -1
  116. package/dist/esm/{service_akash-T36Y5DCD.js → service_akash-FX24P5VG.js} +3 -4
  117. package/dist/esm/{service_akash-T36Y5DCD.js.map → service_akash-FX24P5VG.js.map} +1 -1
  118. package/dist/esm/{service_akash-HFGWADC2.js → service_akash-JQKI2SJP.js} +4 -4
  119. package/dist/esm/{service_akash-3R3TC3PH.js → service_akash-KRCYHNCN.js} +3 -4
  120. package/dist/esm/{service_akash-3R3TC3PH.js.map → service_akash-KRCYHNCN.js.map} +1 -1
  121. package/dist/esm/{service_akash-QTGRTXLG.js → service_akash-PFTEVUGK.js} +4 -4
  122. package/dist/esm/{service_akash-X4HCN3EG.js → service_akash-S73VJW6Q.js} +8 -9
  123. package/dist/esm/{service_akash-X4HCN3EG.js.map → service_akash-S73VJW6Q.js.map} +1 -1
  124. package/dist/esm/{service_akash-KAJJV7LX.js → service_akash-SXXXZL6K.js} +4 -4
  125. package/dist/esm/{service_akash-AXWB3IDG.js → service_akash-YXSRY4G3.js} +6 -7
  126. package/dist/esm/{service_akash-AXWB3IDG.js.map → service_akash-YXSRY4G3.js.map} +1 -1
  127. package/dist/esm/{service_akash-BZTUHKJO.js → service_akash-Z4CR3DWY.js} +7 -8
  128. package/dist/esm/{service_akash-BZTUHKJO.js.map → service_akash-Z4CR3DWY.js.map} +1 -1
  129. package/dist/sdl-schema.yaml +41 -73
  130. package/dist/tsconfig.build.tsbuildinfo +1 -1
  131. package/dist/types/generated/createNodeSDK.d.ts +0 -473
  132. package/dist/types/generated/createProviderSDK.d.ts +0 -31
  133. package/dist/types/generated/patches/nodeCustomTypePatches.d.ts +0 -8
  134. package/dist/types/generated/protos/akash/base/attributes/v1/attribute.d.ts +0 -3
  135. package/dist/types/generated/protos/akash/inventory/v1/cpu.d.ts +1 -0
  136. package/dist/types/generated/protos/akash/market/v1/types.d.ts +3 -5
  137. package/dist/types/generated/protos/akash/market/v1beta5/query.d.ts +0 -29
  138. package/dist/types/generated/protos/akash/market/v1beta5/query_akash.d.ts +1 -8
  139. package/dist/types/generated/protos/akash/provider/v1beta4/event.d.ts +0 -40
  140. package/dist/types/generated/protos/akash/provider/v1beta4/genesis.d.ts +1 -11
  141. package/dist/types/generated/protos/akash/provider/v1beta4/msg.d.ts +0 -57
  142. package/dist/types/generated/protos/akash/provider/v1beta4/provider.d.ts +0 -13
  143. package/dist/types/generated/protos/akash/provider/v1beta4/query.d.ts +1 -93
  144. package/dist/types/generated/protos/akash/provider/v1beta4/query_akash.d.ts +1 -29
  145. package/dist/types/generated/protos/akash/provider/v1beta4/service_akash.d.ts +1 -20
  146. package/dist/types/generated/protos/index.akash.v1.d.ts +0 -9
  147. package/dist/types/generated/protos/index.akash.v1beta4.d.ts +4 -7
  148. package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
  149. package/dist/types/generated/protos/index.provider.akash.v1.d.ts +0 -1
  150. package/dist/types/sdk/chain/createChainNodeSDK.d.ts +0 -45
  151. package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +0 -45
  152. package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +74 -109
  153. package/package.json +1 -1
  154. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs +0 -943
  155. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs.map +0 -7
  156. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs +0 -50
  157. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs.map +0 -7
  158. package/dist/cjs/generated/protos/akash/market/v1/stats.cjs +0 -248
  159. package/dist/cjs/generated/protos/akash/market/v1/stats.cjs.map +0 -7
  160. package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs +0 -417
  161. package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs.map +0 -7
  162. package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs +0 -96
  163. package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs.map +0 -7
  164. package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs +0 -132
  165. package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs.map +0 -7
  166. package/dist/cjs/generated/protos/akash/verification/v1/event.cjs +0 -2525
  167. package/dist/cjs/generated/protos/akash/verification/v1/event.cjs.map +0 -7
  168. package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs +0 -253
  169. package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs.map +0 -7
  170. package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs +0 -2774
  171. package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs.map +0 -7
  172. package/dist/cjs/generated/protos/akash/verification/v1/params.cjs +0 -1044
  173. package/dist/cjs/generated/protos/akash/verification/v1/params.cjs.map +0 -7
  174. package/dist/cjs/generated/protos/akash/verification/v1/query.cjs +0 -1559
  175. package/dist/cjs/generated/protos/akash/verification/v1/query.cjs.map +0 -7
  176. package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs +0 -147
  177. package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs.map +0 -7
  178. package/dist/cjs/generated/protos/akash/verification/v1/service.cjs +0 -17
  179. package/dist/cjs/generated/protos/akash/verification/v1/service.cjs.map +0 -7
  180. package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs +0 -190
  181. package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs.map +0 -7
  182. package/dist/cjs/generated/protos/akash/verification/v1/state.cjs +0 -2018
  183. package/dist/cjs/generated/protos/akash/verification/v1/state.cjs.map +0 -7
  184. package/dist/cjs/generated/protos/akash/verification/v1/types.cjs +0 -1071
  185. package/dist/cjs/generated/protos/akash/verification/v1/types.cjs.map +0 -7
  186. package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs +0 -148
  187. package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs.map +0 -7
  188. package/dist/esm/chunk-2NPYA3YV.js +0 -1563
  189. package/dist/esm/chunk-2NPYA3YV.js.map +0 -7
  190. package/dist/esm/chunk-474YCD2T.js +0 -356
  191. package/dist/esm/chunk-474YCD2T.js.map +0 -7
  192. package/dist/esm/chunk-4CTTYO4O.js +0 -890
  193. package/dist/esm/chunk-4CTTYO4O.js.map +0 -7
  194. package/dist/esm/chunk-AIWCRXMP.js +0 -672
  195. package/dist/esm/chunk-AIWCRXMP.js.map +0 -7
  196. package/dist/esm/chunk-AKNHD3CM.js.map +0 -7
  197. package/dist/esm/chunk-BI4YL5KH.js +0 -2742
  198. package/dist/esm/chunk-BI4YL5KH.js.map +0 -7
  199. package/dist/esm/chunk-IEWLP7PR.js.map +0 -7
  200. package/dist/esm/chunk-IFKY7FXY.js +0 -484
  201. package/dist/esm/chunk-IFKY7FXY.js.map +0 -7
  202. package/dist/esm/chunk-J4CJEGEM.js +0 -3016
  203. package/dist/esm/chunk-J4CJEGEM.js.map +0 -7
  204. package/dist/esm/chunk-PEHPXXTS.js +0 -1053
  205. package/dist/esm/chunk-PEHPXXTS.js.map +0 -7
  206. package/dist/esm/chunk-PTMMQODC.js +0 -760
  207. package/dist/esm/chunk-PTMMQODC.js.map +0 -7
  208. package/dist/esm/chunk-PYD5MY63.js.map +0 -7
  209. package/dist/esm/chunk-SK7LOVVI.js +0 -660
  210. package/dist/esm/chunk-SK7LOVVI.js.map +0 -7
  211. package/dist/esm/chunk-TN4W5NLC.js.map +0 -7
  212. package/dist/esm/chunk-VYCICKFV.js +0 -698
  213. package/dist/esm/chunk-VYCICKFV.js.map +0 -7
  214. package/dist/esm/chunk-YFIDWQNM.js.map +0 -7
  215. package/dist/esm/query_akash-KU4YCMUU.js +0 -85
  216. package/dist/esm/query_akash-KU4YCMUU.js.map +0 -7
  217. package/dist/esm/query_akash-LSGWB5MI.js.map +0 -7
  218. package/dist/esm/query_akash-XYSUQTZC.js +0 -164
  219. package/dist/esm/query_akash-XYSUQTZC.js.map +0 -7
  220. package/dist/esm/service_akash-KYLB3OP3.js +0 -78
  221. package/dist/esm/service_akash-KYLB3OP3.js.map +0 -7
  222. package/dist/esm/service_akash-LJBOWZZG.js +0 -221
  223. package/dist/esm/service_akash-LJBOWZZG.js.map +0 -7
  224. package/dist/esm/snapshot_akash-KH5X5W3B.js +0 -41
  225. package/dist/esm/snapshot_akash-KH5X5W3B.js.map +0 -7
  226. package/dist/types/generated/protos/akash/inventory/v1/snapshot.d.ts +0 -112
  227. package/dist/types/generated/protos/akash/inventory/v1/snapshot_akash.d.ts +0 -22
  228. package/dist/types/generated/protos/akash/market/v1/stats.d.ts +0 -35
  229. package/dist/types/generated/protos/akash/provider/v1beta4/maintenance.d.ts +0 -87
  230. package/dist/types/generated/protos/akash/provider/v1beta4/params.d.ts +0 -17
  231. package/dist/types/generated/protos/akash/provider/v1beta4/paramsmsg.d.ts +0 -22
  232. package/dist/types/generated/protos/akash/verification/v1/event.d.ts +0 -339
  233. package/dist/types/generated/protos/akash/verification/v1/genesis.d.ts +0 -45
  234. package/dist/types/generated/protos/akash/verification/v1/msg.d.ts +0 -614
  235. package/dist/types/generated/protos/akash/verification/v1/params.d.ts +0 -147
  236. package/dist/types/generated/protos/akash/verification/v1/query.d.ts +0 -290
  237. package/dist/types/generated/protos/akash/verification/v1/query_akash.d.ts +0 -97
  238. package/dist/types/generated/protos/akash/verification/v1/service.d.ts +0 -1
  239. package/dist/types/generated/protos/akash/verification/v1/service_akash.d.ts +0 -126
  240. package/dist/types/generated/protos/akash/verification/v1/state.d.ts +0 -320
  241. package/dist/types/generated/protos/akash/verification/v1/types.d.ts +0 -348
  242. package/dist/types/generated/protos/akash/verification/v1/verificationrequirement.d.ts +0 -36
  243. /package/dist/esm/{chunk-MIJCN6AD.js.map → chunk-3K7Q5MUF.js.map} +0 -0
  244. /package/dist/esm/{chunk-GRGSTKN3.js.map → chunk-3QS3CMF4.js.map} +0 -0
  245. /package/dist/esm/{chunk-3U5XKNEU.js.map → chunk-4SZHF6SE.js.map} +0 -0
  246. /package/dist/esm/{chunk-W3TLZPTC.js.map → chunk-4TSICBUM.js.map} +0 -0
  247. /package/dist/esm/{chunk-P64VHYRM.js.map → chunk-5ODS4QTF.js.map} +0 -0
  248. /package/dist/esm/{chunk-OJ54L3XZ.js.map → chunk-7XXZVOOW.js.map} +0 -0
  249. /package/dist/esm/{chunk-F4IQOYFH.js.map → chunk-AR26HCRY.js.map} +0 -0
  250. /package/dist/esm/{chunk-DCLXPAMC.js.map → chunk-EJQUNX4L.js.map} +0 -0
  251. /package/dist/esm/{chunk-F7KT5EX5.js.map → chunk-ENZ3OBCL.js.map} +0 -0
  252. /package/dist/esm/{chunk-54RECHZZ.js.map → chunk-IKTMMFJ5.js.map} +0 -0
  253. /package/dist/esm/{chunk-7F3NJG67.js.map → chunk-LLM2VXJM.js.map} +0 -0
  254. /package/dist/esm/{chunk-WNFIFYG2.js.map → chunk-M2RS2IFR.js.map} +0 -0
  255. /package/dist/esm/{chunk-PAOVIX5L.js.map → chunk-MFZVOFPX.js.map} +0 -0
  256. /package/dist/esm/{chunk-M5P5LAJJ.js.map → chunk-N42ATJOO.js.map} +0 -0
  257. /package/dist/esm/{chunk-RJZ46VHV.js.map → chunk-NP4QQMME.js.map} +0 -0
  258. /package/dist/esm/{chunk-XP2XNYEA.js.map → chunk-OWB6ZEHB.js.map} +0 -0
  259. /package/dist/esm/{chunk-NNB5QBR2.js.map → chunk-OYI3IQIV.js.map} +0 -0
  260. /package/dist/esm/{chunk-Y7BVCD32.js.map → chunk-SGDEIQ7L.js.map} +0 -0
  261. /package/dist/esm/{chunk-HRN6NSO2.js.map → chunk-TTQ36NQ5.js.map} +0 -0
  262. /package/dist/esm/{chunk-57534UAR.js.map → chunk-WCUR732W.js.map} +0 -0
  263. /package/dist/esm/{chunk-CFEWW2ER.js.map → chunk-YBRE4XNB.js.map} +0 -0
  264. /package/dist/esm/{chunk-BQNJHJXY.js.map → chunk-ZGK4PJCD.js.map} +0 -0
  265. /package/dist/esm/{chunk-PWXFQ5FI.js.map → chunk-ZXN75Q55.js.map} +0 -0
  266. /package/dist/esm/{query_akash-HN4NCENR.js.map → query_akash-72TFPQBZ.js.map} +0 -0
  267. /package/dist/esm/{query_akash-SVNQ4S67.js.map → query_akash-EGFDDA4L.js.map} +0 -0
  268. /package/dist/esm/{query_akash-BTYAA6UN.js.map → query_akash-I3RPHLVA.js.map} +0 -0
  269. /package/dist/esm/{query_akash-EG43V2QH.js.map → query_akash-QF2LHJQN.js.map} +0 -0
  270. /package/dist/esm/{service_akash-HFGWADC2.js.map → service_akash-JQKI2SJP.js.map} +0 -0
  271. /package/dist/esm/{service_akash-QTGRTXLG.js.map → service_akash-PFTEVUGK.js.map} +0 -0
  272. /package/dist/esm/{service_akash-KAJJV7LX.js.map → service_akash-SXXXZL6K.js.map} +0 -0
@@ -1,20 +1,21 @@
1
1
  import {
2
2
  Group,
3
3
  ImageCredentials,
4
+ ProxyOptions,
4
5
  Service,
5
6
  ServiceExpose,
6
7
  ServiceExposeHTTPOptions,
7
8
  ServiceParams,
8
9
  StorageParams,
9
10
  TEEParams
10
- } from "./chunk-XP2XNYEA.js";
11
+ } from "./chunk-OWB6ZEHB.js";
11
12
  import {
12
13
  TxRaw
13
14
  } from "./chunk-3M6OSHK2.js";
14
15
  import {
15
16
  GroupSpec,
16
17
  ResourceUnit
17
- } from "./chunk-Y7BVCD32.js";
18
+ } from "./chunk-SGDEIQ7L.js";
18
19
  import {
19
20
  CPU,
20
21
  Endpoint,
@@ -22,14 +23,14 @@ import {
22
23
  Memory,
23
24
  Resources,
24
25
  Storage
25
- } from "./chunk-BQNJHJXY.js";
26
+ } from "./chunk-ZGK4PJCD.js";
26
27
  import {
27
28
  DeploymentReclamation
28
29
  } from "./chunk-W4ACGFCN.js";
29
30
  import {
30
31
  PlacementRequirements,
31
32
  SignedBy
32
- } from "./chunk-474YCD2T.js";
33
+ } from "./chunk-S2CZQ6AM.js";
33
34
  import {
34
35
  Duration
35
36
  } from "./chunk-RAWXZV6K.js";
@@ -71,9 +72,9 @@ var require_ucs2length = __commonJS({
71
72
  }
72
73
  });
73
74
  var validate = validate27;
74
- var schema28 = { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "description": "Schema for Akash Stack Definition Language (SDL) YAML input files.\n\nNote: This schema validates structure only. Semantic validations (cross-references,\nunused endpoints, profile references, etc.) are performed at runtime by the Go parser.\nSee README.md for details.\n", "definitions": { "stringArrayOrNull": { "description": "String array or null value (used for command args and env vars)", "oneOf": [{ "items": { "type": "string" }, "type": "array" }, { "type": "null" }] }, "portNumber": { "description": "Valid TCP/UDP port number (1-65535)", "type": "integer", "minimum": 1, "maximum": 65535 }, "httpErrorCode": { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" }, "httpTimeout": { "description": "HTTP timeout. Integers and unitless strings are milliseconds; duration strings use ms, s, m, or h. The normalized value must fit uint32 milliseconds.", "oneOf": [{ "type": "integer", "minimum": 0, "maximum": 4294967295 }, { "type": "string", "pattern": "^[0-9]+(ms|s|m|h)?$" }] }, "priceCoin": { "description": "Price definition with amount and denomination", "additionalProperties": false, "properties": { "amount": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?$", "description": "Positive number as string" }, { "type": "number", "minimum": 0, "description": "Positive number" }] }, "denom": { "enum": ["uakt", "uact"], "type": "string" } }, "required": ["denom", "amount"], "type": "object" }, "storageRamClassMustNotBePersistent": { "description": "RAM storage class must not have persistent=true", "not": { "properties": { "class": { "const": "ram" }, "persistent": { "oneOf": [{ "const": true }, { "const": "true" }] } }, "required": ["class", "persistent"] } }, "storageNonRamClassRequiresPersistent": { "description": "Non-RAM storage classes (beta1, beta2, beta3, default) require persistent=true", "if": { "properties": { "class": { "enum": ["beta1", "beta2", "beta3", "default"] } }, "required": ["class"] }, "then": { "properties": { "persistent": { "oneOf": [{ "const": true }, { "const": "true" }] } }, "required": ["persistent"] } }, "storageAttributesValidation": { "description": "Storage attributes validation:\n1. RAM class must not be persistent\n2. Non-RAM classes (beta1, beta2, beta3, default) require persistent=true\n", "additionalProperties": false, "properties": { "class": { "type": "string" }, "persistent": { "oneOf": [{ "type": "boolean" }, { "type": "string" }] } }, "allOf": [{ "$ref": "#/definitions/storageRamClassMustNotBePersistent" }, { "$ref": "#/definitions/storageNonRamClassRequiresPersistent" }], "required": ["class", "persistent"], "type": "object" }, "storageVolume": { "description": "Storage volume definition with size and optional attributes", "additionalProperties": false, "properties": { "attributes": { "$ref": "#/definitions/storageAttributesValidation" }, "name": { "type": "string" }, "size": { "type": "string" } }, "required": ["size"], "type": "object" }, "absolutePath": { "description": "Absolute filesystem path starting with /", "type": "string", "minLength": 1, "pattern": "^/" }, "gpuUnitsGt0RequiresAttributes": { "description": "GPU units > 0 requires attributes to be present", "if": { "properties": { "units": { "oneOf": [{ "type": "number", "exclusiveMinimum": 0 }, { "type": "string", "not": { "pattern": "^0+(\\.0+)?$" } }] } }, "required": ["units"] }, "then": { "required": ["attributes"] } }, "gpuAttributesRequireUnitsGt0": { "description": "GPU attributes present requires units > 0", "if": { "required": ["attributes"] }, "then": { "properties": { "units": { "oneOf": [{ "type": "number", "exclusiveMinimum": 0 }, { "type": "string", "not": { "pattern": "^0+(\\.0+)?$" } }] } }, "required": ["units"] } }, "exposeToWithIpEnforcesGlobal": { "description": "Expose to with IP enforces global", "if": { "properties": { "ip": { "type": "string", "minLength": 1 } }, "required": ["ip"] }, "then": { "properties": { "global": { "const": true } }, "required": ["global"] } }, "verificationTierZeroAllowsNoFilters": { "description": "Verification tier 0 cannot be combined with filters", "if": { "properties": { "min_tier": { "const": 0 } }, "required": ["min_tier"] }, "then": { "properties": { "capabilities": { "maxItems": 0 }, "auditors": { "maxItems": 0 }, "min_auditor_count": { "maximum": 0 } } } }, "verificationRequirement": { "description": "Optional verification requirements that providers must satisfy to bid\non this placement. Omitting the block disables verification filtering.\n", "additionalProperties": false, "allOf": [{ "$ref": "#/definitions/verificationTierZeroAllowsNoFilters" }], "properties": { "min_tier": { "description": "Minimum verification tier required of bidding providers. 0 = no\nrequirement (TierUnspecified) and cannot be combined with\ncapabilities, auditors, or min_auditor_count. Valid values are 0..4.\n", "type": "integer", "minimum": 0, "maximum": 4 }, "capabilities": { "description": "Optional capability flags the tenant requires bidders to assert. Each\nentry must be one of the recognized SDL capability names.\n", "type": "array", "items": { "enum": ["tee_hardware_attestation", "confidential_computing", "persistent_storage", "bare_metal"], "type": "string" } }, "auditors": { "description": "Optional list of specific auditor bech32 addresses; the list is\nevaluated according to auditor_mode.\n", "type": "array", "items": { "type": "string", "minLength": 1 } }, "auditor_mode": { "description": 'How the auditors list is evaluated. Omitting the field is equivalent\nto "any".\n', "enum": ["any", "all"], "type": "string" }, "min_auditor_count": { "description": "Minimum number of independent qualifying auditors that must have\nattested the provider, independent of the auditors list.\n", "type": "integer", "minimum": 0 } }, "required": ["min_tier"], "type": "object" } }, "properties": { "deployment": { "additionalProperties": { "additionalProperties": { "additionalProperties": false, "properties": { "count": { "minimum": 1, "type": "integer" }, "profile": { "type": "string" } }, "required": ["profile", "count"], "type": "object" }, "type": "object" }, "type": "object" }, "endpoints": { "additionalProperties": false, "patternProperties": { "^[a-z]+[-_0-9a-z]+$": { "additionalProperties": false, "properties": { "kind": { "enum": ["ip"], "type": "string" } }, "required": ["kind"], "type": "object" } }, "type": "object" }, "include": { "description": "Optional list of files to include", "items": { "type": "string" }, "type": "array" }, "profiles": { "additionalProperties": false, "properties": { "compute": { "additionalProperties": { "additionalProperties": false, "properties": { "resources": { "additionalProperties": false, "properties": { "cpu": { "additionalProperties": false, "properties": { "attributes": { "type": "object" }, "units": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$", "not": { "pattern": "^0+(\\.0+)?m?$" } }, { "type": "number", "exclusiveMinimum": 0 }] } }, "required": ["units"], "type": "object" }, "gpu": { "description": "GPU resource specification.\n- units defaults to 0 if omitted\n- Bidirectional validation: units > 0 requires attributes, and attributes require units > 0\n", "additionalProperties": false, "properties": { "attributes": { "additionalProperties": false, "properties": { "vendor": { "additionalProperties": false, "minProperties": 1, "properties": { "nvidia": { "oneOf": [{ "type": "array", "items": { "additionalProperties": false, "properties": { "interface": { "enum": ["pcie", "sxm"], "type": "string" }, "model": { "type": "string" }, "ram": { "type": "string" } }, "type": "object" } }, { "type": "null" }] } }, "type": "object" }, "interconnect": { "description": "Opt this resource into GPU interconnect.\nAccepts two forms:\n - `[]` (empty sequence) \u2014 implicit group,\n the parser auto-names it `auto` within\n the placement. All services that opt in\n with `[]` under one placement land in\n the same `auto` group.\n - `{ group: <name> }` \u2014 explicit named\n group. The name `auto` is reserved.\nThe bare boolean `true` is no longer\naccepted. Fabric (InfiniBand vs RoCE) is\nchosen by the provider, not the SDL.\n", "oneOf": [{ "type": "array", "maxItems": 0 }, { "additionalProperties": false, "properties": { "group": { "type": "string", "minLength": 1 } }, "required": ["group"], "type": "object" }] } }, "type": "object" }, "units": { "oneOf": [{ "type": "string" }, { "type": "number" }] } }, "allOf": [{ "$ref": "#/definitions/gpuUnitsGt0RequiresAttributes" }, { "$ref": "#/definitions/gpuAttributesRequireUnitsGt0" }], "type": "object" }, "memory": { "additionalProperties": false, "properties": { "size": { "type": "string" } }, "required": ["size"], "type": "object" }, "storage": { "oneOf": [{ "$ref": "#/definitions/storageVolume" }, { "items": { "$ref": "#/definitions/storageVolume" }, "type": "array" }] } }, "required": ["cpu", "memory", "storage"], "type": "object" } }, "required": ["resources"], "type": "object" }, "type": "object" }, "placement": { "additionalProperties": { "additionalProperties": false, "properties": { "attributes": { "type": "object" }, "pricing": { "additionalProperties": { "$ref": "#/definitions/priceCoin" }, "type": "object" }, "signedBy": { "additionalProperties": false, "properties": { "allOf": { "items": { "type": "string" }, "type": "array" }, "anyOf": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "verification": { "$ref": "#/definitions/verificationRequirement" } }, "required": ["pricing"], "type": "object" }, "type": "object" } }, "required": ["compute", "placement"], "type": "object" }, "services": { "additionalProperties": { "properties": { "args": { "$ref": "#/definitions/stringArrayOrNull" }, "command": { "$ref": "#/definitions/stringArrayOrNull" }, "credentials": { "additionalProperties": false, "properties": { "email": { "type": "string", "minLength": 5 }, "host": { "type": "string", "minLength": 1 }, "password": { "type": "string", "minLength": 6 }, "username": { "type": "string", "minLength": 1 } }, "required": ["host", "username", "password"], "type": "object" }, "dependencies": { "items": { "additionalProperties": false, "properties": { "service": { "type": "string" } }, "type": "object" }, "type": "array" }, "env": { "$ref": "#/definitions/stringArrayOrNull" }, "expose": { "oneOf": [{ "type": "array", "items": { "additionalProperties": false, "properties": { "accept": { "items": { "type": "string" }, "type": "array" }, "as": { "$ref": "#/definitions/portNumber" }, "http_options": { "additionalProperties": false, "properties": { "max_body_size": { "type": "integer", "minimum": 0, "maximum": 104857600, "description": "Maximum body size in bytes (max 100 MB)" }, "next_cases": { "oneOf": [{ "type": "array", "items": { "$ref": "#/definitions/httpErrorCode" }, "contains": { "const": "off" }, "maxItems": 1, "minItems": 1 }, { "type": "array", "items": { "$ref": "#/definitions/httpErrorCode" }, "not": { "contains": { "const": "off" } } }] }, "next_timeout": { "type": "integer", "minimum": 0 }, "next_tries": { "type": "integer", "minimum": 0 }, "read_timeout": { "$ref": "#/definitions/httpTimeout" }, "send_timeout": { "$ref": "#/definitions/httpTimeout" } }, "type": "object" }, "port": { "$ref": "#/definitions/portNumber" }, "proto": { "enum": ["TCP", "UDP", "tcp", "udp"], "type": "string" }, "to": { "items": { "additionalProperties": false, "properties": { "global": { "type": "boolean" }, "ip": { "minLength": 1, "type": "string" }, "service": { "type": "string" } }, "allOf": [{ "$ref": "#/definitions/exposeToWithIpEnforcesGlobal" }], "type": "object" }, "type": "array" } }, "required": ["port"], "type": "object" } }, { "type": "null" }] }, "image": { "type": "string", "minLength": 1 }, "params": { "additionalProperties": false, "properties": { "storage": { "additionalProperties": { "additionalProperties": false, "properties": { "mount": { "$ref": "#/definitions/absolutePath" }, "readOnly": { "type": "boolean" } }, "type": "object" }, "type": "object" }, "permissions": { "additionalProperties": false, "properties": { "read": { "items": { "type": "string", "enum": ["deployment", "logs", "events"] }, "type": "array" } }, "type": "object" }, "tee": { "type": "string", "enum": ["cpu", "cpu-gpu"] } }, "type": "object" } }, "required": ["image"], "type": "object", "additionalProperties": false }, "type": "object" }, "reclamation": { "description": "Deployment-level reclamation requirements (optional). When set, providers must offer a reclamation window meeting or exceeding the specified minimum to bid on this deployment.", "additionalProperties": false, "properties": { "min_window": { "type": "string", "pattern": "^[1-9][0-9]*(s|m|h)$", "description": 'Minimum reclamation window the tenant requires, as a whole number followed by a unit (s, m, or h). E.g. "1h", "24h", "720h".' } }, "required": ["min_window"], "type": "object" }, "version": { "description": "SDL version", "enum": ["2.0", "2.1"], "type": "string" } }, "required": ["version", "services", "profiles", "deployment"], "title": "Akash SDL Input Schema", "type": "object" };
75
+ var schema28 = { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "description": "Schema for Akash Stack Definition Language (SDL) YAML input files.\n\nNote: This schema validates structure only. Semantic validations (cross-references,\nunused endpoints, profile references, etc.) are performed at runtime by the Go parser.\nSee README.md for details.\n", "definitions": { "stringArrayOrNull": { "description": "String array or null value (used for command args and env vars)", "oneOf": [{ "items": { "type": "string" }, "type": "array" }, { "type": "null" }] }, "portNumber": { "description": "Valid TCP/UDP port number (1-65535)", "type": "integer", "minimum": 1, "maximum": 65535 }, "httpErrorCode": { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" }, "httpTimeout": { "description": "HTTP timeout. Integers and unitless strings are milliseconds; duration strings use ms, s, m, or h. The normalized value must fit uint32 milliseconds.", "oneOf": [{ "type": "integer", "minimum": 0, "maximum": 4294967295 }, { "type": "string", "pattern": "^[0-9]+(ms|s|m|h)?$" }] }, "priceCoin": { "description": "Price definition with amount and denomination", "additionalProperties": false, "properties": { "amount": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?$", "description": "Positive number as string" }, { "type": "number", "minimum": 0, "description": "Positive number" }] }, "denom": { "enum": ["uakt", "uact"], "type": "string" } }, "required": ["denom", "amount"], "type": "object" }, "storageRamClassMustNotBePersistent": { "description": "RAM storage class must not have persistent=true", "not": { "properties": { "class": { "const": "ram" }, "persistent": { "oneOf": [{ "const": true }, { "const": "true" }] } }, "required": ["class", "persistent"] } }, "storageNonRamClassRequiresPersistent": { "description": "Non-RAM storage classes (beta1, beta2, beta3, default) require persistent=true", "if": { "properties": { "class": { "enum": ["beta1", "beta2", "beta3", "default"] } }, "required": ["class"] }, "then": { "properties": { "persistent": { "oneOf": [{ "const": true }, { "const": "true" }] } }, "required": ["persistent"] } }, "storageAttributesValidation": { "description": "Storage attributes validation:\n1. RAM class must not be persistent\n2. Non-RAM classes (beta1, beta2, beta3, default) require persistent=true\n", "additionalProperties": false, "properties": { "class": { "type": "string" }, "persistent": { "oneOf": [{ "type": "boolean" }, { "type": "string" }] } }, "allOf": [{ "$ref": "#/definitions/storageRamClassMustNotBePersistent" }, { "$ref": "#/definitions/storageNonRamClassRequiresPersistent" }], "required": ["class", "persistent"], "type": "object" }, "storageVolume": { "description": "Storage volume definition with size and optional attributes", "additionalProperties": false, "properties": { "attributes": { "$ref": "#/definitions/storageAttributesValidation" }, "name": { "type": "string" }, "size": { "type": "string" } }, "required": ["size"], "type": "object" }, "absolutePath": { "description": "Absolute filesystem path starting with /", "type": "string", "minLength": 1, "pattern": "^/" }, "gpuUnitsGt0RequiresAttributes": { "description": "GPU units > 0 requires attributes to be present", "if": { "properties": { "units": { "oneOf": [{ "type": "number", "exclusiveMinimum": 0 }, { "type": "string", "not": { "pattern": "^0+(\\.0+)?$" } }] } }, "required": ["units"] }, "then": { "required": ["attributes"] } }, "gpuAttributesRequireUnitsGt0": { "description": "GPU attributes present requires units > 0", "if": { "required": ["attributes"] }, "then": { "properties": { "units": { "oneOf": [{ "type": "number", "exclusiveMinimum": 0 }, { "type": "string", "not": { "pattern": "^0+(\\.0+)?$" } }] } }, "required": ["units"] } }, "exposeToWithIpEnforcesGlobal": { "description": "Expose to with IP enforces global", "if": { "properties": { "ip": { "type": "string", "minLength": 1 } }, "required": ["ip"] }, "then": { "properties": { "global": { "const": true } }, "required": ["global"] } } }, "properties": { "deployment": { "additionalProperties": { "additionalProperties": { "additionalProperties": false, "properties": { "count": { "minimum": 1, "type": "integer" }, "profile": { "type": "string" } }, "required": ["profile", "count"], "type": "object" }, "type": "object" }, "type": "object" }, "endpoints": { "additionalProperties": false, "patternProperties": { "^[a-z]+[-_0-9a-z]+$": { "additionalProperties": false, "properties": { "kind": { "enum": ["ip"], "type": "string" } }, "required": ["kind"], "type": "object" } }, "type": "object" }, "include": { "description": "Optional list of files to include", "items": { "type": "string" }, "type": "array" }, "profiles": { "additionalProperties": false, "properties": { "compute": { "additionalProperties": { "additionalProperties": false, "properties": { "resources": { "additionalProperties": false, "properties": { "cpu": { "additionalProperties": false, "properties": { "attributes": { "type": "object" }, "units": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$", "not": { "pattern": "^0+(\\.0+)?m?$" } }, { "type": "number", "exclusiveMinimum": 0 }] } }, "required": ["units"], "type": "object" }, "gpu": { "description": "GPU resource specification.\n- units defaults to 0 if omitted\n- Bidirectional validation: units > 0 requires attributes, and attributes require units > 0\n", "additionalProperties": false, "properties": { "attributes": { "additionalProperties": false, "properties": { "vendor": { "additionalProperties": false, "minProperties": 1, "properties": { "nvidia": { "oneOf": [{ "type": "array", "items": { "additionalProperties": false, "properties": { "interface": { "enum": ["pcie", "sxm"], "type": "string" }, "model": { "type": "string" }, "ram": { "type": "string" } }, "type": "object" } }, { "type": "null" }] } }, "type": "object" }, "interconnect": { "description": "Opt this resource into GPU interconnect.\nAccepts two forms:\n - `[]` (empty sequence) \u2014 implicit group,\n the parser auto-names it `auto` within\n the placement. All services that opt in\n with `[]` under one placement land in\n the same `auto` group.\n - `{ group: <name> }` \u2014 explicit named\n group. The name `auto` is reserved.\nThe bare boolean `true` is no longer\naccepted. Fabric (InfiniBand vs RoCE) is\nchosen by the provider, not the SDL.\n", "oneOf": [{ "type": "array", "maxItems": 0 }, { "additionalProperties": false, "properties": { "group": { "type": "string", "minLength": 1 } }, "required": ["group"], "type": "object" }] } }, "type": "object" }, "units": { "oneOf": [{ "type": "string" }, { "type": "number" }] } }, "allOf": [{ "$ref": "#/definitions/gpuUnitsGt0RequiresAttributes" }, { "$ref": "#/definitions/gpuAttributesRequireUnitsGt0" }], "type": "object" }, "memory": { "additionalProperties": false, "properties": { "size": { "type": "string" } }, "required": ["size"], "type": "object" }, "storage": { "oneOf": [{ "$ref": "#/definitions/storageVolume" }, { "items": { "$ref": "#/definitions/storageVolume" }, "type": "array" }] } }, "required": ["cpu", "memory", "storage"], "type": "object" } }, "required": ["resources"], "type": "object" }, "type": "object" }, "placement": { "additionalProperties": { "additionalProperties": false, "properties": { "attributes": { "type": "object" }, "pricing": { "additionalProperties": { "$ref": "#/definitions/priceCoin" }, "type": "object" }, "signedBy": { "additionalProperties": false, "properties": { "allOf": { "items": { "type": "string" }, "type": "array" }, "anyOf": { "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": ["pricing"], "type": "object" }, "type": "object" } }, "required": ["compute", "placement"], "type": "object" }, "services": { "additionalProperties": { "properties": { "args": { "$ref": "#/definitions/stringArrayOrNull" }, "command": { "$ref": "#/definitions/stringArrayOrNull" }, "credentials": { "additionalProperties": false, "properties": { "email": { "type": "string", "minLength": 5 }, "host": { "type": "string", "minLength": 1 }, "password": { "type": "string", "minLength": 6 }, "username": { "type": "string", "minLength": 1 } }, "required": ["host", "username", "password"], "type": "object" }, "dependencies": { "items": { "additionalProperties": false, "properties": { "service": { "type": "string" } }, "type": "object" }, "type": "array" }, "env": { "$ref": "#/definitions/stringArrayOrNull" }, "expose": { "oneOf": [{ "type": "array", "items": { "additionalProperties": false, "properties": { "accept": { "items": { "type": "string" }, "type": "array" }, "as": { "$ref": "#/definitions/portNumber" }, "http_options": { "additionalProperties": false, "properties": { "max_body_size": { "type": "integer", "minimum": 0, "maximum": 104857600, "description": "Maximum body size in bytes (max 100 MB)" }, "next_cases": { "oneOf": [{ "type": "array", "items": { "$ref": "#/definitions/httpErrorCode" }, "contains": { "const": "off" }, "maxItems": 1, "minItems": 1 }, { "type": "array", "items": { "$ref": "#/definitions/httpErrorCode" }, "not": { "contains": { "const": "off" } } }] }, "next_timeout": { "type": "integer", "minimum": 0 }, "next_tries": { "type": "integer", "minimum": 0 }, "proxy": { "additionalProperties": false, "description": "Optional proxy tuning for this route. All fields are optional and buffers_number and buffers_size must be set together (both present and >= 1); an empty block is unset.", "dependencies": { "buffers_number": ["buffers_size"], "buffers_size": ["buffers_number"] }, "properties": { "buffer_size": { "type": "integer", "minimum": 0, "maximum": 4294967295, "description": "Proxy buffer size in bytes" }, "buffering_disable": { "type": "boolean", "description": "Disable proxy response buffering when true" }, "buffers_number": { "type": "integer", "minimum": 1, "maximum": 4294967295, "description": "Number of proxy buffers" }, "buffers_size": { "type": "integer", "minimum": 1, "maximum": 4294967295, "description": "Size of each proxy buffer in bytes" }, "busy_buffers_size": { "type": "integer", "minimum": 0, "maximum": 4294967295, "description": "Proxy busy buffers size in bytes" }, "connect_timeout": { "type": "integer", "minimum": 0, "maximum": 4294967295, "description": "Proxy connect timeout in milliseconds" } }, "type": "object" }, "read_timeout": { "$ref": "#/definitions/httpTimeout" }, "send_timeout": { "$ref": "#/definitions/httpTimeout" } }, "type": "object" }, "port": { "$ref": "#/definitions/portNumber" }, "proto": { "enum": ["TCP", "UDP", "tcp", "udp"], "type": "string" }, "to": { "items": { "additionalProperties": false, "properties": { "global": { "type": "boolean" }, "ip": { "minLength": 1, "type": "string" }, "service": { "type": "string" } }, "allOf": [{ "$ref": "#/definitions/exposeToWithIpEnforcesGlobal" }], "type": "object" }, "type": "array" } }, "required": ["port"], "type": "object" } }, { "type": "null" }] }, "image": { "type": "string", "minLength": 1 }, "params": { "additionalProperties": false, "properties": { "storage": { "additionalProperties": { "additionalProperties": false, "properties": { "mount": { "$ref": "#/definitions/absolutePath" }, "readOnly": { "type": "boolean" } }, "type": "object" }, "type": "object" }, "permissions": { "additionalProperties": false, "properties": { "read": { "items": { "type": "string", "enum": ["deployment", "logs", "events"] }, "type": "array" } }, "type": "object" }, "tee": { "type": "string", "enum": ["cpu", "cpu-gpu"] } }, "type": "object" } }, "required": ["image"], "type": "object", "additionalProperties": false }, "type": "object" }, "reclamation": { "description": "Deployment-level reclamation requirements (optional). When set, providers must offer a reclamation window meeting or exceeding the specified minimum to bid on this deployment.", "additionalProperties": false, "properties": { "min_window": { "type": "string", "pattern": "^[1-9][0-9]*(s|m|h)$", "description": 'Minimum reclamation window the tenant requires, as a whole number followed by a unit (s, m, or h). E.g. "1h", "24h", "720h".' } }, "required": ["min_window"], "type": "object" }, "version": { "description": "SDL version", "enum": ["2.0", "2.1"], "type": "string" } }, "required": ["version", "services", "profiles", "deployment"], "title": "Akash SDL Input Schema", "type": "object" };
75
76
  var schema35 = { "description": "Price definition with amount and denomination", "additionalProperties": false, "properties": { "amount": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?$", "description": "Positive number as string" }, { "type": "number", "minimum": 0, "description": "Positive number" }] }, "denom": { "enum": ["uakt", "uact"], "type": "string" } }, "required": ["denom", "amount"], "type": "object" };
76
- var schema42 = { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" };
77
+ var schema40 = { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" };
77
78
  var pattern4 = new RegExp("^[a-z]+[-_0-9a-z]+$", "u");
78
79
  var pattern6 = new RegExp("^0+(\\.0+)?m?$", "u");
79
80
  var pattern7 = new RegExp("^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$", "u");
@@ -497,284 +498,6 @@ function validate28(data, { instancePath = "", parentData, parentDataProperty, r
497
498
  validate28.errors = vErrors;
498
499
  return errors === 0;
499
500
  }
500
- var schema36 = { "description": "Optional verification requirements that providers must satisfy to bid\non this placement. Omitting the block disables verification filtering.\n", "additionalProperties": false, "allOf": [{ "$ref": "#/definitions/verificationTierZeroAllowsNoFilters" }], "properties": { "min_tier": { "description": "Minimum verification tier required of bidding providers. 0 = no\nrequirement (TierUnspecified) and cannot be combined with\ncapabilities, auditors, or min_auditor_count. Valid values are 0..4.\n", "type": "integer", "minimum": 0, "maximum": 4 }, "capabilities": { "description": "Optional capability flags the tenant requires bidders to assert. Each\nentry must be one of the recognized SDL capability names.\n", "type": "array", "items": { "enum": ["tee_hardware_attestation", "confidential_computing", "persistent_storage", "bare_metal"], "type": "string" } }, "auditors": { "description": "Optional list of specific auditor bech32 addresses; the list is\nevaluated according to auditor_mode.\n", "type": "array", "items": { "type": "string", "minLength": 1 } }, "auditor_mode": { "description": 'How the auditors list is evaluated. Omitting the field is equivalent\nto "any".\n', "enum": ["any", "all"], "type": "string" }, "min_auditor_count": { "description": "Minimum number of independent qualifying auditors that must have\nattested the provider, independent of the auditors list.\n", "type": "integer", "minimum": 0 } }, "required": ["min_tier"], "type": "object" };
501
- function validate33(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
502
- let vErrors = null;
503
- let errors = 0;
504
- const _errs3 = errors;
505
- let valid2 = true;
506
- const _errs4 = errors;
507
- if (data && typeof data == "object" && !Array.isArray(data)) {
508
- let missing0;
509
- if (data.min_tier === void 0 && (missing0 = "min_tier")) {
510
- const err0 = {};
511
- if (vErrors === null) {
512
- vErrors = [err0];
513
- } else {
514
- vErrors.push(err0);
515
- }
516
- errors++;
517
- } else {
518
- if (data.min_tier !== void 0) {
519
- if (0 !== data.min_tier) {
520
- const err1 = {};
521
- if (vErrors === null) {
522
- vErrors = [err1];
523
- } else {
524
- vErrors.push(err1);
525
- }
526
- errors++;
527
- }
528
- }
529
- }
530
- }
531
- var _valid0 = _errs4 === errors;
532
- errors = _errs3;
533
- if (vErrors !== null) {
534
- if (_errs3) {
535
- vErrors.length = _errs3;
536
- } else {
537
- vErrors = null;
538
- }
539
- }
540
- if (_valid0) {
541
- const _errs6 = errors;
542
- if (data && typeof data == "object" && !Array.isArray(data)) {
543
- if (data.capabilities !== void 0) {
544
- let data1 = data.capabilities;
545
- if (Array.isArray(data1)) {
546
- if (data1.length > 0) {
547
- const err2 = { instancePath: instancePath + "/capabilities", schemaPath: "#/definitions/verificationTierZeroAllowsNoFilters/then/properties/capabilities/maxItems", keyword: "maxItems", params: { limit: 0 }, message: "must NOT have more than 0 items" };
548
- if (vErrors === null) {
549
- vErrors = [err2];
550
- } else {
551
- vErrors.push(err2);
552
- }
553
- errors++;
554
- }
555
- }
556
- }
557
- if (data.auditors !== void 0) {
558
- let data2 = data.auditors;
559
- if (Array.isArray(data2)) {
560
- if (data2.length > 0) {
561
- const err3 = { instancePath: instancePath + "/auditors", schemaPath: "#/definitions/verificationTierZeroAllowsNoFilters/then/properties/auditors/maxItems", keyword: "maxItems", params: { limit: 0 }, message: "must NOT have more than 0 items" };
562
- if (vErrors === null) {
563
- vErrors = [err3];
564
- } else {
565
- vErrors.push(err3);
566
- }
567
- errors++;
568
- }
569
- }
570
- }
571
- if (data.min_auditor_count !== void 0) {
572
- let data3 = data.min_auditor_count;
573
- if (typeof data3 == "number") {
574
- if (data3 > 0 || isNaN(data3)) {
575
- const err4 = { instancePath: instancePath + "/min_auditor_count", schemaPath: "#/definitions/verificationTierZeroAllowsNoFilters/then/properties/min_auditor_count/maximum", keyword: "maximum", params: { comparison: "<=", limit: 0 }, message: "must be <= 0" };
576
- if (vErrors === null) {
577
- vErrors = [err4];
578
- } else {
579
- vErrors.push(err4);
580
- }
581
- errors++;
582
- }
583
- }
584
- }
585
- }
586
- var _valid0 = _errs6 === errors;
587
- valid2 = _valid0;
588
- }
589
- if (!valid2) {
590
- const err5 = { instancePath, schemaPath: "#/definitions/verificationTierZeroAllowsNoFilters/if", keyword: "if", params: { failingKeyword: "then" }, message: 'must match "then" schema' };
591
- if (vErrors === null) {
592
- vErrors = [err5];
593
- } else {
594
- vErrors.push(err5);
595
- }
596
- errors++;
597
- }
598
- if (data && typeof data == "object" && !Array.isArray(data)) {
599
- if (data.min_tier === void 0) {
600
- const err6 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "min_tier" }, message: "must have required property 'min_tier'" };
601
- if (vErrors === null) {
602
- vErrors = [err6];
603
- } else {
604
- vErrors.push(err6);
605
- }
606
- errors++;
607
- }
608
- for (const key0 in data) {
609
- if (!(key0 === "min_tier" || key0 === "capabilities" || key0 === "auditors" || key0 === "auditor_mode" || key0 === "min_auditor_count")) {
610
- const err7 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
611
- if (vErrors === null) {
612
- vErrors = [err7];
613
- } else {
614
- vErrors.push(err7);
615
- }
616
- errors++;
617
- }
618
- }
619
- if (data.min_tier !== void 0) {
620
- let data4 = data.min_tier;
621
- if (!(typeof data4 == "number" && (!(data4 % 1) && !isNaN(data4)))) {
622
- const err8 = { instancePath: instancePath + "/min_tier", schemaPath: "#/properties/min_tier/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
623
- if (vErrors === null) {
624
- vErrors = [err8];
625
- } else {
626
- vErrors.push(err8);
627
- }
628
- errors++;
629
- }
630
- if (typeof data4 == "number") {
631
- if (data4 > 4 || isNaN(data4)) {
632
- const err9 = { instancePath: instancePath + "/min_tier", schemaPath: "#/properties/min_tier/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4 }, message: "must be <= 4" };
633
- if (vErrors === null) {
634
- vErrors = [err9];
635
- } else {
636
- vErrors.push(err9);
637
- }
638
- errors++;
639
- }
640
- if (data4 < 0 || isNaN(data4)) {
641
- const err10 = { instancePath: instancePath + "/min_tier", schemaPath: "#/properties/min_tier/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
642
- if (vErrors === null) {
643
- vErrors = [err10];
644
- } else {
645
- vErrors.push(err10);
646
- }
647
- errors++;
648
- }
649
- }
650
- }
651
- if (data.capabilities !== void 0) {
652
- let data5 = data.capabilities;
653
- if (Array.isArray(data5)) {
654
- const len0 = data5.length;
655
- for (let i0 = 0; i0 < len0; i0++) {
656
- let data6 = data5[i0];
657
- if (typeof data6 !== "string") {
658
- const err11 = { instancePath: instancePath + "/capabilities/" + i0, schemaPath: "#/properties/capabilities/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
659
- if (vErrors === null) {
660
- vErrors = [err11];
661
- } else {
662
- vErrors.push(err11);
663
- }
664
- errors++;
665
- }
666
- if (!(data6 === "tee_hardware_attestation" || data6 === "confidential_computing" || data6 === "persistent_storage" || data6 === "bare_metal")) {
667
- const err12 = { instancePath: instancePath + "/capabilities/" + i0, schemaPath: "#/properties/capabilities/items/enum", keyword: "enum", params: { allowedValues: schema36.properties.capabilities.items.enum }, message: "must be equal to one of the allowed values" };
668
- if (vErrors === null) {
669
- vErrors = [err12];
670
- } else {
671
- vErrors.push(err12);
672
- }
673
- errors++;
674
- }
675
- }
676
- } else {
677
- const err13 = { instancePath: instancePath + "/capabilities", schemaPath: "#/properties/capabilities/type", keyword: "type", params: { type: "array" }, message: "must be array" };
678
- if (vErrors === null) {
679
- vErrors = [err13];
680
- } else {
681
- vErrors.push(err13);
682
- }
683
- errors++;
684
- }
685
- }
686
- if (data.auditors !== void 0) {
687
- let data7 = data.auditors;
688
- if (Array.isArray(data7)) {
689
- const len1 = data7.length;
690
- for (let i1 = 0; i1 < len1; i1++) {
691
- let data8 = data7[i1];
692
- if (typeof data8 === "string") {
693
- if (func2(data8) < 1) {
694
- const err14 = { instancePath: instancePath + "/auditors/" + i1, schemaPath: "#/properties/auditors/items/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
695
- if (vErrors === null) {
696
- vErrors = [err14];
697
- } else {
698
- vErrors.push(err14);
699
- }
700
- errors++;
701
- }
702
- } else {
703
- const err15 = { instancePath: instancePath + "/auditors/" + i1, schemaPath: "#/properties/auditors/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
704
- if (vErrors === null) {
705
- vErrors = [err15];
706
- } else {
707
- vErrors.push(err15);
708
- }
709
- errors++;
710
- }
711
- }
712
- } else {
713
- const err16 = { instancePath: instancePath + "/auditors", schemaPath: "#/properties/auditors/type", keyword: "type", params: { type: "array" }, message: "must be array" };
714
- if (vErrors === null) {
715
- vErrors = [err16];
716
- } else {
717
- vErrors.push(err16);
718
- }
719
- errors++;
720
- }
721
- }
722
- if (data.auditor_mode !== void 0) {
723
- let data9 = data.auditor_mode;
724
- if (typeof data9 !== "string") {
725
- const err17 = { instancePath: instancePath + "/auditor_mode", schemaPath: "#/properties/auditor_mode/type", keyword: "type", params: { type: "string" }, message: "must be string" };
726
- if (vErrors === null) {
727
- vErrors = [err17];
728
- } else {
729
- vErrors.push(err17);
730
- }
731
- errors++;
732
- }
733
- if (!(data9 === "any" || data9 === "all")) {
734
- const err18 = { instancePath: instancePath + "/auditor_mode", schemaPath: "#/properties/auditor_mode/enum", keyword: "enum", params: { allowedValues: schema36.properties.auditor_mode.enum }, message: "must be equal to one of the allowed values" };
735
- if (vErrors === null) {
736
- vErrors = [err18];
737
- } else {
738
- vErrors.push(err18);
739
- }
740
- errors++;
741
- }
742
- }
743
- if (data.min_auditor_count !== void 0) {
744
- let data10 = data.min_auditor_count;
745
- if (!(typeof data10 == "number" && (!(data10 % 1) && !isNaN(data10)))) {
746
- const err19 = { instancePath: instancePath + "/min_auditor_count", schemaPath: "#/properties/min_auditor_count/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
747
- if (vErrors === null) {
748
- vErrors = [err19];
749
- } else {
750
- vErrors.push(err19);
751
- }
752
- errors++;
753
- }
754
- if (typeof data10 == "number") {
755
- if (data10 < 0 || isNaN(data10)) {
756
- const err20 = { instancePath: instancePath + "/min_auditor_count", schemaPath: "#/properties/min_auditor_count/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
757
- if (vErrors === null) {
758
- vErrors = [err20];
759
- } else {
760
- vErrors.push(err20);
761
- }
762
- errors++;
763
- }
764
- }
765
- }
766
- } else {
767
- const err21 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
768
- if (vErrors === null) {
769
- vErrors = [err21];
770
- } else {
771
- vErrors.push(err21);
772
- }
773
- errors++;
774
- }
775
- validate33.errors = vErrors;
776
- return errors === 0;
777
- }
778
501
  function validate27(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
779
502
  let vErrors = null;
780
503
  let errors = 0;
@@ -2123,7 +1846,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2123
1846
  errors++;
2124
1847
  }
2125
1848
  for (const key19 in data35) {
2126
- if (!(key19 === "attributes" || key19 === "pricing" || key19 === "signedBy" || key19 === "verification")) {
1849
+ if (!(key19 === "attributes" || key19 === "pricing" || key19 === "signedBy")) {
2127
1850
  const err98 = { instancePath: instancePath + "/profiles/placement/" + key18.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/profiles/properties/placement/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key19 }, message: "must NOT have additional properties" };
2128
1851
  if (vErrors === null) {
2129
1852
  vErrors = [err98];
@@ -2374,12 +2097,6 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2374
2097
  errors++;
2375
2098
  }
2376
2099
  }
2377
- if (data35.verification !== void 0) {
2378
- if (!validate33(data35.verification, { instancePath: instancePath + "/profiles/placement/" + key18.replace(/~/g, "~0").replace(/\//g, "~1") + "/verification", parentData: data35, parentDataProperty: "verification", rootData })) {
2379
- vErrors = vErrors === null ? validate33.errors : vErrors.concat(validate33.errors);
2380
- errors = vErrors.length;
2381
- }
2382
- }
2383
2100
  } else {
2384
2101
  const err118 = { instancePath: instancePath + "/profiles/placement/" + key18.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/profiles/properties/placement/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2385
2102
  if (vErrors === null) {
@@ -2411,12 +2128,12 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2411
2128
  }
2412
2129
  }
2413
2130
  if (data.services !== void 0) {
2414
- let data47 = data.services;
2415
- if (data47 && typeof data47 == "object" && !Array.isArray(data47)) {
2416
- for (const key23 in data47) {
2417
- let data48 = data47[key23];
2418
- if (data48 && typeof data48 == "object" && !Array.isArray(data48)) {
2419
- if (data48.image === void 0) {
2131
+ let data46 = data.services;
2132
+ if (data46 && typeof data46 == "object" && !Array.isArray(data46)) {
2133
+ for (const key23 in data46) {
2134
+ let data47 = data46[key23];
2135
+ if (data47 && typeof data47 == "object" && !Array.isArray(data47)) {
2136
+ if (data47.image === void 0) {
2420
2137
  const err121 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/required", keyword: "required", params: { missingProperty: "image" }, message: "must have required property 'image'" };
2421
2138
  if (vErrors === null) {
2422
2139
  vErrors = [err121];
@@ -2425,7 +2142,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2425
2142
  }
2426
2143
  errors++;
2427
2144
  }
2428
- for (const key24 in data48) {
2145
+ for (const key24 in data47) {
2429
2146
  if (!(key24 === "args" || key24 === "command" || key24 === "credentials" || key24 === "dependencies" || key24 === "env" || key24 === "expose" || key24 === "image" || key24 === "params")) {
2430
2147
  const err122 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key24 }, message: "must NOT have additional properties" };
2431
2148
  if (vErrors === null) {
@@ -2436,16 +2153,16 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2436
2153
  errors++;
2437
2154
  }
2438
2155
  }
2439
- if (data48.args !== void 0) {
2440
- let data49 = data48.args;
2441
- const _errs171 = errors;
2156
+ if (data47.args !== void 0) {
2157
+ let data48 = data47.args;
2158
+ const _errs170 = errors;
2442
2159
  let valid54 = false;
2443
2160
  let passing8 = null;
2444
- const _errs172 = errors;
2445
- if (Array.isArray(data49)) {
2446
- const len5 = data49.length;
2161
+ const _errs171 = errors;
2162
+ if (Array.isArray(data48)) {
2163
+ const len5 = data48.length;
2447
2164
  for (let i5 = 0; i5 < len5; i5++) {
2448
- if (typeof data49[i5] !== "string") {
2165
+ if (typeof data48[i5] !== "string") {
2449
2166
  const err123 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/args/" + i5, schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2450
2167
  if (vErrors === null) {
2451
2168
  vErrors = [err123];
@@ -2464,13 +2181,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2464
2181
  }
2465
2182
  errors++;
2466
2183
  }
2467
- var _valid10 = _errs172 === errors;
2184
+ var _valid10 = _errs171 === errors;
2468
2185
  if (_valid10) {
2469
2186
  valid54 = true;
2470
2187
  passing8 = 0;
2471
2188
  }
2472
- const _errs176 = errors;
2473
- if (data49 !== null) {
2189
+ const _errs175 = errors;
2190
+ if (data48 !== null) {
2474
2191
  const err125 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/args", schemaPath: "#/definitions/stringArrayOrNull/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
2475
2192
  if (vErrors === null) {
2476
2193
  vErrors = [err125];
@@ -2479,7 +2196,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2479
2196
  }
2480
2197
  errors++;
2481
2198
  }
2482
- var _valid10 = _errs176 === errors;
2199
+ var _valid10 = _errs175 === errors;
2483
2200
  if (_valid10 && valid54) {
2484
2201
  valid54 = false;
2485
2202
  passing8 = [passing8, 1];
@@ -2498,26 +2215,26 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2498
2215
  }
2499
2216
  errors++;
2500
2217
  } else {
2501
- errors = _errs171;
2218
+ errors = _errs170;
2502
2219
  if (vErrors !== null) {
2503
- if (_errs171) {
2504
- vErrors.length = _errs171;
2220
+ if (_errs170) {
2221
+ vErrors.length = _errs170;
2505
2222
  } else {
2506
2223
  vErrors = null;
2507
2224
  }
2508
2225
  }
2509
2226
  }
2510
2227
  }
2511
- if (data48.command !== void 0) {
2512
- let data51 = data48.command;
2513
- const _errs180 = errors;
2228
+ if (data47.command !== void 0) {
2229
+ let data50 = data47.command;
2230
+ const _errs179 = errors;
2514
2231
  let valid58 = false;
2515
2232
  let passing9 = null;
2516
- const _errs181 = errors;
2517
- if (Array.isArray(data51)) {
2518
- const len6 = data51.length;
2233
+ const _errs180 = errors;
2234
+ if (Array.isArray(data50)) {
2235
+ const len6 = data50.length;
2519
2236
  for (let i6 = 0; i6 < len6; i6++) {
2520
- if (typeof data51[i6] !== "string") {
2237
+ if (typeof data50[i6] !== "string") {
2521
2238
  const err127 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/command/" + i6, schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2522
2239
  if (vErrors === null) {
2523
2240
  vErrors = [err127];
@@ -2536,13 +2253,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2536
2253
  }
2537
2254
  errors++;
2538
2255
  }
2539
- var _valid11 = _errs181 === errors;
2256
+ var _valid11 = _errs180 === errors;
2540
2257
  if (_valid11) {
2541
2258
  valid58 = true;
2542
2259
  passing9 = 0;
2543
2260
  }
2544
- const _errs185 = errors;
2545
- if (data51 !== null) {
2261
+ const _errs184 = errors;
2262
+ if (data50 !== null) {
2546
2263
  const err129 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/command", schemaPath: "#/definitions/stringArrayOrNull/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
2547
2264
  if (vErrors === null) {
2548
2265
  vErrors = [err129];
@@ -2551,7 +2268,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2551
2268
  }
2552
2269
  errors++;
2553
2270
  }
2554
- var _valid11 = _errs185 === errors;
2271
+ var _valid11 = _errs184 === errors;
2555
2272
  if (_valid11 && valid58) {
2556
2273
  valid58 = false;
2557
2274
  passing9 = [passing9, 1];
@@ -2570,20 +2287,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2570
2287
  }
2571
2288
  errors++;
2572
2289
  } else {
2573
- errors = _errs180;
2290
+ errors = _errs179;
2574
2291
  if (vErrors !== null) {
2575
- if (_errs180) {
2576
- vErrors.length = _errs180;
2292
+ if (_errs179) {
2293
+ vErrors.length = _errs179;
2577
2294
  } else {
2578
2295
  vErrors = null;
2579
2296
  }
2580
2297
  }
2581
2298
  }
2582
2299
  }
2583
- if (data48.credentials !== void 0) {
2584
- let data53 = data48.credentials;
2585
- if (data53 && typeof data53 == "object" && !Array.isArray(data53)) {
2586
- if (data53.host === void 0) {
2300
+ if (data47.credentials !== void 0) {
2301
+ let data52 = data47.credentials;
2302
+ if (data52 && typeof data52 == "object" && !Array.isArray(data52)) {
2303
+ if (data52.host === void 0) {
2587
2304
  const err131 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/required", keyword: "required", params: { missingProperty: "host" }, message: "must have required property 'host'" };
2588
2305
  if (vErrors === null) {
2589
2306
  vErrors = [err131];
@@ -2592,7 +2309,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2592
2309
  }
2593
2310
  errors++;
2594
2311
  }
2595
- if (data53.username === void 0) {
2312
+ if (data52.username === void 0) {
2596
2313
  const err132 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/required", keyword: "required", params: { missingProperty: "username" }, message: "must have required property 'username'" };
2597
2314
  if (vErrors === null) {
2598
2315
  vErrors = [err132];
@@ -2601,7 +2318,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2601
2318
  }
2602
2319
  errors++;
2603
2320
  }
2604
- if (data53.password === void 0) {
2321
+ if (data52.password === void 0) {
2605
2322
  const err133 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/required", keyword: "required", params: { missingProperty: "password" }, message: "must have required property 'password'" };
2606
2323
  if (vErrors === null) {
2607
2324
  vErrors = [err133];
@@ -2610,7 +2327,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2610
2327
  }
2611
2328
  errors++;
2612
2329
  }
2613
- for (const key25 in data53) {
2330
+ for (const key25 in data52) {
2614
2331
  if (!(key25 === "email" || key25 === "host" || key25 === "password" || key25 === "username")) {
2615
2332
  const err134 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key25 }, message: "must NOT have additional properties" };
2616
2333
  if (vErrors === null) {
@@ -2621,10 +2338,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2621
2338
  errors++;
2622
2339
  }
2623
2340
  }
2624
- if (data53.email !== void 0) {
2625
- let data54 = data53.email;
2626
- if (typeof data54 === "string") {
2627
- if (func2(data54) < 5) {
2341
+ if (data52.email !== void 0) {
2342
+ let data53 = data52.email;
2343
+ if (typeof data53 === "string") {
2344
+ if (func2(data53) < 5) {
2628
2345
  const err135 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/email", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/email/minLength", keyword: "minLength", params: { limit: 5 }, message: "must NOT have fewer than 5 characters" };
2629
2346
  if (vErrors === null) {
2630
2347
  vErrors = [err135];
@@ -2643,10 +2360,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2643
2360
  errors++;
2644
2361
  }
2645
2362
  }
2646
- if (data53.host !== void 0) {
2647
- let data55 = data53.host;
2648
- if (typeof data55 === "string") {
2649
- if (func2(data55) < 1) {
2363
+ if (data52.host !== void 0) {
2364
+ let data54 = data52.host;
2365
+ if (typeof data54 === "string") {
2366
+ if (func2(data54) < 1) {
2650
2367
  const err137 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/host", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/host/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
2651
2368
  if (vErrors === null) {
2652
2369
  vErrors = [err137];
@@ -2665,10 +2382,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2665
2382
  errors++;
2666
2383
  }
2667
2384
  }
2668
- if (data53.password !== void 0) {
2669
- let data56 = data53.password;
2670
- if (typeof data56 === "string") {
2671
- if (func2(data56) < 6) {
2385
+ if (data52.password !== void 0) {
2386
+ let data55 = data52.password;
2387
+ if (typeof data55 === "string") {
2388
+ if (func2(data55) < 6) {
2672
2389
  const err139 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/password", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/password/minLength", keyword: "minLength", params: { limit: 6 }, message: "must NOT have fewer than 6 characters" };
2673
2390
  if (vErrors === null) {
2674
2391
  vErrors = [err139];
@@ -2687,10 +2404,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2687
2404
  errors++;
2688
2405
  }
2689
2406
  }
2690
- if (data53.username !== void 0) {
2691
- let data57 = data53.username;
2692
- if (typeof data57 === "string") {
2693
- if (func2(data57) < 1) {
2407
+ if (data52.username !== void 0) {
2408
+ let data56 = data52.username;
2409
+ if (typeof data56 === "string") {
2410
+ if (func2(data56) < 1) {
2694
2411
  const err141 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/username", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/username/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
2695
2412
  if (vErrors === null) {
2696
2413
  vErrors = [err141];
@@ -2719,14 +2436,14 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2719
2436
  errors++;
2720
2437
  }
2721
2438
  }
2722
- if (data48.dependencies !== void 0) {
2723
- let data58 = data48.dependencies;
2724
- if (Array.isArray(data58)) {
2725
- const len7 = data58.length;
2439
+ if (data47.dependencies !== void 0) {
2440
+ let data57 = data47.dependencies;
2441
+ if (Array.isArray(data57)) {
2442
+ const len7 = data57.length;
2726
2443
  for (let i7 = 0; i7 < len7; i7++) {
2727
- let data59 = data58[i7];
2728
- if (data59 && typeof data59 == "object" && !Array.isArray(data59)) {
2729
- for (const key26 in data59) {
2444
+ let data58 = data57[i7];
2445
+ if (data58 && typeof data58 == "object" && !Array.isArray(data58)) {
2446
+ for (const key26 in data58) {
2730
2447
  if (!(key26 === "service")) {
2731
2448
  const err144 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/dependencies/" + i7, schemaPath: "#/properties/services/additionalProperties/properties/dependencies/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key26 }, message: "must NOT have additional properties" };
2732
2449
  if (vErrors === null) {
@@ -2737,8 +2454,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2737
2454
  errors++;
2738
2455
  }
2739
2456
  }
2740
- if (data59.service !== void 0) {
2741
- if (typeof data59.service !== "string") {
2457
+ if (data58.service !== void 0) {
2458
+ if (typeof data58.service !== "string") {
2742
2459
  const err145 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/dependencies/" + i7 + "/service", schemaPath: "#/properties/services/additionalProperties/properties/dependencies/items/properties/service/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2743
2460
  if (vErrors === null) {
2744
2461
  vErrors = [err145];
@@ -2768,16 +2485,16 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2768
2485
  errors++;
2769
2486
  }
2770
2487
  }
2771
- if (data48.env !== void 0) {
2772
- let data61 = data48.env;
2773
- const _errs207 = errors;
2488
+ if (data47.env !== void 0) {
2489
+ let data60 = data47.env;
2490
+ const _errs206 = errors;
2774
2491
  let valid66 = false;
2775
2492
  let passing10 = null;
2776
- const _errs208 = errors;
2777
- if (Array.isArray(data61)) {
2778
- const len8 = data61.length;
2493
+ const _errs207 = errors;
2494
+ if (Array.isArray(data60)) {
2495
+ const len8 = data60.length;
2779
2496
  for (let i8 = 0; i8 < len8; i8++) {
2780
- if (typeof data61[i8] !== "string") {
2497
+ if (typeof data60[i8] !== "string") {
2781
2498
  const err148 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/env/" + i8, schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2782
2499
  if (vErrors === null) {
2783
2500
  vErrors = [err148];
@@ -2796,13 +2513,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2796
2513
  }
2797
2514
  errors++;
2798
2515
  }
2799
- var _valid12 = _errs208 === errors;
2516
+ var _valid12 = _errs207 === errors;
2800
2517
  if (_valid12) {
2801
2518
  valid66 = true;
2802
2519
  passing10 = 0;
2803
2520
  }
2804
- const _errs212 = errors;
2805
- if (data61 !== null) {
2521
+ const _errs211 = errors;
2522
+ if (data60 !== null) {
2806
2523
  const err150 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/env", schemaPath: "#/definitions/stringArrayOrNull/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
2807
2524
  if (vErrors === null) {
2808
2525
  vErrors = [err150];
@@ -2811,7 +2528,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2811
2528
  }
2812
2529
  errors++;
2813
2530
  }
2814
- var _valid12 = _errs212 === errors;
2531
+ var _valid12 = _errs211 === errors;
2815
2532
  if (_valid12 && valid66) {
2816
2533
  valid66 = false;
2817
2534
  passing10 = [passing10, 1];
@@ -2830,28 +2547,28 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2830
2547
  }
2831
2548
  errors++;
2832
2549
  } else {
2833
- errors = _errs207;
2550
+ errors = _errs206;
2834
2551
  if (vErrors !== null) {
2835
- if (_errs207) {
2836
- vErrors.length = _errs207;
2552
+ if (_errs206) {
2553
+ vErrors.length = _errs206;
2837
2554
  } else {
2838
2555
  vErrors = null;
2839
2556
  }
2840
2557
  }
2841
2558
  }
2842
2559
  }
2843
- if (data48.expose !== void 0) {
2844
- let data63 = data48.expose;
2845
- const _errs215 = errors;
2560
+ if (data47.expose !== void 0) {
2561
+ let data62 = data47.expose;
2562
+ const _errs214 = errors;
2846
2563
  let valid69 = false;
2847
2564
  let passing11 = null;
2848
- const _errs216 = errors;
2849
- if (Array.isArray(data63)) {
2850
- const len9 = data63.length;
2565
+ const _errs215 = errors;
2566
+ if (Array.isArray(data62)) {
2567
+ const len9 = data62.length;
2851
2568
  for (let i9 = 0; i9 < len9; i9++) {
2852
- let data64 = data63[i9];
2853
- if (data64 && typeof data64 == "object" && !Array.isArray(data64)) {
2854
- if (data64.port === void 0) {
2569
+ let data63 = data62[i9];
2570
+ if (data63 && typeof data63 == "object" && !Array.isArray(data63)) {
2571
+ if (data63.port === void 0) {
2855
2572
  const err152 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/required", keyword: "required", params: { missingProperty: "port" }, message: "must have required property 'port'" };
2856
2573
  if (vErrors === null) {
2857
2574
  vErrors = [err152];
@@ -2860,7 +2577,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2860
2577
  }
2861
2578
  errors++;
2862
2579
  }
2863
- for (const key27 in data64) {
2580
+ for (const key27 in data63) {
2864
2581
  if (!(key27 === "accept" || key27 === "as" || key27 === "http_options" || key27 === "port" || key27 === "proto" || key27 === "to")) {
2865
2582
  const err153 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key27 }, message: "must NOT have additional properties" };
2866
2583
  if (vErrors === null) {
@@ -2871,12 +2588,12 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2871
2588
  errors++;
2872
2589
  }
2873
2590
  }
2874
- if (data64.accept !== void 0) {
2875
- let data65 = data64.accept;
2876
- if (Array.isArray(data65)) {
2877
- const len10 = data65.length;
2591
+ if (data63.accept !== void 0) {
2592
+ let data64 = data63.accept;
2593
+ if (Array.isArray(data64)) {
2594
+ const len10 = data64.length;
2878
2595
  for (let i10 = 0; i10 < len10; i10++) {
2879
- if (typeof data65[i10] !== "string") {
2596
+ if (typeof data64[i10] !== "string") {
2880
2597
  const err154 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/accept/" + i10, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/accept/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2881
2598
  if (vErrors === null) {
2882
2599
  vErrors = [err154];
@@ -2896,9 +2613,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2896
2613
  errors++;
2897
2614
  }
2898
2615
  }
2899
- if (data64.as !== void 0) {
2900
- let data67 = data64.as;
2901
- if (!(typeof data67 == "number" && (!(data67 % 1) && !isNaN(data67)))) {
2616
+ if (data63.as !== void 0) {
2617
+ let data66 = data63.as;
2618
+ if (!(typeof data66 == "number" && (!(data66 % 1) && !isNaN(data66)))) {
2902
2619
  const err156 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/as", schemaPath: "#/definitions/portNumber/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2903
2620
  if (vErrors === null) {
2904
2621
  vErrors = [err156];
@@ -2907,8 +2624,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2907
2624
  }
2908
2625
  errors++;
2909
2626
  }
2910
- if (typeof data67 == "number") {
2911
- if (data67 > 65535 || isNaN(data67)) {
2627
+ if (typeof data66 == "number") {
2628
+ if (data66 > 65535 || isNaN(data66)) {
2912
2629
  const err157 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/as", schemaPath: "#/definitions/portNumber/maximum", keyword: "maximum", params: { comparison: "<=", limit: 65535 }, message: "must be <= 65535" };
2913
2630
  if (vErrors === null) {
2914
2631
  vErrors = [err157];
@@ -2917,7 +2634,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2917
2634
  }
2918
2635
  errors++;
2919
2636
  }
2920
- if (data67 < 1 || isNaN(data67)) {
2637
+ if (data66 < 1 || isNaN(data66)) {
2921
2638
  const err158 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/as", schemaPath: "#/definitions/portNumber/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
2922
2639
  if (vErrors === null) {
2923
2640
  vErrors = [err158];
@@ -2928,11 +2645,11 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2928
2645
  }
2929
2646
  }
2930
2647
  }
2931
- if (data64.http_options !== void 0) {
2932
- let data68 = data64.http_options;
2933
- if (data68 && typeof data68 == "object" && !Array.isArray(data68)) {
2934
- for (const key28 in data68) {
2935
- if (!(key28 === "max_body_size" || key28 === "next_cases" || key28 === "next_timeout" || key28 === "next_tries" || key28 === "read_timeout" || key28 === "send_timeout")) {
2648
+ if (data63.http_options !== void 0) {
2649
+ let data67 = data63.http_options;
2650
+ if (data67 && typeof data67 == "object" && !Array.isArray(data67)) {
2651
+ for (const key28 in data67) {
2652
+ if (!(key28 === "max_body_size" || key28 === "next_cases" || key28 === "next_timeout" || key28 === "next_tries" || key28 === "proxy" || key28 === "read_timeout" || key28 === "send_timeout")) {
2936
2653
  const err159 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key28 }, message: "must NOT have additional properties" };
2937
2654
  if (vErrors === null) {
2938
2655
  vErrors = [err159];
@@ -2942,9 +2659,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2942
2659
  errors++;
2943
2660
  }
2944
2661
  }
2945
- if (data68.max_body_size !== void 0) {
2946
- let data69 = data68.max_body_size;
2947
- if (!(typeof data69 == "number" && (!(data69 % 1) && !isNaN(data69)))) {
2662
+ if (data67.max_body_size !== void 0) {
2663
+ let data68 = data67.max_body_size;
2664
+ if (!(typeof data68 == "number" && (!(data68 % 1) && !isNaN(data68)))) {
2948
2665
  const err160 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/max_body_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/max_body_size/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2949
2666
  if (vErrors === null) {
2950
2667
  vErrors = [err160];
@@ -2953,8 +2670,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2953
2670
  }
2954
2671
  errors++;
2955
2672
  }
2956
- if (typeof data69 == "number") {
2957
- if (data69 > 104857600 || isNaN(data69)) {
2673
+ if (typeof data68 == "number") {
2674
+ if (data68 > 104857600 || isNaN(data68)) {
2958
2675
  const err161 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/max_body_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/max_body_size/maximum", keyword: "maximum", params: { comparison: "<=", limit: 104857600 }, message: "must be <= 104857600" };
2959
2676
  if (vErrors === null) {
2960
2677
  vErrors = [err161];
@@ -2963,7 +2680,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2963
2680
  }
2964
2681
  errors++;
2965
2682
  }
2966
- if (data69 < 0 || isNaN(data69)) {
2683
+ if (data68 < 0 || isNaN(data68)) {
2967
2684
  const err162 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/max_body_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/max_body_size/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2968
2685
  if (vErrors === null) {
2969
2686
  vErrors = [err162];
@@ -2974,14 +2691,14 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2974
2691
  }
2975
2692
  }
2976
2693
  }
2977
- if (data68.next_cases !== void 0) {
2978
- let data70 = data68.next_cases;
2979
- const _errs234 = errors;
2694
+ if (data67.next_cases !== void 0) {
2695
+ let data69 = data67.next_cases;
2696
+ const _errs233 = errors;
2980
2697
  let valid77 = false;
2981
2698
  let passing12 = null;
2982
- const _errs235 = errors;
2983
- if (Array.isArray(data70)) {
2984
- if (data70.length > 1) {
2699
+ const _errs234 = errors;
2700
+ if (Array.isArray(data69)) {
2701
+ if (data69.length > 1) {
2985
2702
  const err163 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/0/maxItems", keyword: "maxItems", params: { limit: 1 }, message: "must NOT have more than 1 items" };
2986
2703
  if (vErrors === null) {
2987
2704
  vErrors = [err163];
@@ -2990,7 +2707,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2990
2707
  }
2991
2708
  errors++;
2992
2709
  }
2993
- if (data70.length < 1) {
2710
+ if (data69.length < 1) {
2994
2711
  const err164 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/0/minItems", keyword: "minItems", params: { limit: 1 }, message: "must NOT have fewer than 1 items" };
2995
2712
  if (vErrors === null) {
2996
2713
  vErrors = [err164];
@@ -2999,10 +2716,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2999
2716
  }
3000
2717
  errors++;
3001
2718
  }
3002
- const len11 = data70.length;
2719
+ const len11 = data69.length;
3003
2720
  for (let i11 = 0; i11 < len11; i11++) {
3004
- let data71 = data70[i11];
3005
- if (typeof data71 !== "string") {
2721
+ let data70 = data69[i11];
2722
+ if (typeof data70 !== "string") {
3006
2723
  const err165 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i11, schemaPath: "#/definitions/httpErrorCode/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3007
2724
  if (vErrors === null) {
3008
2725
  vErrors = [err165];
@@ -3011,8 +2728,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3011
2728
  }
3012
2729
  errors++;
3013
2730
  }
3014
- if (!(data71 === "error" || data71 === "timeout" || data71 === "500" || data71 === "502" || data71 === "503" || data71 === "504" || data71 === "403" || data71 === "404" || data71 === "429" || data71 === "off")) {
3015
- const err166 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i11, schemaPath: "#/definitions/httpErrorCode/enum", keyword: "enum", params: { allowedValues: schema42.enum }, message: "must be equal to one of the allowed values" };
2731
+ if (!(data70 === "error" || data70 === "timeout" || data70 === "500" || data70 === "502" || data70 === "503" || data70 === "504" || data70 === "403" || data70 === "404" || data70 === "429" || data70 === "off")) {
2732
+ const err166 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i11, schemaPath: "#/definitions/httpErrorCode/enum", keyword: "enum", params: { allowedValues: schema40.enum }, message: "must be equal to one of the allowed values" };
3016
2733
  if (vErrors === null) {
3017
2734
  vErrors = [err166];
3018
2735
  } else {
@@ -3021,11 +2738,11 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3021
2738
  errors++;
3022
2739
  }
3023
2740
  }
3024
- const _errs240 = errors;
3025
- const len12 = data70.length;
2741
+ const _errs239 = errors;
2742
+ const len12 = data69.length;
3026
2743
  for (let i12 = 0; i12 < len12; i12++) {
3027
- const _errs241 = errors;
3028
- if ("off" !== data70[i12]) {
2744
+ const _errs240 = errors;
2745
+ if ("off" !== data69[i12]) {
3029
2746
  const err167 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i12, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/0/contains/const", keyword: "const", params: { allowedValue: "off" }, message: "must be equal to constant" };
3030
2747
  if (vErrors === null) {
3031
2748
  vErrors = [err167];
@@ -3034,7 +2751,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3034
2751
  }
3035
2752
  errors++;
3036
2753
  }
3037
- var valid81 = _errs241 === errors;
2754
+ var valid81 = _errs240 === errors;
3038
2755
  if (valid81) {
3039
2756
  break;
3040
2757
  }
@@ -3048,10 +2765,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3048
2765
  }
3049
2766
  errors++;
3050
2767
  } else {
3051
- errors = _errs240;
2768
+ errors = _errs239;
3052
2769
  if (vErrors !== null) {
3053
- if (_errs240) {
3054
- vErrors.length = _errs240;
2770
+ if (_errs239) {
2771
+ vErrors.length = _errs239;
3055
2772
  } else {
3056
2773
  vErrors = null;
3057
2774
  }
@@ -3066,20 +2783,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3066
2783
  }
3067
2784
  errors++;
3068
2785
  }
3069
- var _valid14 = _errs235 === errors;
2786
+ var _valid14 = _errs234 === errors;
3070
2787
  if (_valid14) {
3071
2788
  valid77 = true;
3072
2789
  passing12 = 0;
3073
2790
  }
3074
- const _errs242 = errors;
2791
+ const _errs241 = errors;
2792
+ const _errs243 = errors;
3075
2793
  const _errs244 = errors;
3076
- const _errs245 = errors;
3077
- if (Array.isArray(data70)) {
3078
- const _errs246 = errors;
3079
- const len13 = data70.length;
2794
+ if (Array.isArray(data69)) {
2795
+ const _errs245 = errors;
2796
+ const len13 = data69.length;
3080
2797
  for (let i13 = 0; i13 < len13; i13++) {
3081
- const _errs247 = errors;
3082
- if ("off" !== data70[i13]) {
2798
+ const _errs246 = errors;
2799
+ if ("off" !== data69[i13]) {
3083
2800
  const err170 = {};
3084
2801
  if (vErrors === null) {
3085
2802
  vErrors = [err170];
@@ -3088,7 +2805,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3088
2805
  }
3089
2806
  errors++;
3090
2807
  }
3091
- var valid83 = _errs247 === errors;
2808
+ var valid83 = _errs246 === errors;
3092
2809
  if (valid83) {
3093
2810
  break;
3094
2811
  }
@@ -3102,17 +2819,17 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3102
2819
  }
3103
2820
  errors++;
3104
2821
  } else {
3105
- errors = _errs246;
2822
+ errors = _errs245;
3106
2823
  if (vErrors !== null) {
3107
- if (_errs246) {
3108
- vErrors.length = _errs246;
2824
+ if (_errs245) {
2825
+ vErrors.length = _errs245;
3109
2826
  } else {
3110
2827
  vErrors = null;
3111
2828
  }
3112
2829
  }
3113
2830
  }
3114
2831
  }
3115
- var valid82 = _errs245 === errors;
2832
+ var valid82 = _errs244 === errors;
3116
2833
  if (valid82) {
3117
2834
  const err172 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/1/not", keyword: "not", params: {}, message: "must NOT be valid" };
3118
2835
  if (vErrors === null) {
@@ -3122,20 +2839,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3122
2839
  }
3123
2840
  errors++;
3124
2841
  } else {
3125
- errors = _errs244;
2842
+ errors = _errs243;
3126
2843
  if (vErrors !== null) {
3127
- if (_errs244) {
3128
- vErrors.length = _errs244;
2844
+ if (_errs243) {
2845
+ vErrors.length = _errs243;
3129
2846
  } else {
3130
2847
  vErrors = null;
3131
2848
  }
3132
2849
  }
3133
2850
  }
3134
- if (Array.isArray(data70)) {
3135
- const len14 = data70.length;
2851
+ if (Array.isArray(data69)) {
2852
+ const len14 = data69.length;
3136
2853
  for (let i14 = 0; i14 < len14; i14++) {
3137
- let data74 = data70[i14];
3138
- if (typeof data74 !== "string") {
2854
+ let data73 = data69[i14];
2855
+ if (typeof data73 !== "string") {
3139
2856
  const err173 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i14, schemaPath: "#/definitions/httpErrorCode/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3140
2857
  if (vErrors === null) {
3141
2858
  vErrors = [err173];
@@ -3144,8 +2861,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3144
2861
  }
3145
2862
  errors++;
3146
2863
  }
3147
- if (!(data74 === "error" || data74 === "timeout" || data74 === "500" || data74 === "502" || data74 === "503" || data74 === "504" || data74 === "403" || data74 === "404" || data74 === "429" || data74 === "off")) {
3148
- const err174 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i14, schemaPath: "#/definitions/httpErrorCode/enum", keyword: "enum", params: { allowedValues: schema42.enum }, message: "must be equal to one of the allowed values" };
2864
+ if (!(data73 === "error" || data73 === "timeout" || data73 === "500" || data73 === "502" || data73 === "503" || data73 === "504" || data73 === "403" || data73 === "404" || data73 === "429" || data73 === "off")) {
2865
+ const err174 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i14, schemaPath: "#/definitions/httpErrorCode/enum", keyword: "enum", params: { allowedValues: schema40.enum }, message: "must be equal to one of the allowed values" };
3149
2866
  if (vErrors === null) {
3150
2867
  vErrors = [err174];
3151
2868
  } else {
@@ -3163,7 +2880,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3163
2880
  }
3164
2881
  errors++;
3165
2882
  }
3166
- var _valid14 = _errs242 === errors;
2883
+ var _valid14 = _errs241 === errors;
3167
2884
  if (_valid14 && valid77) {
3168
2885
  valid77 = false;
3169
2886
  passing12 = [passing12, 1];
@@ -3182,19 +2899,19 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3182
2899
  }
3183
2900
  errors++;
3184
2901
  } else {
3185
- errors = _errs234;
2902
+ errors = _errs233;
3186
2903
  if (vErrors !== null) {
3187
- if (_errs234) {
3188
- vErrors.length = _errs234;
2904
+ if (_errs233) {
2905
+ vErrors.length = _errs233;
3189
2906
  } else {
3190
2907
  vErrors = null;
3191
2908
  }
3192
2909
  }
3193
2910
  }
3194
2911
  }
3195
- if (data68.next_timeout !== void 0) {
3196
- let data75 = data68.next_timeout;
3197
- if (!(typeof data75 == "number" && (!(data75 % 1) && !isNaN(data75)))) {
2912
+ if (data67.next_timeout !== void 0) {
2913
+ let data74 = data67.next_timeout;
2914
+ if (!(typeof data74 == "number" && (!(data74 % 1) && !isNaN(data74)))) {
3198
2915
  const err177 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3199
2916
  if (vErrors === null) {
3200
2917
  vErrors = [err177];
@@ -3203,8 +2920,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3203
2920
  }
3204
2921
  errors++;
3205
2922
  }
3206
- if (typeof data75 == "number") {
3207
- if (data75 < 0 || isNaN(data75)) {
2923
+ if (typeof data74 == "number") {
2924
+ if (data74 < 0 || isNaN(data74)) {
3208
2925
  const err178 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3209
2926
  if (vErrors === null) {
3210
2927
  vErrors = [err178];
@@ -3215,9 +2932,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3215
2932
  }
3216
2933
  }
3217
2934
  }
3218
- if (data68.next_tries !== void 0) {
3219
- let data76 = data68.next_tries;
3220
- if (!(typeof data76 == "number" && (!(data76 % 1) && !isNaN(data76)))) {
2935
+ if (data67.next_tries !== void 0) {
2936
+ let data75 = data67.next_tries;
2937
+ if (!(typeof data75 == "number" && (!(data75 % 1) && !isNaN(data75)))) {
3221
2938
  const err179 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_tries", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_tries/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3222
2939
  if (vErrors === null) {
3223
2940
  vErrors = [err179];
@@ -3226,8 +2943,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3226
2943
  }
3227
2944
  errors++;
3228
2945
  }
3229
- if (typeof data76 == "number") {
3230
- if (data76 < 0 || isNaN(data76)) {
2946
+ if (typeof data75 == "number") {
2947
+ if (data75 < 0 || isNaN(data75)) {
3231
2948
  const err180 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_tries", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_tries/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3232
2949
  if (vErrors === null) {
3233
2950
  vErrors = [err180];
@@ -3238,178 +2955,405 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3238
2955
  }
3239
2956
  }
3240
2957
  }
3241
- if (data68.read_timeout !== void 0) {
3242
- let data77 = data68.read_timeout;
3243
- const _errs257 = errors;
3244
- let valid88 = false;
2958
+ if (data67.proxy !== void 0) {
2959
+ let data76 = data67.proxy;
2960
+ if (data76 && typeof data76 == "object" && !Array.isArray(data76)) {
2961
+ for (const key29 in data76) {
2962
+ if (!(key29 === "buffer_size" || key29 === "buffering_disable" || key29 === "buffers_number" || key29 === "buffers_size" || key29 === "busy_buffers_size" || key29 === "connect_timeout")) {
2963
+ const err181 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key29 }, message: "must NOT have additional properties" };
2964
+ if (vErrors === null) {
2965
+ vErrors = [err181];
2966
+ } else {
2967
+ vErrors.push(err181);
2968
+ }
2969
+ errors++;
2970
+ }
2971
+ }
2972
+ if (data76.buffers_number !== void 0) {
2973
+ if (data76.buffers_size === void 0) {
2974
+ const err182 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/dependencies", keyword: "dependencies", params: {
2975
+ property: "buffers_number",
2976
+ missingProperty: "buffers_size",
2977
+ depsCount: 1,
2978
+ deps: "buffers_size"
2979
+ }, message: "must have property buffers_size when property buffers_number is present" };
2980
+ if (vErrors === null) {
2981
+ vErrors = [err182];
2982
+ } else {
2983
+ vErrors.push(err182);
2984
+ }
2985
+ errors++;
2986
+ }
2987
+ }
2988
+ if (data76.buffers_size !== void 0) {
2989
+ if (data76.buffers_number === void 0) {
2990
+ const err183 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/dependencies", keyword: "dependencies", params: {
2991
+ property: "buffers_size",
2992
+ missingProperty: "buffers_number",
2993
+ depsCount: 1,
2994
+ deps: "buffers_number"
2995
+ }, message: "must have property buffers_number when property buffers_size is present" };
2996
+ if (vErrors === null) {
2997
+ vErrors = [err183];
2998
+ } else {
2999
+ vErrors.push(err183);
3000
+ }
3001
+ errors++;
3002
+ }
3003
+ }
3004
+ if (data76.buffer_size !== void 0) {
3005
+ let data77 = data76.buffer_size;
3006
+ if (!(typeof data77 == "number" && (!(data77 % 1) && !isNaN(data77)))) {
3007
+ const err184 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffer_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffer_size/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3008
+ if (vErrors === null) {
3009
+ vErrors = [err184];
3010
+ } else {
3011
+ vErrors.push(err184);
3012
+ }
3013
+ errors++;
3014
+ }
3015
+ if (typeof data77 == "number") {
3016
+ if (data77 > 4294967295 || isNaN(data77)) {
3017
+ const err185 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffer_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffer_size/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
3018
+ if (vErrors === null) {
3019
+ vErrors = [err185];
3020
+ } else {
3021
+ vErrors.push(err185);
3022
+ }
3023
+ errors++;
3024
+ }
3025
+ if (data77 < 0 || isNaN(data77)) {
3026
+ const err186 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffer_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffer_size/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3027
+ if (vErrors === null) {
3028
+ vErrors = [err186];
3029
+ } else {
3030
+ vErrors.push(err186);
3031
+ }
3032
+ errors++;
3033
+ }
3034
+ }
3035
+ }
3036
+ if (data76.buffering_disable !== void 0) {
3037
+ if (typeof data76.buffering_disable !== "boolean") {
3038
+ const err187 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffering_disable", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffering_disable/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
3039
+ if (vErrors === null) {
3040
+ vErrors = [err187];
3041
+ } else {
3042
+ vErrors.push(err187);
3043
+ }
3044
+ errors++;
3045
+ }
3046
+ }
3047
+ if (data76.buffers_number !== void 0) {
3048
+ let data79 = data76.buffers_number;
3049
+ if (!(typeof data79 == "number" && (!(data79 % 1) && !isNaN(data79)))) {
3050
+ const err188 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffers_number", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffers_number/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3051
+ if (vErrors === null) {
3052
+ vErrors = [err188];
3053
+ } else {
3054
+ vErrors.push(err188);
3055
+ }
3056
+ errors++;
3057
+ }
3058
+ if (typeof data79 == "number") {
3059
+ if (data79 > 4294967295 || isNaN(data79)) {
3060
+ const err189 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffers_number", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffers_number/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
3061
+ if (vErrors === null) {
3062
+ vErrors = [err189];
3063
+ } else {
3064
+ vErrors.push(err189);
3065
+ }
3066
+ errors++;
3067
+ }
3068
+ if (data79 < 1 || isNaN(data79)) {
3069
+ const err190 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffers_number", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffers_number/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
3070
+ if (vErrors === null) {
3071
+ vErrors = [err190];
3072
+ } else {
3073
+ vErrors.push(err190);
3074
+ }
3075
+ errors++;
3076
+ }
3077
+ }
3078
+ }
3079
+ if (data76.buffers_size !== void 0) {
3080
+ let data80 = data76.buffers_size;
3081
+ if (!(typeof data80 == "number" && (!(data80 % 1) && !isNaN(data80)))) {
3082
+ const err191 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffers_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffers_size/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3083
+ if (vErrors === null) {
3084
+ vErrors = [err191];
3085
+ } else {
3086
+ vErrors.push(err191);
3087
+ }
3088
+ errors++;
3089
+ }
3090
+ if (typeof data80 == "number") {
3091
+ if (data80 > 4294967295 || isNaN(data80)) {
3092
+ const err192 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffers_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffers_size/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
3093
+ if (vErrors === null) {
3094
+ vErrors = [err192];
3095
+ } else {
3096
+ vErrors.push(err192);
3097
+ }
3098
+ errors++;
3099
+ }
3100
+ if (data80 < 1 || isNaN(data80)) {
3101
+ const err193 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/buffers_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/buffers_size/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
3102
+ if (vErrors === null) {
3103
+ vErrors = [err193];
3104
+ } else {
3105
+ vErrors.push(err193);
3106
+ }
3107
+ errors++;
3108
+ }
3109
+ }
3110
+ }
3111
+ if (data76.busy_buffers_size !== void 0) {
3112
+ let data81 = data76.busy_buffers_size;
3113
+ if (!(typeof data81 == "number" && (!(data81 % 1) && !isNaN(data81)))) {
3114
+ const err194 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/busy_buffers_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/busy_buffers_size/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3115
+ if (vErrors === null) {
3116
+ vErrors = [err194];
3117
+ } else {
3118
+ vErrors.push(err194);
3119
+ }
3120
+ errors++;
3121
+ }
3122
+ if (typeof data81 == "number") {
3123
+ if (data81 > 4294967295 || isNaN(data81)) {
3124
+ const err195 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/busy_buffers_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/busy_buffers_size/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
3125
+ if (vErrors === null) {
3126
+ vErrors = [err195];
3127
+ } else {
3128
+ vErrors.push(err195);
3129
+ }
3130
+ errors++;
3131
+ }
3132
+ if (data81 < 0 || isNaN(data81)) {
3133
+ const err196 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/busy_buffers_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/busy_buffers_size/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3134
+ if (vErrors === null) {
3135
+ vErrors = [err196];
3136
+ } else {
3137
+ vErrors.push(err196);
3138
+ }
3139
+ errors++;
3140
+ }
3141
+ }
3142
+ }
3143
+ if (data76.connect_timeout !== void 0) {
3144
+ let data82 = data76.connect_timeout;
3145
+ if (!(typeof data82 == "number" && (!(data82 % 1) && !isNaN(data82)))) {
3146
+ const err197 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/connect_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/connect_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3147
+ if (vErrors === null) {
3148
+ vErrors = [err197];
3149
+ } else {
3150
+ vErrors.push(err197);
3151
+ }
3152
+ errors++;
3153
+ }
3154
+ if (typeof data82 == "number") {
3155
+ if (data82 > 4294967295 || isNaN(data82)) {
3156
+ const err198 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/connect_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/connect_timeout/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
3157
+ if (vErrors === null) {
3158
+ vErrors = [err198];
3159
+ } else {
3160
+ vErrors.push(err198);
3161
+ }
3162
+ errors++;
3163
+ }
3164
+ if (data82 < 0 || isNaN(data82)) {
3165
+ const err199 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy/connect_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/properties/connect_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3166
+ if (vErrors === null) {
3167
+ vErrors = [err199];
3168
+ } else {
3169
+ vErrors.push(err199);
3170
+ }
3171
+ errors++;
3172
+ }
3173
+ }
3174
+ }
3175
+ } else {
3176
+ const err200 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/proxy", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/proxy/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3177
+ if (vErrors === null) {
3178
+ vErrors = [err200];
3179
+ } else {
3180
+ vErrors.push(err200);
3181
+ }
3182
+ errors++;
3183
+ }
3184
+ }
3185
+ if (data67.read_timeout !== void 0) {
3186
+ let data83 = data67.read_timeout;
3187
+ const _errs271 = errors;
3188
+ let valid90 = false;
3245
3189
  let passing13 = null;
3246
- const _errs258 = errors;
3247
- if (!(typeof data77 == "number" && (!(data77 % 1) && !isNaN(data77)))) {
3248
- const err181 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3190
+ const _errs272 = errors;
3191
+ if (!(typeof data83 == "number" && (!(data83 % 1) && !isNaN(data83)))) {
3192
+ const err201 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3249
3193
  if (vErrors === null) {
3250
- vErrors = [err181];
3194
+ vErrors = [err201];
3251
3195
  } else {
3252
- vErrors.push(err181);
3196
+ vErrors.push(err201);
3253
3197
  }
3254
3198
  errors++;
3255
3199
  }
3256
- if (typeof data77 == "number") {
3257
- if (data77 > 4294967295 || isNaN(data77)) {
3258
- const err182 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
3200
+ if (typeof data83 == "number") {
3201
+ if (data83 > 4294967295 || isNaN(data83)) {
3202
+ const err202 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
3259
3203
  if (vErrors === null) {
3260
- vErrors = [err182];
3204
+ vErrors = [err202];
3261
3205
  } else {
3262
- vErrors.push(err182);
3206
+ vErrors.push(err202);
3263
3207
  }
3264
3208
  errors++;
3265
3209
  }
3266
- if (data77 < 0 || isNaN(data77)) {
3267
- const err183 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3210
+ if (data83 < 0 || isNaN(data83)) {
3211
+ const err203 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3268
3212
  if (vErrors === null) {
3269
- vErrors = [err183];
3213
+ vErrors = [err203];
3270
3214
  } else {
3271
- vErrors.push(err183);
3215
+ vErrors.push(err203);
3272
3216
  }
3273
3217
  errors++;
3274
3218
  }
3275
3219
  }
3276
- var _valid15 = _errs258 === errors;
3220
+ var _valid15 = _errs272 === errors;
3277
3221
  if (_valid15) {
3278
- valid88 = true;
3222
+ valid90 = true;
3279
3223
  passing13 = 0;
3280
3224
  }
3281
- const _errs260 = errors;
3282
- if (typeof data77 === "string") {
3283
- if (!pattern11.test(data77)) {
3284
- const err184 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/1/pattern", keyword: "pattern", params: { pattern: "^[0-9]+(ms|s|m|h)?$" }, message: 'must match pattern "^[0-9]+(ms|s|m|h)?$"' };
3225
+ const _errs274 = errors;
3226
+ if (typeof data83 === "string") {
3227
+ if (!pattern11.test(data83)) {
3228
+ const err204 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/1/pattern", keyword: "pattern", params: { pattern: "^[0-9]+(ms|s|m|h)?$" }, message: 'must match pattern "^[0-9]+(ms|s|m|h)?$"' };
3285
3229
  if (vErrors === null) {
3286
- vErrors = [err184];
3230
+ vErrors = [err204];
3287
3231
  } else {
3288
- vErrors.push(err184);
3232
+ vErrors.push(err204);
3289
3233
  }
3290
3234
  errors++;
3291
3235
  }
3292
3236
  } else {
3293
- const err185 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3237
+ const err205 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3294
3238
  if (vErrors === null) {
3295
- vErrors = [err185];
3239
+ vErrors = [err205];
3296
3240
  } else {
3297
- vErrors.push(err185);
3241
+ vErrors.push(err205);
3298
3242
  }
3299
3243
  errors++;
3300
3244
  }
3301
- var _valid15 = _errs260 === errors;
3302
- if (_valid15 && valid88) {
3303
- valid88 = false;
3245
+ var _valid15 = _errs274 === errors;
3246
+ if (_valid15 && valid90) {
3247
+ valid90 = false;
3304
3248
  passing13 = [passing13, 1];
3305
3249
  } else {
3306
3250
  if (_valid15) {
3307
- valid88 = true;
3251
+ valid90 = true;
3308
3252
  passing13 = 1;
3309
3253
  }
3310
3254
  }
3311
- if (!valid88) {
3312
- const err186 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf", keyword: "oneOf", params: { passingSchemas: passing13 }, message: "must match exactly one schema in oneOf" };
3255
+ if (!valid90) {
3256
+ const err206 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/definitions/httpTimeout/oneOf", keyword: "oneOf", params: { passingSchemas: passing13 }, message: "must match exactly one schema in oneOf" };
3313
3257
  if (vErrors === null) {
3314
- vErrors = [err186];
3258
+ vErrors = [err206];
3315
3259
  } else {
3316
- vErrors.push(err186);
3260
+ vErrors.push(err206);
3317
3261
  }
3318
3262
  errors++;
3319
3263
  } else {
3320
- errors = _errs257;
3264
+ errors = _errs271;
3321
3265
  if (vErrors !== null) {
3322
- if (_errs257) {
3323
- vErrors.length = _errs257;
3266
+ if (_errs271) {
3267
+ vErrors.length = _errs271;
3324
3268
  } else {
3325
3269
  vErrors = null;
3326
3270
  }
3327
3271
  }
3328
3272
  }
3329
3273
  }
3330
- if (data68.send_timeout !== void 0) {
3331
- let data78 = data68.send_timeout;
3332
- const _errs264 = errors;
3333
- let valid90 = false;
3274
+ if (data67.send_timeout !== void 0) {
3275
+ let data84 = data67.send_timeout;
3276
+ const _errs278 = errors;
3277
+ let valid92 = false;
3334
3278
  let passing14 = null;
3335
- const _errs265 = errors;
3336
- if (!(typeof data78 == "number" && (!(data78 % 1) && !isNaN(data78)))) {
3337
- const err187 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3279
+ const _errs279 = errors;
3280
+ if (!(typeof data84 == "number" && (!(data84 % 1) && !isNaN(data84)))) {
3281
+ const err207 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3338
3282
  if (vErrors === null) {
3339
- vErrors = [err187];
3283
+ vErrors = [err207];
3340
3284
  } else {
3341
- vErrors.push(err187);
3285
+ vErrors.push(err207);
3342
3286
  }
3343
3287
  errors++;
3344
3288
  }
3345
- if (typeof data78 == "number") {
3346
- if (data78 > 4294967295 || isNaN(data78)) {
3347
- const err188 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
3289
+ if (typeof data84 == "number") {
3290
+ if (data84 > 4294967295 || isNaN(data84)) {
3291
+ const err208 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4294967295 }, message: "must be <= 4294967295" };
3348
3292
  if (vErrors === null) {
3349
- vErrors = [err188];
3293
+ vErrors = [err208];
3350
3294
  } else {
3351
- vErrors.push(err188);
3295
+ vErrors.push(err208);
3352
3296
  }
3353
3297
  errors++;
3354
3298
  }
3355
- if (data78 < 0 || isNaN(data78)) {
3356
- const err189 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3299
+ if (data84 < 0 || isNaN(data84)) {
3300
+ const err209 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/0/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
3357
3301
  if (vErrors === null) {
3358
- vErrors = [err189];
3302
+ vErrors = [err209];
3359
3303
  } else {
3360
- vErrors.push(err189);
3304
+ vErrors.push(err209);
3361
3305
  }
3362
3306
  errors++;
3363
3307
  }
3364
3308
  }
3365
- var _valid16 = _errs265 === errors;
3309
+ var _valid16 = _errs279 === errors;
3366
3310
  if (_valid16) {
3367
- valid90 = true;
3311
+ valid92 = true;
3368
3312
  passing14 = 0;
3369
3313
  }
3370
- const _errs267 = errors;
3371
- if (typeof data78 === "string") {
3372
- if (!pattern11.test(data78)) {
3373
- const err190 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/1/pattern", keyword: "pattern", params: { pattern: "^[0-9]+(ms|s|m|h)?$" }, message: 'must match pattern "^[0-9]+(ms|s|m|h)?$"' };
3314
+ const _errs281 = errors;
3315
+ if (typeof data84 === "string") {
3316
+ if (!pattern11.test(data84)) {
3317
+ const err210 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/1/pattern", keyword: "pattern", params: { pattern: "^[0-9]+(ms|s|m|h)?$" }, message: 'must match pattern "^[0-9]+(ms|s|m|h)?$"' };
3374
3318
  if (vErrors === null) {
3375
- vErrors = [err190];
3319
+ vErrors = [err210];
3376
3320
  } else {
3377
- vErrors.push(err190);
3321
+ vErrors.push(err210);
3378
3322
  }
3379
3323
  errors++;
3380
3324
  }
3381
3325
  } else {
3382
- const err191 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3326
+ const err211 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3383
3327
  if (vErrors === null) {
3384
- vErrors = [err191];
3328
+ vErrors = [err211];
3385
3329
  } else {
3386
- vErrors.push(err191);
3330
+ vErrors.push(err211);
3387
3331
  }
3388
3332
  errors++;
3389
3333
  }
3390
- var _valid16 = _errs267 === errors;
3391
- if (_valid16 && valid90) {
3392
- valid90 = false;
3334
+ var _valid16 = _errs281 === errors;
3335
+ if (_valid16 && valid92) {
3336
+ valid92 = false;
3393
3337
  passing14 = [passing14, 1];
3394
3338
  } else {
3395
3339
  if (_valid16) {
3396
- valid90 = true;
3340
+ valid92 = true;
3397
3341
  passing14 = 1;
3398
3342
  }
3399
3343
  }
3400
- if (!valid90) {
3401
- const err192 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf", keyword: "oneOf", params: { passingSchemas: passing14 }, message: "must match exactly one schema in oneOf" };
3344
+ if (!valid92) {
3345
+ const err212 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/definitions/httpTimeout/oneOf", keyword: "oneOf", params: { passingSchemas: passing14 }, message: "must match exactly one schema in oneOf" };
3402
3346
  if (vErrors === null) {
3403
- vErrors = [err192];
3347
+ vErrors = [err212];
3404
3348
  } else {
3405
- vErrors.push(err192);
3349
+ vErrors.push(err212);
3406
3350
  }
3407
3351
  errors++;
3408
3352
  } else {
3409
- errors = _errs264;
3353
+ errors = _errs278;
3410
3354
  if (vErrors !== null) {
3411
- if (_errs264) {
3412
- vErrors.length = _errs264;
3355
+ if (_errs278) {
3356
+ vErrors.length = _errs278;
3413
3357
  } else {
3414
3358
  vErrors = null;
3415
3359
  }
@@ -3417,108 +3361,108 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3417
3361
  }
3418
3362
  }
3419
3363
  } else {
3420
- const err193 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3364
+ const err213 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3421
3365
  if (vErrors === null) {
3422
- vErrors = [err193];
3366
+ vErrors = [err213];
3423
3367
  } else {
3424
- vErrors.push(err193);
3368
+ vErrors.push(err213);
3425
3369
  }
3426
3370
  errors++;
3427
3371
  }
3428
3372
  }
3429
- if (data64.port !== void 0) {
3430
- let data79 = data64.port;
3431
- if (!(typeof data79 == "number" && (!(data79 % 1) && !isNaN(data79)))) {
3432
- const err194 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3373
+ if (data63.port !== void 0) {
3374
+ let data85 = data63.port;
3375
+ if (!(typeof data85 == "number" && (!(data85 % 1) && !isNaN(data85)))) {
3376
+ const err214 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3433
3377
  if (vErrors === null) {
3434
- vErrors = [err194];
3378
+ vErrors = [err214];
3435
3379
  } else {
3436
- vErrors.push(err194);
3380
+ vErrors.push(err214);
3437
3381
  }
3438
3382
  errors++;
3439
3383
  }
3440
- if (typeof data79 == "number") {
3441
- if (data79 > 65535 || isNaN(data79)) {
3442
- const err195 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/maximum", keyword: "maximum", params: { comparison: "<=", limit: 65535 }, message: "must be <= 65535" };
3384
+ if (typeof data85 == "number") {
3385
+ if (data85 > 65535 || isNaN(data85)) {
3386
+ const err215 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/maximum", keyword: "maximum", params: { comparison: "<=", limit: 65535 }, message: "must be <= 65535" };
3443
3387
  if (vErrors === null) {
3444
- vErrors = [err195];
3388
+ vErrors = [err215];
3445
3389
  } else {
3446
- vErrors.push(err195);
3390
+ vErrors.push(err215);
3447
3391
  }
3448
3392
  errors++;
3449
3393
  }
3450
- if (data79 < 1 || isNaN(data79)) {
3451
- const err196 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
3394
+ if (data85 < 1 || isNaN(data85)) {
3395
+ const err216 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
3452
3396
  if (vErrors === null) {
3453
- vErrors = [err196];
3397
+ vErrors = [err216];
3454
3398
  } else {
3455
- vErrors.push(err196);
3399
+ vErrors.push(err216);
3456
3400
  }
3457
3401
  errors++;
3458
3402
  }
3459
3403
  }
3460
3404
  }
3461
- if (data64.proto !== void 0) {
3462
- let data80 = data64.proto;
3463
- if (typeof data80 !== "string") {
3464
- const err197 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/proto", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/proto/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3405
+ if (data63.proto !== void 0) {
3406
+ let data86 = data63.proto;
3407
+ if (typeof data86 !== "string") {
3408
+ const err217 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/proto", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/proto/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3465
3409
  if (vErrors === null) {
3466
- vErrors = [err197];
3410
+ vErrors = [err217];
3467
3411
  } else {
3468
- vErrors.push(err197);
3412
+ vErrors.push(err217);
3469
3413
  }
3470
3414
  errors++;
3471
3415
  }
3472
- if (!(data80 === "TCP" || data80 === "UDP" || data80 === "tcp" || data80 === "udp")) {
3473
- const err198 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/proto", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/proto/enum", keyword: "enum", params: { allowedValues: schema28.properties.services.additionalProperties.properties.expose.oneOf[0].items.properties.proto.enum }, message: "must be equal to one of the allowed values" };
3416
+ if (!(data86 === "TCP" || data86 === "UDP" || data86 === "tcp" || data86 === "udp")) {
3417
+ const err218 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/proto", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/proto/enum", keyword: "enum", params: { allowedValues: schema28.properties.services.additionalProperties.properties.expose.oneOf[0].items.properties.proto.enum }, message: "must be equal to one of the allowed values" };
3474
3418
  if (vErrors === null) {
3475
- vErrors = [err198];
3419
+ vErrors = [err218];
3476
3420
  } else {
3477
- vErrors.push(err198);
3421
+ vErrors.push(err218);
3478
3422
  }
3479
3423
  errors++;
3480
3424
  }
3481
3425
  }
3482
- if (data64.to !== void 0) {
3483
- let data81 = data64.to;
3484
- if (Array.isArray(data81)) {
3485
- const len15 = data81.length;
3426
+ if (data63.to !== void 0) {
3427
+ let data87 = data63.to;
3428
+ if (Array.isArray(data87)) {
3429
+ const len15 = data87.length;
3486
3430
  for (let i15 = 0; i15 < len15; i15++) {
3487
- let data82 = data81[i15];
3488
- const _errs280 = errors;
3489
- let valid96 = true;
3490
- const _errs281 = errors;
3491
- if (data82 && typeof data82 == "object" && !Array.isArray(data82)) {
3492
- let missing2;
3493
- if (data82.ip === void 0 && (missing2 = "ip")) {
3494
- const err199 = {};
3431
+ let data88 = data87[i15];
3432
+ const _errs294 = errors;
3433
+ let valid98 = true;
3434
+ const _errs295 = errors;
3435
+ if (data88 && typeof data88 == "object" && !Array.isArray(data88)) {
3436
+ let missing3;
3437
+ if (data88.ip === void 0 && (missing3 = "ip")) {
3438
+ const err219 = {};
3495
3439
  if (vErrors === null) {
3496
- vErrors = [err199];
3440
+ vErrors = [err219];
3497
3441
  } else {
3498
- vErrors.push(err199);
3442
+ vErrors.push(err219);
3499
3443
  }
3500
3444
  errors++;
3501
3445
  } else {
3502
- if (data82.ip !== void 0) {
3503
- let data83 = data82.ip;
3504
- const _errs282 = errors;
3505
- if (errors === _errs282) {
3506
- if (typeof data83 === "string") {
3507
- if (func2(data83) < 1) {
3508
- const err200 = {};
3446
+ if (data88.ip !== void 0) {
3447
+ let data89 = data88.ip;
3448
+ const _errs296 = errors;
3449
+ if (errors === _errs296) {
3450
+ if (typeof data89 === "string") {
3451
+ if (func2(data89) < 1) {
3452
+ const err220 = {};
3509
3453
  if (vErrors === null) {
3510
- vErrors = [err200];
3454
+ vErrors = [err220];
3511
3455
  } else {
3512
- vErrors.push(err200);
3456
+ vErrors.push(err220);
3513
3457
  }
3514
3458
  errors++;
3515
3459
  }
3516
3460
  } else {
3517
- const err201 = {};
3461
+ const err221 = {};
3518
3462
  if (vErrors === null) {
3519
- vErrors = [err201];
3463
+ vErrors = [err221];
3520
3464
  } else {
3521
- vErrors.push(err201);
3465
+ vErrors.push(err221);
3522
3466
  }
3523
3467
  errors++;
3524
3468
  }
@@ -3526,162 +3470,162 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3526
3470
  }
3527
3471
  }
3528
3472
  }
3529
- var _valid17 = _errs281 === errors;
3530
- errors = _errs280;
3473
+ var _valid17 = _errs295 === errors;
3474
+ errors = _errs294;
3531
3475
  if (vErrors !== null) {
3532
- if (_errs280) {
3533
- vErrors.length = _errs280;
3476
+ if (_errs294) {
3477
+ vErrors.length = _errs294;
3534
3478
  } else {
3535
3479
  vErrors = null;
3536
3480
  }
3537
3481
  }
3538
3482
  if (_valid17) {
3539
- const _errs284 = errors;
3540
- if (data82 && typeof data82 == "object" && !Array.isArray(data82)) {
3541
- if (data82.global === void 0) {
3542
- const err202 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/then/required", keyword: "required", params: { missingProperty: "global" }, message: "must have required property 'global'" };
3483
+ const _errs298 = errors;
3484
+ if (data88 && typeof data88 == "object" && !Array.isArray(data88)) {
3485
+ if (data88.global === void 0) {
3486
+ const err222 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/then/required", keyword: "required", params: { missingProperty: "global" }, message: "must have required property 'global'" };
3543
3487
  if (vErrors === null) {
3544
- vErrors = [err202];
3488
+ vErrors = [err222];
3545
3489
  } else {
3546
- vErrors.push(err202);
3490
+ vErrors.push(err222);
3547
3491
  }
3548
3492
  errors++;
3549
3493
  }
3550
- if (data82.global !== void 0) {
3551
- if (true !== data82.global) {
3552
- const err203 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/global", schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/then/properties/global/const", keyword: "const", params: { allowedValue: true }, message: "must be equal to constant" };
3494
+ if (data88.global !== void 0) {
3495
+ if (true !== data88.global) {
3496
+ const err223 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/global", schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/then/properties/global/const", keyword: "const", params: { allowedValue: true }, message: "must be equal to constant" };
3553
3497
  if (vErrors === null) {
3554
- vErrors = [err203];
3498
+ vErrors = [err223];
3555
3499
  } else {
3556
- vErrors.push(err203);
3500
+ vErrors.push(err223);
3557
3501
  }
3558
3502
  errors++;
3559
3503
  }
3560
3504
  }
3561
3505
  }
3562
- var _valid17 = _errs284 === errors;
3563
- valid96 = _valid17;
3506
+ var _valid17 = _errs298 === errors;
3507
+ valid98 = _valid17;
3564
3508
  }
3565
- if (!valid96) {
3566
- const err204 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/if", keyword: "if", params: { failingKeyword: "then" }, message: 'must match "then" schema' };
3509
+ if (!valid98) {
3510
+ const err224 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/if", keyword: "if", params: { failingKeyword: "then" }, message: 'must match "then" schema' };
3567
3511
  if (vErrors === null) {
3568
- vErrors = [err204];
3512
+ vErrors = [err224];
3569
3513
  } else {
3570
- vErrors.push(err204);
3514
+ vErrors.push(err224);
3571
3515
  }
3572
3516
  errors++;
3573
3517
  }
3574
- if (data82 && typeof data82 == "object" && !Array.isArray(data82)) {
3575
- for (const key29 in data82) {
3576
- if (!(key29 === "global" || key29 === "ip" || key29 === "service")) {
3577
- const err205 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key29 }, message: "must NOT have additional properties" };
3518
+ if (data88 && typeof data88 == "object" && !Array.isArray(data88)) {
3519
+ for (const key30 in data88) {
3520
+ if (!(key30 === "global" || key30 === "ip" || key30 === "service")) {
3521
+ const err225 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key30 }, message: "must NOT have additional properties" };
3578
3522
  if (vErrors === null) {
3579
- vErrors = [err205];
3523
+ vErrors = [err225];
3580
3524
  } else {
3581
- vErrors.push(err205);
3525
+ vErrors.push(err225);
3582
3526
  }
3583
3527
  errors++;
3584
3528
  }
3585
3529
  }
3586
- if (data82.global !== void 0) {
3587
- if (typeof data82.global !== "boolean") {
3588
- const err206 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/global", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/global/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
3530
+ if (data88.global !== void 0) {
3531
+ if (typeof data88.global !== "boolean") {
3532
+ const err226 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/global", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/global/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
3589
3533
  if (vErrors === null) {
3590
- vErrors = [err206];
3534
+ vErrors = [err226];
3591
3535
  } else {
3592
- vErrors.push(err206);
3536
+ vErrors.push(err226);
3593
3537
  }
3594
3538
  errors++;
3595
3539
  }
3596
3540
  }
3597
- if (data82.ip !== void 0) {
3598
- let data86 = data82.ip;
3599
- if (typeof data86 === "string") {
3600
- if (func2(data86) < 1) {
3601
- const err207 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/ip", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/ip/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3541
+ if (data88.ip !== void 0) {
3542
+ let data92 = data88.ip;
3543
+ if (typeof data92 === "string") {
3544
+ if (func2(data92) < 1) {
3545
+ const err227 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/ip", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/ip/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3602
3546
  if (vErrors === null) {
3603
- vErrors = [err207];
3547
+ vErrors = [err227];
3604
3548
  } else {
3605
- vErrors.push(err207);
3549
+ vErrors.push(err227);
3606
3550
  }
3607
3551
  errors++;
3608
3552
  }
3609
3553
  } else {
3610
- const err208 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/ip", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/ip/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3554
+ const err228 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/ip", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/ip/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3611
3555
  if (vErrors === null) {
3612
- vErrors = [err208];
3556
+ vErrors = [err228];
3613
3557
  } else {
3614
- vErrors.push(err208);
3558
+ vErrors.push(err228);
3615
3559
  }
3616
3560
  errors++;
3617
3561
  }
3618
3562
  }
3619
- if (data82.service !== void 0) {
3620
- if (typeof data82.service !== "string") {
3621
- const err209 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/service", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/service/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3563
+ if (data88.service !== void 0) {
3564
+ if (typeof data88.service !== "string") {
3565
+ const err229 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/service", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/service/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3622
3566
  if (vErrors === null) {
3623
- vErrors = [err209];
3567
+ vErrors = [err229];
3624
3568
  } else {
3625
- vErrors.push(err209);
3569
+ vErrors.push(err229);
3626
3570
  }
3627
3571
  errors++;
3628
3572
  }
3629
3573
  }
3630
3574
  } else {
3631
- const err210 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3575
+ const err230 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3632
3576
  if (vErrors === null) {
3633
- vErrors = [err210];
3577
+ vErrors = [err230];
3634
3578
  } else {
3635
- vErrors.push(err210);
3579
+ vErrors.push(err230);
3636
3580
  }
3637
3581
  errors++;
3638
3582
  }
3639
3583
  }
3640
3584
  } else {
3641
- const err211 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3585
+ const err231 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3642
3586
  if (vErrors === null) {
3643
- vErrors = [err211];
3587
+ vErrors = [err231];
3644
3588
  } else {
3645
- vErrors.push(err211);
3589
+ vErrors.push(err231);
3646
3590
  }
3647
3591
  errors++;
3648
3592
  }
3649
3593
  }
3650
3594
  } else {
3651
- const err212 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3595
+ const err232 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3652
3596
  if (vErrors === null) {
3653
- vErrors = [err212];
3597
+ vErrors = [err232];
3654
3598
  } else {
3655
- vErrors.push(err212);
3599
+ vErrors.push(err232);
3656
3600
  }
3657
3601
  errors++;
3658
3602
  }
3659
3603
  }
3660
3604
  } else {
3661
- const err213 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3605
+ const err233 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3662
3606
  if (vErrors === null) {
3663
- vErrors = [err213];
3607
+ vErrors = [err233];
3664
3608
  } else {
3665
- vErrors.push(err213);
3609
+ vErrors.push(err233);
3666
3610
  }
3667
3611
  errors++;
3668
3612
  }
3669
- var _valid13 = _errs216 === errors;
3613
+ var _valid13 = _errs215 === errors;
3670
3614
  if (_valid13) {
3671
3615
  valid69 = true;
3672
3616
  passing11 = 0;
3673
3617
  }
3674
- const _errs293 = errors;
3675
- if (data63 !== null) {
3676
- const err214 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
3618
+ const _errs307 = errors;
3619
+ if (data62 !== null) {
3620
+ const err234 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
3677
3621
  if (vErrors === null) {
3678
- vErrors = [err214];
3622
+ vErrors = [err234];
3679
3623
  } else {
3680
- vErrors.push(err214);
3624
+ vErrors.push(err234);
3681
3625
  }
3682
3626
  errors++;
3683
3627
  }
3684
- var _valid13 = _errs293 === errors;
3628
+ var _valid13 = _errs307 === errors;
3685
3629
  if (_valid13 && valid69) {
3686
3630
  valid69 = false;
3687
3631
  passing11 = [passing11, 1];
@@ -3692,331 +3636,331 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3692
3636
  }
3693
3637
  }
3694
3638
  if (!valid69) {
3695
- const err215 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf", keyword: "oneOf", params: { passingSchemas: passing11 }, message: "must match exactly one schema in oneOf" };
3639
+ const err235 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf", keyword: "oneOf", params: { passingSchemas: passing11 }, message: "must match exactly one schema in oneOf" };
3696
3640
  if (vErrors === null) {
3697
- vErrors = [err215];
3641
+ vErrors = [err235];
3698
3642
  } else {
3699
- vErrors.push(err215);
3643
+ vErrors.push(err235);
3700
3644
  }
3701
3645
  errors++;
3702
3646
  } else {
3703
- errors = _errs215;
3647
+ errors = _errs214;
3704
3648
  if (vErrors !== null) {
3705
- if (_errs215) {
3706
- vErrors.length = _errs215;
3649
+ if (_errs214) {
3650
+ vErrors.length = _errs214;
3707
3651
  } else {
3708
3652
  vErrors = null;
3709
3653
  }
3710
3654
  }
3711
3655
  }
3712
3656
  }
3713
- if (data48.image !== void 0) {
3714
- let data88 = data48.image;
3715
- if (typeof data88 === "string") {
3716
- if (func2(data88) < 1) {
3717
- const err216 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/image", schemaPath: "#/properties/services/additionalProperties/properties/image/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3657
+ if (data47.image !== void 0) {
3658
+ let data94 = data47.image;
3659
+ if (typeof data94 === "string") {
3660
+ if (func2(data94) < 1) {
3661
+ const err236 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/image", schemaPath: "#/properties/services/additionalProperties/properties/image/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3718
3662
  if (vErrors === null) {
3719
- vErrors = [err216];
3663
+ vErrors = [err236];
3720
3664
  } else {
3721
- vErrors.push(err216);
3665
+ vErrors.push(err236);
3722
3666
  }
3723
3667
  errors++;
3724
3668
  }
3725
3669
  } else {
3726
- const err217 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/image", schemaPath: "#/properties/services/additionalProperties/properties/image/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3670
+ const err237 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/image", schemaPath: "#/properties/services/additionalProperties/properties/image/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3727
3671
  if (vErrors === null) {
3728
- vErrors = [err217];
3672
+ vErrors = [err237];
3729
3673
  } else {
3730
- vErrors.push(err217);
3674
+ vErrors.push(err237);
3731
3675
  }
3732
3676
  errors++;
3733
3677
  }
3734
3678
  }
3735
- if (data48.params !== void 0) {
3736
- let data89 = data48.params;
3737
- if (data89 && typeof data89 == "object" && !Array.isArray(data89)) {
3738
- for (const key30 in data89) {
3739
- if (!(key30 === "storage" || key30 === "permissions" || key30 === "tee")) {
3740
- const err218 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params", schemaPath: "#/properties/services/additionalProperties/properties/params/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key30 }, message: "must NOT have additional properties" };
3679
+ if (data47.params !== void 0) {
3680
+ let data95 = data47.params;
3681
+ if (data95 && typeof data95 == "object" && !Array.isArray(data95)) {
3682
+ for (const key31 in data95) {
3683
+ if (!(key31 === "storage" || key31 === "permissions" || key31 === "tee")) {
3684
+ const err238 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params", schemaPath: "#/properties/services/additionalProperties/properties/params/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key31 }, message: "must NOT have additional properties" };
3741
3685
  if (vErrors === null) {
3742
- vErrors = [err218];
3686
+ vErrors = [err238];
3743
3687
  } else {
3744
- vErrors.push(err218);
3688
+ vErrors.push(err238);
3745
3689
  }
3746
3690
  errors++;
3747
3691
  }
3748
3692
  }
3749
- if (data89.storage !== void 0) {
3750
- let data90 = data89.storage;
3751
- if (data90 && typeof data90 == "object" && !Array.isArray(data90)) {
3752
- for (const key31 in data90) {
3753
- let data91 = data90[key31];
3754
- if (data91 && typeof data91 == "object" && !Array.isArray(data91)) {
3755
- for (const key32 in data91) {
3756
- if (!(key32 === "mount" || key32 === "readOnly")) {
3757
- const err219 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key32 }, message: "must NOT have additional properties" };
3693
+ if (data95.storage !== void 0) {
3694
+ let data96 = data95.storage;
3695
+ if (data96 && typeof data96 == "object" && !Array.isArray(data96)) {
3696
+ for (const key32 in data96) {
3697
+ let data97 = data96[key32];
3698
+ if (data97 && typeof data97 == "object" && !Array.isArray(data97)) {
3699
+ for (const key33 in data97) {
3700
+ if (!(key33 === "mount" || key33 === "readOnly")) {
3701
+ const err239 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key32.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key33 }, message: "must NOT have additional properties" };
3758
3702
  if (vErrors === null) {
3759
- vErrors = [err219];
3703
+ vErrors = [err239];
3760
3704
  } else {
3761
- vErrors.push(err219);
3705
+ vErrors.push(err239);
3762
3706
  }
3763
3707
  errors++;
3764
3708
  }
3765
3709
  }
3766
- if (data91.mount !== void 0) {
3767
- let data92 = data91.mount;
3768
- if (typeof data92 === "string") {
3769
- if (func2(data92) < 1) {
3770
- const err220 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3710
+ if (data97.mount !== void 0) {
3711
+ let data98 = data97.mount;
3712
+ if (typeof data98 === "string") {
3713
+ if (func2(data98) < 1) {
3714
+ const err240 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key32.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3771
3715
  if (vErrors === null) {
3772
- vErrors = [err220];
3716
+ vErrors = [err240];
3773
3717
  } else {
3774
- vErrors.push(err220);
3718
+ vErrors.push(err240);
3775
3719
  }
3776
3720
  errors++;
3777
3721
  }
3778
- if (!pattern13.test(data92)) {
3779
- const err221 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/pattern", keyword: "pattern", params: { pattern: "^/" }, message: 'must match pattern "^/"' };
3722
+ if (!pattern13.test(data98)) {
3723
+ const err241 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key32.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/pattern", keyword: "pattern", params: { pattern: "^/" }, message: 'must match pattern "^/"' };
3780
3724
  if (vErrors === null) {
3781
- vErrors = [err221];
3725
+ vErrors = [err241];
3782
3726
  } else {
3783
- vErrors.push(err221);
3727
+ vErrors.push(err241);
3784
3728
  }
3785
3729
  errors++;
3786
3730
  }
3787
3731
  } else {
3788
- const err222 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3732
+ const err242 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key32.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3789
3733
  if (vErrors === null) {
3790
- vErrors = [err222];
3734
+ vErrors = [err242];
3791
3735
  } else {
3792
- vErrors.push(err222);
3736
+ vErrors.push(err242);
3793
3737
  }
3794
3738
  errors++;
3795
3739
  }
3796
3740
  }
3797
- if (data91.readOnly !== void 0) {
3798
- if (typeof data91.readOnly !== "boolean") {
3799
- const err223 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1") + "/readOnly", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/properties/readOnly/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
3741
+ if (data97.readOnly !== void 0) {
3742
+ if (typeof data97.readOnly !== "boolean") {
3743
+ const err243 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key32.replace(/~/g, "~0").replace(/\//g, "~1") + "/readOnly", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/properties/readOnly/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
3800
3744
  if (vErrors === null) {
3801
- vErrors = [err223];
3745
+ vErrors = [err243];
3802
3746
  } else {
3803
- vErrors.push(err223);
3747
+ vErrors.push(err243);
3804
3748
  }
3805
3749
  errors++;
3806
3750
  }
3807
3751
  }
3808
3752
  } else {
3809
- const err224 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key31.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3753
+ const err244 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key32.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3810
3754
  if (vErrors === null) {
3811
- vErrors = [err224];
3755
+ vErrors = [err244];
3812
3756
  } else {
3813
- vErrors.push(err224);
3757
+ vErrors.push(err244);
3814
3758
  }
3815
3759
  errors++;
3816
3760
  }
3817
3761
  }
3818
3762
  } else {
3819
- const err225 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3763
+ const err245 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3820
3764
  if (vErrors === null) {
3821
- vErrors = [err225];
3765
+ vErrors = [err245];
3822
3766
  } else {
3823
- vErrors.push(err225);
3767
+ vErrors.push(err245);
3824
3768
  }
3825
3769
  errors++;
3826
3770
  }
3827
3771
  }
3828
- if (data89.permissions !== void 0) {
3829
- let data94 = data89.permissions;
3830
- if (data94 && typeof data94 == "object" && !Array.isArray(data94)) {
3831
- for (const key33 in data94) {
3832
- if (!(key33 === "read")) {
3833
- const err226 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key33 }, message: "must NOT have additional properties" };
3772
+ if (data95.permissions !== void 0) {
3773
+ let data100 = data95.permissions;
3774
+ if (data100 && typeof data100 == "object" && !Array.isArray(data100)) {
3775
+ for (const key34 in data100) {
3776
+ if (!(key34 === "read")) {
3777
+ const err246 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key34 }, message: "must NOT have additional properties" };
3834
3778
  if (vErrors === null) {
3835
- vErrors = [err226];
3779
+ vErrors = [err246];
3836
3780
  } else {
3837
- vErrors.push(err226);
3781
+ vErrors.push(err246);
3838
3782
  }
3839
3783
  errors++;
3840
3784
  }
3841
3785
  }
3842
- if (data94.read !== void 0) {
3843
- let data95 = data94.read;
3844
- if (Array.isArray(data95)) {
3845
- const len16 = data95.length;
3786
+ if (data100.read !== void 0) {
3787
+ let data101 = data100.read;
3788
+ if (Array.isArray(data101)) {
3789
+ const len16 = data101.length;
3846
3790
  for (let i16 = 0; i16 < len16; i16++) {
3847
- let data96 = data95[i16];
3848
- if (typeof data96 !== "string") {
3849
- const err227 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read/" + i16, schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3791
+ let data102 = data101[i16];
3792
+ if (typeof data102 !== "string") {
3793
+ const err247 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read/" + i16, schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3850
3794
  if (vErrors === null) {
3851
- vErrors = [err227];
3795
+ vErrors = [err247];
3852
3796
  } else {
3853
- vErrors.push(err227);
3797
+ vErrors.push(err247);
3854
3798
  }
3855
3799
  errors++;
3856
3800
  }
3857
- if (!(data96 === "deployment" || data96 === "logs" || data96 === "events")) {
3858
- const err228 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read/" + i16, schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/items/enum", keyword: "enum", params: { allowedValues: schema28.properties.services.additionalProperties.properties.params.properties.permissions.properties.read.items.enum }, message: "must be equal to one of the allowed values" };
3801
+ if (!(data102 === "deployment" || data102 === "logs" || data102 === "events")) {
3802
+ const err248 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read/" + i16, schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/items/enum", keyword: "enum", params: { allowedValues: schema28.properties.services.additionalProperties.properties.params.properties.permissions.properties.read.items.enum }, message: "must be equal to one of the allowed values" };
3859
3803
  if (vErrors === null) {
3860
- vErrors = [err228];
3804
+ vErrors = [err248];
3861
3805
  } else {
3862
- vErrors.push(err228);
3806
+ vErrors.push(err248);
3863
3807
  }
3864
3808
  errors++;
3865
3809
  }
3866
3810
  }
3867
3811
  } else {
3868
- const err229 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3812
+ const err249 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3869
3813
  if (vErrors === null) {
3870
- vErrors = [err229];
3814
+ vErrors = [err249];
3871
3815
  } else {
3872
- vErrors.push(err229);
3816
+ vErrors.push(err249);
3873
3817
  }
3874
3818
  errors++;
3875
3819
  }
3876
3820
  }
3877
3821
  } else {
3878
- const err230 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3822
+ const err250 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3879
3823
  if (vErrors === null) {
3880
- vErrors = [err230];
3824
+ vErrors = [err250];
3881
3825
  } else {
3882
- vErrors.push(err230);
3826
+ vErrors.push(err250);
3883
3827
  }
3884
3828
  errors++;
3885
3829
  }
3886
3830
  }
3887
- if (data89.tee !== void 0) {
3888
- let data97 = data89.tee;
3889
- if (typeof data97 !== "string") {
3890
- const err231 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/tee", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/tee/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3831
+ if (data95.tee !== void 0) {
3832
+ let data103 = data95.tee;
3833
+ if (typeof data103 !== "string") {
3834
+ const err251 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/tee", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/tee/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3891
3835
  if (vErrors === null) {
3892
- vErrors = [err231];
3836
+ vErrors = [err251];
3893
3837
  } else {
3894
- vErrors.push(err231);
3838
+ vErrors.push(err251);
3895
3839
  }
3896
3840
  errors++;
3897
3841
  }
3898
- if (!(data97 === "cpu" || data97 === "cpu-gpu")) {
3899
- const err232 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/tee", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/tee/enum", keyword: "enum", params: { allowedValues: schema28.properties.services.additionalProperties.properties.params.properties.tee.enum }, message: "must be equal to one of the allowed values" };
3842
+ if (!(data103 === "cpu" || data103 === "cpu-gpu")) {
3843
+ const err252 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/tee", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/tee/enum", keyword: "enum", params: { allowedValues: schema28.properties.services.additionalProperties.properties.params.properties.tee.enum }, message: "must be equal to one of the allowed values" };
3900
3844
  if (vErrors === null) {
3901
- vErrors = [err232];
3845
+ vErrors = [err252];
3902
3846
  } else {
3903
- vErrors.push(err232);
3847
+ vErrors.push(err252);
3904
3848
  }
3905
3849
  errors++;
3906
3850
  }
3907
3851
  }
3908
3852
  } else {
3909
- const err233 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params", schemaPath: "#/properties/services/additionalProperties/properties/params/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3853
+ const err253 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/params", schemaPath: "#/properties/services/additionalProperties/properties/params/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3910
3854
  if (vErrors === null) {
3911
- vErrors = [err233];
3855
+ vErrors = [err253];
3912
3856
  } else {
3913
- vErrors.push(err233);
3857
+ vErrors.push(err253);
3914
3858
  }
3915
3859
  errors++;
3916
3860
  }
3917
3861
  }
3918
3862
  } else {
3919
- const err234 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3863
+ const err254 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3920
3864
  if (vErrors === null) {
3921
- vErrors = [err234];
3865
+ vErrors = [err254];
3922
3866
  } else {
3923
- vErrors.push(err234);
3867
+ vErrors.push(err254);
3924
3868
  }
3925
3869
  errors++;
3926
3870
  }
3927
3871
  }
3928
3872
  } else {
3929
- const err235 = { instancePath: instancePath + "/services", schemaPath: "#/properties/services/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3873
+ const err255 = { instancePath: instancePath + "/services", schemaPath: "#/properties/services/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3930
3874
  if (vErrors === null) {
3931
- vErrors = [err235];
3875
+ vErrors = [err255];
3932
3876
  } else {
3933
- vErrors.push(err235);
3877
+ vErrors.push(err255);
3934
3878
  }
3935
3879
  errors++;
3936
3880
  }
3937
3881
  }
3938
3882
  if (data.reclamation !== void 0) {
3939
- let data98 = data.reclamation;
3940
- if (data98 && typeof data98 == "object" && !Array.isArray(data98)) {
3941
- if (data98.min_window === void 0) {
3942
- const err236 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/required", keyword: "required", params: { missingProperty: "min_window" }, message: "must have required property 'min_window'" };
3883
+ let data104 = data.reclamation;
3884
+ if (data104 && typeof data104 == "object" && !Array.isArray(data104)) {
3885
+ if (data104.min_window === void 0) {
3886
+ const err256 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/required", keyword: "required", params: { missingProperty: "min_window" }, message: "must have required property 'min_window'" };
3943
3887
  if (vErrors === null) {
3944
- vErrors = [err236];
3888
+ vErrors = [err256];
3945
3889
  } else {
3946
- vErrors.push(err236);
3890
+ vErrors.push(err256);
3947
3891
  }
3948
3892
  errors++;
3949
3893
  }
3950
- for (const key34 in data98) {
3951
- if (!(key34 === "min_window")) {
3952
- const err237 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key34 }, message: "must NOT have additional properties" };
3894
+ for (const key35 in data104) {
3895
+ if (!(key35 === "min_window")) {
3896
+ const err257 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key35 }, message: "must NOT have additional properties" };
3953
3897
  if (vErrors === null) {
3954
- vErrors = [err237];
3898
+ vErrors = [err257];
3955
3899
  } else {
3956
- vErrors.push(err237);
3900
+ vErrors.push(err257);
3957
3901
  }
3958
3902
  errors++;
3959
3903
  }
3960
3904
  }
3961
- if (data98.min_window !== void 0) {
3962
- let data99 = data98.min_window;
3963
- if (typeof data99 === "string") {
3964
- if (!pattern14.test(data99)) {
3965
- const err238 = { instancePath: instancePath + "/reclamation/min_window", schemaPath: "#/properties/reclamation/properties/min_window/pattern", keyword: "pattern", params: { pattern: "^[1-9][0-9]*(s|m|h)$" }, message: 'must match pattern "^[1-9][0-9]*(s|m|h)$"' };
3905
+ if (data104.min_window !== void 0) {
3906
+ let data105 = data104.min_window;
3907
+ if (typeof data105 === "string") {
3908
+ if (!pattern14.test(data105)) {
3909
+ const err258 = { instancePath: instancePath + "/reclamation/min_window", schemaPath: "#/properties/reclamation/properties/min_window/pattern", keyword: "pattern", params: { pattern: "^[1-9][0-9]*(s|m|h)$" }, message: 'must match pattern "^[1-9][0-9]*(s|m|h)$"' };
3966
3910
  if (vErrors === null) {
3967
- vErrors = [err238];
3911
+ vErrors = [err258];
3968
3912
  } else {
3969
- vErrors.push(err238);
3913
+ vErrors.push(err258);
3970
3914
  }
3971
3915
  errors++;
3972
3916
  }
3973
3917
  } else {
3974
- const err239 = { instancePath: instancePath + "/reclamation/min_window", schemaPath: "#/properties/reclamation/properties/min_window/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3918
+ const err259 = { instancePath: instancePath + "/reclamation/min_window", schemaPath: "#/properties/reclamation/properties/min_window/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3975
3919
  if (vErrors === null) {
3976
- vErrors = [err239];
3920
+ vErrors = [err259];
3977
3921
  } else {
3978
- vErrors.push(err239);
3922
+ vErrors.push(err259);
3979
3923
  }
3980
3924
  errors++;
3981
3925
  }
3982
3926
  }
3983
3927
  } else {
3984
- const err240 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3928
+ const err260 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3985
3929
  if (vErrors === null) {
3986
- vErrors = [err240];
3930
+ vErrors = [err260];
3987
3931
  } else {
3988
- vErrors.push(err240);
3932
+ vErrors.push(err260);
3989
3933
  }
3990
3934
  errors++;
3991
3935
  }
3992
3936
  }
3993
3937
  if (data.version !== void 0) {
3994
- let data100 = data.version;
3995
- if (typeof data100 !== "string") {
3996
- const err241 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3938
+ let data106 = data.version;
3939
+ if (typeof data106 !== "string") {
3940
+ const err261 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3997
3941
  if (vErrors === null) {
3998
- vErrors = [err241];
3942
+ vErrors = [err261];
3999
3943
  } else {
4000
- vErrors.push(err241);
3944
+ vErrors.push(err261);
4001
3945
  }
4002
3946
  errors++;
4003
3947
  }
4004
- if (!(data100 === "2.0" || data100 === "2.1")) {
4005
- const err242 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/enum", keyword: "enum", params: { allowedValues: schema28.properties.version.enum }, message: "must be equal to one of the allowed values" };
3948
+ if (!(data106 === "2.0" || data106 === "2.1")) {
3949
+ const err262 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/enum", keyword: "enum", params: { allowedValues: schema28.properties.version.enum }, message: "must be equal to one of the allowed values" };
4006
3950
  if (vErrors === null) {
4007
- vErrors = [err242];
3951
+ vErrors = [err262];
4008
3952
  } else {
4009
- vErrors.push(err242);
3953
+ vErrors.push(err262);
4010
3954
  }
4011
3955
  errors++;
4012
3956
  }
4013
3957
  }
4014
3958
  } else {
4015
- const err243 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3959
+ const err263 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
4016
3960
  if (vErrors === null) {
4017
- vErrors = [err243];
3961
+ vErrors = [err263];
4018
3962
  } else {
4019
- vErrors.push(err243);
3963
+ vErrors.push(err263);
4020
3964
  }
4021
3965
  errors++;
4022
3966
  }
@@ -4294,9 +4238,26 @@ function buildHttpOptions(httpOptions) {
4294
4238
  sendTimeout: normalizedHTTPTimeout(httpOptions?.send_timeout),
4295
4239
  nextTries: httpOptions?.next_tries ?? 3,
4296
4240
  nextTimeout: httpOptions?.next_timeout ?? 0,
4297
- nextCases: httpOptions?.next_cases ?? ["error", "timeout"]
4241
+ nextCases: httpOptions?.next_cases ?? ["error", "timeout"],
4242
+ proxy: buildProxyOptions(httpOptions?.proxy)
4298
4243
  });
4299
4244
  }
4245
+ function buildProxyOptions(proxy) {
4246
+ if (!proxy) return void 0;
4247
+ const bufferingDisable = proxy.buffering_disable ?? false;
4248
+ const bufferSize = proxy.buffer_size ?? 0;
4249
+ const buffersNumber = proxy.buffers_number ?? 0;
4250
+ const buffersSize = proxy.buffers_size ?? 0;
4251
+ const busyBuffersSize = proxy.busy_buffers_size ?? 0;
4252
+ const connectTimeout = proxy.connect_timeout ?? 0;
4253
+ if (buffersNumber === 0 !== (buffersSize === 0)) {
4254
+ throw new Error("proxy.buffers_number and proxy.buffers_size must be set together");
4255
+ }
4256
+ if (!bufferingDisable && bufferSize === 0 && buffersNumber === 0 && buffersSize === 0 && busyBuffersSize === 0 && connectTimeout === 0) {
4257
+ return void 0;
4258
+ }
4259
+ return ProxyOptions.fromPartial({ bufferingDisable, bufferSize, buffersNumber, buffersSize, busyBuffersSize, connectTimeout });
4260
+ }
4300
4261
  function normalizedHTTPTimeout(value) {
4301
4262
  const result = parseHTTPTimeout(value ?? 6e4);
4302
4263
  if (!result.ok) {
@@ -9192,31 +9153,29 @@ function createSDK(queryTransport, txTransport) {
9192
9153
 
9193
9154
  // src/generated/createNodeSDK.ts
9194
9155
  var serviceLoader2 = createServiceLoader([
9195
- () => import("./query_akash-HCIMNA7T.js").then((m) => m.Query),
9196
- () => import("./service_akash-3R3TC3PH.js").then((m) => m.Msg),
9197
- () => import("./query_akash-HN4NCENR.js").then((m) => m.Query),
9198
- () => import("./service_akash-KAJJV7LX.js").then((m) => m.Msg),
9156
+ () => import("./query_akash-44SHG3FL.js").then((m) => m.Query),
9157
+ () => import("./service_akash-KRCYHNCN.js").then((m) => m.Msg),
9158
+ () => import("./query_akash-72TFPQBZ.js").then((m) => m.Query),
9159
+ () => import("./service_akash-SXXXZL6K.js").then((m) => m.Msg),
9199
9160
  () => import("./query_akash-253P4X3A.js").then((m) => m.Query),
9200
9161
  () => import("./service_akash-4H6WUSYG.js").then((m) => m.Msg),
9201
- () => import("./query_akash-SOJJMCBH.js").then((m) => m.Query),
9202
- () => import("./service_akash-AXWB3IDG.js").then((m) => m.Msg),
9162
+ () => import("./query_akash-54EYS6GQ.js").then((m) => m.Query),
9163
+ () => import("./service_akash-YXSRY4G3.js").then((m) => m.Msg),
9203
9164
  () => import("./service_akash-LS73FH6D.js").then((m) => m.Discovery),
9204
9165
  () => import("./query_akash-U2XM5NDH.js").then((m) => m.Query),
9205
9166
  () => import("./query_akash-3MIPQKOJ.js").then((m) => m.Query),
9206
- () => import("./query_akash-BTYAA6UN.js").then((m) => m.Query),
9167
+ () => import("./query_akash-I3RPHLVA.js").then((m) => m.Query),
9207
9168
  () => import("./service_akash-GYTWD2OK.js").then((m) => m.Msg),
9208
- () => import("./query_akash-LSGWB5MI.js").then((m) => m.Query),
9209
- () => import("./service_akash-BZTUHKJO.js").then((m) => m.Msg),
9210
- () => import("./query_akash-SVNQ4S67.js").then((m) => m.Query),
9211
- () => import("./service_akash-HFGWADC2.js").then((m) => m.Msg),
9212
- () => import("./query_akash-EG43V2QH.js").then((m) => m.Query),
9213
- () => import("./service_akash-QTGRTXLG.js").then((m) => m.Msg),
9214
- () => import("./query_akash-KU4YCMUU.js").then((m) => m.Query),
9215
- () => import("./service_akash-KYLB3OP3.js").then((m) => m.Msg),
9169
+ () => import("./query_akash-TZ6F7OO4.js").then((m) => m.Query),
9170
+ () => import("./service_akash-Z4CR3DWY.js").then((m) => m.Msg),
9171
+ () => import("./query_akash-EGFDDA4L.js").then((m) => m.Query),
9172
+ () => import("./service_akash-JQKI2SJP.js").then((m) => m.Msg),
9173
+ () => import("./query_akash-QF2LHJQN.js").then((m) => m.Query),
9174
+ () => import("./service_akash-PFTEVUGK.js").then((m) => m.Msg),
9175
+ () => import("./query_akash-N3FPIXVQ.js").then((m) => m.Query),
9176
+ () => import("./service_akash-5AUMDLU5.js").then((m) => m.Msg),
9216
9177
  () => import("./query_akash-2ZMDMM2D.js").then((m) => m.Query),
9217
9178
  () => import("./service_akash-FMRY564Q.js").then((m) => m.Msg),
9218
- () => import("./query_akash-XYSUQTZC.js").then((m) => m.Query),
9219
- () => import("./service_akash-LJBOWZZG.js").then((m) => m.Msg),
9220
9179
  () => import("./query_akash-SSXFWCZX.js").then((m) => m.Query),
9221
9180
  () => import("./service_akash-CCR2X2Q5.js").then((m) => m.Msg)
9222
9181
  ]);
@@ -9566,13 +9525,6 @@ function createSDK2(queryTransport, txTransport) {
9566
9525
  const service = await serviceLoader2.loadAt(13);
9567
9526
  return getClient(service).lease(input, options);
9568
9527
  }, { path: [13, "lease"], serviceLoader: serviceLoader2 }),
9569
- /**
9570
- * getProviderLeaseStats queries aggregate lease-completion stats for a provider.
9571
- */
9572
- getProviderLeaseStats: withMetadata(async function getProviderLeaseStats(input, options) {
9573
- const service = await serviceLoader2.loadAt(13);
9574
- return getClient(service).providerLeaseStats(input, options);
9575
- }, { path: [13, "providerLeaseStats"], serviceLoader: serviceLoader2 }),
9576
9528
  /**
9577
9529
  * getParams returns the total set of market parameters.
9578
9530
  */
@@ -9732,34 +9684,6 @@ function createSDK2(queryTransport, txTransport) {
9732
9684
  const service = await serviceLoader2.loadAt(19);
9733
9685
  return getClient(service).provider(input, options);
9734
9686
  }, { path: [19, "provider"], serviceLoader: serviceLoader2 }),
9735
- /**
9736
- * getProviderMaintenance queries a provider maintenance record.
9737
- */
9738
- getProviderMaintenance: withMetadata(async function getProviderMaintenance(input, options) {
9739
- const service = await serviceLoader2.loadAt(19);
9740
- return getClient(service).providerMaintenance(input, options);
9741
- }, { path: [19, "providerMaintenance"], serviceLoader: serviceLoader2 }),
9742
- /**
9743
- * getProviderMaintenances queries provider maintenance records.
9744
- */
9745
- getProviderMaintenances: withMetadata(async function getProviderMaintenances(input, options) {
9746
- const service = await serviceLoader2.loadAt(19);
9747
- return getClient(service).providerMaintenances(input, options);
9748
- }, { path: [19, "providerMaintenances"], serviceLoader: serviceLoader2 }),
9749
- /**
9750
- * getParams returns the x/provider ProviderMaintenanceParams.
9751
- */
9752
- getParams: withMetadata(async function getParams(input = {}, options) {
9753
- const service = await serviceLoader2.loadAt(19);
9754
- return getClient(service).params(input, options);
9755
- }, { path: [19, "params"], serviceLoader: serviceLoader2 }),
9756
- /**
9757
- * getRegistration queries provider registration details.
9758
- */
9759
- getRegistration: withMetadata(async function getRegistration(input, options) {
9760
- const service = await serviceLoader2.loadAt(19);
9761
- return getClient(service).registration(input, options);
9762
- }, { path: [19, "registration"], serviceLoader: serviceLoader2 }),
9763
9687
  /**
9764
9688
  * createProvider defines a method that creates a provider given the proper inputs.
9765
9689
  */
@@ -9780,31 +9704,7 @@ function createSDK2(queryTransport, txTransport) {
9780
9704
  deleteProvider: withMetadata(async function deleteProvider(input, options) {
9781
9705
  const service = await serviceLoader2.loadAt(20);
9782
9706
  return getMsgClient(service).deleteProvider(input, options);
9783
- }, { path: [20, "deleteProvider"], serviceLoader: serviceLoader2 }),
9784
- /**
9785
- * openProviderMaintenance opens a provider maintenance window.
9786
- */
9787
- openProviderMaintenance: withMetadata(async function openProviderMaintenance(input, options) {
9788
- const service = await serviceLoader2.loadAt(20);
9789
- return getMsgClient(service).openProviderMaintenance(input, options);
9790
- }, { path: [20, "openProviderMaintenance"], serviceLoader: serviceLoader2 }),
9791
- /**
9792
- * closeProviderMaintenance closes an open maintenance window.
9793
- */
9794
- closeProviderMaintenance: withMetadata(async function closeProviderMaintenance(input, options) {
9795
- const service = await serviceLoader2.loadAt(20);
9796
- return getMsgClient(service).closeProviderMaintenance(input, options);
9797
- }, { path: [20, "closeProviderMaintenance"], serviceLoader: serviceLoader2 }),
9798
- /**
9799
- * updateParams is a governance operation for updating the x/provider
9800
- * parameters.
9801
- *
9802
- * Since: akash v1.0.0
9803
- */
9804
- updateParams: withMetadata(async function updateParams(input, options) {
9805
- const service = await serviceLoader2.loadAt(20);
9806
- return getMsgClient(service).updateParams(input, options);
9807
- }, { path: [20, "updateParams"], serviceLoader: serviceLoader2 })
9707
+ }, { path: [20, "deleteProvider"], serviceLoader: serviceLoader2 })
9808
9708
  }
9809
9709
  },
9810
9710
  take: {
@@ -9828,277 +9728,15 @@ function createSDK2(queryTransport, txTransport) {
9828
9728
  }, { path: [22, "updateParams"], serviceLoader: serviceLoader2 })
9829
9729
  }
9830
9730
  },
9831
- verification: {
9832
- v1: {
9833
- /**
9834
- * getAuditor returns the on-chain record for a single auditor identified by
9835
- * its bech32 address.
9836
- */
9837
- getAuditor: withMetadata(async function getAuditor(input, options) {
9838
- const service = await serviceLoader2.loadAt(23);
9839
- return getClient(service).auditor(input, options);
9840
- }, { path: [23, "auditor"], serviceLoader: serviceLoader2 }),
9841
- /**
9842
- * getAuditors returns a paginated list of auditor records, optionally filtered
9843
- * by AuditorStatus.
9844
- */
9845
- getAuditors: withMetadata(async function getAuditors(input, options) {
9846
- const service = await serviceLoader2.loadAt(23);
9847
- return getClient(service).auditors(input, options);
9848
- }, { path: [23, "auditors"], serviceLoader: serviceLoader2 }),
9849
- /**
9850
- * getAttestation returns the attestation record for a specific
9851
- * (provider, auditor) pair.
9852
- */
9853
- getAttestation: withMetadata(async function getAttestation(input, options) {
9854
- const service = await serviceLoader2.loadAt(23);
9855
- return getClient(service).attestation(input, options);
9856
- }, { path: [23, "attestation"], serviceLoader: serviceLoader2 }),
9857
- /**
9858
- * getProviderAttestations returns a paginated list of all attestation records
9859
- * for the given provider, optionally filtered by AttestationStatus.
9860
- */
9861
- getProviderAttestations: withMetadata(async function getProviderAttestations(input, options) {
9862
- const service = await serviceLoader2.loadAt(23);
9863
- return getClient(service).providerAttestations(input, options);
9864
- }, { path: [23, "providerAttestations"], serviceLoader: serviceLoader2 }),
9865
- /**
9866
- * getAuditorAttestations returns a paginated list of all attestation records
9867
- * submitted by the given auditor. No status filter is applied; callers can
9868
- * page through every attestation the auditor has emitted.
9869
- */
9870
- getAuditorAttestations: withMetadata(async function getAuditorAttestations(input, options) {
9871
- const service = await serviceLoader2.loadAt(23);
9872
- return getClient(service).auditorAttestations(input, options);
9873
- }, { path: [23, "auditorAttestations"], serviceLoader: serviceLoader2 }),
9874
- /**
9875
- * getDiscrepancy returns a single discrepancy event by its numeric id.
9876
- */
9877
- getDiscrepancy: withMetadata(async function getDiscrepancy(input, options) {
9878
- const service = await serviceLoader2.loadAt(23);
9879
- return getClient(service).discrepancy(input, options);
9880
- }, { path: [23, "discrepancy"], serviceLoader: serviceLoader2 }),
9881
- /**
9882
- * getDiscrepancies returns a paginated list of discrepancy events, optionally
9883
- * filtered by DiscrepancyStatus.
9884
- */
9885
- getDiscrepancies: withMetadata(async function getDiscrepancies(input, options) {
9886
- const service = await serviceLoader2.loadAt(23);
9887
- return getClient(service).discrepancies(input, options);
9888
- }, { path: [23, "discrepancies"], serviceLoader: serviceLoader2 }),
9889
- /**
9890
- * getAuditEscrow returns a single audit-escrow record by its numeric id.
9891
- */
9892
- getAuditEscrow: withMetadata(async function getAuditEscrow(input, options) {
9893
- const service = await serviceLoader2.loadAt(23);
9894
- return getClient(service).auditEscrow(input, options);
9895
- }, { path: [23, "auditEscrow"], serviceLoader: serviceLoader2 }),
9896
- /**
9897
- * getProviderAuditEscrows returns a paginated list of audit-escrow records
9898
- * opened by the given provider, optionally filtered by AuditEscrowStatus.
9899
- */
9900
- getProviderAuditEscrows: withMetadata(async function getProviderAuditEscrows(input, options) {
9901
- const service = await serviceLoader2.loadAt(23);
9902
- return getClient(service).providerAuditEscrows(input, options);
9903
- }, { path: [23, "providerAuditEscrows"], serviceLoader: serviceLoader2 }),
9904
- /**
9905
- * getProviderVerificationGrace returns the verification-grace record for the
9906
- * given provider, if one is currently tracked.
9907
- */
9908
- getProviderVerificationGrace: withMetadata(async function getProviderVerificationGrace(input, options) {
9909
- const service = await serviceLoader2.loadAt(23);
9910
- return getClient(service).providerVerificationGrace(input, options);
9911
- }, { path: [23, "providerVerificationGrace"], serviceLoader: serviceLoader2 }),
9912
- /**
9913
- * getProviderBond returns the provider's bond record.
9914
- */
9915
- getProviderBond: withMetadata(async function getProviderBond(input, options) {
9916
- const service = await serviceLoader2.loadAt(23);
9917
- return getClient(service).providerBond(input, options);
9918
- }, { path: [23, "providerBond"], serviceLoader: serviceLoader2 }),
9919
- /**
9920
- * getProviderSnapshot returns the most recent provider snapshot record posted
9921
- * on-chain by the given provider.
9922
- */
9923
- getProviderSnapshot: withMetadata(async function getProviderSnapshot(input, options) {
9924
- const service = await serviceLoader2.loadAt(23);
9925
- return getClient(service).providerSnapshot(input, options);
9926
- }, { path: [23, "providerSnapshot"], serviceLoader: serviceLoader2 }),
9927
- /**
9928
- * getParams returns the current parameter set for the verification module.
9929
- */
9930
- getParams: withMetadata(async function getParams(input = {}, options) {
9931
- const service = await serviceLoader2.loadAt(23);
9932
- return getClient(service).params(input, options);
9933
- }, { path: [23, "params"], serviceLoader: serviceLoader2 }),
9934
- /**
9935
- * postAuditorBond posts (or tops up) an auditor's verification bond.
9936
- */
9937
- postAuditorBond: withMetadata(async function postAuditorBond(input, options) {
9938
- const service = await serviceLoader2.loadAt(24);
9939
- return getMsgClient(service).postAuditorBond(input, options);
9940
- }, { path: [24, "postAuditorBond"], serviceLoader: serviceLoader2 }),
9941
- /**
9942
- * openAuditEscrow opens a new audit escrow funding a pending attestation.
9943
- */
9944
- openAuditEscrow: withMetadata(async function openAuditEscrow(input, options) {
9945
- const service = await serviceLoader2.loadAt(24);
9946
- return getMsgClient(service).openAuditEscrow(input, options);
9947
- }, { path: [24, "openAuditEscrow"], serviceLoader: serviceLoader2 }),
9948
- /**
9949
- * cancelAuditEscrow cancels an open, unconsumed audit escrow before expiry
9950
- * and returns the fee and provider deposit to the provider.
9951
- */
9952
- cancelAuditEscrow: withMetadata(async function cancelAuditEscrow(input, options) {
9953
- const service = await serviceLoader2.loadAt(24);
9954
- return getMsgClient(service).cancelAuditEscrow(input, options);
9955
- }, { path: [24, "cancelAuditEscrow"], serviceLoader: serviceLoader2 }),
9956
- /**
9957
- * settleAuditEscrow settles an unconsumed audit escrow with an explicit
9958
- * reason, fault attribution, and evidence reference.
9959
- */
9960
- settleAuditEscrow: withMetadata(async function settleAuditEscrow(input, options) {
9961
- const service = await serviceLoader2.loadAt(24);
9962
- return getMsgClient(service).settleAuditEscrow(input, options);
9963
- }, { path: [24, "settleAuditEscrow"], serviceLoader: serviceLoader2 }),
9964
- /**
9965
- * submitAttestation submits an attestation about a provider; the first
9966
- * valid submission against a matching open escrow consumes it.
9967
- */
9968
- submitAttestation: withMetadata(async function submitAttestation(input, options) {
9969
- const service = await serviceLoader2.loadAt(24);
9970
- return getMsgClient(service).submitAttestation(input, options);
9971
- }, { path: [24, "submitAttestation"], serviceLoader: serviceLoader2 }),
9972
- /**
9973
- * revokeAttestation revokes a previously submitted attestation with a
9974
- * typed reason and evidence reference.
9975
- */
9976
- revokeAttestation: withMetadata(async function revokeAttestation(input, options) {
9977
- const service = await serviceLoader2.loadAt(24);
9978
- return getMsgClient(service).revokeAttestation(input, options);
9979
- }, { path: [24, "revokeAttestation"], serviceLoader: serviceLoader2 }),
9980
- /**
9981
- * removeAttestation voluntarily removes an attestation associated with the
9982
- * signing provider.
9983
- */
9984
- removeAttestation: withMetadata(async function removeAttestation(input, options) {
9985
- const service = await serviceLoader2.loadAt(24);
9986
- return getMsgClient(service).removeAttestation(input, options);
9987
- }, { path: [24, "removeAttestation"], serviceLoader: serviceLoader2 }),
9988
- /**
9989
- * resignAuditor voluntarily exits the auditor role and begins unbonding
9990
- * of any posted auditor bond.
9991
- */
9992
- resignAuditor: withMetadata(async function resignAuditor(input, options) {
9993
- const service = await serviceLoader2.loadAt(24);
9994
- return getMsgClient(service).resignAuditor(input, options);
9995
- }, { path: [24, "resignAuditor"], serviceLoader: serviceLoader2 }),
9996
- /**
9997
- * postProviderBond posts (or tops up) a provider's resource-scaled
9998
- * verification bond.
9999
- */
10000
- postProviderBond: withMetadata(async function postProviderBond(input, options) {
10001
- const service = await serviceLoader2.loadAt(24);
10002
- return getMsgClient(service).postProviderBond(input, options);
10003
- }, { path: [24, "postProviderBond"], serviceLoader: serviceLoader2 }),
10004
- /**
10005
- * withdrawProviderBond initiates withdrawal of part or all of a provider's
10006
- * verification bond.
10007
- */
10008
- withdrawProviderBond: withMetadata(async function withdrawProviderBond(input, options) {
10009
- const service = await serviceLoader2.loadAt(24);
10010
- return getMsgClient(service).withdrawProviderBond(input, options);
10011
- }, { path: [24, "withdrawProviderBond"], serviceLoader: serviceLoader2 }),
10012
- /**
10013
- * postSnapshotHash posts the provider's most recent resource snapshot hash
10014
- * and inline resource summary.
10015
- */
10016
- postSnapshotHash: withMetadata(async function postSnapshotHash(input, options) {
10017
- const service = await serviceLoader2.loadAt(24);
10018
- return getMsgClient(service).postSnapshotHash(input, options);
10019
- }, { path: [24, "postSnapshotHash"], serviceLoader: serviceLoader2 }),
10020
- /**
10021
- * registerAuditor registers a new auditor with a maximum attestation tier;
10022
- * governance only.
10023
- */
10024
- registerAuditor: withMetadata(async function registerAuditor(input, options) {
10025
- const service = await serviceLoader2.loadAt(24);
10026
- return getMsgClient(service).registerAuditor(input, options);
10027
- }, { path: [24, "registerAuditor"], serviceLoader: serviceLoader2 }),
10028
- /**
10029
- * renewAuditor renews an auditor's registration and resets the renewal
10030
- * deadline; governance only.
10031
- */
10032
- renewAuditor: withMetadata(async function renewAuditor(input, options) {
10033
- const service = await serviceLoader2.loadAt(24);
10034
- return getMsgClient(service).renewAuditor(input, options);
10035
- }, { path: [24, "renewAuditor"], serviceLoader: serviceLoader2 }),
10036
- /**
10037
- * removeAuditor removes an auditor from the active set; governance only.
10038
- */
10039
- removeAuditor: withMetadata(async function removeAuditor(input, options) {
10040
- const service = await serviceLoader2.loadAt(24);
10041
- return getMsgClient(service).removeAuditor(input, options);
10042
- }, { path: [24, "removeAuditor"], serviceLoader: serviceLoader2 }),
10043
- /**
10044
- * revokeProviderAttestation revokes a single attestation for a specific
10045
- * provider/auditor pair; governance only.
10046
- */
10047
- revokeProviderAttestation: withMetadata(async function revokeProviderAttestation(input, options) {
10048
- const service = await serviceLoader2.loadAt(24);
10049
- return getMsgClient(service).revokeProviderAttestation(input, options);
10050
- }, { path: [24, "revokeProviderAttestation"], serviceLoader: serviceLoader2 }),
10051
- /**
10052
- * revokeAllProviderAttestations revokes every active attestation for a
10053
- * single provider; governance only.
10054
- */
10055
- revokeAllProviderAttestations: withMetadata(async function revokeAllProviderAttestations(input, options) {
10056
- const service = await serviceLoader2.loadAt(24);
10057
- return getMsgClient(service).revokeAllProviderAttestations(input, options);
10058
- }, { path: [24, "revokeAllProviderAttestations"], serviceLoader: serviceLoader2 }),
10059
- /**
10060
- * revokeAuditorAttestations revokes every active attestation issued by a
10061
- * single auditor; governance only.
10062
- */
10063
- revokeAuditorAttestations: withMetadata(async function revokeAuditorAttestations(input, options) {
10064
- const service = await serviceLoader2.loadAt(24);
10065
- return getMsgClient(service).revokeAuditorAttestations(input, options);
10066
- }, { path: [24, "revokeAuditorAttestations"], serviceLoader: serviceLoader2 }),
10067
- /**
10068
- * resolveDiscrepancy resolves a pending discrepancy between two auditors
10069
- * over the same provider; governance only.
10070
- */
10071
- resolveDiscrepancy: withMetadata(async function resolveDiscrepancy(input, options) {
10072
- const service = await serviceLoader2.loadAt(24);
10073
- return getMsgClient(service).resolveDiscrepancy(input, options);
10074
- }, { path: [24, "resolveDiscrepancy"], serviceLoader: serviceLoader2 }),
10075
- /**
10076
- * slashProviderBond slashes a fraction of a provider's verification bond;
10077
- * governance only.
10078
- */
10079
- slashProviderBond: withMetadata(async function slashProviderBond(input, options) {
10080
- const service = await serviceLoader2.loadAt(24);
10081
- return getMsgClient(service).slashProviderBond(input, options);
10082
- }, { path: [24, "slashProviderBond"], serviceLoader: serviceLoader2 }),
10083
- /**
10084
- * updateParams updates the x/verification module parameters; governance
10085
- * only.
10086
- */
10087
- updateParams: withMetadata(async function updateParams(input, options) {
10088
- const service = await serviceLoader2.loadAt(24);
10089
- return getMsgClient(service).updateParams(input, options);
10090
- }, { path: [24, "updateParams"], serviceLoader: serviceLoader2 })
10091
- }
10092
- },
10093
9731
  wasm: {
10094
9732
  v1: {
10095
9733
  /**
10096
9734
  * getParams returns the total set of wasm parameters.
10097
9735
  */
10098
9736
  getParams: withMetadata(async function getParams(input = {}, options) {
10099
- const service = await serviceLoader2.loadAt(25);
9737
+ const service = await serviceLoader2.loadAt(23);
10100
9738
  return getClient(service).params(input, options);
10101
- }, { path: [25, "params"], serviceLoader: serviceLoader2 }),
9739
+ }, { path: [23, "params"], serviceLoader: serviceLoader2 }),
10102
9740
  /**
10103
9741
  * updateParams defines a governance operation for updating the x/wasm module
10104
9742
  * parameters. The authority is hard-coded to the x/gov module account.
@@ -10106,9 +9744,9 @@ function createSDK2(queryTransport, txTransport) {
10106
9744
  * Since: akash v2.0.0
10107
9745
  */
10108
9746
  updateParams: withMetadata(async function updateParams(input, options) {
10109
- const service = await serviceLoader2.loadAt(26);
9747
+ const service = await serviceLoader2.loadAt(24);
10110
9748
  return getMsgClient(service).updateParams(input, options);
10111
- }, { path: [26, "updateParams"], serviceLoader: serviceLoader2 })
9749
+ }, { path: [24, "updateParams"], serviceLoader: serviceLoader2 })
10112
9750
  }
10113
9751
  }
10114
9752
  }
@@ -10372,4 +10010,4 @@ export {
10372
10010
  isRetryEnabled,
10373
10011
  createTxTransport
10374
10012
  };
10375
- //# sourceMappingURL=chunk-YFIDWQNM.js.map
10013
+ //# sourceMappingURL=chunk-6MIQPNOR.js.map