contractsDetailCreateNewRevision: "contractsDetailCreateNewRevision" = 'contractsDetailCreateNewRevision'

Method name for PRE contractsDetailCreateNewRevisionPre and POST contractsDetailCreateNewRevision

Triggered after pressing a button Create new revision on contracts list or contract detail. This method has specific API where is one extra property available in contractsDetailCreateNewRevision but it is not available in contractsDetailCreateNewRevisionPre and vice versa. So be careful!

Additional Properties:

  • contractNewRevisionAPI: Is available only for method contractsDetailCreateNewRevision! Method is designed like contractAPI.
  • contractOriginAPI: Is available only for method contractsDetailCreateNewRevisionPre! Method is designed like contractAPI.
export const contractsDetailCreateNewRevision = async ({ api, contractOriginAPI, contractNewRevisionAPI }) => {
// TODO: Add your code
return;
}