Skip to content

Commit 2550690

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
chore(netsuite): defer docs generator fix
1 parent 97ac5ec commit 2550690

7 files changed

Lines changed: 3 additions & 48 deletions

File tree

‎apps/docs/content/docs/en/integrations/gong.mdx‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ Retrieve detailed call data including trackers, topics, highlights, and AI spotl
247247
| ↳ `section` | string | Outline section name |
248248
| ↳ `startTime` | number | Section start in seconds from call start |
249249
| ↳ `duration` | number | Section duration in seconds |
250-
| ↳ `items` | array | Bullet items within the section |
251250
| ↳ `keyPoints` | array | AI-generated key points of the call |
252251
| ↳ `text` | string | Key point text |
253252
| ↳ `callOutcome` | object | AI-determined call outcome \(Call Spotlight\) |
@@ -274,9 +273,6 @@ Retrieve detailed call data including trackers, topics, highlights, and AI spotl
274273
| ↳ `occurrences` | array | Details per occurrence |
275274
| ↳ `highlights` | array | AI-generated highlights including next steps, action items, and key moments |
276275
| ↳ `title` | string | Title of the highlight |
277-
| ↳ `items` | array | Individual highlight items |
278-
| ↳ `text` | string | Text of the highlight item |
279-
| ↳ `startTimes` | array | Start times in seconds from call start |
280276
| ↳ `interaction` | object | Interaction statistics |
281277
| ↳ `interactionStats` | array | Interaction stat measurements \(Longest Monologue, Interactivity, Patience, etc.\) |
282278
| ↳ `name` | string | Stat name |

‎apps/docs/content/docs/en/integrations/google_forms.mdx‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -146,16 +146,6 @@ Apply multiple updates to a form (add items, update info, change settings, etc.)
146146
| ↳ `quizSettings` | object | Quiz settings |
147147
| ↳ `isQuiz` | boolean | Whether the form is a quiz |
148148
| ↳ `emailCollectionType` | string | Email collection type |
149-
| ↳ `items` | array | The form items \(questions, sections, etc.\) |
150-
| ↳ `itemId` | string | Item ID |
151-
| ↳ `title` | string | Item title |
152-
| ↳ `description` | string | Item description |
153-
| ↳ `questionItem` | json | Question item configuration |
154-
| ↳ `questionGroupItem` | json | Question group configuration |
155-
| ↳ `pageBreakItem` | json | Page break configuration |
156-
| ↳ `textItem` | json | Text item configuration |
157-
| ↳ `imageItem` | json | Image item configuration |
158-
| ↳ `videoItem` | json | Video item configuration |
159149
| ↳ `revisionId` | string | The revision ID of the form |
160150
| ↳ `responderUri` | string | The URI to share with responders |
161151
| ↳ `linkedSheetId` | string | The ID of the linked Google Sheet |

‎apps/docs/content/docs/en/integrations/netsuite.mdx‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,6 @@ List one page of a NetSuite record collection, optionally filtered with a q expr
6868
| ↳ `links` | array | Oracle HATEOAS links for the response |
6969
| ↳ `rel` | string | Link relationship |
7070
| ↳ `href` | string | Link target |
71-
| ↳ `items` | array | Matching record references in this page |
72-
| ↳ `id` | string | NetSuite record ID |
73-
| ↳ `links` | array | Oracle HATEOAS links for the record |
74-
| ↳ `rel` | string | Link relationship |
75-
| ↳ `href` | string | Link target |
7671
| ↳ `count` | number | Number of items in this page |
7772
| ↳ `hasMore` | boolean | Whether another page is available |
7873
| ↳ `offset` | number | Offset of this page |
@@ -531,7 +526,6 @@ Execute one page of a SuiteQL query through SuiteTalk REST web services.
531526
| ↳ `links` | array | Oracle HATEOAS links for the response |
532527
| ↳ `rel` | string | Link relationship |
533528
| ↳ `href` | string | Link target |
534-
| ↳ `items` | array | Items in this page; item fields depend on the record, query, or dataset |
535529
| ↳ `count` | number | Number of items in this page |
536530
| ↳ `hasMore` | boolean | Whether another page is available |
537531
| ↳ `offset` | number | Offset of this page |
@@ -561,7 +555,6 @@ List one page of SuiteAnalytics Workbook datasets available to the authenticated
561555
| ↳ `links` | array | Oracle HATEOAS links for the response |
562556
| ↳ `rel` | string | Link relationship |
563557
| ↳ `href` | string | Link target |
564-
| ↳ `items` | array | Items in this page; item fields depend on the record, query, or dataset |
565558
| ↳ `count` | number | Number of items in this page |
566559
| ↳ `hasMore` | boolean | Whether another page is available |
567560
| ↳ `offset` | number | Offset of this page |
@@ -592,7 +585,6 @@ Execute one page of a standard or custom SuiteAnalytics Workbook dataset.
592585
| ↳ `links` | array | Oracle HATEOAS links for the response |
593586
| ↳ `rel` | string | Link relationship |
594587
| ↳ `href` | string | Link target |
595-
| ↳ `items` | array | Items in this page; item fields depend on the record, query, or dataset |
596588
| ↳ `count` | number | Number of items in this page |
597589
| ↳ `hasMore` | boolean | Whether another page is available |
598590
| ↳ `offset` | number | Offset of this page |
@@ -620,11 +612,6 @@ List record types exposed to the authenticated role by the REST metadata catalog
620612
| ↳ `links` | array | Oracle HATEOAS links for the response |
621613
| ↳ `rel` | string | Link relationship |
622614
| ↳ `href` | string | Link target |
623-
| ↳ `items` | array | Record types exposed to the authenticated role |
624-
| ↳ `name` | string | REST record type script ID |
625-
| ↳ `links` | array | Oracle HATEOAS links for the response |
626-
| ↳ `rel` | string | Link relationship |
627-
| ↳ `href` | string | Link target |
628615

629616
### NetSuite Get Record Metadata
630617

@@ -676,10 +663,6 @@ List tasks for an asynchronous job or retrieve one task's completion status.
676663
| ↳ `progress` | string | Current task progress state |
677664
| ↳ `startTime` | string | Task start time |
678665
| ↳ `count` | number | Number of returned tasks |
679-
| ↳ `items` | array | Asynchronous task entries |
680-
| ↳ `links` | array | Links to individual tasks |
681-
| ↳ `rel` | string | Link relationship |
682-
| ↳ `href` | string | Link target |
683666
| ↳ `links` | array | HATEOAS links for the job or task collection |
684667
| ↳ `rel` | string | Link relationship |
685668
| ↳ `href` | string | Link target |

‎apps/docs/content/docs/en/integrations/onepassword.mdx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ List all vaults accessible by the Connect token or Service Account
5959
| ↳ `description` | string | Vault description |
6060
| ↳ `attributeVersion` | number | Vault attribute version |
6161
| ↳ `contentVersion` | number | Vault content version |
62-
| ↳ `items` | number | Number of items in the vault |
6362
| ↳ `type` | string | Vault type \(USER_CREATED, PERSONAL, or EVERYONE\) |
6463
| ↳ `createdAt` | string | Creation timestamp |
6564
| ↳ `updatedAt` | string | Last update timestamp |

‎apps/docs/content/docs/en/integrations/sap_concur.mdx‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,6 @@ List allocations on an expense (GET /expensereports/v4/users/\{userId\}/context/
14791479
| --------- | ---- | ----------- |
14801480
| `status` | number | HTTP status code returned by Concur |
14811481
| `data` | json | Allocations list payload |
1482-
| ↳ `items` | array | Array of allocation objects \(allocationId, accountCode, percentage, allocationAmount, approvedAmount, claimedAmount, customData, expenseId, isSystemAllocation, isPercentEdited, overLimitAccountCode\) |
14831482

14841483
### SAP Concur List Attendee Associations
14851484

@@ -1548,12 +1547,6 @@ List budget categories (GET /budget/v4/budgetCategory).
15481547
| --------- | ---- | ----------- |
15491548
| `status` | number | HTTP status code returned by Concur |
15501549
| `data` | json | Budget categories collection payload |
1551-
| ↳ `items` | array | Array of budget category objects |
1552-
| ↳ `id` | string | Category ID |
1553-
| ↳ `name` | string | Admin-facing category name |
1554-
| ↳ `description` | string | Friendly name |
1555-
| ↳ `statusType` | string | Status: OPEN or REMOVED |
1556-
| ↳ `expenseTypes` | array | Expense types in this category \(id, featureTypeCode, expenseTypeCode, name\) |
15571550

15581551
### SAP Concur List Budgets
15591552

@@ -1580,7 +1573,6 @@ List budget item headers (GET /budget/v4/budgetItemHeader).
15801573
| --------- | ---- | ----------- |
15811574
| `status` | number | HTTP status code returned by Concur |
15821575
| `data` | json | Budget headers collection payload |
1583-
| ↳ `items` | array | Array of budget item header summaries \(id, name, description, budgetItemStatusType, budgetType, currencyCode, fiscalYear, budgetAmounts, owner, ...\) |
15841576
| ↳ `offset` | number | Page offset |
15851577
| ↳ `limit` | number | Page size |
15861578
| ↳ `totalCount` | number | Total result count |

‎apps/docs/content/docs/en/integrations/sharepoint.mdx‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,6 @@ Get metadata (and optionally columns/items) for a SharePoint list
267267
| ↳ `lastModifiedDateTime` | string | When the list was last modified |
268268
| ↳ `list` | object | List properties \(e.g., template\) |
269269
| ↳ `columns` | array | List column definitions |
270-
| ↳ `items` | array | List items \(with fields when expanded\) |
271-
| ↳ `id` | string | Item ID |
272-
| ↳ `fields` | object | Field values for the item |
273270
| `lists` | array | All lists in the site when no listId/title provided |
274271
| `items` | array | List items with expanded fields when reading list items |
275272
| ↳ `id` | string | Item ID |

‎scripts/generate-docs.ts‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2602,7 +2602,7 @@ function parsePropertiesContent(
26022602
const propName = constMatch[1]
26032603
const constName = constMatch[2]
26042604

2605-
if (propName === 'properties' || propName === 'type') {
2605+
if (propName === 'items' || propName === 'properties' || propName === 'type') {
26062606
continue
26072607
}
26082608

@@ -2627,7 +2627,7 @@ function parsePropertiesContent(
26272627
const constName = propAccessMatch[2]
26282628
const accessedProp = propAccessMatch[3]
26292629

2630-
if (propName === 'properties' || propName === 'type') {
2630+
if (propName === 'items' || propName === 'properties' || propName === 'type') {
26312631
continue
26322632
}
26332633

@@ -2675,9 +2675,7 @@ function parsePropertiesContent(
26752675
while ((match = propStartRegex.exec(propertiesContent)) !== null) {
26762676
const propName = match[1]
26772677

2678-
// `items` can be an API response field. Nested array-schema `items` entries are
2679-
// excluded by the depth check below, so only the schema container itself is reserved here.
2680-
if (propName === 'properties') {
2678+
if (propName === 'items' || propName === 'properties') {
26812679
continue
26822680
}
26832681

0 commit comments

Comments
 (0)