proposalDefinitions
constproposalDefinitions:object
Type Declaration
frequency
frequency:
object
frequency.bookingProposalScript
bookingProposalScript:
string
frequency.verificationUserScript
verificationUserScript:
string
frequency.label
label:
string
history
history:
object
history.bookingProposalScript
bookingProposalScript:
string
history.verificationUserScript
verificationUserScript:
string
history.label
label:
string
custom
custom:
object
custom.bookingProposalScript
bookingProposalScript:
string
custom.verificationUserScript
verificationUserScript:
string
custom.label
label:
string
none
none:
object
none.bookingProposalScript
bookingProposalScript:
string
none.verificationUserScript
verificationUserScript:
string
none.label
label:
string
getAttribute()
getAttribute: (
proposalDefinition,attribute,defaultValue) =>string
Parameters
proposalDefinition
ProposalType
attribute
string
defaultValue
string
Returns
string
getProposalScript()
getProposalScript: (
proposalDefinition) => (...args) =>0|1
Returns the proposal function by given proposalDefinition string
Parameters
proposalDefinition
ProposalType
Returns
(...
args):0|1
Parameters
args
...unknown[]
Returns
0 | 1
getVerificationUserScript()
getVerificationUserScript: (
proposalDefinition) => (...args) =>0|1
Returns the proposal function by given proposalDefinition string
Parameters
proposalDefinition
ProposalType
Returns
(...
args):0|1
Parameters
args
...unknown[]
Returns
0 | 1
getLabel()
getLabel: (
proposalDefinition) =>string
Returns the label by given proposalDefinition string
Parameters
proposalDefinition
ProposalType
Returns
string