Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,420 changes: 789 additions & 631 deletions src/openapi/generated/ats.ts

Large diffs are not rendered by default.

59 changes: 36 additions & 23 deletions src/openapi/generated/crm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2463,19 +2463,19 @@ export const crmSpec = {
tags: [
{
name: 'Accounts',
description: '',
description: 'Customer or business accounts.',
},
{
name: 'Contacts',
description: '',
description: 'People or organizations that can be contacted.',
},
{
name: 'Custom Field Definitions',
description: '',
description: 'Definitions for custom fields on CRM resources.',
},
{
name: 'Lists',
description: '',
description: 'Lists for organizing contacts or accounts.',
},
],
servers: [
Expand Down Expand Up @@ -3326,28 +3326,24 @@ export const crmSpec = {
},
options: {
description: 'An array of possible options for the custom field.',
example: ['Not Started', 'In Progress', 'Completed', 'Overdue'],
example: [
{
id: 'option_1',
value: 'Not Started',
},
{
id: 'option_2',
value: 'In Progress',
},
{
id: 'option_3',
value: 'Completed',
},
],
nullable: true,
type: 'array',
items: {
oneOf: [
{
type: 'string',
},
{
type: 'number',
},
{
type: 'boolean',
},
{
type: 'object',
},
{
type: 'array',
items: {},
},
],
$ref: '#/components/schemas/CustomFieldOption',
},
},
},
Expand Down Expand Up @@ -3396,6 +3392,23 @@ export const crmSpec = {
},
required: ['data'],
},
CustomFieldOption: {
type: 'object',
properties: {
id: {
type: 'string',
description:
'The unique identifier for the option to be used when updating the custom field',
example: 'option_123',
},
value: {
type: 'string',
description: 'The human readable value of the option',
example: 'Not Started',
},
},
required: ['id', 'value'],
},
CustomFields: {
type: 'object',
properties: {
Expand Down
Loading