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

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 (293) hide show
  1. package/dist/cjs/generated/createNodeSDK.cjs +328 -5
  2. package/dist/cjs/generated/createNodeSDK.cjs.map +2 -2
  3. package/dist/cjs/generated/createProviderSDK.cjs +36 -19
  4. package/dist/cjs/generated/createProviderSDK.cjs.map +2 -2
  5. package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs +6 -0
  6. package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs.map +2 -2
  7. package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs +18 -2
  8. package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs.map +2 -2
  9. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs +943 -0
  10. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs.map +7 -0
  11. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs +50 -0
  12. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs.map +7 -0
  13. package/dist/cjs/generated/protos/akash/manifest/v2beta3/httpoptions.cjs +159 -2
  14. package/dist/cjs/generated/protos/akash/manifest/v2beta3/httpoptions.cjs.map +2 -2
  15. package/dist/cjs/generated/protos/akash/market/v1/stats.cjs +248 -0
  16. package/dist/cjs/generated/protos/akash/market/v1/stats.cjs.map +7 -0
  17. package/dist/cjs/generated/protos/akash/market/v1/types.cjs +6 -0
  18. package/dist/cjs/generated/protos/akash/market/v1/types.cjs.map +2 -2
  19. package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs +139 -1
  20. package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs.map +2 -2
  21. package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs +9 -0
  22. package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs.map +2 -2
  23. package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs +266 -0
  24. package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs.map +2 -2
  25. package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs +71 -2
  26. package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs.map +2 -2
  27. package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs +417 -0
  28. package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs.map +7 -0
  29. package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs +321 -0
  30. package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs.map +2 -2
  31. package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs +96 -0
  32. package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs.map +7 -0
  33. package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs +132 -0
  34. package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs.map +7 -0
  35. package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs +88 -1
  36. package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs.map +2 -2
  37. package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs +462 -1
  38. package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs.map +2 -2
  39. package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs +36 -0
  40. package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs.map +2 -2
  41. package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs +25 -0
  42. package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs.map +2 -2
  43. package/dist/cjs/generated/protos/akash/verification/v1/event.cjs +2525 -0
  44. package/dist/cjs/generated/protos/akash/verification/v1/event.cjs.map +7 -0
  45. package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs +253 -0
  46. package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs.map +7 -0
  47. package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs +2774 -0
  48. package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs.map +7 -0
  49. package/dist/cjs/generated/protos/akash/verification/v1/params.cjs +1044 -0
  50. package/dist/cjs/generated/protos/akash/verification/v1/params.cjs.map +7 -0
  51. package/dist/cjs/generated/protos/akash/verification/v1/query.cjs +1559 -0
  52. package/dist/cjs/generated/protos/akash/verification/v1/query.cjs.map +7 -0
  53. package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs +147 -0
  54. package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs.map +7 -0
  55. package/dist/cjs/{sdl/types.cjs → generated/protos/akash/verification/v1/service.cjs} +3 -3
  56. package/dist/cjs/generated/protos/akash/verification/v1/service.cjs.map +7 -0
  57. package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs +190 -0
  58. package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs.map +7 -0
  59. package/dist/cjs/generated/protos/akash/verification/v1/state.cjs +2018 -0
  60. package/dist/cjs/generated/protos/akash/verification/v1/state.cjs.map +7 -0
  61. package/dist/cjs/generated/protos/akash/verification/v1/types.cjs +1071 -0
  62. package/dist/cjs/generated/protos/akash/verification/v1/types.cjs.map +7 -0
  63. package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs +148 -0
  64. package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs.map +7 -0
  65. package/dist/cjs/generated/protos/index.akash.v1.cjs +166 -25
  66. package/dist/cjs/generated/protos/index.akash.v1.cjs.map +3 -3
  67. package/dist/cjs/generated/protos/index.akash.v1beta4.cjs +25 -0
  68. package/dist/cjs/generated/protos/index.akash.v1beta4.cjs.map +3 -3
  69. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs +2 -0
  70. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs.map +2 -2
  71. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs +9 -0
  72. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs.map +2 -2
  73. package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs +1 -0
  74. package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs.map +2 -2
  75. package/dist/cjs/sdl/duration.cjs +44 -0
  76. package/dist/cjs/sdl/duration.cjs.map +7 -0
  77. package/dist/cjs/sdl/httpTimeout.cjs +59 -0
  78. package/dist/cjs/sdl/httpTimeout.cjs.map +7 -0
  79. package/dist/cjs/sdl/index.cjs +0 -2
  80. package/dist/cjs/sdl/index.cjs.map +2 -2
  81. package/dist/cjs/sdl/manifest/generateManifestVersion.cjs +11 -0
  82. package/dist/cjs/sdl/manifest/generateManifestVersion.cjs.map +2 -2
  83. package/dist/cjs/sdl/manifest/manifestUtils.cjs +10 -2
  84. package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
  85. package/dist/cjs/sdl/manifest/reclamationDuration.cjs +4 -5
  86. package/dist/cjs/sdl/manifest/reclamationDuration.cjs.map +3 -3
  87. package/dist/cjs/sdl/validateSDL/validateSDL.cjs +28 -1
  88. package/dist/cjs/sdl/validateSDL/validateSDL.cjs.map +2 -2
  89. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +853 -454
  90. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
  91. package/dist/esm/chunk-2NPYA3YV.js +1563 -0
  92. package/dist/esm/chunk-2NPYA3YV.js.map +7 -0
  93. package/dist/esm/{chunk-4SZHF6SE.js → chunk-3U5XKNEU.js} +3 -3
  94. package/dist/esm/chunk-474YCD2T.js +356 -0
  95. package/dist/esm/chunk-474YCD2T.js.map +7 -0
  96. package/dist/esm/chunk-4CTTYO4O.js +890 -0
  97. package/dist/esm/chunk-4CTTYO4O.js.map +7 -0
  98. package/dist/esm/{chunk-IKTMMFJ5.js → chunk-54RECHZZ.js} +2 -2
  99. package/dist/esm/{chunk-WCUR732W.js → chunk-57534UAR.js} +2 -2
  100. package/dist/esm/{chunk-B4YVLEG7.js → chunk-7F3NJG67.js} +3 -3
  101. package/dist/esm/chunk-AIWCRXMP.js +672 -0
  102. package/dist/esm/chunk-AIWCRXMP.js.map +7 -0
  103. package/dist/esm/{chunk-XAOERZEY.js → chunk-AKNHD3CM.js} +2 -2
  104. package/dist/esm/chunk-BI4YL5KH.js +2742 -0
  105. package/dist/esm/chunk-BI4YL5KH.js.map +7 -0
  106. package/dist/esm/{chunk-ZGK4PJCD.js → chunk-BQNJHJXY.js} +3 -3
  107. package/dist/esm/{chunk-YBRE4XNB.js → chunk-CFEWW2ER.js} +2 -2
  108. package/dist/esm/{chunk-EJQUNX4L.js → chunk-DCLXPAMC.js} +3 -3
  109. package/dist/esm/{chunk-AR26HCRY.js → chunk-F4IQOYFH.js} +2 -2
  110. package/dist/esm/{chunk-ENZ3OBCL.js → chunk-F7KT5EX5.js} +2 -2
  111. package/dist/esm/{chunk-3QS3CMF4.js → chunk-GRGSTKN3.js} +2 -2
  112. package/dist/esm/{chunk-TTQ36NQ5.js → chunk-HRN6NSO2.js} +2 -2
  113. package/dist/esm/{chunk-E7KECYS7.js → chunk-IEWLP7PR.js} +7 -1
  114. package/dist/esm/chunk-IEWLP7PR.js.map +7 -0
  115. package/dist/esm/chunk-IFKY7FXY.js +484 -0
  116. package/dist/esm/chunk-IFKY7FXY.js.map +7 -0
  117. package/dist/esm/chunk-J4CJEGEM.js +3016 -0
  118. package/dist/esm/chunk-J4CJEGEM.js.map +7 -0
  119. package/dist/esm/{chunk-N42ATJOO.js → chunk-M5P5LAJJ.js} +2 -2
  120. package/dist/esm/{chunk-3K7Q5MUF.js → chunk-MIJCN6AD.js} +2 -2
  121. package/dist/esm/{chunk-OYI3IQIV.js → chunk-NNB5QBR2.js} +2 -2
  122. package/dist/esm/{chunk-WMSUADX2.js → chunk-OJ54L3XZ.js} +4 -4
  123. package/dist/esm/{chunk-5ODS4QTF.js → chunk-P64VHYRM.js} +2 -2
  124. package/dist/esm/{chunk-MFZVOFPX.js → chunk-PAOVIX5L.js} +3 -3
  125. package/dist/esm/chunk-PEHPXXTS.js +1053 -0
  126. package/dist/esm/chunk-PEHPXXTS.js.map +7 -0
  127. package/dist/esm/chunk-PTMMQODC.js +760 -0
  128. package/dist/esm/chunk-PTMMQODC.js.map +7 -0
  129. package/dist/esm/{chunk-ZXN75Q55.js → chunk-PWXFQ5FI.js} +3 -3
  130. package/dist/esm/{chunk-CZGHFBAO.js → chunk-PYD5MY63.js} +131 -9
  131. package/dist/esm/chunk-PYD5MY63.js.map +7 -0
  132. package/dist/esm/{chunk-NP4QQMME.js → chunk-RJZ46VHV.js} +2 -2
  133. package/dist/esm/chunk-SK7LOVVI.js +660 -0
  134. package/dist/esm/chunk-SK7LOVVI.js.map +7 -0
  135. package/dist/esm/{chunk-ZRZ6LUI2.js → chunk-TN4W5NLC.js} +7 -1
  136. package/dist/esm/chunk-TN4W5NLC.js.map +7 -0
  137. package/dist/esm/chunk-VYCICKFV.js +698 -0
  138. package/dist/esm/chunk-VYCICKFV.js.map +7 -0
  139. package/dist/esm/{chunk-4TSICBUM.js → chunk-W3TLZPTC.js} +3 -3
  140. package/dist/esm/{chunk-M2RS2IFR.js → chunk-WNFIFYG2.js} +2 -2
  141. package/dist/esm/{chunk-CVX7ZJQR.js → chunk-XP2XNYEA.js} +161 -4
  142. package/dist/esm/chunk-XP2XNYEA.js.map +7 -0
  143. package/dist/esm/{chunk-SGDEIQ7L.js → chunk-Y7BVCD32.js} +3 -3
  144. package/dist/esm/{chunk-UHI2V2WP.js → chunk-YFIDWQNM.js} +1308 -487
  145. package/dist/esm/chunk-YFIDWQNM.js.map +7 -0
  146. package/dist/esm/generated/protos/index.akash.v1.js +2988 -77
  147. package/dist/esm/generated/protos/index.akash.v1.js.map +4 -4
  148. package/dist/esm/generated/protos/index.akash.v1beta4.js +58 -13
  149. package/dist/esm/generated/protos/index.akash.v1beta5.js +17 -12
  150. package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
  151. package/dist/esm/generated/protos/index.akash.v2.js +4 -4
  152. package/dist/esm/generated/protos/index.provider.akash.v1.js +29 -10
  153. package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +7 -4
  154. package/dist/esm/index.js +54 -36
  155. package/dist/esm/index.js.map +2 -2
  156. package/dist/esm/index.web.js +14 -13
  157. package/dist/esm/index.web.js.map +1 -1
  158. package/dist/esm/{query_akash-I3RPHLVA.js → query_akash-BTYAA6UN.js} +5 -5
  159. package/dist/esm/{query_akash-QF2LHJQN.js → query_akash-EG43V2QH.js} +4 -4
  160. package/dist/esm/{query_akash-44SHG3FL.js → query_akash-HCIMNA7T.js} +4 -3
  161. package/dist/esm/{query_akash-44SHG3FL.js.map → query_akash-HCIMNA7T.js.map} +1 -1
  162. package/dist/esm/{query_akash-72TFPQBZ.js → query_akash-HN4NCENR.js} +4 -4
  163. package/dist/esm/query_akash-KU4YCMUU.js +85 -0
  164. package/dist/esm/query_akash-KU4YCMUU.js.map +7 -0
  165. package/dist/esm/{query_akash-TZ6F7OO4.js → query_akash-LSGWB5MI.js} +24 -12
  166. package/dist/esm/query_akash-LSGWB5MI.js.map +7 -0
  167. package/dist/esm/{query_akash-54EYS6GQ.js → query_akash-SOJJMCBH.js} +8 -7
  168. package/dist/esm/{query_akash-54EYS6GQ.js.map → query_akash-SOJJMCBH.js.map} +1 -1
  169. package/dist/esm/{query_akash-EGFDDA4L.js → query_akash-SVNQ4S67.js} +4 -4
  170. package/dist/esm/query_akash-XYSUQTZC.js +164 -0
  171. package/dist/esm/query_akash-XYSUQTZC.js.map +7 -0
  172. package/dist/esm/{service_akash-KRCYHNCN.js → service_akash-3R3TC3PH.js} +4 -3
  173. package/dist/esm/{service_akash-KRCYHNCN.js.map → service_akash-3R3TC3PH.js.map} +1 -1
  174. package/dist/esm/{service_akash-CEAZGGZS.js → service_akash-43EJ5RKY.js} +8 -7
  175. package/dist/esm/{service_akash-CEAZGGZS.js.map → service_akash-43EJ5RKY.js.map} +1 -1
  176. package/dist/esm/{service_akash-YXSRY4G3.js → service_akash-AXWB3IDG.js} +7 -6
  177. package/dist/esm/{service_akash-YXSRY4G3.js.map → service_akash-AXWB3IDG.js.map} +1 -1
  178. package/dist/esm/{service_akash-Z4CR3DWY.js → service_akash-BZTUHKJO.js} +8 -7
  179. package/dist/esm/{service_akash-Z4CR3DWY.js.map → service_akash-BZTUHKJO.js.map} +1 -1
  180. package/dist/esm/{service_akash-JQKI2SJP.js → service_akash-HFGWADC2.js} +4 -4
  181. package/dist/esm/{service_akash-SXXXZL6K.js → service_akash-KAJJV7LX.js} +4 -4
  182. package/dist/esm/service_akash-KYLB3OP3.js +78 -0
  183. package/dist/esm/service_akash-KYLB3OP3.js.map +7 -0
  184. package/dist/esm/service_akash-LJBOWZZG.js +221 -0
  185. package/dist/esm/service_akash-LJBOWZZG.js.map +7 -0
  186. package/dist/esm/{service_akash-PFTEVUGK.js → service_akash-QTGRTXLG.js} +4 -4
  187. package/dist/esm/{service_akash-44MLEMTW.js → service_akash-T36Y5DCD.js} +4 -3
  188. package/dist/esm/{service_akash-44MLEMTW.js.map → service_akash-T36Y5DCD.js.map} +1 -1
  189. package/dist/esm/{service_akash-ZITNWRBM.js → service_akash-X4HCN3EG.js} +9 -8
  190. package/dist/esm/{service_akash-ZITNWRBM.js.map → service_akash-X4HCN3EG.js.map} +1 -1
  191. package/dist/esm/snapshot_akash-KH5X5W3B.js +41 -0
  192. package/dist/esm/snapshot_akash-KH5X5W3B.js.map +7 -0
  193. package/dist/sdl-schema.yaml +84 -8
  194. package/dist/tsconfig.build.tsbuildinfo +1 -1
  195. package/dist/types/generated/createNodeSDK.d.ts +473 -0
  196. package/dist/types/generated/createProviderSDK.d.ts +31 -0
  197. package/dist/types/generated/patches/nodeCustomTypePatches.d.ts +8 -0
  198. package/dist/types/generated/protos/akash/base/attributes/v1/attribute.d.ts +3 -0
  199. package/dist/types/generated/protos/akash/inventory/v1/snapshot.d.ts +112 -0
  200. package/dist/types/generated/protos/akash/inventory/v1/snapshot_akash.d.ts +22 -0
  201. package/dist/types/generated/protos/akash/manifest/v2beta3/httpoptions.d.ts +35 -0
  202. package/dist/types/generated/protos/akash/market/v1/stats.d.ts +35 -0
  203. package/dist/types/generated/protos/akash/market/v1/types.d.ts +5 -3
  204. package/dist/types/generated/protos/akash/market/v1beta5/query.d.ts +29 -0
  205. package/dist/types/generated/protos/akash/market/v1beta5/query_akash.d.ts +8 -1
  206. package/dist/types/generated/protos/akash/provider/v1beta4/event.d.ts +40 -0
  207. package/dist/types/generated/protos/akash/provider/v1beta4/genesis.d.ts +11 -1
  208. package/dist/types/generated/protos/akash/provider/v1beta4/maintenance.d.ts +87 -0
  209. package/dist/types/generated/protos/akash/provider/v1beta4/msg.d.ts +57 -0
  210. package/dist/types/generated/protos/akash/provider/v1beta4/params.d.ts +17 -0
  211. package/dist/types/generated/protos/akash/provider/v1beta4/paramsmsg.d.ts +22 -0
  212. package/dist/types/generated/protos/akash/provider/v1beta4/provider.d.ts +13 -0
  213. package/dist/types/generated/protos/akash/provider/v1beta4/query.d.ts +93 -1
  214. package/dist/types/generated/protos/akash/provider/v1beta4/query_akash.d.ts +29 -1
  215. package/dist/types/generated/protos/akash/provider/v1beta4/service_akash.d.ts +20 -1
  216. package/dist/types/generated/protos/akash/verification/v1/event.d.ts +339 -0
  217. package/dist/types/generated/protos/akash/verification/v1/genesis.d.ts +45 -0
  218. package/dist/types/generated/protos/akash/verification/v1/msg.d.ts +614 -0
  219. package/dist/types/generated/protos/akash/verification/v1/params.d.ts +147 -0
  220. package/dist/types/generated/protos/akash/verification/v1/query.d.ts +290 -0
  221. package/dist/types/generated/protos/akash/verification/v1/query_akash.d.ts +97 -0
  222. package/dist/types/generated/protos/akash/verification/v1/service.d.ts +1 -0
  223. package/dist/types/generated/protos/akash/verification/v1/service_akash.d.ts +126 -0
  224. package/dist/types/generated/protos/akash/verification/v1/state.d.ts +320 -0
  225. package/dist/types/generated/protos/akash/verification/v1/types.d.ts +348 -0
  226. package/dist/types/generated/protos/akash/verification/v1/verificationrequirement.d.ts +36 -0
  227. package/dist/types/generated/protos/index.akash.v1.d.ts +9 -0
  228. package/dist/types/generated/protos/index.akash.v1beta4.d.ts +7 -4
  229. package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
  230. package/dist/types/generated/protos/index.provider.akash.v1.d.ts +1 -0
  231. package/dist/types/generated/protos/index.provider.akash.v2beta3.d.ts +1 -1
  232. package/dist/types/sdk/chain/createChainNodeSDK.d.ts +45 -0
  233. package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +45 -0
  234. package/dist/types/sdl/duration.d.ts +13 -0
  235. package/dist/types/sdl/httpTimeout.d.ts +10 -0
  236. package/dist/types/sdl/index.d.ts +0 -1
  237. package/dist/types/sdl/manifest/reclamationDuration.d.ts +3 -7
  238. package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +131 -16
  239. package/package.json +1 -1
  240. package/dist/cjs/sdl/types.cjs.map +0 -7
  241. package/dist/esm/chunk-C3WV6GJ6.js +0 -234
  242. package/dist/esm/chunk-C3WV6GJ6.js.map +0 -7
  243. package/dist/esm/chunk-CVX7ZJQR.js.map +0 -7
  244. package/dist/esm/chunk-CZGHFBAO.js.map +0 -7
  245. package/dist/esm/chunk-E7KECYS7.js.map +0 -7
  246. package/dist/esm/chunk-IVLF3VVZ.js +0 -364
  247. package/dist/esm/chunk-IVLF3VVZ.js.map +0 -7
  248. package/dist/esm/chunk-MV27RM25.js +0 -368
  249. package/dist/esm/chunk-MV27RM25.js.map +0 -7
  250. package/dist/esm/chunk-S2CZQ6AM.js +0 -211
  251. package/dist/esm/chunk-S2CZQ6AM.js.map +0 -7
  252. package/dist/esm/chunk-SXGU4O34.js +0 -258
  253. package/dist/esm/chunk-SXGU4O34.js.map +0 -7
  254. package/dist/esm/chunk-UHI2V2WP.js.map +0 -7
  255. package/dist/esm/chunk-V42TLXWK.js +0 -177
  256. package/dist/esm/chunk-V42TLXWK.js.map +0 -7
  257. package/dist/esm/chunk-ZRZ6LUI2.js.map +0 -7
  258. package/dist/esm/query_akash-N3FPIXVQ.js +0 -39
  259. package/dist/esm/query_akash-N3FPIXVQ.js.map +0 -7
  260. package/dist/esm/query_akash-TZ6F7OO4.js.map +0 -7
  261. package/dist/esm/service_akash-5AUMDLU5.js +0 -46
  262. package/dist/esm/service_akash-5AUMDLU5.js.map +0 -7
  263. package/dist/types/sdl/types.d.ts +0 -305
  264. /package/dist/esm/{chunk-4SZHF6SE.js.map → chunk-3U5XKNEU.js.map} +0 -0
  265. /package/dist/esm/{chunk-IKTMMFJ5.js.map → chunk-54RECHZZ.js.map} +0 -0
  266. /package/dist/esm/{chunk-WCUR732W.js.map → chunk-57534UAR.js.map} +0 -0
  267. /package/dist/esm/{chunk-B4YVLEG7.js.map → chunk-7F3NJG67.js.map} +0 -0
  268. /package/dist/esm/{chunk-XAOERZEY.js.map → chunk-AKNHD3CM.js.map} +0 -0
  269. /package/dist/esm/{chunk-ZGK4PJCD.js.map → chunk-BQNJHJXY.js.map} +0 -0
  270. /package/dist/esm/{chunk-YBRE4XNB.js.map → chunk-CFEWW2ER.js.map} +0 -0
  271. /package/dist/esm/{chunk-EJQUNX4L.js.map → chunk-DCLXPAMC.js.map} +0 -0
  272. /package/dist/esm/{chunk-AR26HCRY.js.map → chunk-F4IQOYFH.js.map} +0 -0
  273. /package/dist/esm/{chunk-ENZ3OBCL.js.map → chunk-F7KT5EX5.js.map} +0 -0
  274. /package/dist/esm/{chunk-3QS3CMF4.js.map → chunk-GRGSTKN3.js.map} +0 -0
  275. /package/dist/esm/{chunk-TTQ36NQ5.js.map → chunk-HRN6NSO2.js.map} +0 -0
  276. /package/dist/esm/{chunk-N42ATJOO.js.map → chunk-M5P5LAJJ.js.map} +0 -0
  277. /package/dist/esm/{chunk-3K7Q5MUF.js.map → chunk-MIJCN6AD.js.map} +0 -0
  278. /package/dist/esm/{chunk-OYI3IQIV.js.map → chunk-NNB5QBR2.js.map} +0 -0
  279. /package/dist/esm/{chunk-WMSUADX2.js.map → chunk-OJ54L3XZ.js.map} +0 -0
  280. /package/dist/esm/{chunk-5ODS4QTF.js.map → chunk-P64VHYRM.js.map} +0 -0
  281. /package/dist/esm/{chunk-MFZVOFPX.js.map → chunk-PAOVIX5L.js.map} +0 -0
  282. /package/dist/esm/{chunk-ZXN75Q55.js.map → chunk-PWXFQ5FI.js.map} +0 -0
  283. /package/dist/esm/{chunk-NP4QQMME.js.map → chunk-RJZ46VHV.js.map} +0 -0
  284. /package/dist/esm/{chunk-4TSICBUM.js.map → chunk-W3TLZPTC.js.map} +0 -0
  285. /package/dist/esm/{chunk-M2RS2IFR.js.map → chunk-WNFIFYG2.js.map} +0 -0
  286. /package/dist/esm/{chunk-SGDEIQ7L.js.map → chunk-Y7BVCD32.js.map} +0 -0
  287. /package/dist/esm/{query_akash-I3RPHLVA.js.map → query_akash-BTYAA6UN.js.map} +0 -0
  288. /package/dist/esm/{query_akash-QF2LHJQN.js.map → query_akash-EG43V2QH.js.map} +0 -0
  289. /package/dist/esm/{query_akash-72TFPQBZ.js.map → query_akash-HN4NCENR.js.map} +0 -0
  290. /package/dist/esm/{query_akash-EGFDDA4L.js.map → query_akash-SVNQ4S67.js.map} +0 -0
  291. /package/dist/esm/{service_akash-JQKI2SJP.js.map → service_akash-HFGWADC2.js.map} +0 -0
  292. /package/dist/esm/{service_akash-SXXXZL6K.js.map → service_akash-KAJJV7LX.js.map} +0 -0
  293. /package/dist/esm/{service_akash-PFTEVUGK.js.map → service_akash-QTGRTXLG.js.map} +0 -0
@@ -7,14 +7,14 @@ import {
7
7
  ServiceParams,
8
8
  StorageParams,
9
9
  TEEParams
10
- } from "./chunk-CVX7ZJQR.js";
10
+ } from "./chunk-XP2XNYEA.js";
11
11
  import {
12
12
  TxRaw
13
13
  } from "./chunk-3M6OSHK2.js";
14
14
  import {
15
15
  GroupSpec,
16
16
  ResourceUnit
17
- } from "./chunk-SGDEIQ7L.js";
17
+ } from "./chunk-Y7BVCD32.js";
18
18
  import {
19
19
  CPU,
20
20
  Endpoint,
@@ -22,14 +22,14 @@ import {
22
22
  Memory,
23
23
  Resources,
24
24
  Storage
25
- } from "./chunk-ZGK4PJCD.js";
25
+ } from "./chunk-BQNJHJXY.js";
26
26
  import {
27
27
  DeploymentReclamation
28
28
  } from "./chunk-W4ACGFCN.js";
29
29
  import {
30
30
  PlacementRequirements,
31
31
  SignedBy
32
- } from "./chunk-S2CZQ6AM.js";
32
+ } from "./chunk-474YCD2T.js";
33
33
  import {
34
34
  Duration
35
35
  } from "./chunk-RAWXZV6K.js";
@@ -71,16 +71,17 @@ var require_ucs2length = __commonJS({
71
71
  }
72
72
  });
73
73
  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" }, "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 }, "read_timeout": { "type": "integer", "minimum": 0, "maximum": 6e4, "description": "Read timeout in milliseconds (max 60 seconds)" }, "send_timeout": { "type": "integer", "minimum": 0, "maximum": 6e4, "description": "Send timeout in milliseconds (max 60 seconds)" } }, "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" };
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
75
  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 schema40 = { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" };
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
77
  var pattern4 = new RegExp("^[a-z]+[-_0-9a-z]+$", "u");
78
78
  var pattern6 = new RegExp("^0+(\\.0+)?m?$", "u");
79
79
  var pattern7 = new RegExp("^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$", "u");
80
80
  var pattern8 = new RegExp("^0+(\\.0+)?$", "u");
81
81
  var pattern10 = new RegExp("^[0-9]+(\\.[0-9]+)?$", "u");
82
- var pattern11 = new RegExp("^/", "u");
83
- var pattern12 = new RegExp("^[1-9][0-9]*(s|m|h)$", "u");
82
+ var pattern11 = new RegExp("^[0-9]+(ms|s|m|h)?$", "u");
83
+ var pattern13 = new RegExp("^/", "u");
84
+ var pattern14 = new RegExp("^[1-9][0-9]*(s|m|h)$", "u");
84
85
  var func2 = require_ucs2length().default;
85
86
  function validate29(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
86
87
  let vErrors = null;
@@ -496,6 +497,284 @@ function validate28(data, { instancePath = "", parentData, parentDataProperty, r
496
497
  validate28.errors = vErrors;
497
498
  return errors === 0;
498
499
  }
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
+ }
499
778
  function validate27(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
500
779
  let vErrors = null;
501
780
  let errors = 0;
@@ -1844,7 +2123,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
1844
2123
  errors++;
1845
2124
  }
1846
2125
  for (const key19 in data35) {
1847
- if (!(key19 === "attributes" || key19 === "pricing" || key19 === "signedBy")) {
2126
+ if (!(key19 === "attributes" || key19 === "pricing" || key19 === "signedBy" || key19 === "verification")) {
1848
2127
  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" };
1849
2128
  if (vErrors === null) {
1850
2129
  vErrors = [err98];
@@ -2095,6 +2374,12 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2095
2374
  errors++;
2096
2375
  }
2097
2376
  }
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
+ }
2098
2383
  } else {
2099
2384
  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" };
2100
2385
  if (vErrors === null) {
@@ -2126,12 +2411,12 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2126
2411
  }
2127
2412
  }
2128
2413
  if (data.services !== void 0) {
2129
- let data46 = data.services;
2130
- if (data46 && typeof data46 == "object" && !Array.isArray(data46)) {
2131
- for (const key23 in data46) {
2132
- let data47 = data46[key23];
2133
- if (data47 && typeof data47 == "object" && !Array.isArray(data47)) {
2134
- if (data47.image === 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) {
2135
2420
  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'" };
2136
2421
  if (vErrors === null) {
2137
2422
  vErrors = [err121];
@@ -2140,7 +2425,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2140
2425
  }
2141
2426
  errors++;
2142
2427
  }
2143
- for (const key24 in data47) {
2428
+ for (const key24 in data48) {
2144
2429
  if (!(key24 === "args" || key24 === "command" || key24 === "credentials" || key24 === "dependencies" || key24 === "env" || key24 === "expose" || key24 === "image" || key24 === "params")) {
2145
2430
  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" };
2146
2431
  if (vErrors === null) {
@@ -2151,16 +2436,16 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2151
2436
  errors++;
2152
2437
  }
2153
2438
  }
2154
- if (data47.args !== void 0) {
2155
- let data48 = data47.args;
2156
- const _errs170 = errors;
2439
+ if (data48.args !== void 0) {
2440
+ let data49 = data48.args;
2441
+ const _errs171 = errors;
2157
2442
  let valid54 = false;
2158
2443
  let passing8 = null;
2159
- const _errs171 = errors;
2160
- if (Array.isArray(data48)) {
2161
- const len5 = data48.length;
2444
+ const _errs172 = errors;
2445
+ if (Array.isArray(data49)) {
2446
+ const len5 = data49.length;
2162
2447
  for (let i5 = 0; i5 < len5; i5++) {
2163
- if (typeof data48[i5] !== "string") {
2448
+ if (typeof data49[i5] !== "string") {
2164
2449
  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" };
2165
2450
  if (vErrors === null) {
2166
2451
  vErrors = [err123];
@@ -2179,13 +2464,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2179
2464
  }
2180
2465
  errors++;
2181
2466
  }
2182
- var _valid10 = _errs171 === errors;
2467
+ var _valid10 = _errs172 === errors;
2183
2468
  if (_valid10) {
2184
2469
  valid54 = true;
2185
2470
  passing8 = 0;
2186
2471
  }
2187
- const _errs175 = errors;
2188
- if (data48 !== null) {
2472
+ const _errs176 = errors;
2473
+ if (data49 !== null) {
2189
2474
  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" };
2190
2475
  if (vErrors === null) {
2191
2476
  vErrors = [err125];
@@ -2194,7 +2479,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2194
2479
  }
2195
2480
  errors++;
2196
2481
  }
2197
- var _valid10 = _errs175 === errors;
2482
+ var _valid10 = _errs176 === errors;
2198
2483
  if (_valid10 && valid54) {
2199
2484
  valid54 = false;
2200
2485
  passing8 = [passing8, 1];
@@ -2213,26 +2498,26 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2213
2498
  }
2214
2499
  errors++;
2215
2500
  } else {
2216
- errors = _errs170;
2501
+ errors = _errs171;
2217
2502
  if (vErrors !== null) {
2218
- if (_errs170) {
2219
- vErrors.length = _errs170;
2503
+ if (_errs171) {
2504
+ vErrors.length = _errs171;
2220
2505
  } else {
2221
2506
  vErrors = null;
2222
2507
  }
2223
2508
  }
2224
2509
  }
2225
2510
  }
2226
- if (data47.command !== void 0) {
2227
- let data50 = data47.command;
2228
- const _errs179 = errors;
2511
+ if (data48.command !== void 0) {
2512
+ let data51 = data48.command;
2513
+ const _errs180 = errors;
2229
2514
  let valid58 = false;
2230
2515
  let passing9 = null;
2231
- const _errs180 = errors;
2232
- if (Array.isArray(data50)) {
2233
- const len6 = data50.length;
2516
+ const _errs181 = errors;
2517
+ if (Array.isArray(data51)) {
2518
+ const len6 = data51.length;
2234
2519
  for (let i6 = 0; i6 < len6; i6++) {
2235
- if (typeof data50[i6] !== "string") {
2520
+ if (typeof data51[i6] !== "string") {
2236
2521
  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" };
2237
2522
  if (vErrors === null) {
2238
2523
  vErrors = [err127];
@@ -2251,13 +2536,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2251
2536
  }
2252
2537
  errors++;
2253
2538
  }
2254
- var _valid11 = _errs180 === errors;
2539
+ var _valid11 = _errs181 === errors;
2255
2540
  if (_valid11) {
2256
2541
  valid58 = true;
2257
2542
  passing9 = 0;
2258
2543
  }
2259
- const _errs184 = errors;
2260
- if (data50 !== null) {
2544
+ const _errs185 = errors;
2545
+ if (data51 !== null) {
2261
2546
  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" };
2262
2547
  if (vErrors === null) {
2263
2548
  vErrors = [err129];
@@ -2266,7 +2551,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2266
2551
  }
2267
2552
  errors++;
2268
2553
  }
2269
- var _valid11 = _errs184 === errors;
2554
+ var _valid11 = _errs185 === errors;
2270
2555
  if (_valid11 && valid58) {
2271
2556
  valid58 = false;
2272
2557
  passing9 = [passing9, 1];
@@ -2285,20 +2570,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2285
2570
  }
2286
2571
  errors++;
2287
2572
  } else {
2288
- errors = _errs179;
2573
+ errors = _errs180;
2289
2574
  if (vErrors !== null) {
2290
- if (_errs179) {
2291
- vErrors.length = _errs179;
2575
+ if (_errs180) {
2576
+ vErrors.length = _errs180;
2292
2577
  } else {
2293
2578
  vErrors = null;
2294
2579
  }
2295
2580
  }
2296
2581
  }
2297
2582
  }
2298
- if (data47.credentials !== void 0) {
2299
- let data52 = data47.credentials;
2300
- if (data52 && typeof data52 == "object" && !Array.isArray(data52)) {
2301
- if (data52.host === void 0) {
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) {
2302
2587
  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'" };
2303
2588
  if (vErrors === null) {
2304
2589
  vErrors = [err131];
@@ -2307,7 +2592,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2307
2592
  }
2308
2593
  errors++;
2309
2594
  }
2310
- if (data52.username === void 0) {
2595
+ if (data53.username === void 0) {
2311
2596
  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'" };
2312
2597
  if (vErrors === null) {
2313
2598
  vErrors = [err132];
@@ -2316,7 +2601,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2316
2601
  }
2317
2602
  errors++;
2318
2603
  }
2319
- if (data52.password === void 0) {
2604
+ if (data53.password === void 0) {
2320
2605
  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'" };
2321
2606
  if (vErrors === null) {
2322
2607
  vErrors = [err133];
@@ -2325,7 +2610,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2325
2610
  }
2326
2611
  errors++;
2327
2612
  }
2328
- for (const key25 in data52) {
2613
+ for (const key25 in data53) {
2329
2614
  if (!(key25 === "email" || key25 === "host" || key25 === "password" || key25 === "username")) {
2330
2615
  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" };
2331
2616
  if (vErrors === null) {
@@ -2336,10 +2621,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2336
2621
  errors++;
2337
2622
  }
2338
2623
  }
2339
- if (data52.email !== void 0) {
2340
- let data53 = data52.email;
2341
- if (typeof data53 === "string") {
2342
- if (func2(data53) < 5) {
2624
+ if (data53.email !== void 0) {
2625
+ let data54 = data53.email;
2626
+ if (typeof data54 === "string") {
2627
+ if (func2(data54) < 5) {
2343
2628
  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" };
2344
2629
  if (vErrors === null) {
2345
2630
  vErrors = [err135];
@@ -2358,10 +2643,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2358
2643
  errors++;
2359
2644
  }
2360
2645
  }
2361
- if (data52.host !== void 0) {
2362
- let data54 = data52.host;
2363
- if (typeof data54 === "string") {
2364
- if (func2(data54) < 1) {
2646
+ if (data53.host !== void 0) {
2647
+ let data55 = data53.host;
2648
+ if (typeof data55 === "string") {
2649
+ if (func2(data55) < 1) {
2365
2650
  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" };
2366
2651
  if (vErrors === null) {
2367
2652
  vErrors = [err137];
@@ -2380,10 +2665,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2380
2665
  errors++;
2381
2666
  }
2382
2667
  }
2383
- if (data52.password !== void 0) {
2384
- let data55 = data52.password;
2385
- if (typeof data55 === "string") {
2386
- if (func2(data55) < 6) {
2668
+ if (data53.password !== void 0) {
2669
+ let data56 = data53.password;
2670
+ if (typeof data56 === "string") {
2671
+ if (func2(data56) < 6) {
2387
2672
  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" };
2388
2673
  if (vErrors === null) {
2389
2674
  vErrors = [err139];
@@ -2402,10 +2687,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2402
2687
  errors++;
2403
2688
  }
2404
2689
  }
2405
- if (data52.username !== void 0) {
2406
- let data56 = data52.username;
2407
- if (typeof data56 === "string") {
2408
- if (func2(data56) < 1) {
2690
+ if (data53.username !== void 0) {
2691
+ let data57 = data53.username;
2692
+ if (typeof data57 === "string") {
2693
+ if (func2(data57) < 1) {
2409
2694
  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" };
2410
2695
  if (vErrors === null) {
2411
2696
  vErrors = [err141];
@@ -2434,14 +2719,14 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2434
2719
  errors++;
2435
2720
  }
2436
2721
  }
2437
- if (data47.dependencies !== void 0) {
2438
- let data57 = data47.dependencies;
2439
- if (Array.isArray(data57)) {
2440
- const len7 = data57.length;
2722
+ if (data48.dependencies !== void 0) {
2723
+ let data58 = data48.dependencies;
2724
+ if (Array.isArray(data58)) {
2725
+ const len7 = data58.length;
2441
2726
  for (let i7 = 0; i7 < len7; i7++) {
2442
- let data58 = data57[i7];
2443
- if (data58 && typeof data58 == "object" && !Array.isArray(data58)) {
2444
- for (const key26 in data58) {
2727
+ let data59 = data58[i7];
2728
+ if (data59 && typeof data59 == "object" && !Array.isArray(data59)) {
2729
+ for (const key26 in data59) {
2445
2730
  if (!(key26 === "service")) {
2446
2731
  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" };
2447
2732
  if (vErrors === null) {
@@ -2452,8 +2737,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2452
2737
  errors++;
2453
2738
  }
2454
2739
  }
2455
- if (data58.service !== void 0) {
2456
- if (typeof data58.service !== "string") {
2740
+ if (data59.service !== void 0) {
2741
+ if (typeof data59.service !== "string") {
2457
2742
  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" };
2458
2743
  if (vErrors === null) {
2459
2744
  vErrors = [err145];
@@ -2483,16 +2768,16 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2483
2768
  errors++;
2484
2769
  }
2485
2770
  }
2486
- if (data47.env !== void 0) {
2487
- let data60 = data47.env;
2488
- const _errs206 = errors;
2771
+ if (data48.env !== void 0) {
2772
+ let data61 = data48.env;
2773
+ const _errs207 = errors;
2489
2774
  let valid66 = false;
2490
2775
  let passing10 = null;
2491
- const _errs207 = errors;
2492
- if (Array.isArray(data60)) {
2493
- const len8 = data60.length;
2776
+ const _errs208 = errors;
2777
+ if (Array.isArray(data61)) {
2778
+ const len8 = data61.length;
2494
2779
  for (let i8 = 0; i8 < len8; i8++) {
2495
- if (typeof data60[i8] !== "string") {
2780
+ if (typeof data61[i8] !== "string") {
2496
2781
  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" };
2497
2782
  if (vErrors === null) {
2498
2783
  vErrors = [err148];
@@ -2511,13 +2796,13 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2511
2796
  }
2512
2797
  errors++;
2513
2798
  }
2514
- var _valid12 = _errs207 === errors;
2799
+ var _valid12 = _errs208 === errors;
2515
2800
  if (_valid12) {
2516
2801
  valid66 = true;
2517
2802
  passing10 = 0;
2518
2803
  }
2519
- const _errs211 = errors;
2520
- if (data60 !== null) {
2804
+ const _errs212 = errors;
2805
+ if (data61 !== null) {
2521
2806
  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" };
2522
2807
  if (vErrors === null) {
2523
2808
  vErrors = [err150];
@@ -2526,7 +2811,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2526
2811
  }
2527
2812
  errors++;
2528
2813
  }
2529
- var _valid12 = _errs211 === errors;
2814
+ var _valid12 = _errs212 === errors;
2530
2815
  if (_valid12 && valid66) {
2531
2816
  valid66 = false;
2532
2817
  passing10 = [passing10, 1];
@@ -2545,28 +2830,28 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2545
2830
  }
2546
2831
  errors++;
2547
2832
  } else {
2548
- errors = _errs206;
2833
+ errors = _errs207;
2549
2834
  if (vErrors !== null) {
2550
- if (_errs206) {
2551
- vErrors.length = _errs206;
2835
+ if (_errs207) {
2836
+ vErrors.length = _errs207;
2552
2837
  } else {
2553
2838
  vErrors = null;
2554
2839
  }
2555
2840
  }
2556
2841
  }
2557
2842
  }
2558
- if (data47.expose !== void 0) {
2559
- let data62 = data47.expose;
2560
- const _errs214 = errors;
2843
+ if (data48.expose !== void 0) {
2844
+ let data63 = data48.expose;
2845
+ const _errs215 = errors;
2561
2846
  let valid69 = false;
2562
2847
  let passing11 = null;
2563
- const _errs215 = errors;
2564
- if (Array.isArray(data62)) {
2565
- const len9 = data62.length;
2848
+ const _errs216 = errors;
2849
+ if (Array.isArray(data63)) {
2850
+ const len9 = data63.length;
2566
2851
  for (let i9 = 0; i9 < len9; i9++) {
2567
- let data63 = data62[i9];
2568
- if (data63 && typeof data63 == "object" && !Array.isArray(data63)) {
2569
- if (data63.port === void 0) {
2852
+ let data64 = data63[i9];
2853
+ if (data64 && typeof data64 == "object" && !Array.isArray(data64)) {
2854
+ if (data64.port === void 0) {
2570
2855
  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'" };
2571
2856
  if (vErrors === null) {
2572
2857
  vErrors = [err152];
@@ -2575,7 +2860,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2575
2860
  }
2576
2861
  errors++;
2577
2862
  }
2578
- for (const key27 in data63) {
2863
+ for (const key27 in data64) {
2579
2864
  if (!(key27 === "accept" || key27 === "as" || key27 === "http_options" || key27 === "port" || key27 === "proto" || key27 === "to")) {
2580
2865
  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" };
2581
2866
  if (vErrors === null) {
@@ -2586,12 +2871,12 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2586
2871
  errors++;
2587
2872
  }
2588
2873
  }
2589
- if (data63.accept !== void 0) {
2590
- let data64 = data63.accept;
2591
- if (Array.isArray(data64)) {
2592
- const len10 = data64.length;
2874
+ if (data64.accept !== void 0) {
2875
+ let data65 = data64.accept;
2876
+ if (Array.isArray(data65)) {
2877
+ const len10 = data65.length;
2593
2878
  for (let i10 = 0; i10 < len10; i10++) {
2594
- if (typeof data64[i10] !== "string") {
2879
+ if (typeof data65[i10] !== "string") {
2595
2880
  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" };
2596
2881
  if (vErrors === null) {
2597
2882
  vErrors = [err154];
@@ -2611,9 +2896,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2611
2896
  errors++;
2612
2897
  }
2613
2898
  }
2614
- if (data63.as !== void 0) {
2615
- let data66 = data63.as;
2616
- if (!(typeof data66 == "number" && (!(data66 % 1) && !isNaN(data66)))) {
2899
+ if (data64.as !== void 0) {
2900
+ let data67 = data64.as;
2901
+ if (!(typeof data67 == "number" && (!(data67 % 1) && !isNaN(data67)))) {
2617
2902
  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" };
2618
2903
  if (vErrors === null) {
2619
2904
  vErrors = [err156];
@@ -2622,8 +2907,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2622
2907
  }
2623
2908
  errors++;
2624
2909
  }
2625
- if (typeof data66 == "number") {
2626
- if (data66 > 65535 || isNaN(data66)) {
2910
+ if (typeof data67 == "number") {
2911
+ if (data67 > 65535 || isNaN(data67)) {
2627
2912
  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" };
2628
2913
  if (vErrors === null) {
2629
2914
  vErrors = [err157];
@@ -2632,7 +2917,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2632
2917
  }
2633
2918
  errors++;
2634
2919
  }
2635
- if (data66 < 1 || isNaN(data66)) {
2920
+ if (data67 < 1 || isNaN(data67)) {
2636
2921
  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" };
2637
2922
  if (vErrors === null) {
2638
2923
  vErrors = [err158];
@@ -2643,10 +2928,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2643
2928
  }
2644
2929
  }
2645
2930
  }
2646
- if (data63.http_options !== void 0) {
2647
- let data67 = data63.http_options;
2648
- if (data67 && typeof data67 == "object" && !Array.isArray(data67)) {
2649
- for (const key28 in data67) {
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) {
2650
2935
  if (!(key28 === "max_body_size" || key28 === "next_cases" || key28 === "next_timeout" || key28 === "next_tries" || key28 === "read_timeout" || key28 === "send_timeout")) {
2651
2936
  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" };
2652
2937
  if (vErrors === null) {
@@ -2657,9 +2942,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2657
2942
  errors++;
2658
2943
  }
2659
2944
  }
2660
- if (data67.max_body_size !== void 0) {
2661
- let data68 = data67.max_body_size;
2662
- if (!(typeof data68 == "number" && (!(data68 % 1) && !isNaN(data68)))) {
2945
+ if (data68.max_body_size !== void 0) {
2946
+ let data69 = data68.max_body_size;
2947
+ if (!(typeof data69 == "number" && (!(data69 % 1) && !isNaN(data69)))) {
2663
2948
  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" };
2664
2949
  if (vErrors === null) {
2665
2950
  vErrors = [err160];
@@ -2668,8 +2953,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2668
2953
  }
2669
2954
  errors++;
2670
2955
  }
2671
- if (typeof data68 == "number") {
2672
- if (data68 > 104857600 || isNaN(data68)) {
2956
+ if (typeof data69 == "number") {
2957
+ if (data69 > 104857600 || isNaN(data69)) {
2673
2958
  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" };
2674
2959
  if (vErrors === null) {
2675
2960
  vErrors = [err161];
@@ -2678,7 +2963,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2678
2963
  }
2679
2964
  errors++;
2680
2965
  }
2681
- if (data68 < 0 || isNaN(data68)) {
2966
+ if (data69 < 0 || isNaN(data69)) {
2682
2967
  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" };
2683
2968
  if (vErrors === null) {
2684
2969
  vErrors = [err162];
@@ -2689,14 +2974,14 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2689
2974
  }
2690
2975
  }
2691
2976
  }
2692
- if (data67.next_cases !== void 0) {
2693
- let data69 = data67.next_cases;
2694
- const _errs233 = errors;
2977
+ if (data68.next_cases !== void 0) {
2978
+ let data70 = data68.next_cases;
2979
+ const _errs234 = errors;
2695
2980
  let valid77 = false;
2696
2981
  let passing12 = null;
2697
- const _errs234 = errors;
2698
- if (Array.isArray(data69)) {
2699
- if (data69.length > 1) {
2982
+ const _errs235 = errors;
2983
+ if (Array.isArray(data70)) {
2984
+ if (data70.length > 1) {
2700
2985
  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" };
2701
2986
  if (vErrors === null) {
2702
2987
  vErrors = [err163];
@@ -2705,7 +2990,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2705
2990
  }
2706
2991
  errors++;
2707
2992
  }
2708
- if (data69.length < 1) {
2993
+ if (data70.length < 1) {
2709
2994
  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" };
2710
2995
  if (vErrors === null) {
2711
2996
  vErrors = [err164];
@@ -2714,10 +2999,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2714
2999
  }
2715
3000
  errors++;
2716
3001
  }
2717
- const len11 = data69.length;
3002
+ const len11 = data70.length;
2718
3003
  for (let i11 = 0; i11 < len11; i11++) {
2719
- let data70 = data69[i11];
2720
- if (typeof data70 !== "string") {
3004
+ let data71 = data70[i11];
3005
+ if (typeof data71 !== "string") {
2721
3006
  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" };
2722
3007
  if (vErrors === null) {
2723
3008
  vErrors = [err165];
@@ -2726,8 +3011,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2726
3011
  }
2727
3012
  errors++;
2728
3013
  }
2729
- if (!(data70 === "error" || data70 === "timeout" || data70 === "500" || data70 === "502" || data70 === "503" || data70 === "504" || data70 === "403" || data70 === "404" || data70 === "429" || data70 === "off")) {
2730
- 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" };
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
3016
  if (vErrors === null) {
2732
3017
  vErrors = [err166];
2733
3018
  } else {
@@ -2736,11 +3021,11 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2736
3021
  errors++;
2737
3022
  }
2738
3023
  }
2739
- const _errs239 = errors;
2740
- const len12 = data69.length;
3024
+ const _errs240 = errors;
3025
+ const len12 = data70.length;
2741
3026
  for (let i12 = 0; i12 < len12; i12++) {
2742
- const _errs240 = errors;
2743
- if ("off" !== data69[i12]) {
3027
+ const _errs241 = errors;
3028
+ if ("off" !== data70[i12]) {
2744
3029
  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" };
2745
3030
  if (vErrors === null) {
2746
3031
  vErrors = [err167];
@@ -2749,7 +3034,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2749
3034
  }
2750
3035
  errors++;
2751
3036
  }
2752
- var valid81 = _errs240 === errors;
3037
+ var valid81 = _errs241 === errors;
2753
3038
  if (valid81) {
2754
3039
  break;
2755
3040
  }
@@ -2763,10 +3048,10 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2763
3048
  }
2764
3049
  errors++;
2765
3050
  } else {
2766
- errors = _errs239;
3051
+ errors = _errs240;
2767
3052
  if (vErrors !== null) {
2768
- if (_errs239) {
2769
- vErrors.length = _errs239;
3053
+ if (_errs240) {
3054
+ vErrors.length = _errs240;
2770
3055
  } else {
2771
3056
  vErrors = null;
2772
3057
  }
@@ -2781,20 +3066,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2781
3066
  }
2782
3067
  errors++;
2783
3068
  }
2784
- var _valid14 = _errs234 === errors;
3069
+ var _valid14 = _errs235 === errors;
2785
3070
  if (_valid14) {
2786
3071
  valid77 = true;
2787
3072
  passing12 = 0;
2788
3073
  }
2789
- const _errs241 = errors;
2790
- const _errs243 = errors;
3074
+ const _errs242 = errors;
2791
3075
  const _errs244 = errors;
2792
- if (Array.isArray(data69)) {
2793
- const _errs245 = errors;
2794
- const len13 = data69.length;
3076
+ const _errs245 = errors;
3077
+ if (Array.isArray(data70)) {
3078
+ const _errs246 = errors;
3079
+ const len13 = data70.length;
2795
3080
  for (let i13 = 0; i13 < len13; i13++) {
2796
- const _errs246 = errors;
2797
- if ("off" !== data69[i13]) {
3081
+ const _errs247 = errors;
3082
+ if ("off" !== data70[i13]) {
2798
3083
  const err170 = {};
2799
3084
  if (vErrors === null) {
2800
3085
  vErrors = [err170];
@@ -2803,7 +3088,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2803
3088
  }
2804
3089
  errors++;
2805
3090
  }
2806
- var valid83 = _errs246 === errors;
3091
+ var valid83 = _errs247 === errors;
2807
3092
  if (valid83) {
2808
3093
  break;
2809
3094
  }
@@ -2817,17 +3102,17 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2817
3102
  }
2818
3103
  errors++;
2819
3104
  } else {
2820
- errors = _errs245;
3105
+ errors = _errs246;
2821
3106
  if (vErrors !== null) {
2822
- if (_errs245) {
2823
- vErrors.length = _errs245;
3107
+ if (_errs246) {
3108
+ vErrors.length = _errs246;
2824
3109
  } else {
2825
3110
  vErrors = null;
2826
3111
  }
2827
3112
  }
2828
3113
  }
2829
3114
  }
2830
- var valid82 = _errs244 === errors;
3115
+ var valid82 = _errs245 === errors;
2831
3116
  if (valid82) {
2832
3117
  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" };
2833
3118
  if (vErrors === null) {
@@ -2837,20 +3122,20 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2837
3122
  }
2838
3123
  errors++;
2839
3124
  } else {
2840
- errors = _errs243;
3125
+ errors = _errs244;
2841
3126
  if (vErrors !== null) {
2842
- if (_errs243) {
2843
- vErrors.length = _errs243;
3127
+ if (_errs244) {
3128
+ vErrors.length = _errs244;
2844
3129
  } else {
2845
3130
  vErrors = null;
2846
3131
  }
2847
3132
  }
2848
3133
  }
2849
- if (Array.isArray(data69)) {
2850
- const len14 = data69.length;
3134
+ if (Array.isArray(data70)) {
3135
+ const len14 = data70.length;
2851
3136
  for (let i14 = 0; i14 < len14; i14++) {
2852
- let data73 = data69[i14];
2853
- if (typeof data73 !== "string") {
3137
+ let data74 = data70[i14];
3138
+ if (typeof data74 !== "string") {
2854
3139
  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" };
2855
3140
  if (vErrors === null) {
2856
3141
  vErrors = [err173];
@@ -2859,8 +3144,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2859
3144
  }
2860
3145
  errors++;
2861
3146
  }
2862
- if (!(data73 === "error" || data73 === "timeout" || data73 === "500" || data73 === "502" || data73 === "503" || data73 === "504" || data73 === "403" || data73 === "404" || data73 === "429" || data73 === "off")) {
2863
- 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" };
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
3149
  if (vErrors === null) {
2865
3150
  vErrors = [err174];
2866
3151
  } else {
@@ -2878,7 +3163,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2878
3163
  }
2879
3164
  errors++;
2880
3165
  }
2881
- var _valid14 = _errs241 === errors;
3166
+ var _valid14 = _errs242 === errors;
2882
3167
  if (_valid14 && valid77) {
2883
3168
  valid77 = false;
2884
3169
  passing12 = [passing12, 1];
@@ -2897,19 +3182,19 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2897
3182
  }
2898
3183
  errors++;
2899
3184
  } else {
2900
- errors = _errs233;
3185
+ errors = _errs234;
2901
3186
  if (vErrors !== null) {
2902
- if (_errs233) {
2903
- vErrors.length = _errs233;
3187
+ if (_errs234) {
3188
+ vErrors.length = _errs234;
2904
3189
  } else {
2905
3190
  vErrors = null;
2906
3191
  }
2907
3192
  }
2908
3193
  }
2909
3194
  }
2910
- if (data67.next_timeout !== void 0) {
2911
- let data74 = data67.next_timeout;
2912
- if (!(typeof data74 == "number" && (!(data74 % 1) && !isNaN(data74)))) {
3195
+ if (data68.next_timeout !== void 0) {
3196
+ let data75 = data68.next_timeout;
3197
+ if (!(typeof data75 == "number" && (!(data75 % 1) && !isNaN(data75)))) {
2913
3198
  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" };
2914
3199
  if (vErrors === null) {
2915
3200
  vErrors = [err177];
@@ -2918,8 +3203,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2918
3203
  }
2919
3204
  errors++;
2920
3205
  }
2921
- if (typeof data74 == "number") {
2922
- if (data74 < 0 || isNaN(data74)) {
3206
+ if (typeof data75 == "number") {
3207
+ if (data75 < 0 || isNaN(data75)) {
2923
3208
  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" };
2924
3209
  if (vErrors === null) {
2925
3210
  vErrors = [err178];
@@ -2930,9 +3215,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2930
3215
  }
2931
3216
  }
2932
3217
  }
2933
- if (data67.next_tries !== void 0) {
2934
- let data75 = data67.next_tries;
2935
- if (!(typeof data75 == "number" && (!(data75 % 1) && !isNaN(data75)))) {
3218
+ if (data68.next_tries !== void 0) {
3219
+ let data76 = data68.next_tries;
3220
+ if (!(typeof data76 == "number" && (!(data76 % 1) && !isNaN(data76)))) {
2936
3221
  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" };
2937
3222
  if (vErrors === null) {
2938
3223
  vErrors = [err179];
@@ -2941,8 +3226,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2941
3226
  }
2942
3227
  errors++;
2943
3228
  }
2944
- if (typeof data75 == "number") {
2945
- if (data75 < 0 || isNaN(data75)) {
3229
+ if (typeof data76 == "number") {
3230
+ if (data76 < 0 || isNaN(data76)) {
2946
3231
  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" };
2947
3232
  if (vErrors === null) {
2948
3233
  vErrors = [err180];
@@ -2953,10 +3238,14 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2953
3238
  }
2954
3239
  }
2955
3240
  }
2956
- if (data67.read_timeout !== void 0) {
2957
- let data76 = data67.read_timeout;
2958
- if (!(typeof data76 == "number" && (!(data76 % 1) && !isNaN(data76)))) {
2959
- const err181 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/read_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3241
+ if (data68.read_timeout !== void 0) {
3242
+ let data77 = data68.read_timeout;
3243
+ const _errs257 = errors;
3244
+ let valid88 = false;
3245
+ 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" };
2960
3249
  if (vErrors === null) {
2961
3250
  vErrors = [err181];
2962
3251
  } else {
@@ -2964,9 +3253,9 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2964
3253
  }
2965
3254
  errors++;
2966
3255
  }
2967
- if (typeof data76 == "number") {
2968
- if (data76 > 6e4 || isNaN(data76)) {
2969
- const err182 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/read_timeout/maximum", keyword: "maximum", params: { comparison: "<=", limit: 6e4 }, message: "must be <= 60000" };
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" };
2970
3259
  if (vErrors === null) {
2971
3260
  vErrors = [err182];
2972
3261
  } else {
@@ -2974,8 +3263,8 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2974
3263
  }
2975
3264
  errors++;
2976
3265
  }
2977
- if (data76 < 0 || isNaN(data76)) {
2978
- const err183 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/read_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
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" };
2979
3268
  if (vErrors === null) {
2980
3269
  vErrors = [err183];
2981
3270
  } else {
@@ -2984,142 +3273,252 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
2984
3273
  errors++;
2985
3274
  }
2986
3275
  }
3276
+ var _valid15 = _errs258 === errors;
3277
+ if (_valid15) {
3278
+ valid88 = true;
3279
+ passing13 = 0;
3280
+ }
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)?$"' };
3285
+ if (vErrors === null) {
3286
+ vErrors = [err184];
3287
+ } else {
3288
+ vErrors.push(err184);
3289
+ }
3290
+ errors++;
3291
+ }
3292
+ } 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" };
3294
+ if (vErrors === null) {
3295
+ vErrors = [err185];
3296
+ } else {
3297
+ vErrors.push(err185);
3298
+ }
3299
+ errors++;
3300
+ }
3301
+ var _valid15 = _errs260 === errors;
3302
+ if (_valid15 && valid88) {
3303
+ valid88 = false;
3304
+ passing13 = [passing13, 1];
3305
+ } else {
3306
+ if (_valid15) {
3307
+ valid88 = true;
3308
+ passing13 = 1;
3309
+ }
3310
+ }
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" };
3313
+ if (vErrors === null) {
3314
+ vErrors = [err186];
3315
+ } else {
3316
+ vErrors.push(err186);
3317
+ }
3318
+ errors++;
3319
+ } else {
3320
+ errors = _errs257;
3321
+ if (vErrors !== null) {
3322
+ if (_errs257) {
3323
+ vErrors.length = _errs257;
3324
+ } else {
3325
+ vErrors = null;
3326
+ }
3327
+ }
3328
+ }
2987
3329
  }
2988
- if (data67.send_timeout !== void 0) {
2989
- let data77 = data67.send_timeout;
2990
- if (!(typeof data77 == "number" && (!(data77 % 1) && !isNaN(data77)))) {
2991
- const err184 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/send_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
3330
+ if (data68.send_timeout !== void 0) {
3331
+ let data78 = data68.send_timeout;
3332
+ const _errs264 = errors;
3333
+ let valid90 = false;
3334
+ 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" };
2992
3338
  if (vErrors === null) {
2993
- vErrors = [err184];
3339
+ vErrors = [err187];
2994
3340
  } else {
2995
- vErrors.push(err184);
3341
+ vErrors.push(err187);
2996
3342
  }
2997
3343
  errors++;
2998
3344
  }
2999
- if (typeof data77 == "number") {
3000
- if (data77 > 6e4 || isNaN(data77)) {
3001
- const err185 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/send_timeout/maximum", keyword: "maximum", params: { comparison: "<=", limit: 6e4 }, message: "must be <= 60000" };
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" };
3002
3348
  if (vErrors === null) {
3003
- vErrors = [err185];
3349
+ vErrors = [err188];
3004
3350
  } else {
3005
- vErrors.push(err185);
3351
+ vErrors.push(err188);
3006
3352
  }
3007
3353
  errors++;
3008
3354
  }
3009
- if (data77 < 0 || isNaN(data77)) {
3010
- const err186 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/send_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
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" };
3011
3357
  if (vErrors === null) {
3012
- vErrors = [err186];
3358
+ vErrors = [err189];
3013
3359
  } else {
3014
- vErrors.push(err186);
3360
+ vErrors.push(err189);
3015
3361
  }
3016
3362
  errors++;
3017
3363
  }
3018
3364
  }
3365
+ var _valid16 = _errs265 === errors;
3366
+ if (_valid16) {
3367
+ valid90 = true;
3368
+ passing14 = 0;
3369
+ }
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)?$"' };
3374
+ if (vErrors === null) {
3375
+ vErrors = [err190];
3376
+ } else {
3377
+ vErrors.push(err190);
3378
+ }
3379
+ errors++;
3380
+ }
3381
+ } 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" };
3383
+ if (vErrors === null) {
3384
+ vErrors = [err191];
3385
+ } else {
3386
+ vErrors.push(err191);
3387
+ }
3388
+ errors++;
3389
+ }
3390
+ var _valid16 = _errs267 === errors;
3391
+ if (_valid16 && valid90) {
3392
+ valid90 = false;
3393
+ passing14 = [passing14, 1];
3394
+ } else {
3395
+ if (_valid16) {
3396
+ valid90 = true;
3397
+ passing14 = 1;
3398
+ }
3399
+ }
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" };
3402
+ if (vErrors === null) {
3403
+ vErrors = [err192];
3404
+ } else {
3405
+ vErrors.push(err192);
3406
+ }
3407
+ errors++;
3408
+ } else {
3409
+ errors = _errs264;
3410
+ if (vErrors !== null) {
3411
+ if (_errs264) {
3412
+ vErrors.length = _errs264;
3413
+ } else {
3414
+ vErrors = null;
3415
+ }
3416
+ }
3417
+ }
3019
3418
  }
3020
3419
  } else {
3021
- const err187 = { 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" };
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" };
3022
3421
  if (vErrors === null) {
3023
- vErrors = [err187];
3422
+ vErrors = [err193];
3024
3423
  } else {
3025
- vErrors.push(err187);
3424
+ vErrors.push(err193);
3026
3425
  }
3027
3426
  errors++;
3028
3427
  }
3029
3428
  }
3030
- if (data63.port !== void 0) {
3031
- let data78 = data63.port;
3032
- if (!(typeof data78 == "number" && (!(data78 % 1) && !isNaN(data78)))) {
3033
- const err188 = { 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" };
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" };
3034
3433
  if (vErrors === null) {
3035
- vErrors = [err188];
3434
+ vErrors = [err194];
3036
3435
  } else {
3037
- vErrors.push(err188);
3436
+ vErrors.push(err194);
3038
3437
  }
3039
3438
  errors++;
3040
3439
  }
3041
- if (typeof data78 == "number") {
3042
- if (data78 > 65535 || isNaN(data78)) {
3043
- const err189 = { 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" };
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" };
3044
3443
  if (vErrors === null) {
3045
- vErrors = [err189];
3444
+ vErrors = [err195];
3046
3445
  } else {
3047
- vErrors.push(err189);
3446
+ vErrors.push(err195);
3048
3447
  }
3049
3448
  errors++;
3050
3449
  }
3051
- if (data78 < 1 || isNaN(data78)) {
3052
- const err190 = { 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" };
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" };
3053
3452
  if (vErrors === null) {
3054
- vErrors = [err190];
3453
+ vErrors = [err196];
3055
3454
  } else {
3056
- vErrors.push(err190);
3455
+ vErrors.push(err196);
3057
3456
  }
3058
3457
  errors++;
3059
3458
  }
3060
3459
  }
3061
3460
  }
3062
- if (data63.proto !== void 0) {
3063
- let data79 = data63.proto;
3064
- if (typeof data79 !== "string") {
3065
- const err191 = { 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" };
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" };
3066
3465
  if (vErrors === null) {
3067
- vErrors = [err191];
3466
+ vErrors = [err197];
3068
3467
  } else {
3069
- vErrors.push(err191);
3468
+ vErrors.push(err197);
3070
3469
  }
3071
3470
  errors++;
3072
3471
  }
3073
- if (!(data79 === "TCP" || data79 === "UDP" || data79 === "tcp" || data79 === "udp")) {
3074
- const err192 = { 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" };
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" };
3075
3474
  if (vErrors === null) {
3076
- vErrors = [err192];
3475
+ vErrors = [err198];
3077
3476
  } else {
3078
- vErrors.push(err192);
3477
+ vErrors.push(err198);
3079
3478
  }
3080
3479
  errors++;
3081
3480
  }
3082
3481
  }
3083
- if (data63.to !== void 0) {
3084
- let data80 = data63.to;
3085
- if (Array.isArray(data80)) {
3086
- const len15 = data80.length;
3482
+ if (data64.to !== void 0) {
3483
+ let data81 = data64.to;
3484
+ if (Array.isArray(data81)) {
3485
+ const len15 = data81.length;
3087
3486
  for (let i15 = 0; i15 < len15; i15++) {
3088
- let data81 = data80[i15];
3089
- const _errs269 = errors;
3090
- let valid92 = true;
3091
- const _errs270 = errors;
3092
- if (data81 && typeof data81 == "object" && !Array.isArray(data81)) {
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)) {
3093
3492
  let missing2;
3094
- if (data81.ip === void 0 && (missing2 = "ip")) {
3095
- const err193 = {};
3493
+ if (data82.ip === void 0 && (missing2 = "ip")) {
3494
+ const err199 = {};
3096
3495
  if (vErrors === null) {
3097
- vErrors = [err193];
3496
+ vErrors = [err199];
3098
3497
  } else {
3099
- vErrors.push(err193);
3498
+ vErrors.push(err199);
3100
3499
  }
3101
3500
  errors++;
3102
3501
  } else {
3103
- if (data81.ip !== void 0) {
3104
- let data82 = data81.ip;
3105
- const _errs271 = errors;
3106
- if (errors === _errs271) {
3107
- if (typeof data82 === "string") {
3108
- if (func2(data82) < 1) {
3109
- const err194 = {};
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 = {};
3110
3509
  if (vErrors === null) {
3111
- vErrors = [err194];
3510
+ vErrors = [err200];
3112
3511
  } else {
3113
- vErrors.push(err194);
3512
+ vErrors.push(err200);
3114
3513
  }
3115
3514
  errors++;
3116
3515
  }
3117
3516
  } else {
3118
- const err195 = {};
3517
+ const err201 = {};
3119
3518
  if (vErrors === null) {
3120
- vErrors = [err195];
3519
+ vErrors = [err201];
3121
3520
  } else {
3122
- vErrors.push(err195);
3521
+ vErrors.push(err201);
3123
3522
  }
3124
3523
  errors++;
3125
3524
  }
@@ -3127,162 +3526,162 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3127
3526
  }
3128
3527
  }
3129
3528
  }
3130
- var _valid15 = _errs270 === errors;
3131
- errors = _errs269;
3529
+ var _valid17 = _errs281 === errors;
3530
+ errors = _errs280;
3132
3531
  if (vErrors !== null) {
3133
- if (_errs269) {
3134
- vErrors.length = _errs269;
3532
+ if (_errs280) {
3533
+ vErrors.length = _errs280;
3135
3534
  } else {
3136
3535
  vErrors = null;
3137
3536
  }
3138
3537
  }
3139
- if (_valid15) {
3140
- const _errs273 = errors;
3141
- if (data81 && typeof data81 == "object" && !Array.isArray(data81)) {
3142
- if (data81.global === void 0) {
3143
- const err196 = { 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'" };
3538
+ 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'" };
3144
3543
  if (vErrors === null) {
3145
- vErrors = [err196];
3544
+ vErrors = [err202];
3146
3545
  } else {
3147
- vErrors.push(err196);
3546
+ vErrors.push(err202);
3148
3547
  }
3149
3548
  errors++;
3150
3549
  }
3151
- if (data81.global !== void 0) {
3152
- if (true !== data81.global) {
3153
- const err197 = { 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" };
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" };
3154
3553
  if (vErrors === null) {
3155
- vErrors = [err197];
3554
+ vErrors = [err203];
3156
3555
  } else {
3157
- vErrors.push(err197);
3556
+ vErrors.push(err203);
3158
3557
  }
3159
3558
  errors++;
3160
3559
  }
3161
3560
  }
3162
3561
  }
3163
- var _valid15 = _errs273 === errors;
3164
- valid92 = _valid15;
3562
+ var _valid17 = _errs284 === errors;
3563
+ valid96 = _valid17;
3165
3564
  }
3166
- if (!valid92) {
3167
- const err198 = { 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' };
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' };
3168
3567
  if (vErrors === null) {
3169
- vErrors = [err198];
3568
+ vErrors = [err204];
3170
3569
  } else {
3171
- vErrors.push(err198);
3570
+ vErrors.push(err204);
3172
3571
  }
3173
3572
  errors++;
3174
3573
  }
3175
- if (data81 && typeof data81 == "object" && !Array.isArray(data81)) {
3176
- for (const key29 in data81) {
3574
+ if (data82 && typeof data82 == "object" && !Array.isArray(data82)) {
3575
+ for (const key29 in data82) {
3177
3576
  if (!(key29 === "global" || key29 === "ip" || key29 === "service")) {
3178
- const err199 = { 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" };
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" };
3179
3578
  if (vErrors === null) {
3180
- vErrors = [err199];
3579
+ vErrors = [err205];
3181
3580
  } else {
3182
- vErrors.push(err199);
3581
+ vErrors.push(err205);
3183
3582
  }
3184
3583
  errors++;
3185
3584
  }
3186
3585
  }
3187
- if (data81.global !== void 0) {
3188
- if (typeof data81.global !== "boolean") {
3189
- const err200 = { 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" };
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" };
3190
3589
  if (vErrors === null) {
3191
- vErrors = [err200];
3590
+ vErrors = [err206];
3192
3591
  } else {
3193
- vErrors.push(err200);
3592
+ vErrors.push(err206);
3194
3593
  }
3195
3594
  errors++;
3196
3595
  }
3197
3596
  }
3198
- if (data81.ip !== void 0) {
3199
- let data85 = data81.ip;
3200
- if (typeof data85 === "string") {
3201
- if (func2(data85) < 1) {
3202
- const err201 = { 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" };
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" };
3203
3602
  if (vErrors === null) {
3204
- vErrors = [err201];
3603
+ vErrors = [err207];
3205
3604
  } else {
3206
- vErrors.push(err201);
3605
+ vErrors.push(err207);
3207
3606
  }
3208
3607
  errors++;
3209
3608
  }
3210
3609
  } else {
3211
- const err202 = { 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" };
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" };
3212
3611
  if (vErrors === null) {
3213
- vErrors = [err202];
3612
+ vErrors = [err208];
3214
3613
  } else {
3215
- vErrors.push(err202);
3614
+ vErrors.push(err208);
3216
3615
  }
3217
3616
  errors++;
3218
3617
  }
3219
3618
  }
3220
- if (data81.service !== void 0) {
3221
- if (typeof data81.service !== "string") {
3222
- const err203 = { 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" };
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" };
3223
3622
  if (vErrors === null) {
3224
- vErrors = [err203];
3623
+ vErrors = [err209];
3225
3624
  } else {
3226
- vErrors.push(err203);
3625
+ vErrors.push(err209);
3227
3626
  }
3228
3627
  errors++;
3229
3628
  }
3230
3629
  }
3231
3630
  } else {
3232
- const err204 = { 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" };
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" };
3233
3632
  if (vErrors === null) {
3234
- vErrors = [err204];
3633
+ vErrors = [err210];
3235
3634
  } else {
3236
- vErrors.push(err204);
3635
+ vErrors.push(err210);
3237
3636
  }
3238
3637
  errors++;
3239
3638
  }
3240
3639
  }
3241
3640
  } else {
3242
- const err205 = { 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" };
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" };
3243
3642
  if (vErrors === null) {
3244
- vErrors = [err205];
3643
+ vErrors = [err211];
3245
3644
  } else {
3246
- vErrors.push(err205);
3645
+ vErrors.push(err211);
3247
3646
  }
3248
3647
  errors++;
3249
3648
  }
3250
3649
  }
3251
3650
  } else {
3252
- const err206 = { 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" };
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" };
3253
3652
  if (vErrors === null) {
3254
- vErrors = [err206];
3653
+ vErrors = [err212];
3255
3654
  } else {
3256
- vErrors.push(err206);
3655
+ vErrors.push(err212);
3257
3656
  }
3258
3657
  errors++;
3259
3658
  }
3260
3659
  }
3261
3660
  } else {
3262
- const err207 = { 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" };
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" };
3263
3662
  if (vErrors === null) {
3264
- vErrors = [err207];
3663
+ vErrors = [err213];
3265
3664
  } else {
3266
- vErrors.push(err207);
3665
+ vErrors.push(err213);
3267
3666
  }
3268
3667
  errors++;
3269
3668
  }
3270
- var _valid13 = _errs215 === errors;
3669
+ var _valid13 = _errs216 === errors;
3271
3670
  if (_valid13) {
3272
3671
  valid69 = true;
3273
3672
  passing11 = 0;
3274
3673
  }
3275
- const _errs282 = errors;
3276
- if (data62 !== null) {
3277
- const err208 = { 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" };
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" };
3278
3677
  if (vErrors === null) {
3279
- vErrors = [err208];
3678
+ vErrors = [err214];
3280
3679
  } else {
3281
- vErrors.push(err208);
3680
+ vErrors.push(err214);
3282
3681
  }
3283
3682
  errors++;
3284
3683
  }
3285
- var _valid13 = _errs282 === errors;
3684
+ var _valid13 = _errs293 === errors;
3286
3685
  if (_valid13 && valid69) {
3287
3686
  valid69 = false;
3288
3687
  passing11 = [passing11, 1];
@@ -3293,331 +3692,331 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
3293
3692
  }
3294
3693
  }
3295
3694
  if (!valid69) {
3296
- const err209 = { 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" };
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" };
3297
3696
  if (vErrors === null) {
3298
- vErrors = [err209];
3697
+ vErrors = [err215];
3299
3698
  } else {
3300
- vErrors.push(err209);
3699
+ vErrors.push(err215);
3301
3700
  }
3302
3701
  errors++;
3303
3702
  } else {
3304
- errors = _errs214;
3703
+ errors = _errs215;
3305
3704
  if (vErrors !== null) {
3306
- if (_errs214) {
3307
- vErrors.length = _errs214;
3705
+ if (_errs215) {
3706
+ vErrors.length = _errs215;
3308
3707
  } else {
3309
3708
  vErrors = null;
3310
3709
  }
3311
3710
  }
3312
3711
  }
3313
3712
  }
3314
- if (data47.image !== void 0) {
3315
- let data87 = data47.image;
3316
- if (typeof data87 === "string") {
3317
- if (func2(data87) < 1) {
3318
- const err210 = { 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" };
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" };
3319
3718
  if (vErrors === null) {
3320
- vErrors = [err210];
3719
+ vErrors = [err216];
3321
3720
  } else {
3322
- vErrors.push(err210);
3721
+ vErrors.push(err216);
3323
3722
  }
3324
3723
  errors++;
3325
3724
  }
3326
3725
  } else {
3327
- const err211 = { 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" };
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" };
3328
3727
  if (vErrors === null) {
3329
- vErrors = [err211];
3728
+ vErrors = [err217];
3330
3729
  } else {
3331
- vErrors.push(err211);
3730
+ vErrors.push(err217);
3332
3731
  }
3333
3732
  errors++;
3334
3733
  }
3335
3734
  }
3336
- if (data47.params !== void 0) {
3337
- let data88 = data47.params;
3338
- if (data88 && typeof data88 == "object" && !Array.isArray(data88)) {
3339
- for (const key30 in data88) {
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) {
3340
3739
  if (!(key30 === "storage" || key30 === "permissions" || key30 === "tee")) {
3341
- const err212 = { 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" };
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" };
3342
3741
  if (vErrors === null) {
3343
- vErrors = [err212];
3742
+ vErrors = [err218];
3344
3743
  } else {
3345
- vErrors.push(err212);
3744
+ vErrors.push(err218);
3346
3745
  }
3347
3746
  errors++;
3348
3747
  }
3349
3748
  }
3350
- if (data88.storage !== void 0) {
3351
- let data89 = data88.storage;
3352
- if (data89 && typeof data89 == "object" && !Array.isArray(data89)) {
3353
- for (const key31 in data89) {
3354
- let data90 = data89[key31];
3355
- if (data90 && typeof data90 == "object" && !Array.isArray(data90)) {
3356
- for (const key32 in data90) {
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) {
3357
3756
  if (!(key32 === "mount" || key32 === "readOnly")) {
3358
- const err213 = { 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" };
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" };
3359
3758
  if (vErrors === null) {
3360
- vErrors = [err213];
3759
+ vErrors = [err219];
3361
3760
  } else {
3362
- vErrors.push(err213);
3761
+ vErrors.push(err219);
3363
3762
  }
3364
3763
  errors++;
3365
3764
  }
3366
3765
  }
3367
- if (data90.mount !== void 0) {
3368
- let data91 = data90.mount;
3369
- if (typeof data91 === "string") {
3370
- if (func2(data91) < 1) {
3371
- const err214 = { 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" };
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" };
3372
3771
  if (vErrors === null) {
3373
- vErrors = [err214];
3772
+ vErrors = [err220];
3374
3773
  } else {
3375
- vErrors.push(err214);
3774
+ vErrors.push(err220);
3376
3775
  }
3377
3776
  errors++;
3378
3777
  }
3379
- if (!pattern11.test(data91)) {
3380
- const err215 = { 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 "^/"' };
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 "^/"' };
3381
3780
  if (vErrors === null) {
3382
- vErrors = [err215];
3781
+ vErrors = [err221];
3383
3782
  } else {
3384
- vErrors.push(err215);
3783
+ vErrors.push(err221);
3385
3784
  }
3386
3785
  errors++;
3387
3786
  }
3388
3787
  } else {
3389
- const err216 = { 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" };
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" };
3390
3789
  if (vErrors === null) {
3391
- vErrors = [err216];
3790
+ vErrors = [err222];
3392
3791
  } else {
3393
- vErrors.push(err216);
3792
+ vErrors.push(err222);
3394
3793
  }
3395
3794
  errors++;
3396
3795
  }
3397
3796
  }
3398
- if (data90.readOnly !== void 0) {
3399
- if (typeof data90.readOnly !== "boolean") {
3400
- const err217 = { 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" };
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" };
3401
3800
  if (vErrors === null) {
3402
- vErrors = [err217];
3801
+ vErrors = [err223];
3403
3802
  } else {
3404
- vErrors.push(err217);
3803
+ vErrors.push(err223);
3405
3804
  }
3406
3805
  errors++;
3407
3806
  }
3408
3807
  }
3409
3808
  } else {
3410
- const err218 = { 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" };
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" };
3411
3810
  if (vErrors === null) {
3412
- vErrors = [err218];
3811
+ vErrors = [err224];
3413
3812
  } else {
3414
- vErrors.push(err218);
3813
+ vErrors.push(err224);
3415
3814
  }
3416
3815
  errors++;
3417
3816
  }
3418
3817
  }
3419
3818
  } else {
3420
- const err219 = { 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" };
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" };
3421
3820
  if (vErrors === null) {
3422
- vErrors = [err219];
3821
+ vErrors = [err225];
3423
3822
  } else {
3424
- vErrors.push(err219);
3823
+ vErrors.push(err225);
3425
3824
  }
3426
3825
  errors++;
3427
3826
  }
3428
3827
  }
3429
- if (data88.permissions !== void 0) {
3430
- let data93 = data88.permissions;
3431
- if (data93 && typeof data93 == "object" && !Array.isArray(data93)) {
3432
- for (const key33 in data93) {
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) {
3433
3832
  if (!(key33 === "read")) {
3434
- const err220 = { 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" };
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" };
3435
3834
  if (vErrors === null) {
3436
- vErrors = [err220];
3835
+ vErrors = [err226];
3437
3836
  } else {
3438
- vErrors.push(err220);
3837
+ vErrors.push(err226);
3439
3838
  }
3440
3839
  errors++;
3441
3840
  }
3442
3841
  }
3443
- if (data93.read !== void 0) {
3444
- let data94 = data93.read;
3445
- if (Array.isArray(data94)) {
3446
- const len16 = data94.length;
3842
+ if (data94.read !== void 0) {
3843
+ let data95 = data94.read;
3844
+ if (Array.isArray(data95)) {
3845
+ const len16 = data95.length;
3447
3846
  for (let i16 = 0; i16 < len16; i16++) {
3448
- let data95 = data94[i16];
3449
- if (typeof data95 !== "string") {
3450
- const err221 = { 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" };
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" };
3451
3850
  if (vErrors === null) {
3452
- vErrors = [err221];
3851
+ vErrors = [err227];
3453
3852
  } else {
3454
- vErrors.push(err221);
3853
+ vErrors.push(err227);
3455
3854
  }
3456
3855
  errors++;
3457
3856
  }
3458
- if (!(data95 === "deployment" || data95 === "logs" || data95 === "events")) {
3459
- const err222 = { 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" };
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" };
3460
3859
  if (vErrors === null) {
3461
- vErrors = [err222];
3860
+ vErrors = [err228];
3462
3861
  } else {
3463
- vErrors.push(err222);
3862
+ vErrors.push(err228);
3464
3863
  }
3465
3864
  errors++;
3466
3865
  }
3467
3866
  }
3468
3867
  } else {
3469
- const err223 = { 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" };
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" };
3470
3869
  if (vErrors === null) {
3471
- vErrors = [err223];
3870
+ vErrors = [err229];
3472
3871
  } else {
3473
- vErrors.push(err223);
3872
+ vErrors.push(err229);
3474
3873
  }
3475
3874
  errors++;
3476
3875
  }
3477
3876
  }
3478
3877
  } else {
3479
- const err224 = { 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" };
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" };
3480
3879
  if (vErrors === null) {
3481
- vErrors = [err224];
3880
+ vErrors = [err230];
3482
3881
  } else {
3483
- vErrors.push(err224);
3882
+ vErrors.push(err230);
3484
3883
  }
3485
3884
  errors++;
3486
3885
  }
3487
3886
  }
3488
- if (data88.tee !== void 0) {
3489
- let data96 = data88.tee;
3490
- if (typeof data96 !== "string") {
3491
- const err225 = { 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" };
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" };
3492
3891
  if (vErrors === null) {
3493
- vErrors = [err225];
3892
+ vErrors = [err231];
3494
3893
  } else {
3495
- vErrors.push(err225);
3894
+ vErrors.push(err231);
3496
3895
  }
3497
3896
  errors++;
3498
3897
  }
3499
- if (!(data96 === "cpu" || data96 === "cpu-gpu")) {
3500
- const err226 = { 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" };
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" };
3501
3900
  if (vErrors === null) {
3502
- vErrors = [err226];
3901
+ vErrors = [err232];
3503
3902
  } else {
3504
- vErrors.push(err226);
3903
+ vErrors.push(err232);
3505
3904
  }
3506
3905
  errors++;
3507
3906
  }
3508
3907
  }
3509
3908
  } else {
3510
- const err227 = { 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" };
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" };
3511
3910
  if (vErrors === null) {
3512
- vErrors = [err227];
3911
+ vErrors = [err233];
3513
3912
  } else {
3514
- vErrors.push(err227);
3913
+ vErrors.push(err233);
3515
3914
  }
3516
3915
  errors++;
3517
3916
  }
3518
3917
  }
3519
3918
  } else {
3520
- const err228 = { instancePath: instancePath + "/services/" + key23.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
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" };
3521
3920
  if (vErrors === null) {
3522
- vErrors = [err228];
3921
+ vErrors = [err234];
3523
3922
  } else {
3524
- vErrors.push(err228);
3923
+ vErrors.push(err234);
3525
3924
  }
3526
3925
  errors++;
3527
3926
  }
3528
3927
  }
3529
3928
  } else {
3530
- const err229 = { instancePath: instancePath + "/services", schemaPath: "#/properties/services/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3929
+ const err235 = { instancePath: instancePath + "/services", schemaPath: "#/properties/services/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3531
3930
  if (vErrors === null) {
3532
- vErrors = [err229];
3931
+ vErrors = [err235];
3533
3932
  } else {
3534
- vErrors.push(err229);
3933
+ vErrors.push(err235);
3535
3934
  }
3536
3935
  errors++;
3537
3936
  }
3538
3937
  }
3539
3938
  if (data.reclamation !== void 0) {
3540
- let data97 = data.reclamation;
3541
- if (data97 && typeof data97 == "object" && !Array.isArray(data97)) {
3542
- if (data97.min_window === void 0) {
3543
- const err230 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/required", keyword: "required", params: { missingProperty: "min_window" }, message: "must have required property 'min_window'" };
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'" };
3544
3943
  if (vErrors === null) {
3545
- vErrors = [err230];
3944
+ vErrors = [err236];
3546
3945
  } else {
3547
- vErrors.push(err230);
3946
+ vErrors.push(err236);
3548
3947
  }
3549
3948
  errors++;
3550
3949
  }
3551
- for (const key34 in data97) {
3950
+ for (const key34 in data98) {
3552
3951
  if (!(key34 === "min_window")) {
3553
- const err231 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key34 }, message: "must NOT have additional properties" };
3952
+ const err237 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key34 }, message: "must NOT have additional properties" };
3554
3953
  if (vErrors === null) {
3555
- vErrors = [err231];
3954
+ vErrors = [err237];
3556
3955
  } else {
3557
- vErrors.push(err231);
3956
+ vErrors.push(err237);
3558
3957
  }
3559
3958
  errors++;
3560
3959
  }
3561
3960
  }
3562
- if (data97.min_window !== void 0) {
3563
- let data98 = data97.min_window;
3564
- if (typeof data98 === "string") {
3565
- if (!pattern12.test(data98)) {
3566
- const err232 = { 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)$"' };
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)$"' };
3567
3966
  if (vErrors === null) {
3568
- vErrors = [err232];
3967
+ vErrors = [err238];
3569
3968
  } else {
3570
- vErrors.push(err232);
3969
+ vErrors.push(err238);
3571
3970
  }
3572
3971
  errors++;
3573
3972
  }
3574
3973
  } else {
3575
- const err233 = { instancePath: instancePath + "/reclamation/min_window", schemaPath: "#/properties/reclamation/properties/min_window/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3974
+ const err239 = { instancePath: instancePath + "/reclamation/min_window", schemaPath: "#/properties/reclamation/properties/min_window/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3576
3975
  if (vErrors === null) {
3577
- vErrors = [err233];
3976
+ vErrors = [err239];
3578
3977
  } else {
3579
- vErrors.push(err233);
3978
+ vErrors.push(err239);
3580
3979
  }
3581
3980
  errors++;
3582
3981
  }
3583
3982
  }
3584
3983
  } else {
3585
- const err234 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3984
+ const err240 = { instancePath: instancePath + "/reclamation", schemaPath: "#/properties/reclamation/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3586
3985
  if (vErrors === null) {
3587
- vErrors = [err234];
3986
+ vErrors = [err240];
3588
3987
  } else {
3589
- vErrors.push(err234);
3988
+ vErrors.push(err240);
3590
3989
  }
3591
3990
  errors++;
3592
3991
  }
3593
3992
  }
3594
3993
  if (data.version !== void 0) {
3595
- let data99 = data.version;
3596
- if (typeof data99 !== "string") {
3597
- const err235 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/type", keyword: "type", params: { type: "string" }, message: "must be string" };
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" };
3598
3997
  if (vErrors === null) {
3599
- vErrors = [err235];
3998
+ vErrors = [err241];
3600
3999
  } else {
3601
- vErrors.push(err235);
4000
+ vErrors.push(err241);
3602
4001
  }
3603
4002
  errors++;
3604
4003
  }
3605
- if (!(data99 === "2.0" || data99 === "2.1")) {
3606
- const err236 = { 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" };
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" };
3607
4006
  if (vErrors === null) {
3608
- vErrors = [err236];
4007
+ vErrors = [err242];
3609
4008
  } else {
3610
- vErrors.push(err236);
4009
+ vErrors.push(err242);
3611
4010
  }
3612
4011
  errors++;
3613
4012
  }
3614
4013
  }
3615
4014
  } else {
3616
- const err237 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
4015
+ const err243 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3617
4016
  if (vErrors === null) {
3618
- vErrors = [err237];
4017
+ vErrors = [err243];
3619
4018
  } else {
3620
- vErrors.push(err237);
4019
+ vErrors.push(err243);
3621
4020
  }
3622
4021
  errors++;
3623
4022
  }
@@ -3726,6 +4125,63 @@ function getErrorLocation(path) {
3726
4125
  return path ? ` at "${path}"` : "";
3727
4126
  }
3728
4127
 
4128
+ // src/sdl/duration.ts
4129
+ var DURATION_PATTERN = /^([0-9]+)(ms|s|m|h)?$/;
4130
+ var UNIT_MILLISECONDS = {
4131
+ ms: 1n,
4132
+ s: 1000n,
4133
+ m: 60000n,
4134
+ h: 3600000n
4135
+ };
4136
+ function parseDuration(value) {
4137
+ const match = DURATION_PATTERN.exec(value);
4138
+ if (!match) return void 0;
4139
+ const unit = match[2];
4140
+ if (unit !== void 0 && !isDurationUnit(unit)) return void 0;
4141
+ return {
4142
+ milliseconds: BigInt(match[1]) * (unit === void 0 ? 1n : UNIT_MILLISECONDS[unit]),
4143
+ unit
4144
+ };
4145
+ }
4146
+ function isDurationUnit(value) {
4147
+ return Object.hasOwn(UNIT_MILLISECONDS, value);
4148
+ }
4149
+
4150
+ // src/sdl/httpTimeout.ts
4151
+ var MAX_HTTP_TIMEOUT_MILLISECONDS = 4294967295;
4152
+ var MAX_HTTP_TIMEOUT_MILLISECONDS_BIGINT = BigInt(MAX_HTTP_TIMEOUT_MILLISECONDS);
4153
+ function parseHTTPTimeout(value) {
4154
+ if (typeof value === "number") {
4155
+ return validateMilliseconds(value);
4156
+ }
4157
+ const duration = parseDuration(value);
4158
+ if (!duration) {
4159
+ return {
4160
+ message: "must be milliseconds or a whole-number duration using ms, s, m, or h",
4161
+ ok: false
4162
+ };
4163
+ }
4164
+ if (duration.milliseconds > MAX_HTTP_TIMEOUT_MILLISECONDS_BIGINT) {
4165
+ return {
4166
+ message: `cannot be greater than ${MAX_HTTP_TIMEOUT_MILLISECONDS} ms`,
4167
+ ok: false
4168
+ };
4169
+ }
4170
+ return { milliseconds: Number(duration.milliseconds), ok: true };
4171
+ }
4172
+ function validateMilliseconds(milliseconds) {
4173
+ if (!Number.isSafeInteger(milliseconds) || milliseconds < 0) {
4174
+ return { message: "must resolve to a non-negative whole number of milliseconds", ok: false };
4175
+ }
4176
+ if (milliseconds > MAX_HTTP_TIMEOUT_MILLISECONDS) {
4177
+ return {
4178
+ message: `cannot be greater than ${MAX_HTTP_TIMEOUT_MILLISECONDS} ms`,
4179
+ ok: false
4180
+ };
4181
+ }
4182
+ return { milliseconds, ok: true };
4183
+ }
4184
+
3729
4185
  // src/sdl/sizes.ts
3730
4186
  var prefixes = "kmgtpe".split("");
3731
4187
  function convertResourceString(resourceStr) {
@@ -3834,13 +4290,20 @@ function transformGpuAttributes(attributes) {
3834
4290
  function buildHttpOptions(httpOptions) {
3835
4291
  return ServiceExposeHTTPOptions.fromPartial({
3836
4292
  maxBodySize: httpOptions?.max_body_size ?? 1048576,
3837
- readTimeout: httpOptions?.read_timeout ?? 6e4,
3838
- sendTimeout: httpOptions?.send_timeout ?? 6e4,
4293
+ readTimeout: normalizedHTTPTimeout(httpOptions?.read_timeout),
4294
+ sendTimeout: normalizedHTTPTimeout(httpOptions?.send_timeout),
3839
4295
  nextTries: httpOptions?.next_tries ?? 3,
3840
4296
  nextTimeout: httpOptions?.next_timeout ?? 0,
3841
4297
  nextCases: httpOptions?.next_cases ?? ["error", "timeout"]
3842
4298
  });
3843
4299
  }
4300
+ function normalizedHTTPTimeout(value) {
4301
+ const result = parseHTTPTimeout(value ?? 6e4);
4302
+ if (!result.ok) {
4303
+ throw new Error(`Invalid HTTP timeout: ${result.message}`);
4304
+ }
4305
+ return result.milliseconds;
4306
+ }
3844
4307
  function buildStorageAttributes(attributes) {
3845
4308
  if (!attributes) return [];
3846
4309
  const pairs = Object.entries(attributes).map(([key, value]) => ({
@@ -3940,7 +4403,7 @@ function validateSDL(sdl) {
3940
4403
  const allErrors = schemaErrors.concat(errors);
3941
4404
  return allErrors.length ? allErrors : void 0;
3942
4405
  }
3943
- var _endpointsUsed, _portsUsed, _teeTypeByPlacement, _sdl, _errors, _SDLValidator_instances, validateDeploymentWithRelations_fn, validateDeploymentRelations_fn, validateServiceStorages_fn, validateStorages_fn, validateGPU_fn, validateInterconnect_fn, validateTEE_fn, validateLeaseIP_fn, validateEndpoints_fn;
4406
+ var _endpointsUsed, _portsUsed, _teeTypeByPlacement, _sdl, _errors, _SDLValidator_instances, validateHTTPTimeoutRanges_fn, validateDeploymentWithRelations_fn, validateDeploymentRelations_fn, validateServiceStorages_fn, validateStorages_fn, validateGPU_fn, validateInterconnect_fn, validateTEE_fn, validateLeaseIP_fn, validateEndpoints_fn;
3944
4407
  var SDLValidator = class {
3945
4408
  constructor(sdl) {
3946
4409
  __privateAdd(this, _SDLValidator_instances);
@@ -3956,6 +4419,7 @@ var SDLValidator = class {
3956
4419
  Object.keys(__privateGet(this, _sdl).services).forEach((serviceName) => {
3957
4420
  __privateMethod(this, _SDLValidator_instances, validateDeploymentWithRelations_fn).call(this, serviceName);
3958
4421
  __privateMethod(this, _SDLValidator_instances, validateLeaseIP_fn).call(this, serviceName);
4422
+ __privateMethod(this, _SDLValidator_instances, validateHTTPTimeoutRanges_fn).call(this, serviceName);
3959
4423
  });
3960
4424
  }
3961
4425
  __privateMethod(this, _SDLValidator_instances, validateInterconnect_fn).call(this);
@@ -3969,6 +4433,31 @@ _teeTypeByPlacement = new WeakMap();
3969
4433
  _sdl = new WeakMap();
3970
4434
  _errors = new WeakMap();
3971
4435
  _SDLValidator_instances = new WeakSet();
4436
+ // JSON Schema caps numeric values, but its string pattern cannot enforce the
4437
+ // maximum after unit conversion. For example, "1194h" matches the pattern.
4438
+ validateHTTPTimeoutRanges_fn = function(serviceName) {
4439
+ const exposes = __privateGet(this, _sdl).services[serviceName]?.expose ?? [];
4440
+ for (const [exposeIndex, expose] of exposes.entries()) {
4441
+ const options = expose.http_options;
4442
+ if (!options) continue;
4443
+ for (const field of ["read_timeout", "send_timeout"]) {
4444
+ const value = options[field];
4445
+ if (value === void 0) continue;
4446
+ const result = parseHTTPTimeout(value);
4447
+ if (result.ok) continue;
4448
+ __privateGet(this, _errors).push({
4449
+ message: `HTTP ${field.replace("_", " ")} ${result.message}.`,
4450
+ instancePath: `/services/${serviceName}/expose/${exposeIndex}/http_options/${field}`,
4451
+ schemaPath: "#/definitions/httpTimeout/maximum",
4452
+ keyword: "maximum",
4453
+ params: {
4454
+ comparison: "<=",
4455
+ limit: MAX_HTTP_TIMEOUT_MILLISECONDS
4456
+ }
4457
+ });
4458
+ }
4459
+ }
4460
+ };
3972
4461
  validateDeploymentWithRelations_fn = function(serviceName) {
3973
4462
  const deployment = __privateGet(this, _sdl).deployment[serviceName];
3974
4463
  if (!deployment) {
@@ -4357,14 +4846,12 @@ validateEndpoints_fn = function() {
4357
4846
  };
4358
4847
 
4359
4848
  // src/sdl/manifest/reclamationDuration.ts
4360
- var UNIT_SECONDS = { s: 1n, m: 60n, h: 3600n };
4361
4849
  function minWindowToDuration(value) {
4362
- const unitSeconds = UNIT_SECONDS[value.at(-1) ?? ""];
4363
- const amount = Number(value.slice(0, -1));
4364
- if (unitSeconds === void 0 || !Number.isInteger(amount) || amount <= 0) {
4850
+ const duration = parseDuration(value);
4851
+ if (!duration || duration.unit === void 0 || duration.unit === "ms" || duration.milliseconds === 0n) {
4365
4852
  throw new Error(`invalid reclamation min_window "${value}"`);
4366
4853
  }
4367
- return Duration.fromPartial({ seconds: (BigInt(amount) * unitSeconds).toString(), nanos: 0 });
4854
+ return Duration.fromPartial({ seconds: duration.milliseconds / 1000n, nanos: 0 });
4368
4855
  }
4369
4856
 
4370
4857
  // src/sdl/manifest/generateManifest.ts
@@ -4605,6 +5092,14 @@ var encoder = new TextEncoder();
4605
5092
  var NULLABLE_MANIFEST_KEYS = /* @__PURE__ */ new Set(["command", "args", "env", "hosts", "storage"]);
4606
5093
  var OMITTED_MANIFEST_KEYS = /* @__PURE__ */ new Set(["kind", "attributes"]);
4607
5094
  var OMITTED_WHEN_EMPTY_STRING_KEYS = /* @__PURE__ */ new Set(["interconnectGroup"]);
5095
+ var OMITTED_WHEN_ZERO_KEYS = /* @__PURE__ */ new Set([
5096
+ "bufferingDisable",
5097
+ "bufferSize",
5098
+ "buffersNumber",
5099
+ "buffersSize",
5100
+ "busyBuffersSize",
5101
+ "connectTimeout"
5102
+ ]);
4608
5103
  async function generateManifestVersion(manifest) {
4609
5104
  const jsonStr = manifestToSortedJSON(manifest);
4610
5105
  const sortedBytes = encoder.encode(jsonStr);
@@ -4634,6 +5129,9 @@ function manifestReplacer(key, value) {
4634
5129
  if (OMITTED_MANIFEST_KEYS.has(key) && (Array.isArray(value) && value.length === 0 || value === 0)) {
4635
5130
  return void 0;
4636
5131
  }
5132
+ if (OMITTED_WHEN_ZERO_KEYS.has(key) && (value === 0 || value === false)) {
5133
+ return void 0;
5134
+ }
4637
5135
  if (OMITTED_WHEN_EMPTY_STRING_KEYS.has(key) && value === "") {
4638
5136
  return void 0;
4639
5137
  }
@@ -8694,29 +9192,31 @@ function createSDK(queryTransport, txTransport) {
8694
9192
 
8695
9193
  // src/generated/createNodeSDK.ts
8696
9194
  var serviceLoader2 = createServiceLoader([
8697
- () => import("./query_akash-44SHG3FL.js").then((m) => m.Query),
8698
- () => import("./service_akash-KRCYHNCN.js").then((m) => m.Msg),
8699
- () => import("./query_akash-72TFPQBZ.js").then((m) => m.Query),
8700
- () => import("./service_akash-SXXXZL6K.js").then((m) => m.Msg),
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),
8701
9199
  () => import("./query_akash-253P4X3A.js").then((m) => m.Query),
8702
9200
  () => import("./service_akash-4H6WUSYG.js").then((m) => m.Msg),
8703
- () => import("./query_akash-54EYS6GQ.js").then((m) => m.Query),
8704
- () => import("./service_akash-YXSRY4G3.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),
8705
9203
  () => import("./service_akash-LS73FH6D.js").then((m) => m.Discovery),
8706
9204
  () => import("./query_akash-U2XM5NDH.js").then((m) => m.Query),
8707
9205
  () => import("./query_akash-3MIPQKOJ.js").then((m) => m.Query),
8708
- () => import("./query_akash-I3RPHLVA.js").then((m) => m.Query),
9206
+ () => import("./query_akash-BTYAA6UN.js").then((m) => m.Query),
8709
9207
  () => import("./service_akash-GYTWD2OK.js").then((m) => m.Msg),
8710
- () => import("./query_akash-TZ6F7OO4.js").then((m) => m.Query),
8711
- () => import("./service_akash-Z4CR3DWY.js").then((m) => m.Msg),
8712
- () => import("./query_akash-EGFDDA4L.js").then((m) => m.Query),
8713
- () => import("./service_akash-JQKI2SJP.js").then((m) => m.Msg),
8714
- () => import("./query_akash-QF2LHJQN.js").then((m) => m.Query),
8715
- () => import("./service_akash-PFTEVUGK.js").then((m) => m.Msg),
8716
- () => import("./query_akash-N3FPIXVQ.js").then((m) => m.Query),
8717
- () => import("./service_akash-5AUMDLU5.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),
8718
9216
  () => import("./query_akash-2ZMDMM2D.js").then((m) => m.Query),
8719
9217
  () => 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),
8720
9220
  () => import("./query_akash-SSXFWCZX.js").then((m) => m.Query),
8721
9221
  () => import("./service_akash-CCR2X2Q5.js").then((m) => m.Msg)
8722
9222
  ]);
@@ -9066,6 +9566,13 @@ function createSDK2(queryTransport, txTransport) {
9066
9566
  const service = await serviceLoader2.loadAt(13);
9067
9567
  return getClient(service).lease(input, options);
9068
9568
  }, { 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 }),
9069
9576
  /**
9070
9577
  * getParams returns the total set of market parameters.
9071
9578
  */
@@ -9225,6 +9732,34 @@ function createSDK2(queryTransport, txTransport) {
9225
9732
  const service = await serviceLoader2.loadAt(19);
9226
9733
  return getClient(service).provider(input, options);
9227
9734
  }, { 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 }),
9228
9763
  /**
9229
9764
  * createProvider defines a method that creates a provider given the proper inputs.
9230
9765
  */
@@ -9245,7 +9780,31 @@ function createSDK2(queryTransport, txTransport) {
9245
9780
  deleteProvider: withMetadata(async function deleteProvider(input, options) {
9246
9781
  const service = await serviceLoader2.loadAt(20);
9247
9782
  return getMsgClient(service).deleteProvider(input, options);
9248
- }, { path: [20, "deleteProvider"], serviceLoader: serviceLoader2 })
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 })
9249
9808
  }
9250
9809
  },
9251
9810
  take: {
@@ -9269,15 +9828,277 @@ function createSDK2(queryTransport, txTransport) {
9269
9828
  }, { path: [22, "updateParams"], serviceLoader: serviceLoader2 })
9270
9829
  }
9271
9830
  },
9272
- wasm: {
9831
+ verification: {
9273
9832
  v1: {
9274
9833
  /**
9275
- * getParams returns the total set of wasm parameters.
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.
9276
9929
  */
9277
9930
  getParams: withMetadata(async function getParams(input = {}, options) {
9278
9931
  const service = await serviceLoader2.loadAt(23);
9279
9932
  return getClient(service).params(input, options);
9280
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
+ wasm: {
10094
+ v1: {
10095
+ /**
10096
+ * getParams returns the total set of wasm parameters.
10097
+ */
10098
+ getParams: withMetadata(async function getParams(input = {}, options) {
10099
+ const service = await serviceLoader2.loadAt(25);
10100
+ return getClient(service).params(input, options);
10101
+ }, { path: [25, "params"], serviceLoader: serviceLoader2 }),
9281
10102
  /**
9282
10103
  * updateParams defines a governance operation for updating the x/wasm module
9283
10104
  * parameters. The authority is hard-coded to the x/gov module account.
@@ -9285,9 +10106,9 @@ function createSDK2(queryTransport, txTransport) {
9285
10106
  * Since: akash v2.0.0
9286
10107
  */
9287
10108
  updateParams: withMetadata(async function updateParams(input, options) {
9288
- const service = await serviceLoader2.loadAt(24);
10109
+ const service = await serviceLoader2.loadAt(26);
9289
10110
  return getMsgClient(service).updateParams(input, options);
9290
- }, { path: [24, "updateParams"], serviceLoader: serviceLoader2 })
10111
+ }, { path: [26, "updateParams"], serviceLoader: serviceLoader2 })
9291
10112
  }
9292
10113
  }
9293
10114
  }
@@ -9551,4 +10372,4 @@ export {
9551
10372
  isRetryEnabled,
9552
10373
  createTxTransport
9553
10374
  };
9554
- //# sourceMappingURL=chunk-UHI2V2WP.js.map
10375
+ //# sourceMappingURL=chunk-YFIDWQNM.js.map