File size: 1,443 Bytes
3206347 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
import verifyCredentials from './verify-credentials.js';
import isStillVerified from './is-still-verified.js';
export default {
fields: [
{
key: 'accountSid',
label: 'Project ID',
type: 'string',
required: true,
readOnly: false,
value: null,
placeholder: null,
description: 'Log into your SignalWire account and find the Project ID',
clickToCopy: false,
},
{
key: 'authToken',
label: 'API Token',
type: 'string',
required: true,
readOnly: false,
value: null,
placeholder: null,
description: 'API Token in the respective project',
clickToCopy: false,
},
{
key: 'spaceRegion',
label: 'SignalWire Region',
type: 'dropdown',
required: true,
readOnly: false,
value: '',
placeholder: null,
description: 'Most people should choose the default, "US"',
clickToCopy: false,
options: [
{
label: 'US',
value: '',
},
{
label: 'EU',
value: 'eu-',
},
],
},
{
key: 'spaceName',
label: 'Space Name',
type: 'string',
required: true,
readOnly: false,
value: null,
placeholder: null,
description: 'Name of your SignalWire space that contains the project',
clickToCopy: false,
},
],
verifyCredentials,
isStillVerified,
};
|