@ai-grator/api 0.1.31 → 0.1.33

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.
Files changed (83) hide show
  1. package/ai-model/models/chat-price-scenarios.schema.ts +13 -0
  2. package/ai-model/models/index.ts +1 -0
  3. package/build/ai-model/models/chat-price-scenarios.schema.d.ts +13 -0
  4. package/build/ai-model/models/chat-price-scenarios.schema.d.ts.map +1 -0
  5. package/build/ai-model/models/chat-price-scenarios.schema.js +10 -0
  6. package/build/ai-model/models/index.d.ts +1 -0
  7. package/build/ai-model/models/index.d.ts.map +1 -1
  8. package/build/ai-model/models/index.js +1 -0
  9. package/build/errors/errors.d.ts +12 -0
  10. package/build/errors/errors.d.ts.map +1 -1
  11. package/build/errors/errors.js +12 -0
  12. package/build/generation-job/models/suno-params.schema.d.ts.map +1 -1
  13. package/build/generation-job/models/suno-params.schema.js +2 -1
  14. package/build/generation-model/endpoints/queries/get-generation-price.query.d.ts +1 -0
  15. package/build/generation-model/endpoints/queries/get-generation-price.query.d.ts.map +1 -1
  16. package/build/generation-model/endpoints/queries/get-generation-price.query.js +1 -0
  17. package/build/generation-model/models/index.d.ts +1 -0
  18. package/build/generation-model/models/index.d.ts.map +1 -1
  19. package/build/generation-model/models/index.js +1 -0
  20. package/build/generation-model/models/seo-price-scenarios.schema.d.ts +5 -0
  21. package/build/generation-model/models/seo-price-scenarios.schema.d.ts.map +1 -0
  22. package/build/generation-model/models/seo-price-scenarios.schema.js +6 -0
  23. package/build/index.d.ts +1 -0
  24. package/build/index.d.ts.map +1 -1
  25. package/build/index.js +1 -0
  26. package/build/model-catalog/enums/price-unit.enum.d.ts +2 -1
  27. package/build/model-catalog/enums/price-unit.enum.d.ts.map +1 -1
  28. package/build/model-catalog/enums/price-unit.enum.js +1 -0
  29. package/build/model-page/endpoints/index.d.ts +3 -0
  30. package/build/model-page/endpoints/index.d.ts.map +1 -0
  31. package/build/model-page/endpoints/index.js +18 -0
  32. package/build/model-page/endpoints/model-page.d.ts +6 -0
  33. package/build/model-page/endpoints/model-page.d.ts.map +1 -0
  34. package/build/model-page/endpoints/model-page.js +8 -0
  35. package/build/model-page/endpoints/queries/get-public-model-by-slug.query.d.ts +349 -0
  36. package/build/model-page/endpoints/queries/get-public-model-by-slug.query.d.ts.map +1 -0
  37. package/build/model-page/endpoints/queries/get-public-model-by-slug.query.js +25 -0
  38. package/build/model-page/endpoints/queries/index.d.ts +3 -0
  39. package/build/model-page/endpoints/queries/index.d.ts.map +1 -0
  40. package/build/model-page/endpoints/queries/index.js +18 -0
  41. package/build/model-page/endpoints/queries/list-public-models.query.d.ts +39 -0
  42. package/build/model-page/endpoints/queries/list-public-models.query.d.ts.map +1 -0
  43. package/build/model-page/endpoints/queries/list-public-models.query.js +19 -0
  44. package/build/model-page/index.d.ts +3 -0
  45. package/build/model-page/index.d.ts.map +1 -0
  46. package/build/model-page/index.js +18 -0
  47. package/build/model-page/models/index.d.ts +5 -0
  48. package/build/model-page/models/index.d.ts.map +1 -0
  49. package/build/model-page/models/index.js +20 -0
  50. package/build/model-page/models/page-card.schema.d.ts +8 -0
  51. package/build/model-page/models/page-card.schema.d.ts.map +1 -0
  52. package/build/model-page/models/page-card.schema.js +9 -0
  53. package/build/model-page/models/page-content.schema.d.ts +411 -0
  54. package/build/model-page/models/page-content.schema.d.ts.map +1 -0
  55. package/build/model-page/models/page-content.schema.js +146 -0
  56. package/build/model-page/models/public-model-card.schema.d.ts +16 -0
  57. package/build/model-page/models/public-model-card.schema.d.ts.map +1 -0
  58. package/build/model-page/models/public-model-card.schema.js +15 -0
  59. package/build/model-page/models/public-model-detail.schema.d.ts +190 -0
  60. package/build/model-page/models/public-model-detail.schema.d.ts.map +1 -0
  61. package/build/model-page/models/public-model-detail.schema.js +32 -0
  62. package/build/scripts/generate-openapi.js +36 -0
  63. package/build/tsconfig.tsbuildinfo +1 -1
  64. package/errors/errors.ts +12 -0
  65. package/generation-job/models/suno-params.schema.ts +2 -1
  66. package/generation-model/endpoints/queries/get-generation-price.query.ts +1 -0
  67. package/generation-model/models/index.ts +1 -0
  68. package/generation-model/models/seo-price-scenarios.schema.ts +10 -0
  69. package/index.ts +1 -0
  70. package/model-catalog/enums/price-unit.enum.ts +1 -0
  71. package/model-page/endpoints/index.ts +2 -0
  72. package/model-page/endpoints/model-page.ts +6 -0
  73. package/model-page/endpoints/queries/get-public-model-by-slug.query.ts +25 -0
  74. package/model-page/endpoints/queries/index.ts +2 -0
  75. package/model-page/endpoints/queries/list-public-models.query.ts +18 -0
  76. package/model-page/index.ts +2 -0
  77. package/model-page/models/index.ts +4 -0
  78. package/model-page/models/page-card.schema.ts +9 -0
  79. package/model-page/models/page-content.schema.ts +182 -0
  80. package/model-page/models/public-model-card.schema.ts +15 -0
  81. package/model-page/models/public-model-detail.schema.ts +38 -0
  82. package/package.json +1 -1
  83. package/scripts/generate-openapi.ts +45 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-public-model-by-slug.query.d.ts","sourceRoot":"","sources":["../../../../model-page/endpoints/queries/get-public-model-by-slug.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,+BAA+B;;iBAE1C,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA0B,CAAC;AAEzE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAapC,CAAC"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetPublicModelBySlugQuery = exports.GetPublicModelBySlugQueryResponse = exports.GetPublicModelBySlugQueryParams = void 0;
4
+ const zod_1 = require("zod");
5
+ const _common_1 = require("../../../_common");
6
+ const models_1 = require("../../models");
7
+ const model_page_1 = require("../model-page");
8
+ exports.GetPublicModelBySlugQueryParams = zod_1.z.object({
9
+ slug: zod_1.z.string().min(1),
10
+ });
11
+ exports.GetPublicModelBySlugQueryResponse = models_1.PublicModelDetailSchema;
12
+ exports.GetPublicModelBySlugQuery = (0, _common_1.defineContract)({
13
+ method: _common_1.HTTP_METHODS.GET,
14
+ path: model_page_1.PUBLIC_MODEL_ROUTES.GET_BY_SLUG(':slug'),
15
+ summary: 'Get published model by slug',
16
+ request: {
17
+ params: exports.GetPublicModelBySlugQueryParams,
18
+ },
19
+ responses: {
20
+ 200: exports.GetPublicModelBySlugQueryResponse,
21
+ 404: _common_1.HttpErrorResponseSchema,
22
+ 500: _common_1.HttpErrorResponseSchema,
23
+ 503: _common_1.HttpErrorResponseSchema,
24
+ },
25
+ });
@@ -0,0 +1,3 @@
1
+ export * from './get-public-model-by-slug.query';
2
+ export * from './list-public-models.query';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../model-page/endpoints/queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-public-model-by-slug.query"), exports);
18
+ __exportStar(require("./list-public-models.query"), exports);
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ import { HTTP_METHODS } from '../../../_common';
3
+ export declare const ListPublicModelsQueryResponse: z.ZodObject<{
4
+ models: z.ZodArray<z.ZodObject<{
5
+ slug: z.ZodString;
6
+ title: z.ZodString;
7
+ description: z.ZodNullable<z.ZodString>;
8
+ vendorName: z.ZodString;
9
+ icons: z.ZodObject<{
10
+ light: z.ZodString;
11
+ dark: z.ZodString;
12
+ }, z.core.$strip>;
13
+ category: z.ZodEnum<typeof import("../../..").MODEL_CATEGORY>;
14
+ order: z.ZodNumber;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
17
+ export declare const ListPublicModelsQuery: {
18
+ method: HTTP_METHODS.GET;
19
+ path: "";
20
+ summary: string;
21
+ responses: {
22
+ 200: z.ZodObject<{
23
+ models: z.ZodArray<z.ZodObject<{
24
+ slug: z.ZodString;
25
+ title: z.ZodString;
26
+ description: z.ZodNullable<z.ZodString>;
27
+ vendorName: z.ZodString;
28
+ icons: z.ZodObject<{
29
+ light: z.ZodString;
30
+ dark: z.ZodString;
31
+ }, z.core.$strip>;
32
+ category: z.ZodEnum<typeof import("../../..").MODEL_CATEGORY>;
33
+ order: z.ZodNumber;
34
+ }, z.core.$strip>>;
35
+ }, z.core.$strip>;
36
+ 500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
37
+ };
38
+ };
39
+ //# sourceMappingURL=list-public-models.query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-public-models.query.d.ts","sourceRoot":"","sources":["../../../../model-page/endpoints/queries/list-public-models.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;iBAExC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;CAQhC,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListPublicModelsQuery = exports.ListPublicModelsQueryResponse = void 0;
4
+ const zod_1 = require("zod");
5
+ const _common_1 = require("../../../_common");
6
+ const models_1 = require("../../models");
7
+ const model_page_1 = require("../model-page");
8
+ exports.ListPublicModelsQueryResponse = zod_1.z.object({
9
+ models: zod_1.z.array(models_1.PublicModelCardSchema),
10
+ });
11
+ exports.ListPublicModelsQuery = (0, _common_1.defineContract)({
12
+ method: _common_1.HTTP_METHODS.GET,
13
+ path: model_page_1.PUBLIC_MODEL_ROUTES.LIST,
14
+ summary: 'List published models (chat, image, video)',
15
+ responses: {
16
+ 200: exports.ListPublicModelsQueryResponse,
17
+ 500: _common_1.HttpErrorResponseSchema,
18
+ },
19
+ });
@@ -0,0 +1,3 @@
1
+ export * from './models';
2
+ export * from './endpoints';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../model-page/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./models"), exports);
18
+ __exportStar(require("./endpoints"), exports);
@@ -0,0 +1,5 @@
1
+ export * from './page-card.schema';
2
+ export * from './page-content.schema';
3
+ export * from './public-model-card.schema';
4
+ export * from './public-model-detail.schema';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../model-page/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./page-card.schema"), exports);
18
+ __exportStar(require("./page-content.schema"), exports);
19
+ __exportStar(require("./public-model-card.schema"), exports);
20
+ __exportStar(require("./public-model-detail.schema"), exports);
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const PageCardSchema: z.ZodObject<{
3
+ subtitle: z.ZodString;
4
+ ctaLabel: z.ZodString;
5
+ badges: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ export type PageCardSchemaType = z.infer<typeof PageCardSchema>;
8
+ //# sourceMappingURL=page-card.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-card.schema.d.ts","sourceRoot":"","sources":["../../../model-page/models/page-card.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;iBAIzB,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PageCardSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.PageCardSchema = zod_1.z.object({
6
+ subtitle: zod_1.z.string().min(1),
7
+ ctaLabel: zod_1.z.string().min(1),
8
+ badges: zod_1.z.array(zod_1.z.string().min(1)).max(6),
9
+ });
@@ -0,0 +1,411 @@
1
+ import { z } from 'zod';
2
+ export declare const PageImageSchema: z.ZodObject<{
3
+ url: z.ZodURL;
4
+ alt: z.ZodString;
5
+ caption: z.ZodNullable<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ export declare const RichTextBlockSchema: z.ZodObject<{
8
+ id: z.ZodString;
9
+ heading: z.ZodNullable<z.ZodString>;
10
+ intro: z.ZodNullable<z.ZodString>;
11
+ outro: z.ZodNullable<z.ZodString>;
12
+ type: z.ZodLiteral<"richText">;
13
+ body: z.ZodString;
14
+ }, z.core.$strip>;
15
+ export declare const FeatureListBlockSchema: z.ZodObject<{
16
+ id: z.ZodString;
17
+ heading: z.ZodNullable<z.ZodString>;
18
+ intro: z.ZodNullable<z.ZodString>;
19
+ outro: z.ZodNullable<z.ZodString>;
20
+ type: z.ZodLiteral<"featureList">;
21
+ items: z.ZodArray<z.ZodObject<{
22
+ title: z.ZodString;
23
+ body: z.ZodString;
24
+ }, z.core.$strip>>;
25
+ }, z.core.$strip>;
26
+ export declare const SpecsBlockSchema: z.ZodObject<{
27
+ id: z.ZodString;
28
+ heading: z.ZodNullable<z.ZodString>;
29
+ intro: z.ZodNullable<z.ZodString>;
30
+ outro: z.ZodNullable<z.ZodString>;
31
+ type: z.ZodLiteral<"specs">;
32
+ items: z.ZodArray<z.ZodObject<{
33
+ label: z.ZodString;
34
+ value: z.ZodString;
35
+ }, z.core.$strip>>;
36
+ }, z.core.$strip>;
37
+ export declare const ExamplesBlockSchema: z.ZodObject<{
38
+ id: z.ZodString;
39
+ heading: z.ZodNullable<z.ZodString>;
40
+ intro: z.ZodNullable<z.ZodString>;
41
+ outro: z.ZodNullable<z.ZodString>;
42
+ type: z.ZodLiteral<"examples">;
43
+ items: z.ZodArray<z.ZodObject<{
44
+ title: z.ZodString;
45
+ alt: z.ZodString;
46
+ prompt: z.ZodString;
47
+ settings: z.ZodString;
48
+ images: z.ZodArray<z.ZodObject<{
49
+ url: z.ZodURL;
50
+ alt: z.ZodString;
51
+ caption: z.ZodNullable<z.ZodString>;
52
+ }, z.core.$strip>>;
53
+ }, z.core.$strip>>;
54
+ }, z.core.$strip>;
55
+ export declare const ComparisonBlockSchema: z.ZodObject<{
56
+ id: z.ZodString;
57
+ heading: z.ZodNullable<z.ZodString>;
58
+ intro: z.ZodNullable<z.ZodString>;
59
+ outro: z.ZodNullable<z.ZodString>;
60
+ type: z.ZodLiteral<"comparison">;
61
+ columns: z.ZodArray<z.ZodString>;
62
+ rows: z.ZodArray<z.ZodObject<{
63
+ label: z.ZodString;
64
+ values: z.ZodArray<z.ZodString>;
65
+ }, z.core.$strip>>;
66
+ }, z.core.$strip>;
67
+ export declare const ProsConsBlockSchema: z.ZodObject<{
68
+ id: z.ZodString;
69
+ heading: z.ZodNullable<z.ZodString>;
70
+ intro: z.ZodNullable<z.ZodString>;
71
+ outro: z.ZodNullable<z.ZodString>;
72
+ type: z.ZodLiteral<"prosCons">;
73
+ items: z.ZodArray<z.ZodObject<{
74
+ title: z.ZodString;
75
+ pros: z.ZodArray<z.ZodString>;
76
+ cons: z.ZodArray<z.ZodString>;
77
+ }, z.core.$strip>>;
78
+ }, z.core.$strip>;
79
+ export declare const StepsBlockSchema: z.ZodObject<{
80
+ id: z.ZodString;
81
+ heading: z.ZodNullable<z.ZodString>;
82
+ intro: z.ZodNullable<z.ZodString>;
83
+ outro: z.ZodNullable<z.ZodString>;
84
+ type: z.ZodLiteral<"steps">;
85
+ items: z.ZodArray<z.ZodObject<{
86
+ title: z.ZodString;
87
+ body: z.ZodString;
88
+ }, z.core.$strip>>;
89
+ }, z.core.$strip>;
90
+ export declare const FaqBlockSchema: z.ZodObject<{
91
+ id: z.ZodString;
92
+ heading: z.ZodNullable<z.ZodString>;
93
+ intro: z.ZodNullable<z.ZodString>;
94
+ outro: z.ZodNullable<z.ZodString>;
95
+ type: z.ZodLiteral<"faq">;
96
+ items: z.ZodArray<z.ZodObject<{
97
+ question: z.ZodString;
98
+ answer: z.ZodString;
99
+ }, z.core.$strip>>;
100
+ }, z.core.$strip>;
101
+ export declare const RELATED_LINK_KIND: {
102
+ readonly model: "model";
103
+ readonly task: "task";
104
+ };
105
+ export declare const RelatedLinksBlockSchema: z.ZodObject<{
106
+ id: z.ZodString;
107
+ heading: z.ZodNullable<z.ZodString>;
108
+ intro: z.ZodNullable<z.ZodString>;
109
+ outro: z.ZodNullable<z.ZodString>;
110
+ type: z.ZodLiteral<"relatedLinks">;
111
+ items: z.ZodArray<z.ZodObject<{
112
+ kind: z.ZodEnum<{
113
+ readonly model: "model";
114
+ readonly task: "task";
115
+ }>;
116
+ slug: z.ZodString;
117
+ title: z.ZodString;
118
+ note: z.ZodNullable<z.ZodString>;
119
+ }, z.core.$strip>>;
120
+ }, z.core.$strip>;
121
+ export declare const DemoBlockSchema: z.ZodObject<{
122
+ id: z.ZodString;
123
+ heading: z.ZodNullable<z.ZodString>;
124
+ intro: z.ZodNullable<z.ZodString>;
125
+ outro: z.ZodNullable<z.ZodString>;
126
+ type: z.ZodLiteral<"demo">;
127
+ caption: z.ZodNullable<z.ZodString>;
128
+ presets: z.ZodArray<z.ZodObject<{
129
+ id: z.ZodString;
130
+ label: z.ZodString;
131
+ prompt: z.ZodString;
132
+ settings: z.ZodNullable<z.ZodString>;
133
+ image: z.ZodNullable<z.ZodObject<{
134
+ url: z.ZodURL;
135
+ alt: z.ZodString;
136
+ caption: z.ZodNullable<z.ZodString>;
137
+ }, z.core.$strip>>;
138
+ }, z.core.$strip>>;
139
+ }, z.core.$strip>;
140
+ export declare const PricingWidgetBlockSchema: z.ZodObject<{
141
+ id: z.ZodString;
142
+ heading: z.ZodNullable<z.ZodString>;
143
+ intro: z.ZodNullable<z.ZodString>;
144
+ outro: z.ZodNullable<z.ZodString>;
145
+ type: z.ZodLiteral<"pricingWidget">;
146
+ ctaLabel: z.ZodString;
147
+ ctaSlug: z.ZodString;
148
+ }, z.core.$strip>;
149
+ export declare const PageContentBlockSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
150
+ id: z.ZodString;
151
+ heading: z.ZodNullable<z.ZodString>;
152
+ intro: z.ZodNullable<z.ZodString>;
153
+ outro: z.ZodNullable<z.ZodString>;
154
+ type: z.ZodLiteral<"richText">;
155
+ body: z.ZodString;
156
+ }, z.core.$strip>, z.ZodObject<{
157
+ id: z.ZodString;
158
+ heading: z.ZodNullable<z.ZodString>;
159
+ intro: z.ZodNullable<z.ZodString>;
160
+ outro: z.ZodNullable<z.ZodString>;
161
+ type: z.ZodLiteral<"featureList">;
162
+ items: z.ZodArray<z.ZodObject<{
163
+ title: z.ZodString;
164
+ body: z.ZodString;
165
+ }, z.core.$strip>>;
166
+ }, z.core.$strip>, z.ZodObject<{
167
+ id: z.ZodString;
168
+ heading: z.ZodNullable<z.ZodString>;
169
+ intro: z.ZodNullable<z.ZodString>;
170
+ outro: z.ZodNullable<z.ZodString>;
171
+ type: z.ZodLiteral<"specs">;
172
+ items: z.ZodArray<z.ZodObject<{
173
+ label: z.ZodString;
174
+ value: z.ZodString;
175
+ }, z.core.$strip>>;
176
+ }, z.core.$strip>, z.ZodObject<{
177
+ id: z.ZodString;
178
+ heading: z.ZodNullable<z.ZodString>;
179
+ intro: z.ZodNullable<z.ZodString>;
180
+ outro: z.ZodNullable<z.ZodString>;
181
+ type: z.ZodLiteral<"examples">;
182
+ items: z.ZodArray<z.ZodObject<{
183
+ title: z.ZodString;
184
+ alt: z.ZodString;
185
+ prompt: z.ZodString;
186
+ settings: z.ZodString;
187
+ images: z.ZodArray<z.ZodObject<{
188
+ url: z.ZodURL;
189
+ alt: z.ZodString;
190
+ caption: z.ZodNullable<z.ZodString>;
191
+ }, z.core.$strip>>;
192
+ }, z.core.$strip>>;
193
+ }, z.core.$strip>, z.ZodObject<{
194
+ id: z.ZodString;
195
+ heading: z.ZodNullable<z.ZodString>;
196
+ intro: z.ZodNullable<z.ZodString>;
197
+ outro: z.ZodNullable<z.ZodString>;
198
+ type: z.ZodLiteral<"comparison">;
199
+ columns: z.ZodArray<z.ZodString>;
200
+ rows: z.ZodArray<z.ZodObject<{
201
+ label: z.ZodString;
202
+ values: z.ZodArray<z.ZodString>;
203
+ }, z.core.$strip>>;
204
+ }, z.core.$strip>, z.ZodObject<{
205
+ id: z.ZodString;
206
+ heading: z.ZodNullable<z.ZodString>;
207
+ intro: z.ZodNullable<z.ZodString>;
208
+ outro: z.ZodNullable<z.ZodString>;
209
+ type: z.ZodLiteral<"prosCons">;
210
+ items: z.ZodArray<z.ZodObject<{
211
+ title: z.ZodString;
212
+ pros: z.ZodArray<z.ZodString>;
213
+ cons: z.ZodArray<z.ZodString>;
214
+ }, z.core.$strip>>;
215
+ }, z.core.$strip>, z.ZodObject<{
216
+ id: z.ZodString;
217
+ heading: z.ZodNullable<z.ZodString>;
218
+ intro: z.ZodNullable<z.ZodString>;
219
+ outro: z.ZodNullable<z.ZodString>;
220
+ type: z.ZodLiteral<"steps">;
221
+ items: z.ZodArray<z.ZodObject<{
222
+ title: z.ZodString;
223
+ body: z.ZodString;
224
+ }, z.core.$strip>>;
225
+ }, z.core.$strip>, z.ZodObject<{
226
+ id: z.ZodString;
227
+ heading: z.ZodNullable<z.ZodString>;
228
+ intro: z.ZodNullable<z.ZodString>;
229
+ outro: z.ZodNullable<z.ZodString>;
230
+ type: z.ZodLiteral<"faq">;
231
+ items: z.ZodArray<z.ZodObject<{
232
+ question: z.ZodString;
233
+ answer: z.ZodString;
234
+ }, z.core.$strip>>;
235
+ }, z.core.$strip>, z.ZodObject<{
236
+ id: z.ZodString;
237
+ heading: z.ZodNullable<z.ZodString>;
238
+ intro: z.ZodNullable<z.ZodString>;
239
+ outro: z.ZodNullable<z.ZodString>;
240
+ type: z.ZodLiteral<"relatedLinks">;
241
+ items: z.ZodArray<z.ZodObject<{
242
+ kind: z.ZodEnum<{
243
+ readonly model: "model";
244
+ readonly task: "task";
245
+ }>;
246
+ slug: z.ZodString;
247
+ title: z.ZodString;
248
+ note: z.ZodNullable<z.ZodString>;
249
+ }, z.core.$strip>>;
250
+ }, z.core.$strip>, z.ZodObject<{
251
+ id: z.ZodString;
252
+ heading: z.ZodNullable<z.ZodString>;
253
+ intro: z.ZodNullable<z.ZodString>;
254
+ outro: z.ZodNullable<z.ZodString>;
255
+ type: z.ZodLiteral<"demo">;
256
+ caption: z.ZodNullable<z.ZodString>;
257
+ presets: z.ZodArray<z.ZodObject<{
258
+ id: z.ZodString;
259
+ label: z.ZodString;
260
+ prompt: z.ZodString;
261
+ settings: z.ZodNullable<z.ZodString>;
262
+ image: z.ZodNullable<z.ZodObject<{
263
+ url: z.ZodURL;
264
+ alt: z.ZodString;
265
+ caption: z.ZodNullable<z.ZodString>;
266
+ }, z.core.$strip>>;
267
+ }, z.core.$strip>>;
268
+ }, z.core.$strip>, z.ZodObject<{
269
+ id: z.ZodString;
270
+ heading: z.ZodNullable<z.ZodString>;
271
+ intro: z.ZodNullable<z.ZodString>;
272
+ outro: z.ZodNullable<z.ZodString>;
273
+ type: z.ZodLiteral<"pricingWidget">;
274
+ ctaLabel: z.ZodString;
275
+ ctaSlug: z.ZodString;
276
+ }, z.core.$strip>], "type">;
277
+ export declare const PageContentSchema: z.ZodObject<{
278
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
279
+ id: z.ZodString;
280
+ heading: z.ZodNullable<z.ZodString>;
281
+ intro: z.ZodNullable<z.ZodString>;
282
+ outro: z.ZodNullable<z.ZodString>;
283
+ type: z.ZodLiteral<"richText">;
284
+ body: z.ZodString;
285
+ }, z.core.$strip>, z.ZodObject<{
286
+ id: z.ZodString;
287
+ heading: z.ZodNullable<z.ZodString>;
288
+ intro: z.ZodNullable<z.ZodString>;
289
+ outro: z.ZodNullable<z.ZodString>;
290
+ type: z.ZodLiteral<"featureList">;
291
+ items: z.ZodArray<z.ZodObject<{
292
+ title: z.ZodString;
293
+ body: z.ZodString;
294
+ }, z.core.$strip>>;
295
+ }, z.core.$strip>, z.ZodObject<{
296
+ id: z.ZodString;
297
+ heading: z.ZodNullable<z.ZodString>;
298
+ intro: z.ZodNullable<z.ZodString>;
299
+ outro: z.ZodNullable<z.ZodString>;
300
+ type: z.ZodLiteral<"specs">;
301
+ items: z.ZodArray<z.ZodObject<{
302
+ label: z.ZodString;
303
+ value: z.ZodString;
304
+ }, z.core.$strip>>;
305
+ }, z.core.$strip>, z.ZodObject<{
306
+ id: z.ZodString;
307
+ heading: z.ZodNullable<z.ZodString>;
308
+ intro: z.ZodNullable<z.ZodString>;
309
+ outro: z.ZodNullable<z.ZodString>;
310
+ type: z.ZodLiteral<"examples">;
311
+ items: z.ZodArray<z.ZodObject<{
312
+ title: z.ZodString;
313
+ alt: z.ZodString;
314
+ prompt: z.ZodString;
315
+ settings: z.ZodString;
316
+ images: z.ZodArray<z.ZodObject<{
317
+ url: z.ZodURL;
318
+ alt: z.ZodString;
319
+ caption: z.ZodNullable<z.ZodString>;
320
+ }, z.core.$strip>>;
321
+ }, z.core.$strip>>;
322
+ }, z.core.$strip>, z.ZodObject<{
323
+ id: z.ZodString;
324
+ heading: z.ZodNullable<z.ZodString>;
325
+ intro: z.ZodNullable<z.ZodString>;
326
+ outro: z.ZodNullable<z.ZodString>;
327
+ type: z.ZodLiteral<"comparison">;
328
+ columns: z.ZodArray<z.ZodString>;
329
+ rows: z.ZodArray<z.ZodObject<{
330
+ label: z.ZodString;
331
+ values: z.ZodArray<z.ZodString>;
332
+ }, z.core.$strip>>;
333
+ }, z.core.$strip>, z.ZodObject<{
334
+ id: z.ZodString;
335
+ heading: z.ZodNullable<z.ZodString>;
336
+ intro: z.ZodNullable<z.ZodString>;
337
+ outro: z.ZodNullable<z.ZodString>;
338
+ type: z.ZodLiteral<"prosCons">;
339
+ items: z.ZodArray<z.ZodObject<{
340
+ title: z.ZodString;
341
+ pros: z.ZodArray<z.ZodString>;
342
+ cons: z.ZodArray<z.ZodString>;
343
+ }, z.core.$strip>>;
344
+ }, z.core.$strip>, z.ZodObject<{
345
+ id: z.ZodString;
346
+ heading: z.ZodNullable<z.ZodString>;
347
+ intro: z.ZodNullable<z.ZodString>;
348
+ outro: z.ZodNullable<z.ZodString>;
349
+ type: z.ZodLiteral<"steps">;
350
+ items: z.ZodArray<z.ZodObject<{
351
+ title: z.ZodString;
352
+ body: z.ZodString;
353
+ }, z.core.$strip>>;
354
+ }, z.core.$strip>, z.ZodObject<{
355
+ id: z.ZodString;
356
+ heading: z.ZodNullable<z.ZodString>;
357
+ intro: z.ZodNullable<z.ZodString>;
358
+ outro: z.ZodNullable<z.ZodString>;
359
+ type: z.ZodLiteral<"faq">;
360
+ items: z.ZodArray<z.ZodObject<{
361
+ question: z.ZodString;
362
+ answer: z.ZodString;
363
+ }, z.core.$strip>>;
364
+ }, z.core.$strip>, z.ZodObject<{
365
+ id: z.ZodString;
366
+ heading: z.ZodNullable<z.ZodString>;
367
+ intro: z.ZodNullable<z.ZodString>;
368
+ outro: z.ZodNullable<z.ZodString>;
369
+ type: z.ZodLiteral<"relatedLinks">;
370
+ items: z.ZodArray<z.ZodObject<{
371
+ kind: z.ZodEnum<{
372
+ readonly model: "model";
373
+ readonly task: "task";
374
+ }>;
375
+ slug: z.ZodString;
376
+ title: z.ZodString;
377
+ note: z.ZodNullable<z.ZodString>;
378
+ }, z.core.$strip>>;
379
+ }, z.core.$strip>, z.ZodObject<{
380
+ id: z.ZodString;
381
+ heading: z.ZodNullable<z.ZodString>;
382
+ intro: z.ZodNullable<z.ZodString>;
383
+ outro: z.ZodNullable<z.ZodString>;
384
+ type: z.ZodLiteral<"demo">;
385
+ caption: z.ZodNullable<z.ZodString>;
386
+ presets: z.ZodArray<z.ZodObject<{
387
+ id: z.ZodString;
388
+ label: z.ZodString;
389
+ prompt: z.ZodString;
390
+ settings: z.ZodNullable<z.ZodString>;
391
+ image: z.ZodNullable<z.ZodObject<{
392
+ url: z.ZodURL;
393
+ alt: z.ZodString;
394
+ caption: z.ZodNullable<z.ZodString>;
395
+ }, z.core.$strip>>;
396
+ }, z.core.$strip>>;
397
+ }, z.core.$strip>, z.ZodObject<{
398
+ id: z.ZodString;
399
+ heading: z.ZodNullable<z.ZodString>;
400
+ intro: z.ZodNullable<z.ZodString>;
401
+ outro: z.ZodNullable<z.ZodString>;
402
+ type: z.ZodLiteral<"pricingWidget">;
403
+ ctaLabel: z.ZodString;
404
+ ctaSlug: z.ZodString;
405
+ }, z.core.$strip>], "type">>;
406
+ }, z.core.$strip>;
407
+ export type PageImageSchemaType = z.infer<typeof PageImageSchema>;
408
+ export type RelatedLinkKind = (typeof RELATED_LINK_KIND)[keyof typeof RELATED_LINK_KIND];
409
+ export type PageContentBlockSchemaType = z.infer<typeof PageContentBlockSchema>;
410
+ export type PageContentSchemaType = z.infer<typeof PageContentSchema>;
411
+ //# sourceMappingURL=page-content.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-content.schema.d.ts","sourceRoot":"","sources":["../../../model-page/models/page-content.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;iBAI1B,CAAC;AASH,eAAO,MAAM,mBAAmB;;;;;;;iBAG9B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;iBAUjC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;iBAU3B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;iBAa9B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;iBAqBhC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;iBAW9B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;iBAU3B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;iBAUzB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;iBAYlC,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;iBAc1B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;iBAInC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAYjC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE5B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAClE,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AACzF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAChF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}