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

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