class t{constructor(t,i){this._application=t,this._resourceID=i}async getResourceID(){return this._resourceID||(this._resourceID=await this._application.getResourceID()),this._resourceID}async getConfig(t){const i=await this._application.callServiceBroker("DynaformBuilder.getNumberConfig",{paramsConfig:{resourceID:await this.getResourceID(),entityName:t}});return{isAutoNumbering:"true"===i.config.isAutoNum,initialNumber:Number(i.config.numeroInicial)}}async saveConfig(t){return this._application.callServiceBroker("DynaformBuilder.saveNumberConfig",{paramsConfig:Object.assign({resourceID:await this.getResourceID()},t)})}}export{t as S}