File size: 796 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
import verifyCredentials from './verify-credentials.js';
import isStillVerified from './is-still-verified.js';

export default {
  fields: [
    {
      key: 'apiToken',
      label: 'API Token',
      type: 'string',
      required: true,
      readOnly: false,
      value: null,
      placeholder: null,
      description:
        'Tokens can be created in the v5 app on Settings > Account Management',
      clickToCopy: false,
    },
    {
      key: 'instanceUrl',
      label: 'Invoice Ninja instance URL (optional)',
      type: 'string',
      required: false,
      readOnly: false,
      value: null,
      placeholder: null,
      description: "Leave this field blank if you're using hosted platform.",
      clickToCopy: true,
    },
  ],

  verifyCredentials,
  isStillVerified,
};