2021-10-24 15:17:29 -04:00
|
|
|
<template>
|
|
|
|
<div class="mb-3">
|
2022-04-29 08:17:15 -04:00
|
|
|
<label for="clicksendsms-login" class="form-label">{{ $t("API Username") }}</label>
|
2022-04-29 08:26:56 -04:00
|
|
|
<i18n-t tag="div" class="form-text" keypath="wayToGetClickSendSMSToken">
|
2021-11-11 05:12:48 -05:00
|
|
|
<a href="http://dashboard.clicksend.com/account/subaccounts" target="_blank">{{ $t("here") }}</a>
|
2022-04-29 08:26:56 -04:00
|
|
|
</i18n-t>
|
2021-10-24 15:17:29 -04:00
|
|
|
<input id="clicksendsms-login" v-model="$parent.notification.clicksendsmsLogin" type="text" class="form-control" required>
|
2022-04-29 08:17:15 -04:00
|
|
|
<label for="clicksendsms-key" class="form-label">{{ $t("API Key") }}</label>
|
2022-10-13 07:28:02 -04:00
|
|
|
<HiddenInput id="clicksendsms-key" v-model="$parent.notification.clicksendsmsPassword" :required="true" autocomplete="new-password"></HiddenInput>
|
2021-10-24 15:17:29 -04:00
|
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
|
|
<div class="form-text">
|
|
|
|
{{ $t("checkPrice", [$t("clicksendsms")]) }}
|
2021-10-25 04:11:57 -04:00
|
|
|
<a href="https://www.clicksend.com/us/pricing" target="_blank">https://clicksend.com/us/pricing</a>
|
2021-10-24 15:17:29 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-10-25 04:11:57 -04:00
|
|
|
<div class="mb-3">
|
2022-04-29 08:17:15 -04:00
|
|
|
<label for="clicksendsms-to-number" class="form-label">{{ $t("Recipient Number") }}</label>
|
2021-10-25 04:11:57 -04:00
|
|
|
<input id="clicksendsms-to-number" v-model="$parent.notification.clicksendsmsToNumber" type="text" minlength="8" maxlength="14" class="form-control" required>
|
|
|
|
</div>
|
2021-10-24 15:17:29 -04:00
|
|
|
<div class="mb-3">
|
2022-04-29 08:17:15 -04:00
|
|
|
<label for="clicksendsms-sender-name" class="form-label">{{ $t("From Name/Number") }} -
|
2022-04-29 08:26:56 -04:00
|
|
|
<a href="https://help.clicksend.com/article/4kgj7krx00-what-is-a-sender-id-or-sender-number" target="_blank">{{ $t("Read more") }}</a>
|
2021-10-24 15:17:29 -04:00
|
|
|
</label>
|
|
|
|
<input id="clicksendsms-sender-name" v-model="$parent.notification.clicksendsmsSenderName" type="text" minlength="3" maxlength="11" class="form-control">
|
2022-04-29 08:17:15 -04:00
|
|
|
<div class="form-text">{{ $t("Leave blank to use a shared sender number.") }}</div>
|
2021-10-24 15:17:29 -04:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
import HiddenInput from "../HiddenInput.vue";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
HiddenInput,
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|