@aimee.shop/sdk 0.25.2 → 0.25.3

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.
@@ -12692,6 +12692,26 @@ export interface paths {
12692
12692
  patch?: never;
12693
12693
  trace?: never;
12694
12694
  };
12695
+ '/v1/stores/{storeId}/ai-discovery/live-check': {
12696
+ parameters: {
12697
+ query?: never;
12698
+ header?: never;
12699
+ path?: never;
12700
+ cookie?: never;
12701
+ };
12702
+ /**
12703
+ * Check llms.txt on the live site
12704
+ * @description Fetches https://<primary domain>/llms.txt from the server and reports whether it serves the published content. https only, same-host redirects only, public addresses only, 5 s timeout, 1 MB cap.
12705
+ */
12706
+ get: operations['AiDiscoveryController_liveCheck'];
12707
+ put?: never;
12708
+ post?: never;
12709
+ delete?: never;
12710
+ options?: never;
12711
+ head?: never;
12712
+ patch?: never;
12713
+ trace?: never;
12714
+ };
12695
12715
  '/v1/stores/{storeId}/ai-discovery/{fileType}': {
12696
12716
  parameters: {
12697
12717
  query?: never;
@@ -12764,8 +12784,8 @@ export interface paths {
12764
12784
  cookie?: never;
12765
12785
  };
12766
12786
  /**
12767
- * Get raw llms.txt file
12768
- * @description Returns the raw llms.txt content for AI assistants. Publicly accessible.
12787
+ * Get published llms.txt
12788
+ * @description Returns the last published llms.txt for AI assistants. Publicly accessible.
12769
12789
  */
12770
12790
  get: operations['AiDiscoveryPublicController_getLlmsTxt'];
12771
12791
  put?: never;
@@ -12776,6 +12796,46 @@ export interface paths {
12776
12796
  patch?: never;
12777
12797
  trace?: never;
12778
12798
  };
12799
+ '/v1/public/stores/{storeId}/store-schema.json': {
12800
+ parameters: {
12801
+ query?: never;
12802
+ header?: never;
12803
+ path?: never;
12804
+ cookie?: never;
12805
+ };
12806
+ /**
12807
+ * Get published store JSON-LD
12808
+ * @description Returns the last published Organization/WebSite JSON-LD for the page head. Publicly accessible.
12809
+ */
12810
+ get: operations['AiDiscoveryPublicController_getStoreSchema'];
12811
+ put?: never;
12812
+ post?: never;
12813
+ delete?: never;
12814
+ options?: never;
12815
+ head?: never;
12816
+ patch?: never;
12817
+ trace?: never;
12818
+ };
12819
+ '/v1/public/stores/{storeId}/products-schema.json': {
12820
+ parameters: {
12821
+ query?: never;
12822
+ header?: never;
12823
+ path?: never;
12824
+ cookie?: never;
12825
+ };
12826
+ /**
12827
+ * Get published products JSON-LD
12828
+ * @description Returns the last published product ItemList JSON-LD. Publicly accessible.
12829
+ */
12830
+ get: operations['AiDiscoveryPublicController_getProductsSchema'];
12831
+ put?: never;
12832
+ post?: never;
12833
+ delete?: never;
12834
+ options?: never;
12835
+ head?: never;
12836
+ patch?: never;
12837
+ trace?: never;
12838
+ };
12779
12839
  '/v1/storefront-redirects': {
12780
12840
  parameters: {
12781
12841
  query?: never;
@@ -37638,7 +37698,12 @@ export interface components {
37638
37698
  publishedAt?: string | null;
37639
37699
  /** @description Whether auto-regeneration is locked */
37640
37700
  isLocked: boolean;
37641
- /** @description Whether there are unpublished changes */
37701
+ /**
37702
+ * @description draft: never published; published: served content is current; modified: saved changes not yet published
37703
+ * @enum {string}
37704
+ */
37705
+ status: 'draft' | 'published' | 'modified';
37706
+ /** @description Whether there are unpublished changes (status is not published) */
37642
37707
  hasChanges: boolean;
37643
37708
  };
37644
37709
  AiDiscoveryStatusResponseDto: {
@@ -37656,6 +37721,29 @@ export interface components {
37656
37721
  /** @description Whether auto-publish is enabled */
37657
37722
  autoPublishEnabled: boolean;
37658
37723
  };
37724
+ AiDiscoveryLiveCheckResponseDto: {
37725
+ /**
37726
+ * @description URL checked
37727
+ * @example https://shop.example.com/llms.txt
37728
+ */
37729
+ url: string;
37730
+ /**
37731
+ * @description served: the site serves the published llms.txt; out-of-date: it serves different content; missing: non-2xx answer; unreachable: refused by a safety check, timed out or failed; not-published: nothing published to compare with (no request made)
37732
+ * @enum {string}
37733
+ */
37734
+ status: 'served' | 'out-of-date' | 'missing' | 'unreachable' | 'not-published';
37735
+ /** @description HTTP status of the final response, if one was received */
37736
+ httpStatus: number | null;
37737
+ /** @description Why the check was unreachable or not run */
37738
+ reason: string | null;
37739
+ /**
37740
+ * Format: date-time
37741
+ * @description When llms.txt was last published
37742
+ */
37743
+ publishedAt: string | null;
37744
+ /** Format: date-time */
37745
+ checkedAt: string;
37746
+ };
37659
37747
  AiDiscoveryFileWithGeneratedDto: {
37660
37748
  /** @description File ID */
37661
37749
  id: string;
@@ -37670,6 +37758,13 @@ export interface components {
37670
37758
  content: string;
37671
37759
  /** @description Auto-generated content for comparison */
37672
37760
  generatedContent?: string;
37761
+ /** @description Content served on public routes (last publish). Null until first publish. */
37762
+ publishedContent?: string | null;
37763
+ /**
37764
+ * @description draft: never published; published: served content is current; modified: saved changes not yet published
37765
+ * @enum {string}
37766
+ */
37767
+ status: 'draft' | 'published' | 'modified';
37673
37768
  /**
37674
37769
  * Format: date-time
37675
37770
  * @description When the file was generated
@@ -37687,7 +37782,7 @@ export interface components {
37687
37782
  modifiedAt?: string | null;
37688
37783
  /** @description Whether auto-regeneration is locked */
37689
37784
  isLocked: boolean;
37690
- /** @description Whether the file is a draft (not published) */
37785
+ /** @description Whether the file has never been published */
37691
37786
  isDraft: boolean;
37692
37787
  /** @description Content checksum for change detection */
37693
37788
  checksum: string;
@@ -37722,6 +37817,13 @@ export interface components {
37722
37817
  content: string;
37723
37818
  /** @description Auto-generated content (for comparison) */
37724
37819
  generatedContent?: string;
37820
+ /** @description Content served on public routes (last publish). Null until first publish. */
37821
+ publishedContent?: string | null;
37822
+ /**
37823
+ * @description draft: never published; published: served content is current; modified: saved changes not yet published
37824
+ * @enum {string}
37825
+ */
37826
+ status: 'draft' | 'published' | 'modified';
37725
37827
  /**
37726
37828
  * Format: date-time
37727
37829
  * @description When the file was generated
@@ -37739,7 +37841,7 @@ export interface components {
37739
37841
  modifiedAt?: string | null;
37740
37842
  /** @description Whether auto-regeneration is locked */
37741
37843
  isLocked: boolean;
37742
- /** @description Whether the file is a draft (not published) */
37844
+ /** @description Whether the file has never been published */
37743
37845
  isDraft: boolean;
37744
37846
  /** @description Content checksum for change detection */
37745
37847
  checksum: string;
@@ -67065,6 +67167,29 @@ export interface operations {
67065
67167
  };
67066
67168
  };
67067
67169
  };
67170
+ AiDiscoveryController_liveCheck: {
67171
+ parameters: {
67172
+ query?: never;
67173
+ header?: never;
67174
+ path: {
67175
+ /** @description Store ID */
67176
+ storeId: unknown;
67177
+ };
67178
+ cookie?: never;
67179
+ };
67180
+ requestBody?: never;
67181
+ responses: {
67182
+ /** @description Live check result */
67183
+ 200: {
67184
+ headers: {
67185
+ [name: string]: unknown;
67186
+ };
67187
+ content: {
67188
+ 'application/json': components['schemas']['AiDiscoveryLiveCheckResponseDto'];
67189
+ };
67190
+ };
67191
+ };
67192
+ };
67068
67193
  AiDiscoveryController_getFile: {
67069
67194
  parameters: {
67070
67195
  query?: never;
@@ -67192,7 +67317,67 @@ export interface operations {
67192
67317
  'text/plain': string;
67193
67318
  };
67194
67319
  };
67195
- /** @description Store or llms.txt not found */
67320
+ /** @description Not published */
67321
+ 404: {
67322
+ headers: {
67323
+ [name: string]: unknown;
67324
+ };
67325
+ content?: never;
67326
+ };
67327
+ };
67328
+ };
67329
+ AiDiscoveryPublicController_getStoreSchema: {
67330
+ parameters: {
67331
+ query?: never;
67332
+ header?: never;
67333
+ path: {
67334
+ /** @description Store ID */
67335
+ storeId: string;
67336
+ };
67337
+ cookie?: never;
67338
+ };
67339
+ requestBody?: never;
67340
+ responses: {
67341
+ /** @description Store JSON-LD */
67342
+ 200: {
67343
+ headers: {
67344
+ [name: string]: unknown;
67345
+ };
67346
+ content: {
67347
+ 'application/ld+json': string;
67348
+ };
67349
+ };
67350
+ /** @description Not published */
67351
+ 404: {
67352
+ headers: {
67353
+ [name: string]: unknown;
67354
+ };
67355
+ content?: never;
67356
+ };
67357
+ };
67358
+ };
67359
+ AiDiscoveryPublicController_getProductsSchema: {
67360
+ parameters: {
67361
+ query?: never;
67362
+ header?: never;
67363
+ path: {
67364
+ /** @description Store ID */
67365
+ storeId: string;
67366
+ };
67367
+ cookie?: never;
67368
+ };
67369
+ requestBody?: never;
67370
+ responses: {
67371
+ /** @description Products JSON-LD */
67372
+ 200: {
67373
+ headers: {
67374
+ [name: string]: unknown;
67375
+ };
67376
+ content: {
67377
+ 'application/ld+json': string;
67378
+ };
67379
+ };
67380
+ /** @description Not published */
67196
67381
  404: {
67197
67382
  headers: {
67198
67383
  [name: string]: unknown;