@akashnetwork/chain-sdk 1.0.0-alpha.43 → 1.0.0-alpha.45
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.
- package/dist/cjs/generated/createNodeSDK.cjs +5 -328
- package/dist/cjs/generated/createNodeSDK.cjs.map +2 -2
- package/dist/cjs/generated/createProviderSDK.cjs +19 -36
- package/dist/cjs/generated/createProviderSDK.cjs.map +2 -2
- package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs +0 -6
- package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs +2 -18
- package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/inventory/v1/cpu.cjs +17 -2
- package/dist/cjs/generated/protos/akash/inventory/v1/cpu.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1/types.cjs +0 -6
- package/dist/cjs/generated/protos/akash/market/v1/types.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs +1 -139
- package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs +0 -9
- package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs +0 -266
- package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs +2 -71
- package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs +0 -321
- package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs +1 -88
- package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs +1 -462
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs +0 -36
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs +0 -25
- package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/index.akash.v1.cjs +25 -166
- package/dist/cjs/generated/protos/index.akash.v1.cjs.map +3 -3
- package/dist/cjs/generated/protos/index.akash.v1beta4.cjs +0 -25
- package/dist/cjs/generated/protos/index.akash.v1beta4.cjs.map +3 -3
- package/dist/cjs/generated/protos/index.akash.v1beta5.cjs +0 -2
- package/dist/cjs/generated/protos/index.akash.v1beta5.cjs.map +2 -2
- package/dist/cjs/generated/protos/index.provider.akash.v1.cjs +0 -9
- package/dist/cjs/generated/protos/index.provider.akash.v1.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/generateManifest.cjs +20 -51
- package/dist/cjs/sdl/manifest/generateManifest.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/manifestUtils.cjs +64 -24
- package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
- package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +1426 -1450
- package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
- package/dist/esm/{chunk-AKNHD3CM.js → chunk-2IHQEHWT.js} +19 -4
- package/dist/esm/chunk-2IHQEHWT.js.map +7 -0
- package/dist/esm/{chunk-MIJCN6AD.js → chunk-3K7Q5MUF.js} +2 -2
- package/dist/esm/{chunk-GRGSTKN3.js → chunk-3QS3CMF4.js} +2 -2
- package/dist/esm/{chunk-3U5XKNEU.js → chunk-4SZHF6SE.js} +3 -3
- package/dist/esm/{chunk-W3TLZPTC.js → chunk-4TSICBUM.js} +3 -3
- package/dist/esm/{chunk-P64VHYRM.js → chunk-5ODS4QTF.js} +2 -2
- package/dist/esm/{chunk-OJ54L3XZ.js → chunk-7XXZVOOW.js} +4 -4
- package/dist/esm/{chunk-F4IQOYFH.js → chunk-AR26HCRY.js} +2 -2
- package/dist/esm/chunk-C3WV6GJ6.js +234 -0
- package/dist/esm/chunk-C3WV6GJ6.js.map +7 -0
- package/dist/esm/{chunk-PYD5MY63.js → chunk-CZGHFBAO.js} +9 -131
- package/dist/esm/chunk-CZGHFBAO.js.map +7 -0
- package/dist/esm/{chunk-IEWLP7PR.js → chunk-E7KECYS7.js} +1 -7
- package/dist/esm/chunk-E7KECYS7.js.map +7 -0
- package/dist/esm/{chunk-DCLXPAMC.js → chunk-EJQUNX4L.js} +3 -3
- package/dist/esm/{chunk-F7KT5EX5.js → chunk-ENZ3OBCL.js} +2 -2
- package/dist/esm/{chunk-54RECHZZ.js → chunk-IKTMMFJ5.js} +2 -2
- package/dist/esm/chunk-IVLF3VVZ.js +364 -0
- package/dist/esm/chunk-IVLF3VVZ.js.map +7 -0
- package/dist/esm/{chunk-5VWXQLXG.js → chunk-JN5DGAQY.js} +1585 -1927
- package/dist/esm/chunk-JN5DGAQY.js.map +7 -0
- package/dist/esm/{chunk-7F3NJG67.js → chunk-LLM2VXJM.js} +3 -3
- package/dist/esm/{chunk-WNFIFYG2.js → chunk-M2RS2IFR.js} +2 -2
- package/dist/esm/{chunk-PAOVIX5L.js → chunk-MFZVOFPX.js} +3 -3
- package/dist/esm/chunk-MV27RM25.js +368 -0
- package/dist/esm/chunk-MV27RM25.js.map +7 -0
- package/dist/esm/{chunk-M5P5LAJJ.js → chunk-N42ATJOO.js} +2 -2
- package/dist/esm/{chunk-RJZ46VHV.js → chunk-NP4QQMME.js} +2 -2
- package/dist/esm/{chunk-XP2XNYEA.js → chunk-OWB6ZEHB.js} +2 -2
- package/dist/esm/{chunk-NNB5QBR2.js → chunk-OYI3IQIV.js} +2 -2
- package/dist/esm/chunk-S2CZQ6AM.js +211 -0
- package/dist/esm/chunk-S2CZQ6AM.js.map +7 -0
- package/dist/esm/{chunk-Y7BVCD32.js → chunk-SGDEIQ7L.js} +3 -3
- package/dist/esm/chunk-SXGU4O34.js +258 -0
- package/dist/esm/chunk-SXGU4O34.js.map +7 -0
- package/dist/esm/{chunk-HRN6NSO2.js → chunk-TTQ36NQ5.js} +2 -2
- package/dist/esm/chunk-V42TLXWK.js +177 -0
- package/dist/esm/chunk-V42TLXWK.js.map +7 -0
- package/dist/esm/{chunk-57534UAR.js → chunk-WCUR732W.js} +2 -2
- package/dist/esm/{chunk-CFEWW2ER.js → chunk-YBRE4XNB.js} +2 -2
- package/dist/esm/{chunk-BQNJHJXY.js → chunk-ZGK4PJCD.js} +3 -3
- package/dist/esm/{chunk-TN4W5NLC.js → chunk-ZRZ6LUI2.js} +1 -7
- package/dist/esm/chunk-ZRZ6LUI2.js.map +7 -0
- package/dist/esm/{chunk-PWXFQ5FI.js → chunk-ZXN75Q55.js} +3 -3
- package/dist/esm/generated/protos/index.akash.v1.js +75 -2986
- package/dist/esm/generated/protos/index.akash.v1.js.map +4 -4
- package/dist/esm/generated/protos/index.akash.v1beta4.js +13 -58
- package/dist/esm/generated/protos/index.akash.v1beta5.js +12 -17
- package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
- package/dist/esm/generated/protos/index.akash.v2.js +4 -4
- package/dist/esm/generated/protos/index.provider.akash.v1.js +10 -29
- package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +4 -5
- package/dist/esm/index.js +36 -54
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/index.web.js +13 -14
- package/dist/esm/index.web.js.map +1 -1
- package/dist/esm/{query_akash-HCIMNA7T.js → query_akash-44SHG3FL.js} +3 -4
- package/dist/esm/{query_akash-HCIMNA7T.js.map → query_akash-44SHG3FL.js.map} +1 -1
- package/dist/esm/{query_akash-SOJJMCBH.js → query_akash-54EYS6GQ.js} +7 -8
- package/dist/esm/{query_akash-SOJJMCBH.js.map → query_akash-54EYS6GQ.js.map} +1 -1
- package/dist/esm/{query_akash-HN4NCENR.js → query_akash-72TFPQBZ.js} +4 -4
- package/dist/esm/{query_akash-SVNQ4S67.js → query_akash-EGFDDA4L.js} +4 -4
- package/dist/esm/{query_akash-BTYAA6UN.js → query_akash-I3RPHLVA.js} +5 -5
- package/dist/esm/query_akash-N3FPIXVQ.js +39 -0
- package/dist/esm/query_akash-N3FPIXVQ.js.map +7 -0
- package/dist/esm/{query_akash-EG43V2QH.js → query_akash-QF2LHJQN.js} +4 -4
- package/dist/esm/{query_akash-LSGWB5MI.js → query_akash-TZ6F7OO4.js} +12 -24
- package/dist/esm/query_akash-TZ6F7OO4.js.map +7 -0
- package/dist/esm/service_akash-5AUMDLU5.js +46 -0
- package/dist/esm/service_akash-5AUMDLU5.js.map +7 -0
- package/dist/esm/{service_akash-43EJ5RKY.js → service_akash-EPHAYZEJ.js} +7 -8
- package/dist/esm/{service_akash-43EJ5RKY.js.map → service_akash-EPHAYZEJ.js.map} +1 -1
- package/dist/esm/{service_akash-T36Y5DCD.js → service_akash-FX24P5VG.js} +3 -4
- package/dist/esm/{service_akash-T36Y5DCD.js.map → service_akash-FX24P5VG.js.map} +1 -1
- package/dist/esm/{service_akash-HFGWADC2.js → service_akash-JQKI2SJP.js} +4 -4
- package/dist/esm/{service_akash-3R3TC3PH.js → service_akash-KRCYHNCN.js} +3 -4
- package/dist/esm/{service_akash-3R3TC3PH.js.map → service_akash-KRCYHNCN.js.map} +1 -1
- package/dist/esm/{service_akash-QTGRTXLG.js → service_akash-PFTEVUGK.js} +4 -4
- package/dist/esm/{service_akash-X4HCN3EG.js → service_akash-S73VJW6Q.js} +8 -9
- package/dist/esm/{service_akash-X4HCN3EG.js.map → service_akash-S73VJW6Q.js.map} +1 -1
- package/dist/esm/{service_akash-KAJJV7LX.js → service_akash-SXXXZL6K.js} +4 -4
- package/dist/esm/{service_akash-AXWB3IDG.js → service_akash-YXSRY4G3.js} +6 -7
- package/dist/esm/{service_akash-AXWB3IDG.js.map → service_akash-YXSRY4G3.js.map} +1 -1
- package/dist/esm/{service_akash-BZTUHKJO.js → service_akash-Z4CR3DWY.js} +7 -8
- package/dist/esm/{service_akash-BZTUHKJO.js.map → service_akash-Z4CR3DWY.js.map} +1 -1
- package/dist/sdl-schema.yaml +56 -73
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/generated/createNodeSDK.d.ts +0 -473
- package/dist/types/generated/createProviderSDK.d.ts +0 -31
- package/dist/types/generated/patches/nodeCustomTypePatches.d.ts +0 -8
- package/dist/types/generated/protos/akash/base/attributes/v1/attribute.d.ts +0 -3
- package/dist/types/generated/protos/akash/inventory/v1/cpu.d.ts +1 -0
- package/dist/types/generated/protos/akash/market/v1/types.d.ts +3 -5
- package/dist/types/generated/protos/akash/market/v1beta5/query.d.ts +0 -29
- package/dist/types/generated/protos/akash/market/v1beta5/query_akash.d.ts +1 -8
- package/dist/types/generated/protos/akash/provider/v1beta4/event.d.ts +0 -40
- package/dist/types/generated/protos/akash/provider/v1beta4/genesis.d.ts +1 -11
- package/dist/types/generated/protos/akash/provider/v1beta4/msg.d.ts +0 -57
- package/dist/types/generated/protos/akash/provider/v1beta4/provider.d.ts +0 -13
- package/dist/types/generated/protos/akash/provider/v1beta4/query.d.ts +1 -93
- package/dist/types/generated/protos/akash/provider/v1beta4/query_akash.d.ts +1 -29
- package/dist/types/generated/protos/akash/provider/v1beta4/service_akash.d.ts +1 -20
- package/dist/types/generated/protos/index.akash.v1.d.ts +0 -9
- package/dist/types/generated/protos/index.akash.v1beta4.d.ts +4 -7
- package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
- package/dist/types/generated/protos/index.provider.akash.v1.d.ts +0 -1
- package/dist/types/sdk/chain/createChainNodeSDK.d.ts +0 -45
- package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +0 -45
- package/dist/types/sdl/manifest/manifestUtils.d.ts +12 -0
- package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +93 -110
- package/package.json +1 -1
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs +0 -943
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs +0 -50
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/market/v1/stats.cjs +0 -248
- package/dist/cjs/generated/protos/akash/market/v1/stats.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs +0 -417
- package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs +0 -96
- package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs +0 -132
- package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/event.cjs +0 -2525
- package/dist/cjs/generated/protos/akash/verification/v1/event.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs +0 -253
- package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs +0 -2774
- package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/params.cjs +0 -1044
- package/dist/cjs/generated/protos/akash/verification/v1/params.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/query.cjs +0 -1559
- package/dist/cjs/generated/protos/akash/verification/v1/query.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs +0 -147
- package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/service.cjs +0 -17
- package/dist/cjs/generated/protos/akash/verification/v1/service.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs +0 -190
- package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/state.cjs +0 -2018
- package/dist/cjs/generated/protos/akash/verification/v1/state.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/types.cjs +0 -1071
- package/dist/cjs/generated/protos/akash/verification/v1/types.cjs.map +0 -7
- package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs +0 -148
- package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs.map +0 -7
- package/dist/esm/chunk-2NPYA3YV.js +0 -1563
- package/dist/esm/chunk-2NPYA3YV.js.map +0 -7
- package/dist/esm/chunk-474YCD2T.js +0 -356
- package/dist/esm/chunk-474YCD2T.js.map +0 -7
- package/dist/esm/chunk-4CTTYO4O.js +0 -890
- package/dist/esm/chunk-4CTTYO4O.js.map +0 -7
- package/dist/esm/chunk-5VWXQLXG.js.map +0 -7
- package/dist/esm/chunk-AIWCRXMP.js +0 -672
- package/dist/esm/chunk-AIWCRXMP.js.map +0 -7
- package/dist/esm/chunk-AKNHD3CM.js.map +0 -7
- package/dist/esm/chunk-BI4YL5KH.js +0 -2742
- package/dist/esm/chunk-BI4YL5KH.js.map +0 -7
- package/dist/esm/chunk-IEWLP7PR.js.map +0 -7
- package/dist/esm/chunk-IFKY7FXY.js +0 -484
- package/dist/esm/chunk-IFKY7FXY.js.map +0 -7
- package/dist/esm/chunk-J4CJEGEM.js +0 -3016
- package/dist/esm/chunk-J4CJEGEM.js.map +0 -7
- package/dist/esm/chunk-PEHPXXTS.js +0 -1053
- package/dist/esm/chunk-PEHPXXTS.js.map +0 -7
- package/dist/esm/chunk-PTMMQODC.js +0 -760
- package/dist/esm/chunk-PTMMQODC.js.map +0 -7
- package/dist/esm/chunk-PYD5MY63.js.map +0 -7
- package/dist/esm/chunk-SK7LOVVI.js +0 -660
- package/dist/esm/chunk-SK7LOVVI.js.map +0 -7
- package/dist/esm/chunk-TN4W5NLC.js.map +0 -7
- package/dist/esm/chunk-VYCICKFV.js +0 -698
- package/dist/esm/chunk-VYCICKFV.js.map +0 -7
- package/dist/esm/query_akash-KU4YCMUU.js +0 -85
- package/dist/esm/query_akash-KU4YCMUU.js.map +0 -7
- package/dist/esm/query_akash-LSGWB5MI.js.map +0 -7
- package/dist/esm/query_akash-XYSUQTZC.js +0 -164
- package/dist/esm/query_akash-XYSUQTZC.js.map +0 -7
- package/dist/esm/service_akash-KYLB3OP3.js +0 -78
- package/dist/esm/service_akash-KYLB3OP3.js.map +0 -7
- package/dist/esm/service_akash-LJBOWZZG.js +0 -221
- package/dist/esm/service_akash-LJBOWZZG.js.map +0 -7
- package/dist/esm/snapshot_akash-KH5X5W3B.js +0 -41
- package/dist/esm/snapshot_akash-KH5X5W3B.js.map +0 -7
- package/dist/types/generated/protos/akash/inventory/v1/snapshot.d.ts +0 -112
- package/dist/types/generated/protos/akash/inventory/v1/snapshot_akash.d.ts +0 -22
- package/dist/types/generated/protos/akash/market/v1/stats.d.ts +0 -35
- package/dist/types/generated/protos/akash/provider/v1beta4/maintenance.d.ts +0 -87
- package/dist/types/generated/protos/akash/provider/v1beta4/params.d.ts +0 -17
- package/dist/types/generated/protos/akash/provider/v1beta4/paramsmsg.d.ts +0 -22
- package/dist/types/generated/protos/akash/verification/v1/event.d.ts +0 -339
- package/dist/types/generated/protos/akash/verification/v1/genesis.d.ts +0 -45
- package/dist/types/generated/protos/akash/verification/v1/msg.d.ts +0 -614
- package/dist/types/generated/protos/akash/verification/v1/params.d.ts +0 -147
- package/dist/types/generated/protos/akash/verification/v1/query.d.ts +0 -290
- package/dist/types/generated/protos/akash/verification/v1/query_akash.d.ts +0 -97
- package/dist/types/generated/protos/akash/verification/v1/service.d.ts +0 -1
- package/dist/types/generated/protos/akash/verification/v1/service_akash.d.ts +0 -126
- package/dist/types/generated/protos/akash/verification/v1/state.d.ts +0 -320
- package/dist/types/generated/protos/akash/verification/v1/types.d.ts +0 -348
- package/dist/types/generated/protos/akash/verification/v1/verificationrequirement.d.ts +0 -36
- /package/dist/esm/{chunk-MIJCN6AD.js.map → chunk-3K7Q5MUF.js.map} +0 -0
- /package/dist/esm/{chunk-GRGSTKN3.js.map → chunk-3QS3CMF4.js.map} +0 -0
- /package/dist/esm/{chunk-3U5XKNEU.js.map → chunk-4SZHF6SE.js.map} +0 -0
- /package/dist/esm/{chunk-W3TLZPTC.js.map → chunk-4TSICBUM.js.map} +0 -0
- /package/dist/esm/{chunk-P64VHYRM.js.map → chunk-5ODS4QTF.js.map} +0 -0
- /package/dist/esm/{chunk-OJ54L3XZ.js.map → chunk-7XXZVOOW.js.map} +0 -0
- /package/dist/esm/{chunk-F4IQOYFH.js.map → chunk-AR26HCRY.js.map} +0 -0
- /package/dist/esm/{chunk-DCLXPAMC.js.map → chunk-EJQUNX4L.js.map} +0 -0
- /package/dist/esm/{chunk-F7KT5EX5.js.map → chunk-ENZ3OBCL.js.map} +0 -0
- /package/dist/esm/{chunk-54RECHZZ.js.map → chunk-IKTMMFJ5.js.map} +0 -0
- /package/dist/esm/{chunk-7F3NJG67.js.map → chunk-LLM2VXJM.js.map} +0 -0
- /package/dist/esm/{chunk-WNFIFYG2.js.map → chunk-M2RS2IFR.js.map} +0 -0
- /package/dist/esm/{chunk-PAOVIX5L.js.map → chunk-MFZVOFPX.js.map} +0 -0
- /package/dist/esm/{chunk-M5P5LAJJ.js.map → chunk-N42ATJOO.js.map} +0 -0
- /package/dist/esm/{chunk-RJZ46VHV.js.map → chunk-NP4QQMME.js.map} +0 -0
- /package/dist/esm/{chunk-XP2XNYEA.js.map → chunk-OWB6ZEHB.js.map} +0 -0
- /package/dist/esm/{chunk-NNB5QBR2.js.map → chunk-OYI3IQIV.js.map} +0 -0
- /package/dist/esm/{chunk-Y7BVCD32.js.map → chunk-SGDEIQ7L.js.map} +0 -0
- /package/dist/esm/{chunk-HRN6NSO2.js.map → chunk-TTQ36NQ5.js.map} +0 -0
- /package/dist/esm/{chunk-57534UAR.js.map → chunk-WCUR732W.js.map} +0 -0
- /package/dist/esm/{chunk-CFEWW2ER.js.map → chunk-YBRE4XNB.js.map} +0 -0
- /package/dist/esm/{chunk-BQNJHJXY.js.map → chunk-ZGK4PJCD.js.map} +0 -0
- /package/dist/esm/{chunk-PWXFQ5FI.js.map → chunk-ZXN75Q55.js.map} +0 -0
- /package/dist/esm/{query_akash-HN4NCENR.js.map → query_akash-72TFPQBZ.js.map} +0 -0
- /package/dist/esm/{query_akash-SVNQ4S67.js.map → query_akash-EGFDDA4L.js.map} +0 -0
- /package/dist/esm/{query_akash-BTYAA6UN.js.map → query_akash-I3RPHLVA.js.map} +0 -0
- /package/dist/esm/{query_akash-EG43V2QH.js.map → query_akash-QF2LHJQN.js.map} +0 -0
- /package/dist/esm/{service_akash-HFGWADC2.js.map → service_akash-JQKI2SJP.js.map} +0 -0
- /package/dist/esm/{service_akash-QTGRTXLG.js.map → service_akash-PFTEVUGK.js.map} +0 -0
- /package/dist/esm/{service_akash-KAJJV7LX.js.map → service_akash-SXXXZL6K.js.map} +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/generated/protos/akash/inventory/v1/snapshot.ts"],
|
|
4
|
-
"sourcesContent": ["import { bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp, fromJsonTimestamp, isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/inventory/v1/snapshot.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.ts\";\nimport { Cluster } from \"./cluster.ts\";\n\n/** SnapshotPayload is the deterministic payload signed by a provider. */\nexport interface SnapshotPayload {\n /** schema_version identifies the payload schema used by snapshot_payload. */\n schemaVersion: number;\n /** provider is the provider account address in bech32 form. */\n provider: string;\n /** chain_id binds the snapshot to the chain the provider is operating on. */\n chainId: string;\n /** nonce is the optional challenge supplied by the caller. */\n nonce: Uint8Array;\n /** timestamp is the provider-local snapshot generation time. */\n timestamp:\n | Date\n | undefined;\n /** cluster is the current cluster inventory view. */\n cluster:\n | Cluster\n | undefined;\n /** resource_summary is the chain-facing summary derived from the full snapshot. */\n resourceSummary:\n | SnapshotResourceSummary\n | undefined;\n /** evidence_sections carries named collector payloads for auditor evidence. */\n evidenceSections: SnapshotEvidenceSection[];\n}\n\n/**\n * SoftwareIdentity carries release artifact identity and signature metadata.\n * Providers report these fields; auditors verify them off-chain against the\n * published Akash release key.\n */\nexport interface SoftwareIdentity {\n /** version is the provider or inventory software version string. */\n version: string;\n /** artifact_ref identifies the release artifact whose digest/signature is reported. */\n artifactRef: string;\n /** digest_algorithm identifies the digest algorithm, e.g. sha3-256. */\n digestAlgorithm: string;\n /** digest is the release artifact digest bytes. */\n digest: Uint8Array;\n /** signature_type identifies the signature format, e.g. cosign. */\n signatureType: string;\n /** signature is the detached signature bytes when carried inline. */\n signature: Uint8Array;\n /** signature_ref identifies an external signature or bundle. */\n signatureRef: string;\n /** public_key_ref identifies the published release public key. */\n publicKeyRef: string;\n}\n\n/** SnapshotResourceSummary captures the snapshot fields posted on-chain. */\nexport interface SnapshotResourceSummary {\n totalGpus: number;\n totalVcpus: number;\n totalMemoryMb: bigint;\n totalStorageMb: bigint;\n activeLeases: number;\n /** software_version is the provider software version string kept for compatibility. */\n softwareVersion: string;\n /** software_signature is the provider software signature kept for compatibility. */\n softwareSignature: Uint8Array;\n /** software_identity carries structured release artifact metadata. */\n softwareIdentity: SoftwareIdentity | undefined;\n}\n\n/** SnapshotEvidenceSection carries an opaque payload from one collector. */\nexport interface SnapshotEvidenceSection {\n name: string;\n payload: Uint8Array;\n}\n\n/** GetInventorySnapshotRequest is the request type for GetInventorySnapshot. */\nexport interface GetInventorySnapshotRequest {\n /** nonce is an optional 32-byte challenge bound into the signed payload. */\n nonce: Uint8Array;\n}\n\n/** GetInventorySnapshotResponse is the response type for GetInventorySnapshot. */\nexport interface GetInventorySnapshotResponse {\n /** snapshot_payload is the opaque inventory snapshot payload. */\n snapshotPayload: Uint8Array;\n /** signature is the provider signature over snapshot_payload. */\n signature: Uint8Array;\n /** provider is the provider account address in bech32 form. */\n provider: string;\n}\n\n/**\n * GetCommittedInventorySnapshotRequest is the request type for\n * GetCommittedInventorySnapshot.\n */\nexport interface GetCommittedInventorySnapshotRequest {\n /**\n * snapshot_hash optionally selects a committed snapshot by SHA-256 hash. When\n * omitted, the latest committed snapshot is returned.\n */\n snapshotHash: Uint8Array;\n}\n\n/**\n * GetCommittedInventorySnapshotResponse is the response type for\n * GetCommittedInventorySnapshot.\n */\nexport interface GetCommittedInventorySnapshotResponse {\n /** snapshot_payload is the exact committed inventory snapshot payload. */\n snapshotPayload: Uint8Array;\n /** signature is the provider signature over snapshot_payload. */\n signature: Uint8Array;\n /** provider is the provider account address in bech32 form. */\n provider: string;\n /** snapshot_hash is the SHA-256 hash of snapshot_payload. */\n snapshotHash: Uint8Array;\n /** posted_at is when the provider stored this committed snapshot locally. */\n postedAt: Date | undefined;\n}\n\nfunction createBaseSnapshotPayload(): SnapshotPayload {\n return {\n schemaVersion: 0,\n provider: \"\",\n chainId: \"\",\n nonce: new Uint8Array(0),\n timestamp: undefined,\n cluster: undefined,\n resourceSummary: undefined,\n evidenceSections: [],\n };\n}\n\nexport const SnapshotPayload: MessageFns<SnapshotPayload, \"akash.inventory.v1.SnapshotPayload\"> = {\n $type: \"akash.inventory.v1.SnapshotPayload\" as const,\n\n encode(message: SnapshotPayload, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.schemaVersion !== 0) {\n writer.uint32(8).uint32(message.schemaVersion);\n }\n if (message.provider !== \"\") {\n writer.uint32(18).string(message.provider);\n }\n if (message.chainId !== \"\") {\n writer.uint32(26).string(message.chainId);\n }\n if (message.nonce.length !== 0) {\n writer.uint32(34).bytes(message.nonce);\n }\n if (message.timestamp !== undefined) {\n Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).join();\n }\n if (message.cluster !== undefined) {\n Cluster.encode(message.cluster, writer.uint32(50).fork()).join();\n }\n if (message.resourceSummary !== undefined) {\n SnapshotResourceSummary.encode(message.resourceSummary, writer.uint32(58).fork()).join();\n }\n for (const v of message.evidenceSections) {\n SnapshotEvidenceSection.encode(v!, writer.uint32(66).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): SnapshotPayload {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseSnapshotPayload();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.schemaVersion = reader.uint32();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.chainId = reader.string();\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.nonce = reader.bytes();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.cluster = Cluster.decode(reader, reader.uint32());\n continue;\n }\n case 7: {\n if (tag !== 58) {\n break;\n }\n\n message.resourceSummary = SnapshotResourceSummary.decode(reader, reader.uint32());\n continue;\n }\n case 8: {\n if (tag !== 66) {\n break;\n }\n\n message.evidenceSections.push(SnapshotEvidenceSection.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): SnapshotPayload {\n return {\n schemaVersion: isSet(object.schema_version) ? globalThis.Number(object.schema_version) : 0,\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n chainId: isSet(object.chain_id) ? globalThis.String(object.chain_id) : \"\",\n nonce: isSet(object.nonce) ? bytesFromBase64(object.nonce) : new Uint8Array(0),\n timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,\n cluster: isSet(object.cluster) ? Cluster.fromJSON(object.cluster) : undefined,\n resourceSummary: isSet(object.resource_summary)\n ? SnapshotResourceSummary.fromJSON(object.resource_summary)\n : undefined,\n evidenceSections: globalThis.Array.isArray(object?.evidence_sections)\n ? object.evidence_sections.map((e: any) => SnapshotEvidenceSection.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: SnapshotPayload): unknown {\n const obj: any = {};\n if (message.schemaVersion !== 0) {\n obj.schema_version = Math.round(message.schemaVersion);\n }\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.chainId !== \"\") {\n obj.chain_id = message.chainId;\n }\n if (message.nonce.length !== 0) {\n obj.nonce = base64FromBytes(message.nonce);\n }\n if (message.timestamp !== undefined) {\n obj.timestamp = message.timestamp.toISOString();\n }\n if (message.cluster !== undefined) {\n obj.cluster = Cluster.toJSON(message.cluster);\n }\n if (message.resourceSummary !== undefined) {\n obj.resource_summary = SnapshotResourceSummary.toJSON(message.resourceSummary);\n }\n if (message.evidenceSections?.length) {\n obj.evidence_sections = message.evidenceSections.map((e) => SnapshotEvidenceSection.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<SnapshotPayload>): SnapshotPayload {\n const message = createBaseSnapshotPayload();\n message.schemaVersion = object.schemaVersion ?? 0;\n message.provider = object.provider ?? \"\";\n message.chainId = object.chainId ?? \"\";\n message.nonce = object.nonce ?? new Uint8Array(0);\n message.timestamp = object.timestamp ?? undefined;\n message.cluster = (object.cluster !== undefined && object.cluster !== null)\n ? Cluster.fromPartial(object.cluster)\n : undefined;\n message.resourceSummary = (object.resourceSummary !== undefined && object.resourceSummary !== null)\n ? SnapshotResourceSummary.fromPartial(object.resourceSummary)\n : undefined;\n message.evidenceSections = object.evidenceSections?.map((e) => SnapshotEvidenceSection.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseSoftwareIdentity(): SoftwareIdentity {\n return {\n version: \"\",\n artifactRef: \"\",\n digestAlgorithm: \"\",\n digest: new Uint8Array(0),\n signatureType: \"\",\n signature: new Uint8Array(0),\n signatureRef: \"\",\n publicKeyRef: \"\",\n };\n}\n\nexport const SoftwareIdentity: MessageFns<SoftwareIdentity, \"akash.inventory.v1.SoftwareIdentity\"> = {\n $type: \"akash.inventory.v1.SoftwareIdentity\" as const,\n\n encode(message: SoftwareIdentity, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.version !== \"\") {\n writer.uint32(10).string(message.version);\n }\n if (message.artifactRef !== \"\") {\n writer.uint32(18).string(message.artifactRef);\n }\n if (message.digestAlgorithm !== \"\") {\n writer.uint32(26).string(message.digestAlgorithm);\n }\n if (message.digest.length !== 0) {\n writer.uint32(34).bytes(message.digest);\n }\n if (message.signatureType !== \"\") {\n writer.uint32(42).string(message.signatureType);\n }\n if (message.signature.length !== 0) {\n writer.uint32(50).bytes(message.signature);\n }\n if (message.signatureRef !== \"\") {\n writer.uint32(58).string(message.signatureRef);\n }\n if (message.publicKeyRef !== \"\") {\n writer.uint32(66).string(message.publicKeyRef);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): SoftwareIdentity {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseSoftwareIdentity();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.version = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.artifactRef = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.digestAlgorithm = reader.string();\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.digest = reader.bytes();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.signatureType = reader.string();\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.signature = reader.bytes();\n continue;\n }\n case 7: {\n if (tag !== 58) {\n break;\n }\n\n message.signatureRef = reader.string();\n continue;\n }\n case 8: {\n if (tag !== 66) {\n break;\n }\n\n message.publicKeyRef = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): SoftwareIdentity {\n return {\n version: isSet(object.version) ? globalThis.String(object.version) : \"\",\n artifactRef: isSet(object.artifact_ref) ? globalThis.String(object.artifact_ref) : \"\",\n digestAlgorithm: isSet(object.digest_algorithm) ? globalThis.String(object.digest_algorithm) : \"\",\n digest: isSet(object.digest) ? bytesFromBase64(object.digest) : new Uint8Array(0),\n signatureType: isSet(object.signature_type) ? globalThis.String(object.signature_type) : \"\",\n signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(0),\n signatureRef: isSet(object.signature_ref) ? globalThis.String(object.signature_ref) : \"\",\n publicKeyRef: isSet(object.public_key_ref) ? globalThis.String(object.public_key_ref) : \"\",\n };\n },\n\n toJSON(message: SoftwareIdentity): unknown {\n const obj: any = {};\n if (message.version !== \"\") {\n obj.version = message.version;\n }\n if (message.artifactRef !== \"\") {\n obj.artifact_ref = message.artifactRef;\n }\n if (message.digestAlgorithm !== \"\") {\n obj.digest_algorithm = message.digestAlgorithm;\n }\n if (message.digest.length !== 0) {\n obj.digest = base64FromBytes(message.digest);\n }\n if (message.signatureType !== \"\") {\n obj.signature_type = message.signatureType;\n }\n if (message.signature.length !== 0) {\n obj.signature = base64FromBytes(message.signature);\n }\n if (message.signatureRef !== \"\") {\n obj.signature_ref = message.signatureRef;\n }\n if (message.publicKeyRef !== \"\") {\n obj.public_key_ref = message.publicKeyRef;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<SoftwareIdentity>): SoftwareIdentity {\n const message = createBaseSoftwareIdentity();\n message.version = object.version ?? \"\";\n message.artifactRef = object.artifactRef ?? \"\";\n message.digestAlgorithm = object.digestAlgorithm ?? \"\";\n message.digest = object.digest ?? new Uint8Array(0);\n message.signatureType = object.signatureType ?? \"\";\n message.signature = object.signature ?? new Uint8Array(0);\n message.signatureRef = object.signatureRef ?? \"\";\n message.publicKeyRef = object.publicKeyRef ?? \"\";\n return message;\n },\n};\n\nfunction createBaseSnapshotResourceSummary(): SnapshotResourceSummary {\n return {\n totalGpus: 0,\n totalVcpus: 0,\n totalMemoryMb: 0n,\n totalStorageMb: 0n,\n activeLeases: 0,\n softwareVersion: \"\",\n softwareSignature: new Uint8Array(0),\n softwareIdentity: undefined,\n };\n}\n\nexport const SnapshotResourceSummary: MessageFns<\n SnapshotResourceSummary,\n \"akash.inventory.v1.SnapshotResourceSummary\"\n> = {\n $type: \"akash.inventory.v1.SnapshotResourceSummary\" as const,\n\n encode(message: SnapshotResourceSummary, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.totalGpus !== 0) {\n writer.uint32(8).uint32(message.totalGpus);\n }\n if (message.totalVcpus !== 0) {\n writer.uint32(16).uint32(message.totalVcpus);\n }\n if (message.totalMemoryMb !== 0n) {\n if (BigInt.asUintN(64, message.totalMemoryMb) !== message.totalMemoryMb) {\n throw new globalThis.Error(\"value provided for field message.totalMemoryMb of type uint64 too large\");\n }\n writer.uint32(24).uint64(message.totalMemoryMb);\n }\n if (message.totalStorageMb !== 0n) {\n if (BigInt.asUintN(64, message.totalStorageMb) !== message.totalStorageMb) {\n throw new globalThis.Error(\"value provided for field message.totalStorageMb of type uint64 too large\");\n }\n writer.uint32(32).uint64(message.totalStorageMb);\n }\n if (message.activeLeases !== 0) {\n writer.uint32(40).uint32(message.activeLeases);\n }\n if (message.softwareVersion !== \"\") {\n writer.uint32(50).string(message.softwareVersion);\n }\n if (message.softwareSignature.length !== 0) {\n writer.uint32(58).bytes(message.softwareSignature);\n }\n if (message.softwareIdentity !== undefined) {\n SoftwareIdentity.encode(message.softwareIdentity, writer.uint32(66).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): SnapshotResourceSummary {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseSnapshotResourceSummary();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.totalGpus = reader.uint32();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.totalVcpus = reader.uint32();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.totalMemoryMb = reader.uint64() as bigint;\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n\n message.totalStorageMb = reader.uint64() as bigint;\n continue;\n }\n case 5: {\n if (tag !== 40) {\n break;\n }\n\n message.activeLeases = reader.uint32();\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.softwareVersion = reader.string();\n continue;\n }\n case 7: {\n if (tag !== 58) {\n break;\n }\n\n message.softwareSignature = reader.bytes();\n continue;\n }\n case 8: {\n if (tag !== 66) {\n break;\n }\n\n message.softwareIdentity = SoftwareIdentity.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): SnapshotResourceSummary {\n return {\n totalGpus: isSet(object.total_gpus) ? globalThis.Number(object.total_gpus) : 0,\n totalVcpus: isSet(object.total_vcpus) ? globalThis.Number(object.total_vcpus) : 0,\n totalMemoryMb: isSet(object.total_memory_mb) ? BigInt(object.total_memory_mb) : 0n,\n totalStorageMb: isSet(object.total_storage_mb) ? BigInt(object.total_storage_mb) : 0n,\n activeLeases: isSet(object.active_leases) ? globalThis.Number(object.active_leases) : 0,\n softwareVersion: isSet(object.software_version) ? globalThis.String(object.software_version) : \"\",\n softwareSignature: isSet(object.software_signature)\n ? bytesFromBase64(object.software_signature)\n : new Uint8Array(0),\n softwareIdentity: isSet(object.software_identity)\n ? SoftwareIdentity.fromJSON(object.software_identity)\n : undefined,\n };\n },\n\n toJSON(message: SnapshotResourceSummary): unknown {\n const obj: any = {};\n if (message.totalGpus !== 0) {\n obj.total_gpus = Math.round(message.totalGpus);\n }\n if (message.totalVcpus !== 0) {\n obj.total_vcpus = Math.round(message.totalVcpus);\n }\n if (message.totalMemoryMb !== 0n) {\n obj.total_memory_mb = message.totalMemoryMb.toString();\n }\n if (message.totalStorageMb !== 0n) {\n obj.total_storage_mb = message.totalStorageMb.toString();\n }\n if (message.activeLeases !== 0) {\n obj.active_leases = Math.round(message.activeLeases);\n }\n if (message.softwareVersion !== \"\") {\n obj.software_version = message.softwareVersion;\n }\n if (message.softwareSignature.length !== 0) {\n obj.software_signature = base64FromBytes(message.softwareSignature);\n }\n if (message.softwareIdentity !== undefined) {\n obj.software_identity = SoftwareIdentity.toJSON(message.softwareIdentity);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<SnapshotResourceSummary>): SnapshotResourceSummary {\n const message = createBaseSnapshotResourceSummary();\n message.totalGpus = object.totalGpus ?? 0;\n message.totalVcpus = object.totalVcpus ?? 0;\n message.totalMemoryMb = (object.totalMemoryMb !== undefined && object.totalMemoryMb !== null)\n ? BigInt(object.totalMemoryMb)\n : 0n;\n message.totalStorageMb = (object.totalStorageMb !== undefined && object.totalStorageMb !== null)\n ? BigInt(object.totalStorageMb)\n : 0n;\n message.activeLeases = object.activeLeases ?? 0;\n message.softwareVersion = object.softwareVersion ?? \"\";\n message.softwareSignature = object.softwareSignature ?? new Uint8Array(0);\n message.softwareIdentity = (object.softwareIdentity !== undefined && object.softwareIdentity !== null)\n ? SoftwareIdentity.fromPartial(object.softwareIdentity)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseSnapshotEvidenceSection(): SnapshotEvidenceSection {\n return { name: \"\", payload: new Uint8Array(0) };\n}\n\nexport const SnapshotEvidenceSection: MessageFns<\n SnapshotEvidenceSection,\n \"akash.inventory.v1.SnapshotEvidenceSection\"\n> = {\n $type: \"akash.inventory.v1.SnapshotEvidenceSection\" as const,\n\n encode(message: SnapshotEvidenceSection, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.name !== \"\") {\n writer.uint32(10).string(message.name);\n }\n if (message.payload.length !== 0) {\n writer.uint32(18).bytes(message.payload);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): SnapshotEvidenceSection {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseSnapshotEvidenceSection();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.name = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.payload = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): SnapshotEvidenceSection {\n return {\n name: isSet(object.name) ? globalThis.String(object.name) : \"\",\n payload: isSet(object.payload) ? bytesFromBase64(object.payload) : new Uint8Array(0),\n };\n },\n\n toJSON(message: SnapshotEvidenceSection): unknown {\n const obj: any = {};\n if (message.name !== \"\") {\n obj.name = message.name;\n }\n if (message.payload.length !== 0) {\n obj.payload = base64FromBytes(message.payload);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<SnapshotEvidenceSection>): SnapshotEvidenceSection {\n const message = createBaseSnapshotEvidenceSection();\n message.name = object.name ?? \"\";\n message.payload = object.payload ?? new Uint8Array(0);\n return message;\n },\n};\n\nfunction createBaseGetInventorySnapshotRequest(): GetInventorySnapshotRequest {\n return { nonce: new Uint8Array(0) };\n}\n\nexport const GetInventorySnapshotRequest: MessageFns<\n GetInventorySnapshotRequest,\n \"akash.inventory.v1.GetInventorySnapshotRequest\"\n> = {\n $type: \"akash.inventory.v1.GetInventorySnapshotRequest\" as const,\n\n encode(message: GetInventorySnapshotRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.nonce.length !== 0) {\n writer.uint32(10).bytes(message.nonce);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GetInventorySnapshotRequest {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGetInventorySnapshotRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.nonce = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GetInventorySnapshotRequest {\n return { nonce: isSet(object.nonce) ? bytesFromBase64(object.nonce) : new Uint8Array(0) };\n },\n\n toJSON(message: GetInventorySnapshotRequest): unknown {\n const obj: any = {};\n if (message.nonce.length !== 0) {\n obj.nonce = base64FromBytes(message.nonce);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GetInventorySnapshotRequest>): GetInventorySnapshotRequest {\n const message = createBaseGetInventorySnapshotRequest();\n message.nonce = object.nonce ?? new Uint8Array(0);\n return message;\n },\n};\n\nfunction createBaseGetInventorySnapshotResponse(): GetInventorySnapshotResponse {\n return { snapshotPayload: new Uint8Array(0), signature: new Uint8Array(0), provider: \"\" };\n}\n\nexport const GetInventorySnapshotResponse: MessageFns<\n GetInventorySnapshotResponse,\n \"akash.inventory.v1.GetInventorySnapshotResponse\"\n> = {\n $type: \"akash.inventory.v1.GetInventorySnapshotResponse\" as const,\n\n encode(message: GetInventorySnapshotResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.snapshotPayload.length !== 0) {\n writer.uint32(10).bytes(message.snapshotPayload);\n }\n if (message.signature.length !== 0) {\n writer.uint32(18).bytes(message.signature);\n }\n if (message.provider !== \"\") {\n writer.uint32(26).string(message.provider);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GetInventorySnapshotResponse {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGetInventorySnapshotResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.snapshotPayload = reader.bytes();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.signature = reader.bytes();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GetInventorySnapshotResponse {\n return {\n snapshotPayload: isSet(object.snapshot_payload) ? bytesFromBase64(object.snapshot_payload) : new Uint8Array(0),\n signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(0),\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n };\n },\n\n toJSON(message: GetInventorySnapshotResponse): unknown {\n const obj: any = {};\n if (message.snapshotPayload.length !== 0) {\n obj.snapshot_payload = base64FromBytes(message.snapshotPayload);\n }\n if (message.signature.length !== 0) {\n obj.signature = base64FromBytes(message.signature);\n }\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GetInventorySnapshotResponse>): GetInventorySnapshotResponse {\n const message = createBaseGetInventorySnapshotResponse();\n message.snapshotPayload = object.snapshotPayload ?? new Uint8Array(0);\n message.signature = object.signature ?? new Uint8Array(0);\n message.provider = object.provider ?? \"\";\n return message;\n },\n};\n\nfunction createBaseGetCommittedInventorySnapshotRequest(): GetCommittedInventorySnapshotRequest {\n return { snapshotHash: new Uint8Array(0) };\n}\n\nexport const GetCommittedInventorySnapshotRequest: MessageFns<\n GetCommittedInventorySnapshotRequest,\n \"akash.inventory.v1.GetCommittedInventorySnapshotRequest\"\n> = {\n $type: \"akash.inventory.v1.GetCommittedInventorySnapshotRequest\" as const,\n\n encode(message: GetCommittedInventorySnapshotRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.snapshotHash.length !== 0) {\n writer.uint32(10).bytes(message.snapshotHash);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GetCommittedInventorySnapshotRequest {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGetCommittedInventorySnapshotRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.snapshotHash = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GetCommittedInventorySnapshotRequest {\n return { snapshotHash: isSet(object.snapshot_hash) ? bytesFromBase64(object.snapshot_hash) : new Uint8Array(0) };\n },\n\n toJSON(message: GetCommittedInventorySnapshotRequest): unknown {\n const obj: any = {};\n if (message.snapshotHash.length !== 0) {\n obj.snapshot_hash = base64FromBytes(message.snapshotHash);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GetCommittedInventorySnapshotRequest>): GetCommittedInventorySnapshotRequest {\n const message = createBaseGetCommittedInventorySnapshotRequest();\n message.snapshotHash = object.snapshotHash ?? new Uint8Array(0);\n return message;\n },\n};\n\nfunction createBaseGetCommittedInventorySnapshotResponse(): GetCommittedInventorySnapshotResponse {\n return {\n snapshotPayload: new Uint8Array(0),\n signature: new Uint8Array(0),\n provider: \"\",\n snapshotHash: new Uint8Array(0),\n postedAt: undefined,\n };\n}\n\nexport const GetCommittedInventorySnapshotResponse: MessageFns<\n GetCommittedInventorySnapshotResponse,\n \"akash.inventory.v1.GetCommittedInventorySnapshotResponse\"\n> = {\n $type: \"akash.inventory.v1.GetCommittedInventorySnapshotResponse\" as const,\n\n encode(message: GetCommittedInventorySnapshotResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.snapshotPayload.length !== 0) {\n writer.uint32(10).bytes(message.snapshotPayload);\n }\n if (message.signature.length !== 0) {\n writer.uint32(18).bytes(message.signature);\n }\n if (message.provider !== \"\") {\n writer.uint32(26).string(message.provider);\n }\n if (message.snapshotHash.length !== 0) {\n writer.uint32(34).bytes(message.snapshotHash);\n }\n if (message.postedAt !== undefined) {\n Timestamp.encode(toTimestamp(message.postedAt), writer.uint32(42).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GetCommittedInventorySnapshotResponse {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGetCommittedInventorySnapshotResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.snapshotPayload = reader.bytes();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.signature = reader.bytes();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.snapshotHash = reader.bytes();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.postedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GetCommittedInventorySnapshotResponse {\n return {\n snapshotPayload: isSet(object.snapshot_payload) ? bytesFromBase64(object.snapshot_payload) : new Uint8Array(0),\n signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(0),\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n snapshotHash: isSet(object.snapshot_hash) ? bytesFromBase64(object.snapshot_hash) : new Uint8Array(0),\n postedAt: isSet(object.posted_at) ? fromJsonTimestamp(object.posted_at) : undefined,\n };\n },\n\n toJSON(message: GetCommittedInventorySnapshotResponse): unknown {\n const obj: any = {};\n if (message.snapshotPayload.length !== 0) {\n obj.snapshot_payload = base64FromBytes(message.snapshotPayload);\n }\n if (message.signature.length !== 0) {\n obj.signature = base64FromBytes(message.signature);\n }\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.snapshotHash.length !== 0) {\n obj.snapshot_hash = base64FromBytes(message.snapshotHash);\n }\n if (message.postedAt !== undefined) {\n obj.posted_at = message.postedAt.toISOString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GetCommittedInventorySnapshotResponse>): GetCommittedInventorySnapshotResponse {\n const message = createBaseGetCommittedInventorySnapshotResponse();\n message.snapshotPayload = object.snapshotPayload ?? new Uint8Array(0);\n message.signature = object.signature ?? new Uint8Array(0);\n message.provider = object.provider ?? \"\";\n message.snapshotHash = object.snapshotHash ?? new Uint8Array(0);\n message.postedAt = object.postedAt ?? undefined;\n return message;\n },\n};\n\nfunction _unused_bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction _unused_base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_toTimestamp(date: Date): Timestamp {\n const seconds = BigInt(Math.trunc(date.getTime() / 1_000));\n const nanos = (date.getTime() % 1_000) * 1_000_000;\n return { seconds, nanos };\n}\n\nfunction _unused_fromTimestamp(t: Timestamp): Date {\n let millis = (globalThis.Number(t.seconds.toString()) || 0) * 1_000;\n millis += (t.nanos || 0) / 1_000_000;\n return new globalThis.Date(millis);\n}\n\nfunction _unused_fromJsonTimestamp(o: any): Date {\n if (o instanceof globalThis.Date) {\n return o;\n } else if (typeof o === \"string\") {\n return new globalThis.Date(o);\n } else {\n return fromTimestamp(Timestamp.fromJSON(o));\n }\n}\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAuG;AASvG,kBAA2C;AAC3C,uBAA0B;AAC1B,qBAAwB;AAsHxB,SAAS,4BAA6C;AACpD,SAAO;AAAA,IACL,eAAe;AAA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AK,WAAW,OAAO,aAAa,IAAI,CAAC;AAAA,IAC/C,CAAC;AACD,WAAO,WAAW,KAAK,IAAI,KAAK,EAAE,CAAC;AAAA,EACrC;AACF;AAUA,SAAS,oBAAoB,MAAuB;AAClD,QAAM,UAAU,OAAO,KAAK,MAAM,KAAK,QAAQ,IAAI,GAAK,CAAC;AACzD,QAAM,QAAS,KAAK,QAAQ,IAAI,MAAS;AACzC,SAAO,EAAE,SAAS,MAAM;AAC1B;AAEA,SAAS,sBAAsB,GAAoB;AACjD,MAAI,UAAU,WAAW,OAAO,EAAE,QAAQ,SAAS,CAAC,KAAK,KAAK;AAC9D,aAAW,EAAE,SAAS,KAAK;AAC3B,SAAO,IAAI,WAAW,KAAK,MAAM;AACnC;AAEA,SAAS,0BAA0B,GAAc;AAC/C,MAAI,aAAa,WAAW,MAAM;AAChC,WAAO;AAAA,EACT,WAAW,OAAO,MAAM,UAAU;AAChC,WAAO,IAAI,WAAW,KAAK,CAAC;AAAA,EAC9B,OAAO;AACL,eAAO,0CAAc,2BAAU,SAAS,CAAC,CAAC;AAAA,EAC5C;AACF;AAEA,SAAS,cAAc,OAAqB;AAC1C,SAAO,UAAU,QAAQ,UAAU;AACrC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var snapshot_akash_exports = {};
|
|
20
|
-
__export(snapshot_akash_exports, {
|
|
21
|
-
InventoryService: () => InventoryService
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(snapshot_akash_exports);
|
|
24
|
-
var import_snapshot = require("./snapshot.cjs");
|
|
25
|
-
const InventoryService = {
|
|
26
|
-
typeName: "akash.inventory.v1.InventoryService",
|
|
27
|
-
methods: {
|
|
28
|
-
getInventorySnapshot: {
|
|
29
|
-
name: "GetInventorySnapshot",
|
|
30
|
-
httpMethod: "post",
|
|
31
|
-
httpPath: "/v1/inventory/snapshot",
|
|
32
|
-
input: import_snapshot.GetInventorySnapshotRequest,
|
|
33
|
-
output: import_snapshot.GetInventorySnapshotResponse,
|
|
34
|
-
get parent() {
|
|
35
|
-
return InventoryService;
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
getCommittedInventorySnapshot: {
|
|
39
|
-
name: "GetCommittedInventorySnapshot",
|
|
40
|
-
httpMethod: "post",
|
|
41
|
-
httpPath: "/v1/inventory/snapshot/committed",
|
|
42
|
-
input: import_snapshot.GetCommittedInventorySnapshotRequest,
|
|
43
|
-
output: import_snapshot.GetCommittedInventorySnapshotResponse,
|
|
44
|
-
get parent() {
|
|
45
|
-
return InventoryService;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=snapshot_akash.cjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/generated/protos/akash/inventory/v1/snapshot_akash.ts"],
|
|
4
|
-
"sourcesContent": ["import { GetCommittedInventorySnapshotRequest, GetCommittedInventorySnapshotResponse, GetInventorySnapshotRequest, GetInventorySnapshotResponse } from \"./snapshot.ts\";\n\nexport const InventoryService = {\n typeName: \"akash.inventory.v1.InventoryService\",\n methods: {\n getInventorySnapshot: {\n name: \"GetInventorySnapshot\",\n httpMethod: \"post\",\n httpPath: \"/v1/inventory/snapshot\",\n input: GetInventorySnapshotRequest,\n output: GetInventorySnapshotResponse,\n get parent() { return InventoryService; },\n },\n getCommittedInventorySnapshot: {\n name: \"GetCommittedInventorySnapshot\",\n httpMethod: \"post\",\n httpPath: \"/v1/inventory/snapshot/committed\",\n input: GetCommittedInventorySnapshotRequest,\n output: GetCommittedInventorySnapshotResponse,\n get parent() { return InventoryService; },\n },\n },\n} as const;\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAuJ;AAEhJ,MAAM,mBAAmB;AAAA,EAC9B,UAAU;AAAA,EACV,SAAS;AAAA,IACP,sBAAsB;AAAA,MACpB,MAAM;AAAA,MACN,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,IAAI,SAAS;AAAE,eAAO;AAAA,MAAkB;AAAA,IAC1C;AAAA,IACA,+BAA+B;AAAA,MAC7B,MAAM;AAAA,MACN,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,IAAI,SAAS;AAAE,eAAO;AAAA,MAAkB;AAAA,IAC1C;AAAA,EACF;AACF;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var stats_exports = {};
|
|
20
|
-
__export(stats_exports, {
|
|
21
|
-
ProviderLeaseStats: () => ProviderLeaseStats,
|
|
22
|
-
ProviderLeaseStatsByReason: () => ProviderLeaseStatsByReason
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(stats_exports);
|
|
25
|
-
var import_typeEncodingHelpers = require("../../../../../encoding/typeEncodingHelpers.cjs");
|
|
26
|
-
var import_wire = require("@bufbuild/protobuf/wire");
|
|
27
|
-
var import_types = require("./types.cjs");
|
|
28
|
-
function createBaseProviderLeaseStatsByReason() {
|
|
29
|
-
return { reason: 0, count: 0n };
|
|
30
|
-
}
|
|
31
|
-
const ProviderLeaseStatsByReason = {
|
|
32
|
-
$type: "akash.market.v1.ProviderLeaseStatsByReason",
|
|
33
|
-
encode(message, writer = new import_wire.BinaryWriter()) {
|
|
34
|
-
if (message.reason !== 0) {
|
|
35
|
-
writer.uint32(8).int32(message.reason);
|
|
36
|
-
}
|
|
37
|
-
if (message.count !== 0n) {
|
|
38
|
-
if (BigInt.asUintN(64, message.count) !== message.count) {
|
|
39
|
-
throw new globalThis.Error("value provided for field message.count of type uint64 too large");
|
|
40
|
-
}
|
|
41
|
-
writer.uint32(16).uint64(message.count);
|
|
42
|
-
}
|
|
43
|
-
return writer;
|
|
44
|
-
},
|
|
45
|
-
decode(input, length) {
|
|
46
|
-
const reader = input instanceof import_wire.BinaryReader ? input : new import_wire.BinaryReader(input);
|
|
47
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
48
|
-
const message = createBaseProviderLeaseStatsByReason();
|
|
49
|
-
while (reader.pos < end) {
|
|
50
|
-
const tag = reader.uint32();
|
|
51
|
-
switch (tag >>> 3) {
|
|
52
|
-
case 1: {
|
|
53
|
-
if (tag !== 8) {
|
|
54
|
-
break;
|
|
55
|
-
}
|
|
56
|
-
message.reason = reader.int32();
|
|
57
|
-
continue;
|
|
58
|
-
}
|
|
59
|
-
case 2: {
|
|
60
|
-
if (tag !== 16) {
|
|
61
|
-
break;
|
|
62
|
-
}
|
|
63
|
-
message.count = reader.uint64();
|
|
64
|
-
continue;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
68
|
-
break;
|
|
69
|
-
}
|
|
70
|
-
reader.skip(tag & 7);
|
|
71
|
-
}
|
|
72
|
-
return message;
|
|
73
|
-
},
|
|
74
|
-
fromJSON(object) {
|
|
75
|
-
return {
|
|
76
|
-
reason: (0, import_typeEncodingHelpers.isSet)(object.reason) ? (0, import_types.leaseClosedReasonFromJSON)(object.reason) : 0,
|
|
77
|
-
count: (0, import_typeEncodingHelpers.isSet)(object.count) ? BigInt(object.count) : 0n
|
|
78
|
-
};
|
|
79
|
-
},
|
|
80
|
-
toJSON(message) {
|
|
81
|
-
const obj = {};
|
|
82
|
-
if (message.reason !== 0) {
|
|
83
|
-
obj.reason = (0, import_types.leaseClosedReasonToJSON)(message.reason);
|
|
84
|
-
}
|
|
85
|
-
if (message.count !== 0n) {
|
|
86
|
-
obj.count = message.count.toString();
|
|
87
|
-
}
|
|
88
|
-
return obj;
|
|
89
|
-
},
|
|
90
|
-
fromPartial(object) {
|
|
91
|
-
const message = createBaseProviderLeaseStatsByReason();
|
|
92
|
-
message.reason = object.reason ?? 0;
|
|
93
|
-
message.count = object.count !== void 0 && object.count !== null ? BigInt(object.count) : 0n;
|
|
94
|
-
return message;
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
function createBaseProviderLeaseStats() {
|
|
98
|
-
return {
|
|
99
|
-
totalLeases: 0n,
|
|
100
|
-
completedLeases: 0n,
|
|
101
|
-
providerFaultedLeases: 0n,
|
|
102
|
-
providerFaults: [],
|
|
103
|
-
tenantClosedLeases: 0n,
|
|
104
|
-
insufficientFundsLeases: 0n
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
const ProviderLeaseStats = {
|
|
108
|
-
$type: "akash.market.v1.ProviderLeaseStats",
|
|
109
|
-
encode(message, writer = new import_wire.BinaryWriter()) {
|
|
110
|
-
if (message.totalLeases !== 0n) {
|
|
111
|
-
if (BigInt.asUintN(64, message.totalLeases) !== message.totalLeases) {
|
|
112
|
-
throw new globalThis.Error("value provided for field message.totalLeases of type uint64 too large");
|
|
113
|
-
}
|
|
114
|
-
writer.uint32(8).uint64(message.totalLeases);
|
|
115
|
-
}
|
|
116
|
-
if (message.completedLeases !== 0n) {
|
|
117
|
-
if (BigInt.asUintN(64, message.completedLeases) !== message.completedLeases) {
|
|
118
|
-
throw new globalThis.Error("value provided for field message.completedLeases of type uint64 too large");
|
|
119
|
-
}
|
|
120
|
-
writer.uint32(16).uint64(message.completedLeases);
|
|
121
|
-
}
|
|
122
|
-
if (message.providerFaultedLeases !== 0n) {
|
|
123
|
-
if (BigInt.asUintN(64, message.providerFaultedLeases) !== message.providerFaultedLeases) {
|
|
124
|
-
throw new globalThis.Error("value provided for field message.providerFaultedLeases of type uint64 too large");
|
|
125
|
-
}
|
|
126
|
-
writer.uint32(24).uint64(message.providerFaultedLeases);
|
|
127
|
-
}
|
|
128
|
-
for (const v of message.providerFaults) {
|
|
129
|
-
ProviderLeaseStatsByReason.encode(v, writer.uint32(34).fork()).join();
|
|
130
|
-
}
|
|
131
|
-
if (message.tenantClosedLeases !== 0n) {
|
|
132
|
-
if (BigInt.asUintN(64, message.tenantClosedLeases) !== message.tenantClosedLeases) {
|
|
133
|
-
throw new globalThis.Error("value provided for field message.tenantClosedLeases of type uint64 too large");
|
|
134
|
-
}
|
|
135
|
-
writer.uint32(40).uint64(message.tenantClosedLeases);
|
|
136
|
-
}
|
|
137
|
-
if (message.insufficientFundsLeases !== 0n) {
|
|
138
|
-
if (BigInt.asUintN(64, message.insufficientFundsLeases) !== message.insufficientFundsLeases) {
|
|
139
|
-
throw new globalThis.Error("value provided for field message.insufficientFundsLeases of type uint64 too large");
|
|
140
|
-
}
|
|
141
|
-
writer.uint32(48).uint64(message.insufficientFundsLeases);
|
|
142
|
-
}
|
|
143
|
-
return writer;
|
|
144
|
-
},
|
|
145
|
-
decode(input, length) {
|
|
146
|
-
const reader = input instanceof import_wire.BinaryReader ? input : new import_wire.BinaryReader(input);
|
|
147
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
148
|
-
const message = createBaseProviderLeaseStats();
|
|
149
|
-
while (reader.pos < end) {
|
|
150
|
-
const tag = reader.uint32();
|
|
151
|
-
switch (tag >>> 3) {
|
|
152
|
-
case 1: {
|
|
153
|
-
if (tag !== 8) {
|
|
154
|
-
break;
|
|
155
|
-
}
|
|
156
|
-
message.totalLeases = reader.uint64();
|
|
157
|
-
continue;
|
|
158
|
-
}
|
|
159
|
-
case 2: {
|
|
160
|
-
if (tag !== 16) {
|
|
161
|
-
break;
|
|
162
|
-
}
|
|
163
|
-
message.completedLeases = reader.uint64();
|
|
164
|
-
continue;
|
|
165
|
-
}
|
|
166
|
-
case 3: {
|
|
167
|
-
if (tag !== 24) {
|
|
168
|
-
break;
|
|
169
|
-
}
|
|
170
|
-
message.providerFaultedLeases = reader.uint64();
|
|
171
|
-
continue;
|
|
172
|
-
}
|
|
173
|
-
case 4: {
|
|
174
|
-
if (tag !== 34) {
|
|
175
|
-
break;
|
|
176
|
-
}
|
|
177
|
-
message.providerFaults.push(ProviderLeaseStatsByReason.decode(reader, reader.uint32()));
|
|
178
|
-
continue;
|
|
179
|
-
}
|
|
180
|
-
case 5: {
|
|
181
|
-
if (tag !== 40) {
|
|
182
|
-
break;
|
|
183
|
-
}
|
|
184
|
-
message.tenantClosedLeases = reader.uint64();
|
|
185
|
-
continue;
|
|
186
|
-
}
|
|
187
|
-
case 6: {
|
|
188
|
-
if (tag !== 48) {
|
|
189
|
-
break;
|
|
190
|
-
}
|
|
191
|
-
message.insufficientFundsLeases = reader.uint64();
|
|
192
|
-
continue;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
196
|
-
break;
|
|
197
|
-
}
|
|
198
|
-
reader.skip(tag & 7);
|
|
199
|
-
}
|
|
200
|
-
return message;
|
|
201
|
-
},
|
|
202
|
-
fromJSON(object) {
|
|
203
|
-
return {
|
|
204
|
-
totalLeases: (0, import_typeEncodingHelpers.isSet)(object.total_leases) ? BigInt(object.total_leases) : 0n,
|
|
205
|
-
completedLeases: (0, import_typeEncodingHelpers.isSet)(object.completed_leases) ? BigInt(object.completed_leases) : 0n,
|
|
206
|
-
providerFaultedLeases: (0, import_typeEncodingHelpers.isSet)(object.provider_faulted_leases) ? BigInt(object.provider_faulted_leases) : 0n,
|
|
207
|
-
providerFaults: globalThis.Array.isArray(object?.provider_faults) ? object.provider_faults.map((e) => ProviderLeaseStatsByReason.fromJSON(e)) : [],
|
|
208
|
-
tenantClosedLeases: (0, import_typeEncodingHelpers.isSet)(object.tenant_closed_leases) ? BigInt(object.tenant_closed_leases) : 0n,
|
|
209
|
-
insufficientFundsLeases: (0, import_typeEncodingHelpers.isSet)(object.insufficient_funds_leases) ? BigInt(object.insufficient_funds_leases) : 0n
|
|
210
|
-
};
|
|
211
|
-
},
|
|
212
|
-
toJSON(message) {
|
|
213
|
-
const obj = {};
|
|
214
|
-
if (message.totalLeases !== 0n) {
|
|
215
|
-
obj.total_leases = message.totalLeases.toString();
|
|
216
|
-
}
|
|
217
|
-
if (message.completedLeases !== 0n) {
|
|
218
|
-
obj.completed_leases = message.completedLeases.toString();
|
|
219
|
-
}
|
|
220
|
-
if (message.providerFaultedLeases !== 0n) {
|
|
221
|
-
obj.provider_faulted_leases = message.providerFaultedLeases.toString();
|
|
222
|
-
}
|
|
223
|
-
if (message.providerFaults?.length) {
|
|
224
|
-
obj.provider_faults = message.providerFaults.map((e) => ProviderLeaseStatsByReason.toJSON(e));
|
|
225
|
-
}
|
|
226
|
-
if (message.tenantClosedLeases !== 0n) {
|
|
227
|
-
obj.tenant_closed_leases = message.tenantClosedLeases.toString();
|
|
228
|
-
}
|
|
229
|
-
if (message.insufficientFundsLeases !== 0n) {
|
|
230
|
-
obj.insufficient_funds_leases = message.insufficientFundsLeases.toString();
|
|
231
|
-
}
|
|
232
|
-
return obj;
|
|
233
|
-
},
|
|
234
|
-
fromPartial(object) {
|
|
235
|
-
const message = createBaseProviderLeaseStats();
|
|
236
|
-
message.totalLeases = object.totalLeases !== void 0 && object.totalLeases !== null ? BigInt(object.totalLeases) : 0n;
|
|
237
|
-
message.completedLeases = object.completedLeases !== void 0 && object.completedLeases !== null ? BigInt(object.completedLeases) : 0n;
|
|
238
|
-
message.providerFaultedLeases = object.providerFaultedLeases !== void 0 && object.providerFaultedLeases !== null ? BigInt(object.providerFaultedLeases) : 0n;
|
|
239
|
-
message.providerFaults = object.providerFaults?.map((e) => ProviderLeaseStatsByReason.fromPartial(e)) || [];
|
|
240
|
-
message.tenantClosedLeases = object.tenantClosedLeases !== void 0 && object.tenantClosedLeases !== null ? BigInt(object.tenantClosedLeases) : 0n;
|
|
241
|
-
message.insufficientFundsLeases = object.insufficientFundsLeases !== void 0 && object.insufficientFundsLeases !== null ? BigInt(object.insufficientFundsLeases) : 0n;
|
|
242
|
-
return message;
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
function _unused_isSet(value) {
|
|
246
|
-
return value !== null && value !== void 0;
|
|
247
|
-
}
|
|
248
|
-
//# sourceMappingURL=stats.cjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/generated/protos/akash/market/v1/stats.ts"],
|
|
4
|
-
"sourcesContent": ["import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/market/v1/stats.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { LeaseClosedReason, leaseClosedReasonFromJSON, leaseClosedReasonToJSON } from \"./types.ts\";\n\n/**\n * ProviderLeaseStatsByReason stores a provider-fault lease count for one close\n * reason.\n */\nexport interface ProviderLeaseStatsByReason {\n /** Reason is the provider-initiated close reason being counted. */\n reason: LeaseClosedReason;\n /** Count is the number of leases closed for this reason. */\n count: bigint;\n}\n\n/** ProviderLeaseStats stores aggregate lease-completion stats for a provider. */\nexport interface ProviderLeaseStats {\n /** TotalLeases is the total number of leases included in the aggregate. */\n totalLeases: bigint;\n /**\n * CompletedLeases is the number of leases not closed for provider-fault\n * reasons.\n */\n completedLeases: bigint;\n /** ProviderFaultedLeases is the number of provider-fault lease closures. */\n providerFaultedLeases: bigint;\n /** ProviderFaults is the provider-fault lease count split by close reason. */\n providerFaults: ProviderLeaseStatsByReason[];\n /** TenantClosedLeases is the number of tenant/owner-initiated lease closures. */\n tenantClosedLeases: bigint;\n /**\n * InsufficientFundsLeases is the number of network closures caused by escrow\n * depletion.\n */\n insufficientFundsLeases: bigint;\n}\n\nfunction createBaseProviderLeaseStatsByReason(): ProviderLeaseStatsByReason {\n return { reason: 0, count: 0n };\n}\n\nexport const ProviderLeaseStatsByReason: MessageFns<\n ProviderLeaseStatsByReason,\n \"akash.market.v1.ProviderLeaseStatsByReason\"\n> = {\n $type: \"akash.market.v1.ProviderLeaseStatsByReason\" as const,\n\n encode(message: ProviderLeaseStatsByReason, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.reason !== 0) {\n writer.uint32(8).int32(message.reason);\n }\n if (message.count !== 0n) {\n if (BigInt.asUintN(64, message.count) !== message.count) {\n throw new globalThis.Error(\"value provided for field message.count of type uint64 too large\");\n }\n writer.uint32(16).uint64(message.count);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ProviderLeaseStatsByReason {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseProviderLeaseStatsByReason();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.reason = reader.int32() as any;\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.count = reader.uint64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ProviderLeaseStatsByReason {\n return {\n reason: isSet(object.reason) ? leaseClosedReasonFromJSON(object.reason) : 0,\n count: isSet(object.count) ? BigInt(object.count) : 0n,\n };\n },\n\n toJSON(message: ProviderLeaseStatsByReason): unknown {\n const obj: any = {};\n if (message.reason !== 0) {\n obj.reason = leaseClosedReasonToJSON(message.reason);\n }\n if (message.count !== 0n) {\n obj.count = message.count.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ProviderLeaseStatsByReason>): ProviderLeaseStatsByReason {\n const message = createBaseProviderLeaseStatsByReason();\n message.reason = object.reason ?? 0;\n message.count = (object.count !== undefined && object.count !== null) ? BigInt(object.count) : 0n;\n return message;\n },\n};\n\nfunction createBaseProviderLeaseStats(): ProviderLeaseStats {\n return {\n totalLeases: 0n,\n completedLeases: 0n,\n providerFaultedLeases: 0n,\n providerFaults: [],\n tenantClosedLeases: 0n,\n insufficientFundsLeases: 0n,\n };\n}\n\nexport const ProviderLeaseStats: MessageFns<ProviderLeaseStats, \"akash.market.v1.ProviderLeaseStats\"> = {\n $type: \"akash.market.v1.ProviderLeaseStats\" as const,\n\n encode(message: ProviderLeaseStats, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.totalLeases !== 0n) {\n if (BigInt.asUintN(64, message.totalLeases) !== message.totalLeases) {\n throw new globalThis.Error(\"value provided for field message.totalLeases of type uint64 too large\");\n }\n writer.uint32(8).uint64(message.totalLeases);\n }\n if (message.completedLeases !== 0n) {\n if (BigInt.asUintN(64, message.completedLeases) !== message.completedLeases) {\n throw new globalThis.Error(\"value provided for field message.completedLeases of type uint64 too large\");\n }\n writer.uint32(16).uint64(message.completedLeases);\n }\n if (message.providerFaultedLeases !== 0n) {\n if (BigInt.asUintN(64, message.providerFaultedLeases) !== message.providerFaultedLeases) {\n throw new globalThis.Error(\"value provided for field message.providerFaultedLeases of type uint64 too large\");\n }\n writer.uint32(24).uint64(message.providerFaultedLeases);\n }\n for (const v of message.providerFaults) {\n ProviderLeaseStatsByReason.encode(v!, writer.uint32(34).fork()).join();\n }\n if (message.tenantClosedLeases !== 0n) {\n if (BigInt.asUintN(64, message.tenantClosedLeases) !== message.tenantClosedLeases) {\n throw new globalThis.Error(\"value provided for field message.tenantClosedLeases of type uint64 too large\");\n }\n writer.uint32(40).uint64(message.tenantClosedLeases);\n }\n if (message.insufficientFundsLeases !== 0n) {\n if (BigInt.asUintN(64, message.insufficientFundsLeases) !== message.insufficientFundsLeases) {\n throw new globalThis.Error(\"value provided for field message.insufficientFundsLeases of type uint64 too large\");\n }\n writer.uint32(48).uint64(message.insufficientFundsLeases);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ProviderLeaseStats {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseProviderLeaseStats();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.totalLeases = reader.uint64() as bigint;\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.completedLeases = reader.uint64() as bigint;\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.providerFaultedLeases = reader.uint64() as bigint;\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.providerFaults.push(ProviderLeaseStatsByReason.decode(reader, reader.uint32()));\n continue;\n }\n case 5: {\n if (tag !== 40) {\n break;\n }\n\n message.tenantClosedLeases = reader.uint64() as bigint;\n continue;\n }\n case 6: {\n if (tag !== 48) {\n break;\n }\n\n message.insufficientFundsLeases = reader.uint64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): ProviderLeaseStats {\n return {\n totalLeases: isSet(object.total_leases) ? BigInt(object.total_leases) : 0n,\n completedLeases: isSet(object.completed_leases) ? BigInt(object.completed_leases) : 0n,\n providerFaultedLeases: isSet(object.provider_faulted_leases) ? BigInt(object.provider_faulted_leases) : 0n,\n providerFaults: globalThis.Array.isArray(object?.provider_faults)\n ? object.provider_faults.map((e: any) => ProviderLeaseStatsByReason.fromJSON(e))\n : [],\n tenantClosedLeases: isSet(object.tenant_closed_leases) ? BigInt(object.tenant_closed_leases) : 0n,\n insufficientFundsLeases: isSet(object.insufficient_funds_leases) ? BigInt(object.insufficient_funds_leases) : 0n,\n };\n },\n\n toJSON(message: ProviderLeaseStats): unknown {\n const obj: any = {};\n if (message.totalLeases !== 0n) {\n obj.total_leases = message.totalLeases.toString();\n }\n if (message.completedLeases !== 0n) {\n obj.completed_leases = message.completedLeases.toString();\n }\n if (message.providerFaultedLeases !== 0n) {\n obj.provider_faulted_leases = message.providerFaultedLeases.toString();\n }\n if (message.providerFaults?.length) {\n obj.provider_faults = message.providerFaults.map((e) => ProviderLeaseStatsByReason.toJSON(e));\n }\n if (message.tenantClosedLeases !== 0n) {\n obj.tenant_closed_leases = message.tenantClosedLeases.toString();\n }\n if (message.insufficientFundsLeases !== 0n) {\n obj.insufficient_funds_leases = message.insufficientFundsLeases.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<ProviderLeaseStats>): ProviderLeaseStats {\n const message = createBaseProviderLeaseStats();\n message.totalLeases = (object.totalLeases !== undefined && object.totalLeases !== null)\n ? BigInt(object.totalLeases)\n : 0n;\n message.completedLeases = (object.completedLeases !== undefined && object.completedLeases !== null)\n ? BigInt(object.completedLeases)\n : 0n;\n message.providerFaultedLeases =\n (object.providerFaultedLeases !== undefined && object.providerFaultedLeases !== null)\n ? BigInt(object.providerFaultedLeases)\n : 0n;\n message.providerFaults = object.providerFaults?.map((e) => ProviderLeaseStatsByReason.fromPartial(e)) || [];\n message.tenantClosedLeases = (object.tenantClosedLeases !== undefined && object.tenantClosedLeases !== null)\n ? BigInt(object.tenantClosedLeases)\n : 0n;\n message.insufficientFundsLeases =\n (object.insufficientFundsLeases !== undefined && object.insufficientFundsLeases !== null)\n ? BigInt(object.insufficientFundsLeases)\n : 0n;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;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