diff --git a/schemas/timely-customer.ts b/schemas/timely-customer.ts index 52b34a4..e6d3bd7 100644 --- a/schemas/timely-customer.ts +++ b/schemas/timely-customer.ts @@ -23,6 +23,35 @@ export const timelyCustomer = defineType({ title: 'Timely Account ID', validation: Rule => Rule.required(), }, + { + group: 'timely', + name: 'timelyAuthClientId', + type: 'string', + title: 'Timely Auth Client ID', + description: ` + The Auth Client ID of the Timely account. + `, + validation: Rule => Rule.required(), + }, + { + group: 'timely', + name: 'timelyAuthClientSecret', + type: 'string', + title: 'Timely Auth Client Secret', + description: ` + The Auth Client Secret of the Timely account. + `, + validation: Rule => Rule.required(), + }, + { + group: 'timely', + name: 'timelyAuthClientRedirectUri', + type: 'string', + title: 'Timely Auth Client Redirect URI', + description: ` + The Auth Client Redirect URI of the Timely account. If not set, it is assumed to be 'urn:ietf:wg:oauth:2.0:oob'. + `, + }, { group: 'timely', name: 'timelyToken', @@ -33,6 +62,16 @@ export const timelyCustomer = defineType({ `, validation: Rule => Rule.required(), }, + { + group: 'timely', + name: 'timelyRefreshToken', + type: 'string', + title: 'Timely Refresh Token', + description: ` + The refresh token of the Timely API token. + `, + validation: Rule => Rule.required(), + }, { group: 'timely', name: 'timelyDefaultClient',