From 2325e7abea7de2f359cb70995a77831ac87b411d Mon Sep 17 00:00:00 2001 From: Brage Sekse Aarset Date: Wed, 29 Apr 2026 10:14:44 +0300 Subject: [PATCH 1/2] feat!: add timely refresh token field Co-authored-by: Copilot --- schemas/timely-customer.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/schemas/timely-customer.ts b/schemas/timely-customer.ts index 52b34a4..14ad624 100644 --- a/schemas/timely-customer.ts +++ b/schemas/timely-customer.ts @@ -33,6 +33,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', From 0e95e6d3f4c6428ef0b4daf0681e5e47650ad792 Mon Sep 17 00:00:00 2001 From: Brage Sekse Aarset Date: Wed, 29 Apr 2026 10:40:15 +0300 Subject: [PATCH 2/2] feat: add more fields Co-authored-by: Copilot --- schemas/timely-customer.ts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/schemas/timely-customer.ts b/schemas/timely-customer.ts index 14ad624..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',