[TS] Update auto-generated TypeScript Bindings
[ldk-java] / ts / structs / Result_ScoringParametersDecodeErrorZ.mts
index 06ee3ef8037db8d977e6b1c939b79d7ce597b160..74d7c105bddbad0e5aea4fae04a4c0237e4e6f0e 100644 (file)
@@ -279,7 +279,6 @@ import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScor
 
 import CommonBase from './CommonBase.mjs';
 import * as bindings from '../bindings.mjs'
-import * as InternalUtils from '../InternalUtils.mjs'
 
 
 
@@ -295,18 +294,27 @@ export class Result_ScoringParametersDecodeErrorZ extends CommonBase {
                        return new Result_ScoringParametersDecodeErrorZ_Err(null, ptr);
                }
        }
-       public static constructor_ok(o_base_penalty_msat_arg: number, o_failure_penalty_msat_arg: number, o_overuse_penalty_start_1024th_arg: number, o_overuse_penalty_msat_per_1024th_arg: number, o_failure_penalty_half_life_arg: number): Result_ScoringParametersDecodeErrorZ {
+       /**
+        * Creates a new CResult_ScoringParametersDecodeErrorZ in the success state.
+        */
+       public static constructor_ok(o_base_penalty_msat_arg: bigint, o_failure_penalty_msat_arg: bigint, o_overuse_penalty_start_1024th_arg: number, o_overuse_penalty_msat_per_1024th_arg: bigint, o_failure_penalty_half_life_arg: bigint): Result_ScoringParametersDecodeErrorZ {
                const ret: number = bindings.CResult_ScoringParametersDecodeErrorZ_ok(bindings.ScoringParameters_new(o_base_penalty_msat_arg, o_failure_penalty_msat_arg, o_overuse_penalty_start_1024th_arg, o_overuse_penalty_msat_per_1024th_arg, o_failure_penalty_half_life_arg));
                const ret_hu_conv: Result_ScoringParametersDecodeErrorZ = Result_ScoringParametersDecodeErrorZ.constr_from_ptr(ret);
                return ret_hu_conv;
        }
 
+       /**
+        * Creates a new CResult_ScoringParametersDecodeErrorZ in the error state.
+        */
        public static constructor_err(e: DecodeError): Result_ScoringParametersDecodeErrorZ {
                const ret: number = bindings.CResult_ScoringParametersDecodeErrorZ_err(e == null ? 0 : CommonBase.get_ptr_of(e) & ~1);
                const ret_hu_conv: Result_ScoringParametersDecodeErrorZ = Result_ScoringParametersDecodeErrorZ.constr_from_ptr(ret);
                return ret_hu_conv;
        }
 
+       /**
+        * Checks if the given object is currently in the success state
+        */
        public is_ok(): boolean {
                const ret: boolean = bindings.CResult_ScoringParametersDecodeErrorZ_is_ok(this.ptr);
                return ret;