"use strict";
/* eslint-disable-next-line no-unused-vars */
function __export(m) {
/* eslint-disable-next-line no-prototype-builtins */
    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
/* eslint-disable-next-line no-unused-vars */
var jtv = require('@mojotech/json-type-validation');
/* eslint-disable-next-line no-unused-vars */
var damlTypes = require('@daml/types');
/* eslint-disable-next-line no-unused-vars */
var damlLedger = require('@daml/ledger');


exports.Approvals = {
  decoder: damlTypes.lazyMemo(function () { return jtv.object({payerApproved: damlTypes.Bool.decoder, recipientApproved: damlTypes.Bool.decoder, processorApproved: damlTypes.Bool.decoder, }); }),
  encode: function (__typed__) {
  return {
    payerApproved: damlTypes.Bool.encode(__typed__.payerApproved),
    recipientApproved: damlTypes.Bool.encode(__typed__.recipientApproved),
    processorApproved: damlTypes.Bool.encode(__typed__.processorApproved),
  };
}
,
};

