cmx-sdk 0.2.16 → 0.2.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/dist/index.d.ts CHANGED
@@ -1444,6 +1444,38 @@ interface SdkAnalyticsDailyListResponse {
1444
1444
  metrics: SdkAnalyticsDailyMetric[];
1445
1445
  }
1446
1446
 
1447
+ /**
1448
+ * Generated by orval v8.4.0 🍺
1449
+ * Do not edit manually.
1450
+ * CMX SDK API
1451
+ * CMX SDK API(コンテンツ配信+管理)
1452
+ * OpenAPI spec version: 1.0.0
1453
+ */
1454
+ type SdkBugSeverity = typeof SdkBugSeverity[keyof typeof SdkBugSeverity];
1455
+ declare const SdkBugSeverity: {
1456
+ readonly low: "low";
1457
+ readonly medium: "medium";
1458
+ readonly high: "high";
1459
+ readonly critical: "critical";
1460
+ };
1461
+
1462
+ /**
1463
+ * Generated by orval v8.4.0 🍺
1464
+ * Do not edit manually.
1465
+ * CMX SDK API
1466
+ * CMX SDK API(コンテンツ配信+管理)
1467
+ * OpenAPI spec version: 1.0.0
1468
+ */
1469
+
1470
+ interface SdkBugReportResponse {
1471
+ id: string;
1472
+ title: string;
1473
+ severity: SdkBugSeverity;
1474
+ status: string;
1475
+ githubIssueUrl: string | null;
1476
+ createdAt: string;
1477
+ }
1478
+
1447
1479
  /**
1448
1480
  * Generated by orval v8.4.0 🍺
1449
1481
  * Do not edit manually.
@@ -1602,6 +1634,10 @@ interface SdkContentDetail {
1602
1634
  title: string;
1603
1635
  description: string | null;
1604
1636
  summary: string | null;
1637
+ /**
1638
+ * カバー画像URL(deprecated: coverImageAssetId を使用)
1639
+ * @deprecated
1640
+ */
1605
1641
  coverImageUrl: string | null;
1606
1642
  coverImageAssetId: string | null;
1607
1643
  coverImageExternalUrl: string | null;
@@ -1632,6 +1668,10 @@ interface SdkContentItem {
1632
1668
  title: string;
1633
1669
  description: string | null;
1634
1670
  summary: string | null;
1671
+ /**
1672
+ * カバー画像URL(deprecated: coverImageAssetId を使用)
1673
+ * @deprecated
1674
+ */
1635
1675
  coverImageUrl: string | null;
1636
1676
  coverImageAssetId: string | null;
1637
1677
  coverImageExternalUrl: string | null;
@@ -1706,6 +1746,51 @@ interface SdkContentReferencesResponse {
1706
1746
  references: SdkContentReferencesResponseReferencesItem[];
1707
1747
  }
1708
1748
 
1749
+ /**
1750
+ * Generated by orval v8.4.0 🍺
1751
+ * Do not edit manually.
1752
+ * CMX SDK API
1753
+ * CMX SDK API(コンテンツ配信+管理)
1754
+ * OpenAPI spec version: 1.0.0
1755
+ */
1756
+ /**
1757
+ * 環境情報
1758
+ */
1759
+ type SdkCreateBugReportBodyEnvironmentInfo = {
1760
+ [key: string]: unknown | null;
1761
+ };
1762
+
1763
+ /**
1764
+ * Generated by orval v8.4.0 🍺
1765
+ * Do not edit manually.
1766
+ * CMX SDK API
1767
+ * CMX SDK API(コンテンツ配信+管理)
1768
+ * OpenAPI spec version: 1.0.0
1769
+ */
1770
+
1771
+ interface SdkCreateBugReportBody {
1772
+ /**
1773
+ * バグの概要タイトル
1774
+ * @minLength 1
1775
+ * @maxLength 500
1776
+ */
1777
+ title: string;
1778
+ /**
1779
+ * バグの詳細説明
1780
+ * @minLength 1
1781
+ */
1782
+ description: string;
1783
+ severity?: SdkBugSeverity & unknown;
1784
+ /** 再現手順 */
1785
+ stepsToReproduce?: string;
1786
+ /** エラーメッセージ全文 */
1787
+ errorMessage?: string;
1788
+ /** 環境情報 */
1789
+ environmentInfo?: SdkCreateBugReportBodyEnvironmentInfo;
1790
+ /** 実行した CLI コマンド */
1791
+ cliCommand?: string;
1792
+ }
1793
+
1709
1794
  /**
1710
1795
  * Generated by orval v8.4.0 🍺
1711
1796
  * Do not edit manually.
@@ -1807,6 +1892,8 @@ interface SdkCreateEntryRequest {
1807
1892
  dataJson: SdkCreateEntryRequestDataJson;
1808
1893
  /** データエントリのステータス */
1809
1894
  status?: SdkCreateEntryRequestStatus;
1895
+ /** AI向けサマリ */
1896
+ aiSummary?: string | null;
1810
1897
  }
1811
1898
 
1812
1899
  /**
@@ -2369,6 +2456,8 @@ interface SdkUpdateEntryRequest {
2369
2456
  /** データエントリのステータス */
2370
2457
  status?: SdkUpdateEntryRequestStatus;
2371
2458
  sortOrder?: number;
2459
+ /** AI向けサマリ */
2460
+ aiSummary?: string | null;
2372
2461
  }
2373
2462
 
2374
2463
  /**
@@ -2552,6 +2641,10 @@ type getCollectionsSlugContentsResponse200 = {
2552
2641
  data: CollectionContentsResponse;
2553
2642
  status: 200;
2554
2643
  };
2644
+ type getCollectionsSlugContentsResponse400 = {
2645
+ data: ErrorResponse;
2646
+ status: 400;
2647
+ };
2555
2648
  type getCollectionsSlugContentsResponse401 = {
2556
2649
  data: ErrorResponse;
2557
2650
  status: 401;
@@ -2567,7 +2660,7 @@ type getCollectionsSlugContentsResponse500 = {
2567
2660
  type getCollectionsSlugContentsResponseSuccess = (getCollectionsSlugContentsResponse200) & {
2568
2661
  headers: Headers;
2569
2662
  };
2570
- type getCollectionsSlugContentsResponseError = (getCollectionsSlugContentsResponse401 | getCollectionsSlugContentsResponse404 | getCollectionsSlugContentsResponse500) & {
2663
+ type getCollectionsSlugContentsResponseError = (getCollectionsSlugContentsResponse400 | getCollectionsSlugContentsResponse401 | getCollectionsSlugContentsResponse404 | getCollectionsSlugContentsResponse500) & {
2571
2664
  headers: Headers;
2572
2665
  };
2573
2666
  type getCollectionsSlugContentsResponse = (getCollectionsSlugContentsResponseSuccess | getCollectionsSlugContentsResponseError);
@@ -3186,8 +3279,8 @@ declare const componentSchemas: {
3186
3279
  assetId: z.ZodString;
3187
3280
  alt: z.ZodOptional<z.ZodString>;
3188
3281
  size: z.ZodDefault<z.ZodEnum<{
3189
- thumbnail: "thumbnail";
3190
3282
  medium: "medium";
3283
+ thumbnail: "thumbnail";
3191
3284
  large: "large";
3192
3285
  original: "original";
3193
3286
  }>>;
@@ -3419,4 +3512,4 @@ declare function renderMdx(mdx: string, references?: References, options?: Rende
3419
3512
  */
3420
3513
  declare function renderMdxPreview(mdx: string, additionalComponents?: Record<string, React.ComponentType<any>>): Promise<React.ReactElement>;
3421
3514
 
3422
- export { type ApiResponse, type AssetReference, type AssetReferenceVariants, BlogCard, Button, CACHE_TAGS, Callout, CmxApiError, type CollectionConfig, type CollectionConfigDefaults, type CollectionContentDetailResponse, type CollectionContentsOptions, type CollectionContentsResponse, type CollectionListResponse, type CollectionResponse, CollectionType, type ComponentDefinition, type ComponentName, type ContentReference, ContentStatus, type CreateCollectionRequest, type CreateContentRequest, type CreateDataTypeRequest, type CreateFormDefinitionRequest, type DataEntriesOptions, type DataEntryDetailResponse, type DataEntryItem, type DataListResponse, type DataTypeConfig, type DataTypeResponse, type DeleteManageContentsIdParams, type DeleteManageDataTypeSlugIdParams, Embed, type ErrorResponse, type ErrorResponseDetails, type FetchOptions, type FieldDefinition, type FieldOptions, type FieldOptionsChoicesItem, FieldType, type FormDefinitionResponse, type FormDefinitionResponseConfigJson, type GetAnalyticsDailyParams, type GetCollectionsSlugContentsParams, GetCollectionsSlugContentsSortBy, GetCollectionsSlugContentsSortOrder, type GetDataTypeSlugParams, GetDataTypeSlugSortBy, GetDataTypeSlugSortOrder, type GetManageCollectionPresets200, type GetManageCollectionPresetsParams, GetManageCollectionPresetsType, type GetManageContentsIdParams, type GetManageContentsParams, type GetManageDataTypeSlugIdParams, type GetManageDataTypeSlugParams, GetManageDataTypeSlugSortBy, GetManageDataTypeSlugSortOrder, GetManageDataTypeSlugStatus, type GetPreviewToken200, type GetPreviewToken200Collection, type GetPreviewToken200Content, type GetPreviewToken200References, type GetPreviewToken200ReferencesAssets, type GetPreviewToken200ReferencesAssetsVariants, type GetPreviewToken200ReferencesContents, Image, type PreviewResponse, type PublicCollectionInfo, type PublicContentDetail, type PublicContentListItem, type PublicContentParent, type PublicFetcherOptions, type PublicSubmissionRequest, type PublicSubmissionRequestData, type PublicSubmissionResponse, type ReferenceField, ReferenceFieldReferenceType, type References, type ReferencesAssets, type ReferencesContents, type RenderOptions, type RenderResult, type ResolvedReferences, type RevalidationConfig, type SchemaCollection, type SchemaDataType, type SchemaFieldDefinition, type SchemaFieldOption, type SchemaFieldOptionChoicesItem, type SchemaFormDefinition, type SchemaResponse, type SdkAddCollectionDataTypeRequest, SdkAddCollectionDataTypeRequestReferenceType, type SdkAnalyticsDailyListResponse, type SdkAnalyticsDailyMetric, type SdkAnalyticsDailyMetricRawJson, type SdkCollectionDataTypeResponse, type SdkComponentDefinition, type SdkComponentDefinitionPropsSchema, type SdkComponentProp, type SdkComponentSuccessResponse, type SdkComponentSyncRequest, type SdkContentDetail, type SdkContentDetailFrontmatterJson, type SdkContentDetailSeoJson, type SdkContentDetailSeoJsonStructuredData, type SdkContentItem, type SdkContentListResponse, type SdkContentReferencesResponse, type SdkContentReferencesResponseReferencesItem, type SdkContentReferencesResponseReferencesItemDataEntriesItem, type SdkContentReferencesResponseReferencesItemDataEntriesItemData, type SdkCreateContentResponse, type SdkCreateContentResponseWarningsItem, SdkCreateContentResponseWarningsItemIssueType, SdkCreateContentResponseWarningsItemTargetType, type SdkCreateEntryRequest, type SdkCreateEntryRequestDataJson, SdkCreateEntryRequestStatus, type SdkCustomComponentResponse, type SdkCustomComponentResponsePropsSchema, SdkCustomComponentResponseStatus, type SdkCustomComponentsListResponse, type SdkDataEntriesListResponse, type SdkDataEntryDeletionImpactItem, type SdkDataEntryDeletionImpactResponse, type SdkDataEntryDetailResponse, type SdkDataEntryResponse, type SdkDataEntryResponseDataJson, SdkDataEntryResponseStatus, type SdkDataTypeInfo, type SdkDeleteCollectionDataTypeResponse, type SdkDeleteCollectionResponse, type SdkDeleteContentResponse, type SdkDeleteDataEntryResponse, type SdkDeleteDataTypeResponse, type SdkDeleteFormDefinitionResponse, type SdkDocResponse, SdkDocType, type SdkLinkExistingDataTypeRequest, SdkLinkExistingDataTypeRequestReferenceType, type SdkPreset, SdkPresetReferenceType, type SdkPublishContentResponse, type SdkRequestReviewResponse, type SdkRuntimeSettingsResponse, type SdkRuntimeSettingsResponseSettings, type SdkRuntimeSettingsResponseSettingsAnalytics, SdkRuntimeSettingsResponseSettingsAnalyticsProvider, type SdkRuntimeSettingsResponseSettingsAnalyticsTracking, type SdkRuntimeSettingsResponseSettingsRevalidation, type SdkSetContentReferencesRequest, type SdkSetContentReferencesRequestReferencesItem, type SdkSetContentReferencesResponse, type SdkUpdateContentResponse, type SdkUpdateContentResponseWarningsItem, SdkUpdateContentResponseWarningsItemIssueType, SdkUpdateContentResponseWarningsItemTargetType, type SdkUpdateEntryRequest, type SdkUpdateEntryRequestDataJson, SdkUpdateEntryRequestStatus, type SdkUpsertDocBody, type SdkValidateContentResponse, type SdkValidateContentResponseIssuesItem, SdkValidateContentResponseIssuesItemIssueType, SdkValidateContentResponseIssuesItemTargetType, type UpdateCollectionRequest, type UpdateContentRequest, type UpdateDataTypeRequest, type UpdateFormDefinitionRequest, type UpdateFormDefinitionRequestConfigJson, type ValidationError, type ValidationResult, basicComponents, componentCatalog, componentSchemas, customComponents, fetchAnalyticsDailyMetrics, fetchRuntimeSettings, getAnalyticsDaily, getCatalogForAI, getCollectionContentDetail, getCollectionContentDetailOrThrow, getCollectionContents, getCollectionContentsOrThrow, getCollections, getCollectionsSlugContents, getCollectionsSlugContentsContentSlug, getComponentsByCategory, getComponentsWithReferences, getDataEntries, getDataEntriesOrThrow, getDataEntry, getDataEntryOrThrow, getDataTypeSlug, getGetAnalyticsDailyUrl, getGetCollectionsSlugContentsContentSlugUrl, getGetCollectionsSlugContentsUrl, getGetDataTypeSlugUrl, getGetPreviewTokenUrl, getGetRuntimeSettingsUrl, getPreviewByToken, getPreviewToken, getRuntimeSettings, getSchema, getSdkApiBaseUrl, getSdkApiToken, isValidComponent, markdownComponents, mdxComponents, quickValidateMdx, renderMdx, renderMdxPreview, sdkCustomInstance, sdkFetchWithTags, sdkFetcher, sdkPostFetcher, submitFormData, validateComponentProps, validateMdx };
3515
+ export { type ApiResponse, type AssetReference, type AssetReferenceVariants, BlogCard, Button, CACHE_TAGS, Callout, CmxApiError, type CollectionConfig, type CollectionConfigDefaults, type CollectionContentDetailResponse, type CollectionContentsOptions, type CollectionContentsResponse, type CollectionListResponse, type CollectionResponse, CollectionType, type ComponentDefinition, type ComponentName, type ContentReference, ContentStatus, type CreateCollectionRequest, type CreateContentRequest, type CreateDataTypeRequest, type CreateFormDefinitionRequest, type DataEntriesOptions, type DataEntryDetailResponse, type DataEntryItem, type DataListResponse, type DataTypeConfig, type DataTypeResponse, type DeleteManageContentsIdParams, type DeleteManageDataTypeSlugIdParams, Embed, type ErrorResponse, type ErrorResponseDetails, type FetchOptions, type FieldDefinition, type FieldOptions, type FieldOptionsChoicesItem, FieldType, type FormDefinitionResponse, type FormDefinitionResponseConfigJson, type GetAnalyticsDailyParams, type GetCollectionsSlugContentsParams, GetCollectionsSlugContentsSortBy, GetCollectionsSlugContentsSortOrder, type GetDataTypeSlugParams, GetDataTypeSlugSortBy, GetDataTypeSlugSortOrder, type GetManageCollectionPresets200, type GetManageCollectionPresetsParams, GetManageCollectionPresetsType, type GetManageContentsIdParams, type GetManageContentsParams, type GetManageDataTypeSlugIdParams, type GetManageDataTypeSlugParams, GetManageDataTypeSlugSortBy, GetManageDataTypeSlugSortOrder, GetManageDataTypeSlugStatus, type GetPreviewToken200, type GetPreviewToken200Collection, type GetPreviewToken200Content, type GetPreviewToken200References, type GetPreviewToken200ReferencesAssets, type GetPreviewToken200ReferencesAssetsVariants, type GetPreviewToken200ReferencesContents, Image, type PreviewResponse, type PublicCollectionInfo, type PublicContentDetail, type PublicContentListItem, type PublicContentParent, type PublicFetcherOptions, type PublicSubmissionRequest, type PublicSubmissionRequestData, type PublicSubmissionResponse, type ReferenceField, ReferenceFieldReferenceType, type References, type ReferencesAssets, type ReferencesContents, type RenderOptions, type RenderResult, type ResolvedReferences, type RevalidationConfig, type SchemaCollection, type SchemaDataType, type SchemaFieldDefinition, type SchemaFieldOption, type SchemaFieldOptionChoicesItem, type SchemaFormDefinition, type SchemaResponse, type SdkAddCollectionDataTypeRequest, SdkAddCollectionDataTypeRequestReferenceType, type SdkAnalyticsDailyListResponse, type SdkAnalyticsDailyMetric, type SdkAnalyticsDailyMetricRawJson, type SdkBugReportResponse, SdkBugSeverity, type SdkCollectionDataTypeResponse, type SdkComponentDefinition, type SdkComponentDefinitionPropsSchema, type SdkComponentProp, type SdkComponentSuccessResponse, type SdkComponentSyncRequest, type SdkContentDetail, type SdkContentDetailFrontmatterJson, type SdkContentDetailSeoJson, type SdkContentDetailSeoJsonStructuredData, type SdkContentItem, type SdkContentListResponse, type SdkContentReferencesResponse, type SdkContentReferencesResponseReferencesItem, type SdkContentReferencesResponseReferencesItemDataEntriesItem, type SdkContentReferencesResponseReferencesItemDataEntriesItemData, type SdkCreateBugReportBody, type SdkCreateBugReportBodyEnvironmentInfo, type SdkCreateContentResponse, type SdkCreateContentResponseWarningsItem, SdkCreateContentResponseWarningsItemIssueType, SdkCreateContentResponseWarningsItemTargetType, type SdkCreateEntryRequest, type SdkCreateEntryRequestDataJson, SdkCreateEntryRequestStatus, type SdkCustomComponentResponse, type SdkCustomComponentResponsePropsSchema, SdkCustomComponentResponseStatus, type SdkCustomComponentsListResponse, type SdkDataEntriesListResponse, type SdkDataEntryDeletionImpactItem, type SdkDataEntryDeletionImpactResponse, type SdkDataEntryDetailResponse, type SdkDataEntryResponse, type SdkDataEntryResponseDataJson, SdkDataEntryResponseStatus, type SdkDataTypeInfo, type SdkDeleteCollectionDataTypeResponse, type SdkDeleteCollectionResponse, type SdkDeleteContentResponse, type SdkDeleteDataEntryResponse, type SdkDeleteDataTypeResponse, type SdkDeleteFormDefinitionResponse, type SdkDocResponse, SdkDocType, type SdkLinkExistingDataTypeRequest, SdkLinkExistingDataTypeRequestReferenceType, type SdkPreset, SdkPresetReferenceType, type SdkPublishContentResponse, type SdkRequestReviewResponse, type SdkRuntimeSettingsResponse, type SdkRuntimeSettingsResponseSettings, type SdkRuntimeSettingsResponseSettingsAnalytics, SdkRuntimeSettingsResponseSettingsAnalyticsProvider, type SdkRuntimeSettingsResponseSettingsAnalyticsTracking, type SdkRuntimeSettingsResponseSettingsRevalidation, type SdkSetContentReferencesRequest, type SdkSetContentReferencesRequestReferencesItem, type SdkSetContentReferencesResponse, type SdkUpdateContentResponse, type SdkUpdateContentResponseWarningsItem, SdkUpdateContentResponseWarningsItemIssueType, SdkUpdateContentResponseWarningsItemTargetType, type SdkUpdateEntryRequest, type SdkUpdateEntryRequestDataJson, SdkUpdateEntryRequestStatus, type SdkUpsertDocBody, type SdkValidateContentResponse, type SdkValidateContentResponseIssuesItem, SdkValidateContentResponseIssuesItemIssueType, SdkValidateContentResponseIssuesItemTargetType, type UpdateCollectionRequest, type UpdateContentRequest, type UpdateDataTypeRequest, type UpdateFormDefinitionRequest, type UpdateFormDefinitionRequestConfigJson, type ValidationError, type ValidationResult, basicComponents, componentCatalog, componentSchemas, customComponents, fetchAnalyticsDailyMetrics, fetchRuntimeSettings, getAnalyticsDaily, getCatalogForAI, getCollectionContentDetail, getCollectionContentDetailOrThrow, getCollectionContents, getCollectionContentsOrThrow, getCollections, getCollectionsSlugContents, getCollectionsSlugContentsContentSlug, getComponentsByCategory, getComponentsWithReferences, getDataEntries, getDataEntriesOrThrow, getDataEntry, getDataEntryOrThrow, getDataTypeSlug, getGetAnalyticsDailyUrl, getGetCollectionsSlugContentsContentSlugUrl, getGetCollectionsSlugContentsUrl, getGetDataTypeSlugUrl, getGetPreviewTokenUrl, getGetRuntimeSettingsUrl, getPreviewByToken, getPreviewToken, getRuntimeSettings, getSchema, getSdkApiBaseUrl, getSdkApiToken, isValidComponent, markdownComponents, mdxComponents, quickValidateMdx, renderMdx, renderMdxPreview, sdkCustomInstance, sdkFetchWithTags, sdkFetcher, sdkPostFetcher, submitFormData, validateComponentProps, validateMdx };