@lightsage/mcp 0.4.16 → 0.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/mcp.js +30 -0
- package/bin/mcp-server.js +2495 -660
- package/bin/mcp-server.js.map +103 -55
- package/esm/funcs/agentAnalyticsCountriesList.d.ts +16 -0
- package/esm/funcs/agentAnalyticsCountriesList.d.ts.map +1 -0
- package/esm/funcs/agentAnalyticsCountriesList.js +95 -0
- package/esm/funcs/agentAnalyticsCountriesList.js.map +1 -0
- package/esm/funcs/agentAnalyticsErrorPagesList.d.ts +16 -0
- package/esm/funcs/agentAnalyticsErrorPagesList.d.ts.map +1 -0
- package/esm/funcs/agentAnalyticsErrorPagesList.js +97 -0
- package/esm/funcs/agentAnalyticsErrorPagesList.js.map +1 -0
- package/esm/funcs/agentAnalyticsPagesList.d.ts +16 -0
- package/esm/funcs/agentAnalyticsPagesList.d.ts.map +1 -0
- package/esm/funcs/agentAnalyticsPagesList.js +99 -0
- package/esm/funcs/agentAnalyticsPagesList.js.map +1 -0
- package/esm/funcs/agentAnalyticsSitesList.d.ts +15 -0
- package/esm/funcs/agentAnalyticsSitesList.d.ts.map +1 -0
- package/esm/funcs/agentAnalyticsSitesList.js +72 -0
- package/esm/funcs/agentAnalyticsSitesList.js.map +1 -0
- package/esm/funcs/agentAnalyticsSourcesList.d.ts +16 -0
- package/esm/funcs/agentAnalyticsSourcesList.d.ts.map +1 -0
- package/esm/funcs/agentAnalyticsSourcesList.js +94 -0
- package/esm/funcs/agentAnalyticsSourcesList.js.map +1 -0
- package/esm/funcs/agentAnalyticsSummaryRetrieve.d.ts +16 -0
- package/esm/funcs/agentAnalyticsSummaryRetrieve.d.ts.map +1 -0
- package/esm/funcs/agentAnalyticsSummaryRetrieve.js +94 -0
- package/esm/funcs/agentAnalyticsSummaryRetrieve.js.map +1 -0
- package/esm/funcs/agentsList.d.ts +1 -1
- package/esm/funcs/agentsList.js +1 -1
- package/esm/funcs/evalsCreate.d.ts +2 -0
- package/esm/funcs/evalsCreate.d.ts.map +1 -1
- package/esm/funcs/evalsCreate.js +2 -0
- package/esm/funcs/evalsCreate.js.map +1 -1
- package/esm/funcs/evalsRun.d.ts +2 -0
- package/esm/funcs/evalsRun.d.ts.map +1 -1
- package/esm/funcs/evalsRun.js +2 -0
- package/esm/funcs/evalsRun.js.map +1 -1
- package/esm/funcs/promptsRun.d.ts +7 -3
- package/esm/funcs/promptsRun.d.ts.map +1 -1
- package/esm/funcs/promptsRun.js +7 -3
- package/esm/funcs/promptsRun.js.map +1 -1
- package/esm/funcs/promptsRunCancel.d.ts +16 -0
- package/esm/funcs/promptsRunCancel.d.ts.map +1 -0
- package/esm/funcs/promptsRunCancel.js +88 -0
- package/esm/funcs/promptsRunCancel.js.map +1 -0
- package/esm/funcs/tasksCreate.d.ts +16 -0
- package/esm/funcs/tasksCreate.d.ts.map +1 -0
- package/esm/funcs/tasksCreate.js +83 -0
- package/esm/funcs/tasksCreate.js.map +1 -0
- package/esm/funcs/visibilityCitationsList.d.ts +1 -1
- package/esm/funcs/visibilityCitationsList.js +2 -1
- package/esm/funcs/visibilityCitationsList.js.map +1 -1
- package/esm/funcs/visibilityCitationsSummaryRetrieve.d.ts +16 -0
- package/esm/funcs/visibilityCitationsSummaryRetrieve.d.ts.map +1 -0
- package/esm/funcs/visibilityCitationsSummaryRetrieve.js +93 -0
- package/esm/funcs/visibilityCitationsSummaryRetrieve.js.map +1 -0
- package/esm/funcs/visibilityCurrentRetrieve.d.ts +1 -1
- package/esm/funcs/visibilityCurrentRetrieve.js +2 -1
- package/esm/funcs/visibilityCurrentRetrieve.js.map +1 -1
- package/esm/funcs/visibilityOverviewRetrieve.d.ts +1 -1
- package/esm/funcs/visibilityOverviewRetrieve.js +2 -1
- package/esm/funcs/visibilityOverviewRetrieve.js.map +1 -1
- package/esm/funcs/visibilityPromptsRetrieve.js +1 -0
- package/esm/funcs/visibilityPromptsRetrieve.js.map +1 -1
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +19 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/agentAnalyticsCountriesList.d.ts +7 -0
- package/esm/mcp-server/tools/agentAnalyticsCountriesList.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentAnalyticsCountriesList.js +35 -0
- package/esm/mcp-server/tools/agentAnalyticsCountriesList.js.map +1 -0
- package/esm/mcp-server/tools/agentAnalyticsErrorPagesList.d.ts +7 -0
- package/esm/mcp-server/tools/agentAnalyticsErrorPagesList.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentAnalyticsErrorPagesList.js +35 -0
- package/esm/mcp-server/tools/agentAnalyticsErrorPagesList.js.map +1 -0
- package/esm/mcp-server/tools/agentAnalyticsPagesList.d.ts +7 -0
- package/esm/mcp-server/tools/agentAnalyticsPagesList.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentAnalyticsPagesList.js +35 -0
- package/esm/mcp-server/tools/agentAnalyticsPagesList.js.map +1 -0
- package/esm/mcp-server/tools/agentAnalyticsSitesList.d.ts +3 -0
- package/esm/mcp-server/tools/agentAnalyticsSitesList.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentAnalyticsSitesList.js +30 -0
- package/esm/mcp-server/tools/agentAnalyticsSitesList.js.map +1 -0
- package/esm/mcp-server/tools/agentAnalyticsSourcesList.d.ts +7 -0
- package/esm/mcp-server/tools/agentAnalyticsSourcesList.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentAnalyticsSourcesList.js +35 -0
- package/esm/mcp-server/tools/agentAnalyticsSourcesList.js.map +1 -0
- package/esm/mcp-server/tools/agentAnalyticsSummaryRetrieve.d.ts +7 -0
- package/esm/mcp-server/tools/agentAnalyticsSummaryRetrieve.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentAnalyticsSummaryRetrieve.js +35 -0
- package/esm/mcp-server/tools/agentAnalyticsSummaryRetrieve.js.map +1 -0
- package/esm/mcp-server/tools/agentsList.js +1 -1
- package/esm/mcp-server/tools/agentsList.js.map +1 -1
- package/esm/mcp-server/tools/evalsCreate.d.ts.map +1 -1
- package/esm/mcp-server/tools/evalsCreate.js +3 -1
- package/esm/mcp-server/tools/evalsCreate.js.map +1 -1
- package/esm/mcp-server/tools/evalsRun.d.ts.map +1 -1
- package/esm/mcp-server/tools/evalsRun.js +2 -0
- package/esm/mcp-server/tools/evalsRun.js.map +1 -1
- package/esm/mcp-server/tools/promptsRun.d.ts.map +1 -1
- package/esm/mcp-server/tools/promptsRun.js +7 -3
- package/esm/mcp-server/tools/promptsRun.js.map +1 -1
- package/esm/mcp-server/tools/promptsRunCancel.d.ts +7 -0
- package/esm/mcp-server/tools/promptsRunCancel.d.ts.map +1 -0
- package/esm/mcp-server/tools/promptsRunCancel.js +35 -0
- package/esm/mcp-server/tools/promptsRunCancel.js.map +1 -0
- package/esm/mcp-server/tools/tasksCreate.d.ts +7 -0
- package/esm/mcp-server/tools/tasksCreate.d.ts.map +1 -0
- package/esm/mcp-server/tools/tasksCreate.js +35 -0
- package/esm/mcp-server/tools/tasksCreate.js.map +1 -0
- package/esm/mcp-server/tools/visibilityCitationsList.js +1 -1
- package/esm/mcp-server/tools/visibilityCitationsList.js.map +1 -1
- package/esm/mcp-server/tools/visibilityCitationsSummaryRetrieve.d.ts +7 -0
- package/esm/mcp-server/tools/visibilityCitationsSummaryRetrieve.d.ts.map +1 -0
- package/esm/mcp-server/tools/visibilityCitationsSummaryRetrieve.js +35 -0
- package/esm/mcp-server/tools/visibilityCitationsSummaryRetrieve.js.map +1 -0
- package/esm/mcp-server/tools/visibilityCurrentRetrieve.js +1 -1
- package/esm/mcp-server/tools/visibilityCurrentRetrieve.js.map +1 -1
- package/esm/mcp-server/tools/visibilityOverviewRetrieve.js +1 -1
- package/esm/mcp-server/tools/visibilityOverviewRetrieve.js.map +1 -1
- package/esm/models/createtaskrequest.d.ts +65 -0
- package/esm/models/createtaskrequest.d.ts.map +1 -0
- package/esm/models/createtaskrequest.js +64 -0
- package/esm/models/createtaskrequest.js.map +1 -0
- package/esm/models/createv2promptrequest.js +1 -1
- package/esm/models/createv2promptrequest.js.map +1 -1
- package/esm/models/createv2promptrunrequest.d.ts +1 -0
- package/esm/models/createv2promptrunrequest.d.ts.map +1 -1
- package/esm/models/createv2promptrunrequest.js +2 -1
- package/esm/models/createv2promptrunrequest.js.map +1 -1
- package/esm/models/graderdefinition.d.ts +1 -0
- package/esm/models/graderdefinition.d.ts.map +1 -1
- package/esm/models/graderdefinition.js +1 -0
- package/esm/models/graderdefinition.js.map +1 -1
- package/esm/models/publicagentanalyticscountrylistresponse.d.ts +12 -0
- package/esm/models/publicagentanalyticscountrylistresponse.d.ts.map +1 -0
- package/esm/models/publicagentanalyticscountrylistresponse.js +15 -0
- package/esm/models/publicagentanalyticscountrylistresponse.js.map +1 -0
- package/esm/models/publicagentanalyticserrorpagelistresponse.d.ts +13 -0
- package/esm/models/publicagentanalyticserrorpagelistresponse.d.ts.map +1 -0
- package/esm/models/publicagentanalyticserrorpagelistresponse.js +16 -0
- package/esm/models/publicagentanalyticserrorpagelistresponse.js.map +1 -0
- package/esm/models/publicagentanalyticspagelistresponse.d.ts +13 -0
- package/esm/models/publicagentanalyticspagelistresponse.d.ts.map +1 -0
- package/esm/models/publicagentanalyticspagelistresponse.js +16 -0
- package/esm/models/publicagentanalyticspagelistresponse.js.map +1 -0
- package/esm/models/publicagentanalyticssite.d.ts +9 -0
- package/esm/models/publicagentanalyticssite.d.ts.map +1 -0
- package/esm/models/publicagentanalyticssite.js +12 -0
- package/esm/models/publicagentanalyticssite.js.map +1 -0
- package/esm/models/publicagentanalyticssitelistresponse.d.ts +7 -0
- package/esm/models/publicagentanalyticssitelistresponse.d.ts.map +1 -0
- package/esm/models/publicagentanalyticssitelistresponse.js +10 -0
- package/esm/models/publicagentanalyticssitelistresponse.js.map +1 -0
- package/esm/models/publicagentanalyticssourcelistresponse.d.ts +12 -0
- package/esm/models/publicagentanalyticssourcelistresponse.d.ts.map +1 -0
- package/esm/models/publicagentanalyticssourcelistresponse.js +15 -0
- package/esm/models/publicagentanalyticssourcelistresponse.js.map +1 -0
- package/esm/models/publicagentanalyticssummary.d.ts +13 -0
- package/esm/models/publicagentanalyticssummary.d.ts.map +1 -0
- package/esm/models/publicagentanalyticssummary.js +16 -0
- package/esm/models/publicagentanalyticssummary.js.map +1 -0
- package/esm/models/publicagentcountry.d.ts +7 -0
- package/esm/models/publicagentcountry.d.ts.map +1 -0
- package/esm/models/publicagentcountry.js +11 -0
- package/esm/models/publicagentcountry.js.map +1 -0
- package/esm/models/publicagenterrorpage.d.ts +12 -0
- package/esm/models/publicagenterrorpage.d.ts.map +1 -0
- package/esm/models/publicagenterrorpage.js +16 -0
- package/esm/models/publicagenterrorpage.js.map +1 -0
- package/esm/models/publicagenterrorsource.d.ts +40 -0
- package/esm/models/publicagenterrorsource.d.ts.map +1 -0
- package/esm/models/publicagenterrorsource.js +40 -0
- package/esm/models/publicagenterrorsource.js.map +1 -0
- package/esm/models/publicagenttrafficpage.d.ts +14 -0
- package/esm/models/publicagenttrafficpage.d.ts.map +1 -0
- package/esm/models/publicagenttrafficpage.js +17 -0
- package/esm/models/publicagenttrafficpage.js.map +1 -0
- package/esm/models/publicagenttrafficsource.d.ts +47 -0
- package/esm/models/publicagenttrafficsource.d.ts.map +1 -0
- package/esm/models/publicagenttrafficsource.js +44 -0
- package/esm/models/publicagenttrafficsource.js.map +1 -0
- package/esm/models/publicagenttraffictotals.d.ts +13 -0
- package/esm/models/publicagenttraffictotals.d.ts.map +1 -0
- package/esm/models/publicagenttraffictotals.js +16 -0
- package/esm/models/publicagenttraffictotals.js.map +1 -0
- package/esm/models/publiccitationsummarygroup.d.ts +17 -0
- package/esm/models/publiccitationsummarygroup.d.ts.map +1 -0
- package/esm/models/publiccitationsummarygroup.js +20 -0
- package/esm/models/publiccitationsummarygroup.js.map +1 -0
- package/esm/models/publiccitationsummaryresponse.d.ts +61 -0
- package/esm/models/publiccitationsummaryresponse.d.ts.map +1 -0
- package/esm/models/publiccitationsummaryresponse.js +58 -0
- package/esm/models/publiccitationsummaryresponse.js.map +1 -0
- package/esm/models/publiccitationsummarytotals.d.ts +14 -0
- package/esm/models/publiccitationsummarytotals.d.ts.map +1 -0
- package/esm/models/publiccitationsummarytotals.js +17 -0
- package/esm/models/publiccitationsummarytotals.js.map +1 -0
- package/esm/models/publiccoverage.d.ts +12 -0
- package/esm/models/publiccoverage.d.ts.map +1 -0
- package/esm/models/publiccoverage.js +15 -0
- package/esm/models/publiccoverage.js.map +1 -0
- package/esm/models/publiccoverageday.d.ts +41 -0
- package/esm/models/publiccoverageday.d.ts.map +1 -0
- package/esm/models/publiccoverageday.js +39 -0
- package/esm/models/publiccoverageday.js.map +1 -0
- package/esm/models/publiccurrentvisibilityresponse.d.ts +8 -0
- package/esm/models/publiccurrentvisibilityresponse.d.ts.map +1 -1
- package/esm/models/publiccurrentvisibilityresponse.js +8 -0
- package/esm/models/publiccurrentvisibilityresponse.js.map +1 -1
- package/esm/models/publicperiodcoverage.d.ts +13 -0
- package/esm/models/publicperiodcoverage.d.ts.map +1 -0
- package/esm/models/publicperiodcoverage.js +17 -0
- package/esm/models/publicperiodcoverage.js.map +1 -0
- package/esm/models/publicperiodrates.d.ts +10 -0
- package/esm/models/publicperiodrates.d.ts.map +1 -0
- package/esm/models/publicperiodrates.js +14 -0
- package/esm/models/publicperiodrates.js.map +1 -0
- package/esm/models/publicpreviousvisibility.d.ts +10 -0
- package/esm/models/publicpreviousvisibility.d.ts.map +1 -0
- package/esm/models/publicpreviousvisibility.js +13 -0
- package/esm/models/publicpreviousvisibility.js.map +1 -0
- package/esm/models/publicpromptvisibilityreportresponse.d.ts +6 -0
- package/esm/models/publicpromptvisibilityreportresponse.d.ts.map +1 -1
- package/esm/models/publicpromptvisibilityreportresponse.js +6 -0
- package/esm/models/publicpromptvisibilityreportresponse.js.map +1 -1
- package/esm/models/publicratechanges.d.ts +8 -0
- package/esm/models/publicratechanges.d.ts.map +1 -0
- package/esm/models/publicratechanges.js +12 -0
- package/esm/models/publicratechanges.js.map +1 -0
- package/esm/models/publicrates.d.ts +27 -0
- package/esm/models/publicrates.d.ts.map +1 -0
- package/esm/models/publicrates.js +25 -0
- package/esm/models/publicrates.js.map +1 -0
- package/esm/models/publicresolvedperiod.d.ts +14 -0
- package/esm/models/publicresolvedperiod.d.ts.map +1 -0
- package/esm/models/publicresolvedperiod.js +18 -0
- package/esm/models/publicresolvedperiod.js.map +1 -0
- package/esm/models/publictopcitedurlsresponse.d.ts +10 -4
- package/esm/models/publictopcitedurlsresponse.d.ts.map +1 -1
- package/esm/models/publictopcitedurlsresponse.js +9 -3
- package/esm/models/publictopcitedurlsresponse.js.map +1 -1
- package/esm/models/publicvisibilityoverviewresponse.d.ts +6 -0
- package/esm/models/publicvisibilityoverviewresponse.d.ts.map +1 -1
- package/esm/models/publicvisibilityoverviewresponse.js +6 -0
- package/esm/models/publicvisibilityoverviewresponse.js.map +1 -1
- package/esm/models/updatetaskrequest.d.ts +8 -8
- package/esm/models/updatetaskrequest.d.ts.map +1 -1
- package/esm/models/updatetaskrequest.js +6 -6
- package/esm/models/updatetaskrequest.js.map +1 -1
- package/esm/models/updatev2promptrequest.js +1 -1
- package/esm/models/updatev2promptrequest.js.map +1 -1
- package/esm/models/v2agentanalyticscountrieslistop.d.ts +14 -0
- package/esm/models/v2agentanalyticscountrieslistop.d.ts.map +1 -0
- package/esm/models/v2agentanalyticscountrieslistop.js +19 -0
- package/esm/models/v2agentanalyticscountrieslistop.js.map +1 -0
- package/esm/models/v2agentanalyticserrorpageslistop.d.ts +40 -0
- package/esm/models/v2agentanalyticserrorpageslistop.d.ts.map +1 -0
- package/esm/models/v2agentanalyticserrorpageslistop.js +40 -0
- package/esm/models/v2agentanalyticserrorpageslistop.js.map +1 -0
- package/esm/models/v2agentanalyticspageslistop.d.ts +69 -0
- package/esm/models/v2agentanalyticspageslistop.d.ts.map +1 -0
- package/esm/models/v2agentanalyticspageslistop.js +66 -0
- package/esm/models/v2agentanalyticspageslistop.js.map +1 -0
- package/esm/models/v2agentanalyticssourceslistop.d.ts +13 -0
- package/esm/models/v2agentanalyticssourceslistop.d.ts.map +1 -0
- package/esm/models/v2agentanalyticssourceslistop.js +18 -0
- package/esm/models/v2agentanalyticssourceslistop.js.map +1 -0
- package/esm/models/v2agentanalyticssummaryretrieveop.d.ts +13 -0
- package/esm/models/v2agentanalyticssummaryretrieveop.d.ts.map +1 -0
- package/esm/models/v2agentanalyticssummaryretrieveop.js +18 -0
- package/esm/models/v2agentanalyticssummaryretrieveop.js.map +1 -0
- package/esm/models/v2inlinemcpdefinition.js +1 -1
- package/esm/models/v2inlinemcpdefinition.js.map +1 -1
- package/esm/models/v2promptrunscancelop.d.ts +38 -0
- package/esm/models/v2promptrunscancelop.d.ts.map +1 -0
- package/esm/models/v2promptrunscancelop.js +31 -0
- package/esm/models/v2promptrunscancelop.js.map +1 -0
- package/esm/models/v2repository.d.ts +4 -4
- package/esm/models/v2repository.d.ts.map +1 -1
- package/esm/models/v2repository.js +3 -3
- package/esm/models/v2repository.js.map +1 -1
- package/esm/models/v2taskscreateop.d.ts +13 -0
- package/esm/models/v2taskscreateop.d.ts.map +1 -0
- package/esm/models/v2taskscreateop.js +16 -0
- package/esm/models/v2taskscreateop.js.map +1 -0
- package/esm/models/v2visibilitycitationslistop.d.ts +1 -0
- package/esm/models/v2visibilitycitationslistop.d.ts.map +1 -1
- package/esm/models/v2visibilitycitationslistop.js +1 -0
- package/esm/models/v2visibilitycitationslistop.js.map +1 -1
- package/esm/models/v2visibilitycitationssummaryretrieveop.d.ts +54 -0
- package/esm/models/v2visibilitycitationssummaryretrieveop.d.ts.map +1 -0
- package/esm/models/v2visibilitycitationssummaryretrieveop.js +51 -0
- package/esm/models/v2visibilitycitationssummaryretrieveop.js.map +1 -0
- package/esm/models/v2visibilitycurrentretrieveop.d.ts +1 -0
- package/esm/models/v2visibilitycurrentretrieveop.d.ts.map +1 -1
- package/esm/models/v2visibilitycurrentretrieveop.js +1 -0
- package/esm/models/v2visibilitycurrentretrieveop.js.map +1 -1
- package/esm/models/v2visibilityoverviewretrieveop.d.ts +1 -0
- package/esm/models/v2visibilityoverviewretrieveop.d.ts.map +1 -1
- package/esm/models/v2visibilityoverviewretrieveop.js +1 -0
- package/esm/models/v2visibilityoverviewretrieveop.js.map +1 -1
- package/esm/models/v2visibilitypromptsretrieveop.d.ts +1 -0
- package/esm/models/v2visibilitypromptsretrieveop.d.ts.map +1 -1
- package/esm/models/v2visibilitypromptsretrieveop.js +1 -0
- package/esm/models/v2visibilitypromptsretrieveop.js.map +1 -1
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +43 -7
- package/esm/tool-names.js.map +1 -1
- package/lib/tracker.js +219 -0
- package/package.json +3 -1
- package/src/funcs/agentAnalyticsCountriesList.ts +160 -0
- package/src/funcs/agentAnalyticsErrorPagesList.ts +162 -0
- package/src/funcs/agentAnalyticsPagesList.ts +164 -0
- package/src/funcs/agentAnalyticsSitesList.ts +124 -0
- package/src/funcs/agentAnalyticsSourcesList.ts +159 -0
- package/src/funcs/agentAnalyticsSummaryRetrieve.ts +159 -0
- package/src/funcs/agentsList.ts +1 -1
- package/src/funcs/evalsCreate.ts +2 -0
- package/src/funcs/evalsRun.ts +2 -0
- package/src/funcs/promptsRun.ts +7 -3
- package/src/funcs/promptsRunCancel.ts +153 -0
- package/src/funcs/tasksCreate.ts +145 -0
- package/src/funcs/visibilityCitationsList.ts +2 -1
- package/src/funcs/visibilityCitationsSummaryRetrieve.ts +158 -0
- package/src/funcs/visibilityCurrentRetrieve.ts +2 -1
- package/src/funcs/visibilityOverviewRetrieve.ts +2 -1
- package/src/funcs/visibilityPromptsRetrieve.ts +1 -0
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +19 -1
- package/src/mcp-server/tools/agentAnalyticsCountriesList.ts +43 -0
- package/src/mcp-server/tools/agentAnalyticsErrorPagesList.ts +43 -0
- package/src/mcp-server/tools/agentAnalyticsPagesList.ts +43 -0
- package/src/mcp-server/tools/agentAnalyticsSitesList.ts +36 -0
- package/src/mcp-server/tools/agentAnalyticsSourcesList.ts +43 -0
- package/src/mcp-server/tools/agentAnalyticsSummaryRetrieve.ts +43 -0
- package/src/mcp-server/tools/agentsList.ts +1 -1
- package/src/mcp-server/tools/evalsCreate.ts +3 -1
- package/src/mcp-server/tools/evalsRun.ts +2 -0
- package/src/mcp-server/tools/promptsRun.ts +7 -3
- package/src/mcp-server/tools/promptsRunCancel.ts +43 -0
- package/src/mcp-server/tools/tasksCreate.ts +43 -0
- package/src/mcp-server/tools/visibilityCitationsList.ts +1 -1
- package/src/mcp-server/tools/visibilityCitationsSummaryRetrieve.ts +45 -0
- package/src/mcp-server/tools/visibilityCurrentRetrieve.ts +1 -1
- package/src/mcp-server/tools/visibilityOverviewRetrieve.ts +1 -1
- package/src/models/createtaskrequest.ts +98 -0
- package/src/models/createv2promptrequest.ts +1 -1
- package/src/models/createv2promptrunrequest.ts +5 -1
- package/src/models/graderdefinition.ts +2 -0
- package/src/models/publicagentanalyticscountrylistresponse.ts +36 -0
- package/src/models/publicagentanalyticserrorpagelistresponse.ts +40 -0
- package/src/models/publicagentanalyticspagelistresponse.ts +38 -0
- package/src/models/publicagentanalyticssite.ts +26 -0
- package/src/models/publicagentanalyticssitelistresponse.ts +20 -0
- package/src/models/publicagentanalyticssourcelistresponse.ts +36 -0
- package/src/models/publicagentanalyticssummary.ts +36 -0
- package/src/models/publicagentcountry.ts +16 -0
- package/src/models/publicagenterrorpage.ts +35 -0
- package/src/models/publicagenterrorsource.ts +63 -0
- package/src/models/publicagenttrafficpage.ts +46 -0
- package/src/models/publicagenttrafficsource.ts +77 -0
- package/src/models/publicagenttraffictotals.ts +42 -0
- package/src/models/publiccitationsummarygroup.ts +54 -0
- package/src/models/publiccitationsummaryresponse.ts +110 -0
- package/src/models/publiccitationsummarytotals.ts +38 -0
- package/src/models/publiccoverage.ts +34 -0
- package/src/models/publiccoverageday.ts +68 -0
- package/src/models/publiccurrentvisibilityresponse.ts +26 -0
- package/src/models/publicperiodcoverage.ts +33 -0
- package/src/models/publicperiodrates.ts +29 -0
- package/src/models/publicpreviousvisibility.ts +30 -0
- package/src/models/publicpromptvisibilityreportresponse.ts +18 -0
- package/src/models/publicratechanges.ts +25 -0
- package/src/models/publicrates.ts +52 -0
- package/src/models/publicresolvedperiod.ts +41 -0
- package/src/models/publictopcitedurlsresponse.ts +25 -5
- package/src/models/publicvisibilityoverviewresponse.ts +18 -0
- package/src/models/updatetaskrequest.ts +14 -10
- package/src/models/updatev2promptrequest.ts +1 -1
- package/src/models/v2agentanalyticscountrieslistop.ts +49 -0
- package/src/models/v2agentanalyticserrorpageslistop.ts +83 -0
- package/src/models/v2agentanalyticspageslistop.ts +123 -0
- package/src/models/v2agentanalyticssourceslistop.ts +47 -0
- package/src/models/v2agentanalyticssummaryretrieveop.ts +47 -0
- package/src/models/v2inlinemcpdefinition.ts +1 -1
- package/src/models/v2promptrunscancelop.ts +90 -0
- package/src/models/v2repository.ts +5 -5
- package/src/models/v2taskscreateop.ts +34 -0
- package/src/models/v2visibilitycitationslistop.ts +4 -0
- package/src/models/v2visibilitycitationssummaryretrieveop.ts +113 -0
- package/src/models/v2visibilitycurrentretrieveop.ts +4 -0
- package/src/models/v2visibilityoverviewretrieveop.ts +4 -0
- package/src/models/v2visibilitypromptsretrieveop.ts +4 -0
- package/src/tool-names.ts +43 -7
- package/test/tracker.test.js +323 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
import { HTTPValidationError } from "./httpvalidationerror.js";
|
|
4
|
+
import { PublicAgentAnalyticsPageListResponse } from "./publicagentanalyticspagelistresponse.js";
|
|
5
|
+
/**
|
|
6
|
+
* Traffic type to sort by, most visits first, or `last_seen` for the latest visit first.
|
|
7
|
+
*/
|
|
8
|
+
export declare const Sort: {
|
|
9
|
+
readonly Coding: "coding";
|
|
10
|
+
readonly User: "user";
|
|
11
|
+
readonly Search: "search";
|
|
12
|
+
readonly Training: "training";
|
|
13
|
+
readonly Other: "other";
|
|
14
|
+
readonly People: "people";
|
|
15
|
+
readonly AiTotal: "ai_total";
|
|
16
|
+
readonly LastSeen: "last_seen";
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Traffic type to sort by, most visits first, or `last_seen` for the latest visit first.
|
|
20
|
+
*/
|
|
21
|
+
export type Sort = ClosedEnum<typeof Sort>;
|
|
22
|
+
export declare const Sort$zodSchema: z.ZodEnum<{
|
|
23
|
+
search: "search";
|
|
24
|
+
other: "other";
|
|
25
|
+
people: "people";
|
|
26
|
+
coding: "coding";
|
|
27
|
+
user: "user";
|
|
28
|
+
training: "training";
|
|
29
|
+
last_seen: "last_seen";
|
|
30
|
+
ai_total: "ai_total";
|
|
31
|
+
}>;
|
|
32
|
+
/**
|
|
33
|
+
* Only pages this traffic type visited.
|
|
34
|
+
*/
|
|
35
|
+
export declare const V2AgentAnalyticsPagesListType: {
|
|
36
|
+
readonly Coding: "coding";
|
|
37
|
+
readonly User: "user";
|
|
38
|
+
readonly Search: "search";
|
|
39
|
+
readonly Training: "training";
|
|
40
|
+
readonly Other: "other";
|
|
41
|
+
readonly People: "people";
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Only pages this traffic type visited.
|
|
45
|
+
*/
|
|
46
|
+
export type V2AgentAnalyticsPagesListType = ClosedEnum<typeof V2AgentAnalyticsPagesListType>;
|
|
47
|
+
export declare const V2AgentAnalyticsPagesListType$zodSchema: z.ZodEnum<{
|
|
48
|
+
search: "search";
|
|
49
|
+
other: "other";
|
|
50
|
+
people: "people";
|
|
51
|
+
coding: "coding";
|
|
52
|
+
user: "user";
|
|
53
|
+
training: "training";
|
|
54
|
+
}>;
|
|
55
|
+
export type V2AgentAnalyticsPagesListRequest = {
|
|
56
|
+
site_id: string;
|
|
57
|
+
start_date?: string | undefined;
|
|
58
|
+
end_date?: string | undefined;
|
|
59
|
+
period?: string | undefined;
|
|
60
|
+
limit?: number | undefined;
|
|
61
|
+
search?: string | undefined;
|
|
62
|
+
sort?: Sort | undefined;
|
|
63
|
+
type?: V2AgentAnalyticsPagesListType | undefined;
|
|
64
|
+
agent?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
export declare const V2AgentAnalyticsPagesListRequest$zodSchema: z.ZodType<V2AgentAnalyticsPagesListRequest>;
|
|
67
|
+
export type V2AgentAnalyticsPagesListResponse = PublicAgentAnalyticsPageListResponse | HTTPValidationError;
|
|
68
|
+
export declare const V2AgentAnalyticsPagesListResponse$zodSchema: z.ZodType<V2AgentAnalyticsPagesListResponse>;
|
|
69
|
+
//# sourceMappingURL=v2agentanalyticspageslistop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentanalyticspageslistop.d.ts","sourceRoot":"","sources":["../../src/models/v2agentanalyticspageslistop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,oCAAoC,EAErC,MAAM,2CAA2C,CAAC;AAEnD;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;;;;;CASP,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AAE3C,eAAO,MAAM,cAAc;;;;;;;;;EAW1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;;CAOhC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,6BAA6B,CACrC,CAAC;AAEF,eAAO,MAAM,uCAAuC;;;;;;;EAOA,CAAC;AAErD,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACxB,IAAI,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IACjD,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,gCAAgC,CAwBhC,CAAC;AAEH,MAAM,MAAM,iCAAiC,GACzC,oCAAoC,GACpC,mBAAmB,CAAC;AAExB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,iCAAiC,CAIjC,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 1623e8feffb2
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
|
|
7
|
+
import { PublicAgentAnalyticsPageListResponse$zodSchema, } from "./publicagentanalyticspagelistresponse.js";
|
|
8
|
+
/**
|
|
9
|
+
* Traffic type to sort by, most visits first, or `last_seen` for the latest visit first.
|
|
10
|
+
*/
|
|
11
|
+
export const Sort = {
|
|
12
|
+
Coding: "coding",
|
|
13
|
+
User: "user",
|
|
14
|
+
Search: "search",
|
|
15
|
+
Training: "training",
|
|
16
|
+
Other: "other",
|
|
17
|
+
People: "people",
|
|
18
|
+
AiTotal: "ai_total",
|
|
19
|
+
LastSeen: "last_seen",
|
|
20
|
+
};
|
|
21
|
+
export const Sort$zodSchema = z.enum([
|
|
22
|
+
"coding",
|
|
23
|
+
"user",
|
|
24
|
+
"search",
|
|
25
|
+
"training",
|
|
26
|
+
"other",
|
|
27
|
+
"people",
|
|
28
|
+
"ai_total",
|
|
29
|
+
"last_seen",
|
|
30
|
+
]).describe("Traffic type to sort by, most visits first, or `last_seen` for the latest visit first.");
|
|
31
|
+
/**
|
|
32
|
+
* Only pages this traffic type visited.
|
|
33
|
+
*/
|
|
34
|
+
export const V2AgentAnalyticsPagesListType = {
|
|
35
|
+
Coding: "coding",
|
|
36
|
+
User: "user",
|
|
37
|
+
Search: "search",
|
|
38
|
+
Training: "training",
|
|
39
|
+
Other: "other",
|
|
40
|
+
People: "people",
|
|
41
|
+
};
|
|
42
|
+
export const V2AgentAnalyticsPagesListType$zodSchema = z.enum([
|
|
43
|
+
"coding",
|
|
44
|
+
"user",
|
|
45
|
+
"search",
|
|
46
|
+
"training",
|
|
47
|
+
"other",
|
|
48
|
+
"people",
|
|
49
|
+
]).describe("Only pages this traffic type visited.");
|
|
50
|
+
export const V2AgentAnalyticsPagesListRequest$zodSchema = z.object({
|
|
51
|
+
agent: z.string().describe("Only pages this coding agent read, by the `name` the sources list gives it, such as `codex` or `cursor`.").optional(),
|
|
52
|
+
end_date: z.string().date().describe("Inclusive range end in UTC; defaults to today.").optional(),
|
|
53
|
+
limit: z.int().default(20),
|
|
54
|
+
period: z.string().describe("Named period, resolved in UTC by the server: `last_7_days`, `last_14_days`, `last_30_days`, `last_90_days` (N days ending today), `this_week`, `last_week`, an ISO week such as `2026-W43` (Monday to Sunday), `this_month`, `last_month`, a month such as `2026-10`, `this_quarter`, `last_quarter`, or a quarter such as `2026Q4`. A current week, month, or quarter ends today. The response's `period` gives the resolved dates and the matching previous period. Do not combine with `start_date` or `end_date`.").optional(),
|
|
55
|
+
search: z.string().describe("Only pages whose path contains this text.")
|
|
56
|
+
.optional(),
|
|
57
|
+
site_id: z.string(),
|
|
58
|
+
sort: Sort$zodSchema.default("ai_total").describe("Traffic type to sort by, most visits first, or `last_seen` for the latest visit first."),
|
|
59
|
+
start_date: z.string().date().describe("Inclusive range start; defaults to 6 days before the end date. The range may span at most 90 days.").optional(),
|
|
60
|
+
type: V2AgentAnalyticsPagesListType$zodSchema.optional().describe("Only pages this traffic type visited."),
|
|
61
|
+
});
|
|
62
|
+
export const V2AgentAnalyticsPagesListResponse$zodSchema = z.union([
|
|
63
|
+
PublicAgentAnalyticsPageListResponse$zodSchema,
|
|
64
|
+
HTTPValidationError$zodSchema,
|
|
65
|
+
]);
|
|
66
|
+
//# sourceMappingURL=v2agentanalyticspageslistop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentanalyticspageslistop.js","sourceRoot":"","sources":["../../src/models/v2agentanalyticspageslistop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,8CAA8C,GAC/C,MAAM,2CAA2C,CAAC;AAEnD;;GAEG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;CACb,CAAC;AAMX,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC;IACnC,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,UAAU;IAC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,oGAAoG,CACrG,CAAC,QAAQ,EAAE;IACZ,IAAI,EAAE,uCAAuC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC/D,uCAAuC,CACxC;CACF,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,2CAA2C,GAEpD,CAAC,CAAC,KAAK,CAAC;IACV,8CAA8C;IAC9C,6BAA6B;CAC9B,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { HTTPValidationError } from "./httpvalidationerror.js";
|
|
3
|
+
import { PublicAgentAnalyticsSourceListResponse } from "./publicagentanalyticssourcelistresponse.js";
|
|
4
|
+
export type V2AgentAnalyticsSourcesListRequest = {
|
|
5
|
+
site_id: string;
|
|
6
|
+
start_date?: string | undefined;
|
|
7
|
+
end_date?: string | undefined;
|
|
8
|
+
period?: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
export declare const V2AgentAnalyticsSourcesListRequest$zodSchema: z.ZodType<V2AgentAnalyticsSourcesListRequest>;
|
|
11
|
+
export type V2AgentAnalyticsSourcesListResponse = PublicAgentAnalyticsSourceListResponse | HTTPValidationError;
|
|
12
|
+
export declare const V2AgentAnalyticsSourcesListResponse$zodSchema: z.ZodType<V2AgentAnalyticsSourcesListResponse>;
|
|
13
|
+
//# sourceMappingURL=v2agentanalyticssourceslistop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentanalyticssourceslistop.d.ts","sourceRoot":"","sources":["../../src/models/v2agentanalyticssourceslistop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,sCAAsC,EAEvC,MAAM,6CAA6C,CAAC;AAErD,MAAM,MAAM,kCAAkC,GAAG;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,kCAAkC,CAYlC,CAAC;AAEH,MAAM,MAAM,mCAAmC,GAC3C,sCAAsC,GACtC,mBAAmB,CAAC;AAExB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,mCAAmC,CAInC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: da5c8805b14f
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
|
|
7
|
+
import { PublicAgentAnalyticsSourceListResponse$zodSchema, } from "./publicagentanalyticssourcelistresponse.js";
|
|
8
|
+
export const V2AgentAnalyticsSourcesListRequest$zodSchema = z.object({
|
|
9
|
+
end_date: z.string().date().describe("Inclusive range end in UTC; defaults to today.").optional(),
|
|
10
|
+
period: z.string().describe("Named period, resolved in UTC by the server: `last_7_days`, `last_14_days`, `last_30_days`, `last_90_days` (N days ending today), `this_week`, `last_week`, an ISO week such as `2026-W43` (Monday to Sunday), `this_month`, `last_month`, a month such as `2026-10`, `this_quarter`, `last_quarter`, or a quarter such as `2026Q4`. A current week, month, or quarter ends today. The response's `period` gives the resolved dates and the matching previous period. Do not combine with `start_date` or `end_date`.").optional(),
|
|
11
|
+
site_id: z.string(),
|
|
12
|
+
start_date: z.string().date().describe("Inclusive range start; defaults to 6 days before the end date. The range may span at most 90 days.").optional(),
|
|
13
|
+
});
|
|
14
|
+
export const V2AgentAnalyticsSourcesListResponse$zodSchema = z.union([
|
|
15
|
+
PublicAgentAnalyticsSourceListResponse$zodSchema,
|
|
16
|
+
HTTPValidationError$zodSchema,
|
|
17
|
+
]);
|
|
18
|
+
//# sourceMappingURL=v2agentanalyticssourceslistop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentanalyticssourceslistop.js","sourceRoot":"","sources":["../../src/models/v2agentanalyticssourceslistop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,gDAAgD,GACjD,MAAM,6CAA6C,CAAC;AASrD,MAAM,CAAC,MAAM,4CAA4C,GAErD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAClC,gDAAgD,CACjD,CAAC,QAAQ,EAAE;IACZ,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACzB,ufAAuf,CACxf,CAAC,QAAQ,EAAE;IACZ,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CACpC,oGAAoG,CACrG,CAAC,QAAQ,EAAE;CACb,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,6CAA6C,GAEtD,CAAC,CAAC,KAAK,CAAC;IACV,gDAAgD;IAChD,6BAA6B;CAC9B,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { HTTPValidationError } from "./httpvalidationerror.js";
|
|
3
|
+
import { PublicAgentAnalyticsSummary } from "./publicagentanalyticssummary.js";
|
|
4
|
+
export type V2AgentAnalyticsSummaryRetrieveRequest = {
|
|
5
|
+
site_id: string;
|
|
6
|
+
start_date?: string | undefined;
|
|
7
|
+
end_date?: string | undefined;
|
|
8
|
+
period?: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
export declare const V2AgentAnalyticsSummaryRetrieveRequest$zodSchema: z.ZodType<V2AgentAnalyticsSummaryRetrieveRequest>;
|
|
11
|
+
export type V2AgentAnalyticsSummaryRetrieveResponse = PublicAgentAnalyticsSummary | HTTPValidationError;
|
|
12
|
+
export declare const V2AgentAnalyticsSummaryRetrieveResponse$zodSchema: z.ZodType<V2AgentAnalyticsSummaryRetrieveResponse>;
|
|
13
|
+
//# sourceMappingURL=v2agentanalyticssummaryretrieveop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentanalyticssummaryretrieveop.d.ts","sourceRoot":"","sources":["../../src/models/v2agentanalyticssummaryretrieveop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,2BAA2B,EAE5B,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,sCAAsC,GAAG;IACnD,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,sCAAsC,CAYtC,CAAC;AAEH,MAAM,MAAM,uCAAuC,GAC/C,2BAA2B,GAC3B,mBAAmB,CAAC;AAExB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,uCAAuC,CAIvC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: b5dfa63686f4
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
|
|
7
|
+
import { PublicAgentAnalyticsSummary$zodSchema, } from "./publicagentanalyticssummary.js";
|
|
8
|
+
export const V2AgentAnalyticsSummaryRetrieveRequest$zodSchema = z.object({
|
|
9
|
+
end_date: z.string().date().describe("Inclusive range end in UTC; defaults to today.").optional(),
|
|
10
|
+
period: z.string().describe("Named period, resolved in UTC by the server: `last_7_days`, `last_14_days`, `last_30_days`, `last_90_days` (N days ending today), `this_week`, `last_week`, an ISO week such as `2026-W43` (Monday to Sunday), `this_month`, `last_month`, a month such as `2026-10`, `this_quarter`, `last_quarter`, or a quarter such as `2026Q4`. A current week, month, or quarter ends today. The response's `period` gives the resolved dates and the matching previous period. Do not combine with `start_date` or `end_date`.").optional(),
|
|
11
|
+
site_id: z.string(),
|
|
12
|
+
start_date: z.string().date().describe("Inclusive range start; defaults to 6 days before the end date. The range may span at most 90 days.").optional(),
|
|
13
|
+
});
|
|
14
|
+
export const V2AgentAnalyticsSummaryRetrieveResponse$zodSchema = z.union([
|
|
15
|
+
PublicAgentAnalyticsSummary$zodSchema,
|
|
16
|
+
HTTPValidationError$zodSchema,
|
|
17
|
+
]);
|
|
18
|
+
//# sourceMappingURL=v2agentanalyticssummaryretrieveop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentanalyticssummaryretrieveop.js","sourceRoot":"","sources":["../../src/models/v2agentanalyticssummaryretrieveop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,qCAAqC,GACtC,MAAM,kCAAkC,CAAC;AAS1C,MAAM,CAAC,MAAM,gDAAgD,GAEzD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAClC,gDAAgD,CACjD,CAAC,QAAQ,EAAE;IACZ,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACzB,ufAAuf,CACxf,CAAC,QAAQ,EAAE;IACZ,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CACpC,oGAAoG,CACrG,CAAC,QAAQ,EAAE;CACb,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,iDAAiD,GAE1D,CAAC,CAAC,KAAK,CAAC;IACV,qCAAqC;IACrC,6BAA6B;CAC9B,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ export const V2InlineMcpDefinitionType$zodSchema = z.enum([
|
|
|
16
16
|
export const V2InlineMcpDefinition$zodSchema = z.object({
|
|
17
17
|
args: z.array(z.string()).optional(),
|
|
18
18
|
command: z.string().nullable().optional().describe("Executable command for a `stdio` MCP server."),
|
|
19
|
-
env: z.record(z.string(), z.string()).optional().describe("Environment mapping for a `stdio` MCP server. Values may reference run
|
|
19
|
+
env: z.record(z.string(), z.string()).optional().describe("Environment mapping for a `stdio` MCP server. Values may reference the run environment's variables with `${VARIABLE_NAME}`; secrets (names ending in KEY, TOKEN, SECRET or PASSWORD) must."),
|
|
20
20
|
headers: z.record(z.string(), z.string()).optional().describe("HTTP headers. Reference run secrets with `${VARIABLE_NAME}` instead of embedding credentials."),
|
|
21
21
|
name: z.string().describe("Stable server name used in the selected agent's MCP config."),
|
|
22
22
|
type: V2InlineMcpDefinitionType$zodSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2inlinemcpdefinition.js","sourceRoot":"","sources":["../../src/models/v2inlinemcpdefinition.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,IAAI,EAAE,MAAM;IACZ,GA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IACD,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACvD,4LAA4L,CAC7L;IACD,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC3D,+FAA+F,CAChG;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACvB,6DAA6D,CAC9D;IACD,IAAI,EAAE,mCAAmC;IACzC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5C,mDAAmD,CACpD;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { HTTPValidationError } from "./httpvalidationerror.js";
|
|
3
|
+
import { V2PromptRunJobResponse } from "./v2promptrunjobresponse.js";
|
|
4
|
+
export type V2PromptRunsCancelRequest = {
|
|
5
|
+
run_id: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const V2PromptRunsCancelRequest$zodSchema: z.ZodType<V2PromptRunsCancelRequest>;
|
|
8
|
+
/**
|
|
9
|
+
* Prompt run cancellation is temporarily unavailable.
|
|
10
|
+
*/
|
|
11
|
+
export type V2PromptRunsCancelServiceUnavailableResponseBody = {
|
|
12
|
+
detail: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const V2PromptRunsCancelServiceUnavailableResponseBody$zodSchema: z.ZodType<V2PromptRunsCancelServiceUnavailableResponseBody>;
|
|
15
|
+
/**
|
|
16
|
+
* The prompt run has already completed or failed.
|
|
17
|
+
*/
|
|
18
|
+
export type V2PromptRunsCancelConflictResponseBody = {
|
|
19
|
+
detail: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const V2PromptRunsCancelConflictResponseBody$zodSchema: z.ZodType<V2PromptRunsCancelConflictResponseBody>;
|
|
22
|
+
/**
|
|
23
|
+
* Prompt run not found. Use the run ID returned when you started the prompt run.
|
|
24
|
+
*/
|
|
25
|
+
export type V2PromptRunsCancelNotFoundResponseBody = {
|
|
26
|
+
detail: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const V2PromptRunsCancelNotFoundResponseBody$zodSchema: z.ZodType<V2PromptRunsCancelNotFoundResponseBody>;
|
|
29
|
+
/**
|
|
30
|
+
* The prompt run ID is not a valid UUID.
|
|
31
|
+
*/
|
|
32
|
+
export type V2PromptRunsCancelBadRequestResponseBody = {
|
|
33
|
+
detail: string;
|
|
34
|
+
};
|
|
35
|
+
export declare const V2PromptRunsCancelBadRequestResponseBody$zodSchema: z.ZodType<V2PromptRunsCancelBadRequestResponseBody>;
|
|
36
|
+
export type V2PromptRunsCancelResponse = V2PromptRunJobResponse | V2PromptRunsCancelBadRequestResponseBody | V2PromptRunsCancelNotFoundResponseBody | V2PromptRunsCancelConflictResponseBody | V2PromptRunsCancelServiceUnavailableResponseBody | HTTPValidationError;
|
|
37
|
+
export declare const V2PromptRunsCancelResponse$zodSchema: z.ZodType<V2PromptRunsCancelResponse>;
|
|
38
|
+
//# sourceMappingURL=v2promptrunscancelop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2promptrunscancelop.d.ts","sourceRoot":"","sources":["../../src/models/v2promptrunscancelop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,yBAAyB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3D,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,yBAAyB,CAKzB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,0DAA0D,EACrE,CAAC,CAAC,OAAO,CAAC,gDAAgD,CAEQ,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,sCAAsC,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAExE,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,sCAAsC,CAGsB,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,sCAAsC,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAExE,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,sCAAsC,CAKvC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wCAAwC,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAE1E,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,wCAAwC,CAGW,CAAC;AAEtD,MAAM,MAAM,0BAA0B,GAClC,sBAAsB,GACtB,wCAAwC,GACxC,sCAAsC,GACtC,sCAAsC,GACtC,gDAAgD,GAChD,mBAAmB,CAAC;AAExB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,0BAA0B,CAQ1B,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: d19d5cd47b00
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
|
|
7
|
+
import { V2PromptRunJobResponse$zodSchema, } from "./v2promptrunjobresponse.js";
|
|
8
|
+
export const V2PromptRunsCancelRequest$zodSchema = z.object({
|
|
9
|
+
run_id: z.string().describe("Run ID returned by `POST /v2/prompts/runs`, not a stored prompt result ID."),
|
|
10
|
+
});
|
|
11
|
+
export const V2PromptRunsCancelServiceUnavailableResponseBody$zodSchema = z.object({
|
|
12
|
+
detail: z.string(),
|
|
13
|
+
}).describe("Prompt run cancellation is temporarily unavailable.");
|
|
14
|
+
export const V2PromptRunsCancelConflictResponseBody$zodSchema = z.object({
|
|
15
|
+
detail: z.string(),
|
|
16
|
+
}).describe("The prompt run has already completed or failed.");
|
|
17
|
+
export const V2PromptRunsCancelNotFoundResponseBody$zodSchema = z.object({
|
|
18
|
+
detail: z.string(),
|
|
19
|
+
}).describe("Prompt run not found. Use the run ID returned when you started the prompt run.");
|
|
20
|
+
export const V2PromptRunsCancelBadRequestResponseBody$zodSchema = z.object({
|
|
21
|
+
detail: z.string(),
|
|
22
|
+
}).describe("The prompt run ID is not a valid UUID.");
|
|
23
|
+
export const V2PromptRunsCancelResponse$zodSchema = z.union([
|
|
24
|
+
V2PromptRunJobResponse$zodSchema,
|
|
25
|
+
z.lazy(() => V2PromptRunsCancelBadRequestResponseBody$zodSchema),
|
|
26
|
+
z.lazy(() => V2PromptRunsCancelNotFoundResponseBody$zodSchema),
|
|
27
|
+
z.lazy(() => V2PromptRunsCancelConflictResponseBody$zodSchema),
|
|
28
|
+
z.lazy(() => V2PromptRunsCancelServiceUnavailableResponseBody$zodSchema),
|
|
29
|
+
HTTPValidationError$zodSchema,
|
|
30
|
+
]);
|
|
31
|
+
//# sourceMappingURL=v2promptrunscancelop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2promptrunscancelop.js","sourceRoot":"","sources":["../../src/models/v2promptrunscancelop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,gCAAgC,GACjC,MAAM,6BAA6B,CAAC;AAIrC,MAAM,CAAC,MA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owned saved repository.
|
|
5
5
|
*/
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const V2RepositoryKind: {
|
|
7
7
|
readonly Template: "template";
|
|
8
8
|
readonly Saved: "saved";
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Whether the repository is a read-only built-in template or an organization-owned saved repository.
|
|
12
12
|
*/
|
|
13
|
-
export type
|
|
14
|
-
export declare const
|
|
13
|
+
export type V2RepositoryKind = ClosedEnum<typeof V2RepositoryKind>;
|
|
14
|
+
export declare const V2RepositoryKind$zodSchema: z.ZodEnum<{
|
|
15
15
|
template: "template";
|
|
16
16
|
saved: "saved";
|
|
17
17
|
}>;
|
|
@@ -42,7 +42,7 @@ export declare const V2RepositoryFramework$zodSchema: z.ZodEnum<{
|
|
|
42
42
|
}>;
|
|
43
43
|
export type V2Repository = {
|
|
44
44
|
id: string;
|
|
45
|
-
kind:
|
|
45
|
+
kind: V2RepositoryKind;
|
|
46
46
|
name: string;
|
|
47
47
|
repo_url: string;
|
|
48
48
|
ref: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2repository.d.ts","sourceRoot":"","sources":["../../src/models/v2repository.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"v2repository.d.ts","sourceRoot":"","sources":["../../src/models/v2repository.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,eAAO,MAAM,0BAA0B;;;EAKtC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;CAWxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,eAAO,MAAM,+BAA+B;;;;;;;;;;;EAW1C,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,gBAAgB,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC1C,SAAS,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC9C,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAgBzD,CAAC"}
|
|
@@ -6,11 +6,11 @@ import * as z from "zod";
|
|
|
6
6
|
/**
|
|
7
7
|
* Whether the repository is a read-only built-in template or an organization-owned saved repository.
|
|
8
8
|
*/
|
|
9
|
-
export const
|
|
9
|
+
export const V2RepositoryKind = {
|
|
10
10
|
Template: "template",
|
|
11
11
|
Saved: "saved",
|
|
12
12
|
};
|
|
13
|
-
export const
|
|
13
|
+
export const V2RepositoryKind$zodSchema = z.enum([
|
|
14
14
|
"template",
|
|
15
15
|
"saved",
|
|
16
16
|
]).describe("Whether the repository is a read-only built-in template or an organization-owned saved repository.");
|
|
@@ -44,7 +44,7 @@ export const V2Repository$zodSchema = z.object({
|
|
|
44
44
|
framework: V2RepositoryFramework$zodSchema.default("custom"),
|
|
45
45
|
id: z.string().describe("Value to pass as `repository` in a direct eval run. Built-in templates use aliases such as `nextjs-starter`; saved repositories use their persisted IDs."),
|
|
46
46
|
install_steps: z.array(z.string()).optional(),
|
|
47
|
-
kind:
|
|
47
|
+
kind: V2RepositoryKind$zodSchema.describe("Whether the repository is a read-only built-in template or an organization-owned saved repository."),
|
|
48
48
|
name: z.string(),
|
|
49
49
|
ref: z.string(),
|
|
50
50
|
repo_url: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2repository.js","sourceRoot":"","sources":["../../src/models/v2repository.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB;;GAEG;AACH,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"v2repository.js","sourceRoot":"","sources":["../../src/models/v2repository.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAMX,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,IAAI,CAAC;IAC/C,UAAU;IACV,OAAO;CACR,CAAC,CAAC,QAAQ,CACT,oGAAoG,CACrG,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,IAAI,CAAC;IACpD,SAAS;IACT,MAAM;IACN,SAAS;IACT,QAAQ;IACR,SAAS;IACT,OAAO;IACP,SAAS;IACT,MAAM;IACN,QAAQ;IACR,QAAQ;CACT,CAAC,CAAC;AAgBH,MAAM,CAAC,MAAM,sBAAsB,GAA4B,CAAC,CAAC,MAAM,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC5C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,SAAS,EAAE,+BAA+B,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC5D,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACrB,0JAA0J,CAC3J;IACD,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,IAAI,EAAE,0BAA0B,CAAC,QAAQ,CACvC,oGAAoG,CACrG;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { HTTPValidationError } from "./httpvalidationerror.js";
|
|
3
|
+
import { V2PublicTask } from "./v2publictask.js";
|
|
4
|
+
/**
|
|
5
|
+
* The assignee is not a member of your organization.
|
|
6
|
+
*/
|
|
7
|
+
export type V2TasksCreateResponseBody = {
|
|
8
|
+
detail: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const V2TasksCreateResponseBody$zodSchema: z.ZodType<V2TasksCreateResponseBody>;
|
|
11
|
+
export type V2TasksCreateResponse = V2PublicTask | V2TasksCreateResponseBody | HTTPValidationError;
|
|
12
|
+
export declare const V2TasksCreateResponse$zodSchema: z.ZodType<V2TasksCreateResponse>;
|
|
13
|
+
//# sourceMappingURL=v2taskscreateop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2taskscreateop.d.ts","sourceRoot":"","sources":["../../src/models/v2taskscreateop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,YAAY,EAA0B,MAAM,mBAAmB,CAAC;AAEzE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3D,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,yBAAyB,CAGsC,CAAC;AAElE,MAAM,MAAM,qBAAqB,GAC7B,YAAY,GACZ,yBAAyB,GACzB,mBAAmB,CAAC;AAExB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAKzE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 858a2209718a
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
|
|
7
|
+
import { V2PublicTask$zodSchema } from "./v2publictask.js";
|
|
8
|
+
export const V2TasksCreateResponseBody$zodSchema = z.object({
|
|
9
|
+
detail: z.string(),
|
|
10
|
+
}).describe("The assignee is not a member of your organization.");
|
|
11
|
+
export const V2TasksCreateResponse$zodSchema = z.union([
|
|
12
|
+
V2PublicTask$zodSchema,
|
|
13
|
+
z.lazy(() => V2TasksCreateResponseBody$zodSchema),
|
|
14
|
+
HTTPValidationError$zodSchema,
|
|
15
|
+
]);
|
|
16
|
+
//# sourceMappingURL=v2taskscreateop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2taskscreateop.js","sourceRoot":"","sources":["../../src/models/v2taskscreateop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAgB,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAOzE,MAAM,CAAC,MAAM,mCAAmC,GAE5C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC,QAAQ,CAAC,oDAAoD,CAAC,CAAC;AAOlE,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,KAAK,CAAC;IACN,sBAAsB;IACtB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mCAAmC,CAAC;IACjD,6BAA6B;CAC9B,CAAC,CAAC"}
|
|
@@ -19,6 +19,7 @@ export type V2VisibilityCitationsListRequest = {
|
|
|
19
19
|
platform?: string | undefined;
|
|
20
20
|
source_type?: V2VisibilityCitationsListSourceType | undefined;
|
|
21
21
|
limit?: number | undefined;
|
|
22
|
+
period?: string | undefined;
|
|
22
23
|
};
|
|
23
24
|
export declare const V2VisibilityCitationsListRequest$zodSchema: z.ZodType<V2VisibilityCitationsListRequest>;
|
|
24
25
|
export type V2VisibilityCitationsListResponse = PublicTopCitedUrlsResponse | HTTPValidationError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2visibilitycitationslistop.d.ts","sourceRoot":"","sources":["../../src/models/v2visibilitycitationslistop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC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,SAAS,CAAC;IAC9D,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,gCAAgC,CAahC,CAAC;AAEH,MAAM,MAAM,iCAAiC,GACzC,0BAA0B,GAC1B,mBAAmB,CAAC;AAExB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,iCAAiC,CAIjC,CAAC"}
|
|
@@ -18,6 +18,7 @@ export const V2VisibilityCitationsListSourceType$zodSchema = z.enum([
|
|
|
18
18
|
export const V2VisibilityCitationsListRequest$zodSchema = z.object({
|
|
19
19
|
end_date: z.string().date().describe("Inclusive range end; defaults to today.").optional(),
|
|
20
20
|
limit: z.int().default(20),
|
|
21
|
+
period: z.string().describe("Named period, resolved in UTC by the server: `last_7_days`, `last_14_days`, `last_30_days`, `last_90_days` (N days ending today), `this_week`, `last_week`, an ISO week such as `2026-W43` (Monday to Sunday), `this_month`, `last_month`, a month such as `2026-10`, `this_quarter`, `last_quarter`, or a quarter such as `2026Q4`. A current week, month, or quarter ends today. The response's `period` gives the resolved dates and the matching previous period. Do not combine with `start_date` or `end_date`.").optional(),
|
|
21
22
|
platform: z.string().describe("Optional answer-platform ID, name, or slug.")
|
|
22
23
|
.optional(),
|
|
23
24
|
source_type: V2VisibilityCitationsListSourceType$zodSchema.default("all"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2visibilitycitationslistop.js","sourceRoot":"","sources":["../../src/models/v2visibilitycitationslistop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,oCAAoC,GACrC,MAAM,iCAAiC,CAAC;AAEzC,MAAM,CAAC,MAAM,mC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AAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC,QAAQ,EAAE;CAC5E,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,2CAA2C,GAEpD,CAAC,CAAC,KAAK,CAAC;IACV,oCAAoC;IACpC,6BAA6B;CAC9B,CAAC,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
import { HTTPValidationError } from "./httpvalidationerror.js";
|
|
4
|
+
import { PublicCitationSummaryResponse } from "./publiccitationsummaryresponse.js";
|
|
5
|
+
/**
|
|
6
|
+
* How to group citations.
|
|
7
|
+
*/
|
|
8
|
+
export declare const V2VisibilityCitationsSummaryRetrieveGroupBy: {
|
|
9
|
+
readonly UrlPrefix: "url_prefix";
|
|
10
|
+
readonly Url: "url";
|
|
11
|
+
readonly Domain: "domain";
|
|
12
|
+
readonly Day: "day";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* How to group citations.
|
|
16
|
+
*/
|
|
17
|
+
export type V2VisibilityCitationsSummaryRetrieveGroupBy = ClosedEnum<typeof V2VisibilityCitationsSummaryRetrieveGroupBy>;
|
|
18
|
+
export declare const V2VisibilityCitationsSummaryRetrieveGroupBy$zodSchema: z.ZodEnum<{
|
|
19
|
+
url: "url";
|
|
20
|
+
domain: "domain";
|
|
21
|
+
url_prefix: "url_prefix";
|
|
22
|
+
day: "day";
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* All citations, only owned company domains, or only external ones.
|
|
26
|
+
*/
|
|
27
|
+
export declare const V2VisibilityCitationsSummaryRetrieveSourceType: {
|
|
28
|
+
readonly All: "all";
|
|
29
|
+
readonly Owned: "owned";
|
|
30
|
+
readonly External: "external";
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* All citations, only owned company domains, or only external ones.
|
|
34
|
+
*/
|
|
35
|
+
export type V2VisibilityCitationsSummaryRetrieveSourceType = ClosedEnum<typeof V2VisibilityCitationsSummaryRetrieveSourceType>;
|
|
36
|
+
export declare const V2VisibilityCitationsSummaryRetrieveSourceType$zodSchema: z.ZodEnum<{
|
|
37
|
+
external: "external";
|
|
38
|
+
all: "all";
|
|
39
|
+
owned: "owned";
|
|
40
|
+
}>;
|
|
41
|
+
export type V2VisibilityCitationsSummaryRetrieveRequest = {
|
|
42
|
+
period?: string | undefined;
|
|
43
|
+
start_date?: string | undefined;
|
|
44
|
+
end_date?: string | undefined;
|
|
45
|
+
group_by?: V2VisibilityCitationsSummaryRetrieveGroupBy | undefined;
|
|
46
|
+
url_prefix?: string | undefined;
|
|
47
|
+
source_type?: V2VisibilityCitationsSummaryRetrieveSourceType | undefined;
|
|
48
|
+
platform?: string | undefined;
|
|
49
|
+
limit?: number | undefined;
|
|
50
|
+
};
|
|
51
|
+
export declare const V2VisibilityCitationsSummaryRetrieveRequest$zodSchema: z.ZodType<V2VisibilityCitationsSummaryRetrieveRequest>;
|
|
52
|
+
export type V2VisibilityCitationsSummaryRetrieveResponse = PublicCitationSummaryResponse | HTTPValidationError;
|
|
53
|
+
export declare const V2VisibilityCitationsSummaryRetrieveResponse$zodSchema: z.ZodType<V2VisibilityCitationsSummaryRetrieveResponse>;
|
|
54
|
+
//# sourceMappingURL=v2visibilitycitationssummaryretrieveop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2visibilitycitationssummaryretrieveop.d.ts","sourceRoot":"","sources":["../../src/models/v2visibilitycitationssummaryretrieveop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,6BAA6B,EAE9B,MAAM,oCAAoC,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,2CAA2C;;;;;CAK9C,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG,UAAU,CAClE,OAAO,2CAA2C,CACnD,CAAC;AAEF,eAAO,MAAM,qDAAqD;;;;;EAK5B,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,8CAA8C;;;;CAIjD,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,8CAA8C,GAAG,UAAU,CACrE,OAAO,8CAA8C,CACtD,CAAC;AAEF,eAAO,MAAM,wDAAwD;;;;EAMpE,CAAC;AAEF,MAAM,MAAM,2CAA2C,GAAG;IACxD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,2CAA2C,GAAG,SAAS,CAAC;IACnE,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,CAAC,EAAE,8CAA8C,GAAG,SAAS,CAAC;IACzE,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CAC3E,2CAA2C,CA2B3C,CAAC;AAEH,MAAM,MAAM,4CAA4C,GACpD,6BAA6B,GAC7B,mBAAmB,CAAC;AAExB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC5E,4CAA4C,CAI5C,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 704776418479
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
|
|
7
|
+
import { PublicCitationSummaryResponse$zodSchema, } from "./publiccitationsummaryresponse.js";
|
|
8
|
+
/**
|
|
9
|
+
* How to group citations.
|
|
10
|
+
*/
|
|
11
|
+
export const V2VisibilityCitationsSummaryRetrieveGroupBy = {
|
|
12
|
+
UrlPrefix: "url_prefix",
|
|
13
|
+
Url: "url",
|
|
14
|
+
Domain: "domain",
|
|
15
|
+
Day: "day",
|
|
16
|
+
};
|
|
17
|
+
export const V2VisibilityCitationsSummaryRetrieveGroupBy$zodSchema = z.enum([
|
|
18
|
+
"url_prefix",
|
|
19
|
+
"url",
|
|
20
|
+
"domain",
|
|
21
|
+
"day",
|
|
22
|
+
]).describe("How to group citations.");
|
|
23
|
+
/**
|
|
24
|
+
* All citations, only owned company domains, or only external ones.
|
|
25
|
+
*/
|
|
26
|
+
export const V2VisibilityCitationsSummaryRetrieveSourceType = {
|
|
27
|
+
All: "all",
|
|
28
|
+
Owned: "owned",
|
|
29
|
+
External: "external",
|
|
30
|
+
};
|
|
31
|
+
export const V2VisibilityCitationsSummaryRetrieveSourceType$zodSchema = z.enum([
|
|
32
|
+
"all",
|
|
33
|
+
"owned",
|
|
34
|
+
"external",
|
|
35
|
+
]).describe("All citations, only owned company domains, or only external ones.");
|
|
36
|
+
export const V2VisibilityCitationsSummaryRetrieveRequest$zodSchema = z.object({
|
|
37
|
+
end_date: z.string().date().describe("Inclusive range end; defaults to today.").optional(),
|
|
38
|
+
group_by: V2VisibilityCitationsSummaryRetrieveGroupBy$zodSchema.default("url_prefix").describe("How to group citations."),
|
|
39
|
+
limit: z.int().default(20).describe("Groups to return; `day` groups return every day."),
|
|
40
|
+
period: z.string().describe("Named period, resolved in UTC by the server: `last_7_days`, `last_14_days`, `last_30_days`, `last_90_days` (N days ending today), `this_week`, `last_week`, an ISO week such as `2026-W43` (Monday to Sunday), `this_month`, `last_month`, a month such as `2026-10`, `this_quarter`, `last_quarter`, or a quarter such as `2026Q4`. A current week, month, or quarter ends today. The response's `period` gives the resolved dates and the matching previous period. Do not combine with `start_date` or `end_date`.").optional(),
|
|
41
|
+
platform: z.string().describe("Optional answer-platform ID, name, or slug.")
|
|
42
|
+
.optional(),
|
|
43
|
+
source_type: V2VisibilityCitationsSummaryRetrieveSourceType$zodSchema.default("all").describe("All citations, only owned company domains, or only external ones."),
|
|
44
|
+
start_date: z.string().date().describe("Inclusive range start; defaults to 30 days before the end date. The range may span at most 90 days.").optional(),
|
|
45
|
+
url_prefix: z.string().describe("Only citations under this URL prefix, such as `https://example.com/blog/`. Scheme and `www.` are ignored.").optional(),
|
|
46
|
+
});
|
|
47
|
+
export const V2VisibilityCitationsSummaryRetrieveResponse$zodSchema = z.union([
|
|
48
|
+
PublicCitationSummaryResponse$zodSchema,
|
|
49
|
+
HTTPValidationError$zodSchema,
|
|
50
|
+
]);
|
|
51
|
+
//# sourceMappingURL=v2visibilitycitationssummaryretrieveop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2visibilitycitationssummaryretrieveop.js","sourceRoot":"","sources":["../../src/models/v2visibilitycitationssummaryretrieveop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,uCAAuC,GACxC,MAAM,oCAAoC,CAAC;AAE5C;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAG;IACzD,SAAS,EAAE,YAAY;IACvB,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;CACF,CAAC;AAQX,MAAM,CAAC,MAAM,qDAAqD,GAAG,CAAC,CAAC,IAAI,CAAC;IAC1E,YAAY;IACZ,KAAK;IACL,QAAQ;IACR,KAAK;CACN,CAAC,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC;AAEvC;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAG;IAC5D,G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7 @@ import { PublicCurrentVisibilityResponse } from "./publiccurrentvisibilityrespon
|
|
|
4
4
|
export type V2VisibilityCurrentRetrieveRequest = {
|
|
5
5
|
start_date?: string | undefined;
|
|
6
6
|
end_date?: string | undefined;
|
|
7
|
+
period?: string | undefined;
|
|
7
8
|
};
|
|
8
9
|
export declare const V2VisibilityCurrentRetrieveRequest$zodSchema: z.ZodType<V2VisibilityCurrentRetrieveRequest>;
|
|
9
10
|
export type V2VisibilityCurrentRetrieveResponse = PublicCurrentVisibilityResponse | HTTPValidationError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2visibilitycurrentretrieveop.d.ts","sourceRoot":"","sources":["../../src/models/v2visibilitycurrentretrieveop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,+BAA+B,EAEhC,MAAM,sCAAsC,CAAC;AAE9C,MAAM,MAAM,kCAAkC,GAAG;IAC/C,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"v2visibilitycurrentretrieveop.d.ts","sourceRoot":"","sources":["../../src/models/v2visibilitycurrentretrieveop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,+BAA+B,EAEhC,MAAM,sCAAsC,CAAC;AAE9C,MAAM,MAAM,kCAAkC,GAAG;IAC/C,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,kCAAkC,CAWlC,CAAC;AAEH,MAAM,MAAM,mCAAmC,GAC3C,+BAA+B,GAC/B,mBAAmB,CAAC;AAExB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,mCAAmC,CAInC,CAAC"}
|