@ai-grator/api 0.1.37 → 0.1.39

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 (182) hide show
  1. package/admin/endpoints/admin.ts +18 -0
  2. package/admin/endpoints/commands/create-admin-model-family.command.ts +28 -0
  3. package/admin/endpoints/commands/create-admin-page.command.ts +56 -0
  4. package/admin/endpoints/commands/delete-admin-model-family.command.ts +29 -0
  5. package/admin/endpoints/commands/delete-admin-page.command.ts +28 -0
  6. package/admin/endpoints/commands/index.ts +8 -0
  7. package/admin/endpoints/commands/update-admin-model-family.command.ts +38 -0
  8. package/admin/endpoints/commands/update-admin-organization.command.ts +28 -0
  9. package/admin/endpoints/commands/update-admin-page-status.command.ts +37 -0
  10. package/admin/endpoints/commands/update-admin-page.command.ts +55 -0
  11. package/admin/endpoints/queries/get-admin-model-families.query.ts +22 -0
  12. package/admin/endpoints/queries/get-admin-organization.query.ts +21 -0
  13. package/admin/endpoints/queries/get-admin-page.query.ts +29 -0
  14. package/admin/endpoints/queries/get-admin-pages.query.ts +38 -0
  15. package/admin/endpoints/queries/index.ts +4 -0
  16. package/admin/models/admin-page-list-item.schema.ts +19 -0
  17. package/admin/models/admin-page-response.schema.ts +33 -0
  18. package/admin/models/index.ts +2 -0
  19. package/build/admin/endpoints/admin.d.ts +12 -0
  20. package/build/admin/endpoints/admin.d.ts.map +1 -1
  21. package/build/admin/endpoints/admin.js +15 -0
  22. package/build/admin/endpoints/commands/create-admin-model-family.command.d.ts +41 -0
  23. package/build/admin/endpoints/commands/create-admin-model-family.command.d.ts.map +1 -0
  24. package/build/admin/endpoints/commands/create-admin-model-family.command.js +24 -0
  25. package/build/admin/endpoints/commands/create-admin-page.command.d.ts +801 -0
  26. package/build/admin/endpoints/commands/create-admin-page.command.d.ts.map +1 -0
  27. package/build/admin/endpoints/commands/create-admin-page.command.js +44 -0
  28. package/build/admin/endpoints/commands/delete-admin-model-family.command.d.ts +27 -0
  29. package/build/admin/endpoints/commands/delete-admin-model-family.command.d.ts.map +1 -0
  30. package/build/admin/endpoints/commands/delete-admin-model-family.command.js +26 -0
  31. package/build/admin/endpoints/commands/delete-admin-page.command.d.ts +26 -0
  32. package/build/admin/endpoints/commands/delete-admin-page.command.d.ts.map +1 -0
  33. package/build/admin/endpoints/commands/delete-admin-page.command.js +25 -0
  34. package/build/admin/endpoints/commands/index.d.ts +8 -0
  35. package/build/admin/endpoints/commands/index.d.ts.map +1 -1
  36. package/build/admin/endpoints/commands/index.js +8 -0
  37. package/build/admin/endpoints/commands/update-admin-model-family.command.d.ts +49 -0
  38. package/build/admin/endpoints/commands/update-admin-model-family.command.d.ts.map +1 -0
  39. package/build/admin/endpoints/commands/update-admin-model-family.command.js +30 -0
  40. package/build/admin/endpoints/commands/update-admin-organization.command.d.ts +71 -0
  41. package/build/admin/endpoints/commands/update-admin-organization.command.d.ts.map +1 -0
  42. package/build/admin/endpoints/commands/update-admin-organization.command.js +24 -0
  43. package/build/admin/endpoints/commands/update-admin-page-status.command.d.ts +433 -0
  44. package/build/admin/endpoints/commands/update-admin-page-status.command.d.ts.map +1 -0
  45. package/build/admin/endpoints/commands/update-admin-page-status.command.js +32 -0
  46. package/build/admin/endpoints/commands/update-admin-page.command.d.ts +801 -0
  47. package/build/admin/endpoints/commands/update-admin-page.command.d.ts.map +1 -0
  48. package/build/admin/endpoints/commands/update-admin-page.command.js +50 -0
  49. package/build/admin/endpoints/queries/get-admin-model-families.query.d.ts +30 -0
  50. package/build/admin/endpoints/queries/get-admin-model-families.query.d.ts.map +1 -0
  51. package/build/admin/endpoints/queries/get-admin-model-families.query.js +21 -0
  52. package/build/admin/endpoints/queries/get-admin-organization.query.d.ts +41 -0
  53. package/build/admin/endpoints/queries/get-admin-organization.query.d.ts.map +1 -0
  54. package/build/admin/endpoints/queries/get-admin-organization.query.js +19 -0
  55. package/build/admin/endpoints/queries/get-admin-page.query.d.ts +424 -0
  56. package/build/admin/endpoints/queries/get-admin-page.query.d.ts.map +1 -0
  57. package/build/admin/endpoints/queries/get-admin-page.query.js +26 -0
  58. package/build/admin/endpoints/queries/get-admin-pages.query.d.ts +74 -0
  59. package/build/admin/endpoints/queries/get-admin-pages.query.d.ts.map +1 -0
  60. package/build/admin/endpoints/queries/get-admin-pages.query.js +35 -0
  61. package/build/admin/endpoints/queries/index.d.ts +4 -0
  62. package/build/admin/endpoints/queries/index.d.ts.map +1 -1
  63. package/build/admin/endpoints/queries/index.js +4 -0
  64. package/build/admin/models/admin-page-list-item.schema.d.ts +18 -0
  65. package/build/admin/models/admin-page-list-item.schema.d.ts.map +1 -0
  66. package/build/admin/models/admin-page-list-item.schema.js +19 -0
  67. package/build/admin/models/admin-page-response.schema.d.ts +204 -0
  68. package/build/admin/models/admin-page-response.schema.d.ts.map +1 -0
  69. package/build/admin/models/admin-page-response.schema.js +24 -0
  70. package/build/admin/models/index.d.ts +2 -0
  71. package/build/admin/models/index.d.ts.map +1 -1
  72. package/build/admin/models/index.js +2 -0
  73. package/build/errors/errors.d.ts +94 -0
  74. package/build/errors/errors.d.ts.map +1 -1
  75. package/build/errors/errors.js +94 -0
  76. package/build/index.d.ts +1 -0
  77. package/build/index.d.ts.map +1 -1
  78. package/build/index.js +1 -0
  79. package/build/model-page/endpoints/model-page.d.ts +4 -0
  80. package/build/model-page/endpoints/model-page.d.ts.map +1 -1
  81. package/build/model-page/endpoints/model-page.js +5 -1
  82. package/build/model-page/endpoints/queries/get-public-model-by-slug.query.d.ts +84 -6
  83. package/build/model-page/endpoints/queries/get-public-model-by-slug.query.d.ts.map +1 -1
  84. package/build/model-page/endpoints/queries/get-public-page-by-slug.query.d.ts +387 -0
  85. package/build/model-page/endpoints/queries/get-public-page-by-slug.query.d.ts.map +1 -0
  86. package/build/model-page/endpoints/queries/get-public-page-by-slug.query.js +25 -0
  87. package/build/model-page/endpoints/queries/index.d.ts +1 -0
  88. package/build/model-page/endpoints/queries/index.d.ts.map +1 -1
  89. package/build/model-page/endpoints/queries/index.js +1 -0
  90. package/build/model-page/enums/index.d.ts +6 -0
  91. package/build/model-page/enums/index.d.ts.map +1 -0
  92. package/build/model-page/enums/index.js +21 -0
  93. package/build/model-page/enums/page-locale.enum.d.ts +4 -0
  94. package/build/model-page/enums/page-locale.enum.d.ts.map +1 -0
  95. package/build/model-page/enums/page-locale.enum.js +7 -0
  96. package/build/model-page/enums/page-status.enum.d.ts +7 -0
  97. package/build/model-page/enums/page-status.enum.d.ts.map +1 -0
  98. package/build/model-page/enums/page-status.enum.js +10 -0
  99. package/build/model-page/enums/page-type.enum.d.ts +8 -0
  100. package/build/model-page/enums/page-type.enum.d.ts.map +1 -0
  101. package/build/model-page/enums/page-type.enum.js +11 -0
  102. package/build/model-page/enums/robots.enum.d.ts +9 -0
  103. package/build/model-page/enums/robots.enum.d.ts.map +1 -0
  104. package/build/model-page/enums/robots.enum.js +13 -0
  105. package/build/model-page/enums/twitter-card.enum.d.ts +5 -0
  106. package/build/model-page/enums/twitter-card.enum.d.ts.map +1 -0
  107. package/build/model-page/enums/twitter-card.enum.js +8 -0
  108. package/build/model-page/index.d.ts +1 -0
  109. package/build/model-page/index.d.ts.map +1 -1
  110. package/build/model-page/index.js +1 -0
  111. package/build/model-page/models/index.d.ts +4 -0
  112. package/build/model-page/models/index.d.ts.map +1 -1
  113. package/build/model-page/models/index.js +4 -0
  114. package/build/model-page/models/model-family.schema.d.ts +16 -0
  115. package/build/model-page/models/model-family.schema.d.ts.map +1 -0
  116. package/build/model-page/models/model-family.schema.js +16 -0
  117. package/build/model-page/models/page-content.schema.d.ts +37 -0
  118. package/build/model-page/models/page-content.schema.d.ts.map +1 -1
  119. package/build/model-page/models/page-content.schema.js +13 -1
  120. package/build/model-page/models/public-model-detail.schema.d.ts +42 -3
  121. package/build/model-page/models/public-model-detail.schema.d.ts.map +1 -1
  122. package/build/model-page/models/public-model-detail.schema.js +7 -3
  123. package/build/model-page/models/public-page.schema.d.ts +187 -0
  124. package/build/model-page/models/public-page.schema.d.ts.map +1 -0
  125. package/build/model-page/models/public-page.schema.js +16 -0
  126. package/build/model-page/models/schema-toggles.schema.d.ts +22 -0
  127. package/build/model-page/models/schema-toggles.schema.d.ts.map +1 -0
  128. package/build/model-page/models/schema-toggles.schema.js +22 -0
  129. package/build/model-page/models/seo-meta.schema.d.ts +84 -0
  130. package/build/model-page/models/seo-meta.schema.d.ts.map +1 -0
  131. package/build/model-page/models/seo-meta.schema.js +53 -0
  132. package/build/organization/endpoints/index.d.ts +3 -0
  133. package/build/organization/endpoints/index.d.ts.map +1 -0
  134. package/build/organization/endpoints/index.js +18 -0
  135. package/build/organization/endpoints/organization.d.ts +5 -0
  136. package/build/organization/endpoints/organization.d.ts.map +1 -0
  137. package/build/organization/endpoints/organization.js +7 -0
  138. package/build/organization/endpoints/queries/get-organization.query.d.ts +37 -0
  139. package/build/organization/endpoints/queries/get-organization.query.d.ts.map +1 -0
  140. package/build/organization/endpoints/queries/get-organization.query.js +17 -0
  141. package/build/organization/endpoints/queries/index.d.ts +2 -0
  142. package/build/organization/endpoints/queries/index.d.ts.map +1 -0
  143. package/build/organization/endpoints/queries/index.js +17 -0
  144. package/build/organization/index.d.ts +3 -0
  145. package/build/organization/index.d.ts.map +1 -0
  146. package/build/organization/index.js +18 -0
  147. package/build/organization/models/index.d.ts +2 -0
  148. package/build/organization/models/index.d.ts.map +1 -0
  149. package/build/organization/models/index.js +17 -0
  150. package/build/organization/models/organization.schema.d.ts +30 -0
  151. package/build/organization/models/organization.schema.d.ts.map +1 -0
  152. package/build/organization/models/organization.schema.js +20 -0
  153. package/build/scripts/generate-openapi.js +115 -462
  154. package/build/tsconfig.tsbuildinfo +1 -1
  155. package/errors/errors.ts +94 -0
  156. package/index.ts +1 -0
  157. package/model-page/endpoints/model-page.ts +6 -0
  158. package/model-page/endpoints/queries/get-public-page-by-slug.query.ts +28 -0
  159. package/model-page/endpoints/queries/index.ts +1 -0
  160. package/model-page/enums/index.ts +5 -0
  161. package/model-page/enums/page-locale.enum.ts +3 -0
  162. package/model-page/enums/page-status.enum.ts +6 -0
  163. package/model-page/enums/page-type.enum.ts +7 -0
  164. package/model-page/enums/robots.enum.ts +9 -0
  165. package/model-page/enums/twitter-card.enum.ts +4 -0
  166. package/model-page/index.ts +1 -0
  167. package/model-page/models/index.ts +4 -0
  168. package/model-page/models/model-family.schema.ts +18 -0
  169. package/model-page/models/page-content.schema.ts +15 -0
  170. package/model-page/models/public-model-detail.schema.ts +7 -3
  171. package/model-page/models/public-page.schema.ts +17 -0
  172. package/model-page/models/schema-toggles.schema.ts +25 -0
  173. package/model-page/models/seo-meta.schema.ts +64 -0
  174. package/organization/endpoints/index.ts +2 -0
  175. package/organization/endpoints/organization.ts +5 -0
  176. package/organization/endpoints/queries/get-organization.query.ts +16 -0
  177. package/organization/endpoints/queries/index.ts +1 -0
  178. package/organization/index.ts +2 -0
  179. package/organization/models/index.ts +1 -0
  180. package/organization/models/organization.schema.ts +22 -0
  181. package/package.json +1 -1
  182. package/scripts/generate-openapi.ts +195 -496
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
package/build/index.js CHANGED
@@ -36,3 +36,4 @@ __exportStar(require("./generation-job-chat"), exports);
36
36
  __exportStar(require("./marketplace-card"), exports);
37
37
  __exportStar(require("./support"), exports);
38
38
  __exportStar(require("./user-context"), exports);
39
+ __exportStar(require("./organization"), exports);
@@ -3,4 +3,8 @@ export declare const PUBLIC_MODEL_ROUTES: {
3
3
  readonly LIST: "";
4
4
  readonly GET_BY_SLUG: (slug: string) => string;
5
5
  };
6
+ export declare const PUBLIC_PAGE_CONTROLLER: "pages";
7
+ export declare const PUBLIC_PAGE_ROUTES: {
8
+ readonly GET_BY_SLUG: (slug: string) => string;
9
+ };
6
10
  //# sourceMappingURL=model-page.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"model-page.d.ts","sourceRoot":"","sources":["../../../model-page/endpoints/model-page.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,IAAa,CAAC;AAErD,eAAO,MAAM,mBAAmB;;iCAER,MAAM;CACpB,CAAC"}
1
+ {"version":3,"file":"model-page.d.ts","sourceRoot":"","sources":["../../../model-page/endpoints/model-page.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,IAAa,CAAC;AAErD,eAAO,MAAM,mBAAmB;;iCAER,MAAM;CACpB,CAAC;AAEX,eAAO,MAAM,sBAAsB,EAAG,OAAgB,CAAC;AAEvD,eAAO,MAAM,kBAAkB;iCACP,MAAM;CACpB,CAAC"}
@@ -1,8 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PUBLIC_MODEL_ROUTES = exports.PUBLIC_MODEL_CONTROLLER = void 0;
3
+ exports.PUBLIC_PAGE_ROUTES = exports.PUBLIC_PAGE_CONTROLLER = exports.PUBLIC_MODEL_ROUTES = exports.PUBLIC_MODEL_CONTROLLER = void 0;
4
4
  exports.PUBLIC_MODEL_CONTROLLER = 'ai';
5
5
  exports.PUBLIC_MODEL_ROUTES = {
6
6
  LIST: '',
7
7
  GET_BY_SLUG: (slug) => `${slug}`,
8
8
  };
9
+ exports.PUBLIC_PAGE_CONTROLLER = 'pages';
10
+ exports.PUBLIC_PAGE_ROUTES = {
11
+ GET_BY_SLUG: (slug) => `${slug}`,
12
+ };
@@ -14,14 +14,41 @@ export declare const GetPublicModelBySlugQueryResponse: z.ZodObject<{
14
14
  }, z.core.$strip>;
15
15
  category: z.ZodEnum<typeof import("../../..").MODEL_CATEGORY>;
16
16
  order: z.ZodNumber;
17
- h1: z.ZodString;
18
17
  card: z.ZodNullable<z.ZodObject<{
19
18
  subtitle: z.ZodString;
20
19
  ctaLabel: z.ZodString;
21
20
  badges: z.ZodArray<z.ZodString>;
22
21
  }, z.core.$strip>>;
23
- seoTitle: z.ZodString;
24
- seoDescription: z.ZodNullable<z.ZodString>;
22
+ seo: z.ZodObject<{
23
+ title: z.ZodString;
24
+ h1: z.ZodString;
25
+ focusKeyword: z.ZodNullable<z.ZodString>;
26
+ canonicalUrl: z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodURL]>;
27
+ robotsIndex: z.ZodEnum<typeof import("../..").ROBOTS_INDEX>;
28
+ robotsFollow: z.ZodEnum<typeof import("../..").ROBOTS_FOLLOW>;
29
+ twitterCard: z.ZodEnum<typeof import("../..").TWITTER_CARD>;
30
+ hreflangAlternates: z.ZodArray<z.ZodObject<{
31
+ locale: z.ZodString;
32
+ url: z.ZodURL;
33
+ }, z.core.$strip>>;
34
+ metaDescription: z.ZodNullable<z.ZodString>;
35
+ ogTitle: z.ZodString;
36
+ ogDescription: z.ZodNullable<z.ZodString>;
37
+ ogImage: z.ZodNullable<z.ZodString>;
38
+ }, z.core.$strip>;
39
+ schemaToggles: z.ZodObject<{
40
+ enableProductSchema: z.ZodBoolean;
41
+ enableFAQSchema: z.ZodBoolean;
42
+ enableBreadcrumbSchema: z.ZodBoolean;
43
+ enableOrganizationSchema: z.ZodBoolean;
44
+ }, z.core.$strip>;
45
+ family: z.ZodNullable<z.ZodObject<{
46
+ uuid: z.ZodUUID;
47
+ name: z.ZodString;
48
+ developer: z.ZodString;
49
+ category: z.ZodEnum<typeof import("../../..").MODEL_CATEGORY>;
50
+ }, z.core.$strip>>;
51
+ versionName: z.ZodNullable<z.ZodString>;
25
52
  content: z.ZodNullable<z.ZodObject<{
26
53
  blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
27
54
  id: z.ZodString;
@@ -160,6 +187,18 @@ export declare const GetPublicModelBySlugQueryResponse: z.ZodObject<{
160
187
  type: z.ZodLiteral<"pricingWidget">;
161
188
  ctaLabel: z.ZodString;
162
189
  ctaSlug: z.ZodString;
190
+ }, z.core.$strip>, z.ZodObject<{
191
+ id: z.ZodString;
192
+ heading: z.ZodNullable<z.ZodString>;
193
+ intro: z.ZodNullable<z.ZodString>;
194
+ outro: z.ZodNullable<z.ZodString>;
195
+ type: z.ZodLiteral<"pricingTable">;
196
+ rows: z.ZodArray<z.ZodObject<{
197
+ label: z.ZodString;
198
+ price: z.ZodString;
199
+ unit: z.ZodString;
200
+ note: z.ZodNullable<z.ZodString>;
201
+ }, z.core.$strip>>;
163
202
  }, z.core.$strip>], "type">>;
164
203
  }, z.core.$strip>>;
165
204
  chat: z.ZodNullable<z.ZodObject<{
@@ -198,14 +237,41 @@ export declare const GetPublicModelBySlugQuery: {
198
237
  }, z.core.$strip>;
199
238
  category: z.ZodEnum<typeof import("../../..").MODEL_CATEGORY>;
200
239
  order: z.ZodNumber;
201
- h1: z.ZodString;
202
240
  card: z.ZodNullable<z.ZodObject<{
203
241
  subtitle: z.ZodString;
204
242
  ctaLabel: z.ZodString;
205
243
  badges: z.ZodArray<z.ZodString>;
206
244
  }, z.core.$strip>>;
207
- seoTitle: z.ZodString;
208
- seoDescription: z.ZodNullable<z.ZodString>;
245
+ seo: z.ZodObject<{
246
+ title: z.ZodString;
247
+ h1: z.ZodString;
248
+ focusKeyword: z.ZodNullable<z.ZodString>;
249
+ canonicalUrl: z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodURL]>;
250
+ robotsIndex: z.ZodEnum<typeof import("../..").ROBOTS_INDEX>;
251
+ robotsFollow: z.ZodEnum<typeof import("../..").ROBOTS_FOLLOW>;
252
+ twitterCard: z.ZodEnum<typeof import("../..").TWITTER_CARD>;
253
+ hreflangAlternates: z.ZodArray<z.ZodObject<{
254
+ locale: z.ZodString;
255
+ url: z.ZodURL;
256
+ }, z.core.$strip>>;
257
+ metaDescription: z.ZodNullable<z.ZodString>;
258
+ ogTitle: z.ZodString;
259
+ ogDescription: z.ZodNullable<z.ZodString>;
260
+ ogImage: z.ZodNullable<z.ZodString>;
261
+ }, z.core.$strip>;
262
+ schemaToggles: z.ZodObject<{
263
+ enableProductSchema: z.ZodBoolean;
264
+ enableFAQSchema: z.ZodBoolean;
265
+ enableBreadcrumbSchema: z.ZodBoolean;
266
+ enableOrganizationSchema: z.ZodBoolean;
267
+ }, z.core.$strip>;
268
+ family: z.ZodNullable<z.ZodObject<{
269
+ uuid: z.ZodUUID;
270
+ name: z.ZodString;
271
+ developer: z.ZodString;
272
+ category: z.ZodEnum<typeof import("../../..").MODEL_CATEGORY>;
273
+ }, z.core.$strip>>;
274
+ versionName: z.ZodNullable<z.ZodString>;
209
275
  content: z.ZodNullable<z.ZodObject<{
210
276
  blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
211
277
  id: z.ZodString;
@@ -344,6 +410,18 @@ export declare const GetPublicModelBySlugQuery: {
344
410
  type: z.ZodLiteral<"pricingWidget">;
345
411
  ctaLabel: z.ZodString;
346
412
  ctaSlug: z.ZodString;
413
+ }, z.core.$strip>, z.ZodObject<{
414
+ id: z.ZodString;
415
+ heading: z.ZodNullable<z.ZodString>;
416
+ intro: z.ZodNullable<z.ZodString>;
417
+ outro: z.ZodNullable<z.ZodString>;
418
+ type: z.ZodLiteral<"pricingTable">;
419
+ rows: z.ZodArray<z.ZodObject<{
420
+ label: z.ZodString;
421
+ price: z.ZodString;
422
+ unit: z.ZodString;
423
+ note: z.ZodNullable<z.ZodString>;
424
+ }, z.core.$strip>>;
347
425
  }, z.core.$strip>], "type">>;
348
426
  }, z.core.$strip>>;
349
427
  chat: z.ZodNullable<z.ZodObject<{
@@ -1 +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"}
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,387 @@
1
+ import { z } from 'zod';
2
+ import { HTTP_METHODS } from '../../../_common';
3
+ export declare const GetPublicPageBySlugQueryParams: z.ZodObject<{
4
+ slug: z.ZodString;
5
+ }, z.core.$strip>;
6
+ export declare const GetPublicPageBySlugQueryResponse: z.ZodObject<{
7
+ slug: z.ZodString;
8
+ type: z.ZodEnum<{
9
+ static: import("../..").PAGE_TYPE.STATIC;
10
+ hub: import("../..").PAGE_TYPE.HUB;
11
+ }>;
12
+ seo: z.ZodObject<{
13
+ title: z.ZodString;
14
+ h1: z.ZodString;
15
+ focusKeyword: z.ZodNullable<z.ZodString>;
16
+ canonicalUrl: z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodURL]>;
17
+ robotsIndex: z.ZodEnum<typeof import("../..").ROBOTS_INDEX>;
18
+ robotsFollow: z.ZodEnum<typeof import("../..").ROBOTS_FOLLOW>;
19
+ twitterCard: z.ZodEnum<typeof import("../..").TWITTER_CARD>;
20
+ hreflangAlternates: z.ZodArray<z.ZodObject<{
21
+ locale: z.ZodString;
22
+ url: z.ZodURL;
23
+ }, z.core.$strip>>;
24
+ metaDescription: z.ZodNullable<z.ZodString>;
25
+ ogTitle: z.ZodString;
26
+ ogDescription: z.ZodNullable<z.ZodString>;
27
+ ogImage: z.ZodNullable<z.ZodString>;
28
+ }, z.core.$strip>;
29
+ schemaToggles: z.ZodObject<{
30
+ enableProductSchema: z.ZodBoolean;
31
+ enableFAQSchema: z.ZodBoolean;
32
+ enableBreadcrumbSchema: z.ZodBoolean;
33
+ enableOrganizationSchema: z.ZodBoolean;
34
+ }, z.core.$strip>;
35
+ content: z.ZodNullable<z.ZodObject<{
36
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
37
+ id: z.ZodString;
38
+ heading: z.ZodNullable<z.ZodString>;
39
+ intro: z.ZodNullable<z.ZodString>;
40
+ outro: z.ZodNullable<z.ZodString>;
41
+ type: z.ZodLiteral<"richText">;
42
+ body: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ id: z.ZodString;
45
+ heading: z.ZodNullable<z.ZodString>;
46
+ intro: z.ZodNullable<z.ZodString>;
47
+ outro: z.ZodNullable<z.ZodString>;
48
+ type: z.ZodLiteral<"featureList">;
49
+ items: z.ZodArray<z.ZodObject<{
50
+ title: z.ZodString;
51
+ body: z.ZodString;
52
+ }, z.core.$strip>>;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ id: z.ZodString;
55
+ heading: z.ZodNullable<z.ZodString>;
56
+ intro: z.ZodNullable<z.ZodString>;
57
+ outro: z.ZodNullable<z.ZodString>;
58
+ type: z.ZodLiteral<"specs">;
59
+ items: z.ZodArray<z.ZodObject<{
60
+ label: z.ZodString;
61
+ value: z.ZodString;
62
+ }, z.core.$strip>>;
63
+ }, z.core.$strip>, z.ZodObject<{
64
+ id: z.ZodString;
65
+ heading: z.ZodNullable<z.ZodString>;
66
+ intro: z.ZodNullable<z.ZodString>;
67
+ outro: z.ZodNullable<z.ZodString>;
68
+ type: z.ZodLiteral<"examples">;
69
+ items: z.ZodArray<z.ZodObject<{
70
+ title: z.ZodString;
71
+ alt: z.ZodString;
72
+ prompt: z.ZodString;
73
+ settings: z.ZodString;
74
+ answer: z.ZodNullable<z.ZodString>;
75
+ images: z.ZodArray<z.ZodObject<{
76
+ url: z.ZodURL;
77
+ kind: z.ZodDefault<z.ZodEnum<{
78
+ readonly image: "image";
79
+ readonly video: "video";
80
+ }>>;
81
+ alt: z.ZodString;
82
+ caption: z.ZodNullable<z.ZodString>;
83
+ }, z.core.$strip>>;
84
+ }, z.core.$strip>>;
85
+ }, z.core.$strip>, z.ZodObject<{
86
+ id: z.ZodString;
87
+ heading: z.ZodNullable<z.ZodString>;
88
+ intro: z.ZodNullable<z.ZodString>;
89
+ outro: z.ZodNullable<z.ZodString>;
90
+ type: z.ZodLiteral<"comparison">;
91
+ columns: z.ZodArray<z.ZodString>;
92
+ rows: z.ZodArray<z.ZodObject<{
93
+ label: z.ZodString;
94
+ values: z.ZodArray<z.ZodString>;
95
+ }, z.core.$strip>>;
96
+ }, z.core.$strip>, z.ZodObject<{
97
+ id: z.ZodString;
98
+ heading: z.ZodNullable<z.ZodString>;
99
+ intro: z.ZodNullable<z.ZodString>;
100
+ outro: z.ZodNullable<z.ZodString>;
101
+ type: z.ZodLiteral<"prosCons">;
102
+ items: z.ZodArray<z.ZodObject<{
103
+ title: z.ZodString;
104
+ pros: z.ZodArray<z.ZodString>;
105
+ cons: z.ZodArray<z.ZodString>;
106
+ }, z.core.$strip>>;
107
+ }, z.core.$strip>, z.ZodObject<{
108
+ id: z.ZodString;
109
+ heading: z.ZodNullable<z.ZodString>;
110
+ intro: z.ZodNullable<z.ZodString>;
111
+ outro: z.ZodNullable<z.ZodString>;
112
+ type: z.ZodLiteral<"steps">;
113
+ items: z.ZodArray<z.ZodObject<{
114
+ title: z.ZodString;
115
+ body: z.ZodString;
116
+ }, z.core.$strip>>;
117
+ }, z.core.$strip>, z.ZodObject<{
118
+ id: z.ZodString;
119
+ heading: z.ZodNullable<z.ZodString>;
120
+ intro: z.ZodNullable<z.ZodString>;
121
+ outro: z.ZodNullable<z.ZodString>;
122
+ type: z.ZodLiteral<"faq">;
123
+ items: z.ZodArray<z.ZodObject<{
124
+ question: z.ZodString;
125
+ answer: z.ZodString;
126
+ }, z.core.$strip>>;
127
+ }, z.core.$strip>, z.ZodObject<{
128
+ id: z.ZodString;
129
+ heading: z.ZodNullable<z.ZodString>;
130
+ intro: z.ZodNullable<z.ZodString>;
131
+ outro: z.ZodNullable<z.ZodString>;
132
+ type: z.ZodLiteral<"relatedLinks">;
133
+ items: z.ZodArray<z.ZodObject<{
134
+ kind: z.ZodEnum<{
135
+ readonly model: "model";
136
+ readonly task: "task";
137
+ }>;
138
+ slug: z.ZodString;
139
+ title: z.ZodString;
140
+ note: z.ZodNullable<z.ZodString>;
141
+ }, z.core.$strip>>;
142
+ }, z.core.$strip>, z.ZodObject<{
143
+ id: z.ZodString;
144
+ heading: z.ZodNullable<z.ZodString>;
145
+ intro: z.ZodNullable<z.ZodString>;
146
+ outro: z.ZodNullable<z.ZodString>;
147
+ type: z.ZodLiteral<"demo">;
148
+ caption: z.ZodNullable<z.ZodString>;
149
+ presets: z.ZodArray<z.ZodObject<{
150
+ id: z.ZodString;
151
+ label: z.ZodString;
152
+ prompt: z.ZodString;
153
+ settings: z.ZodNullable<z.ZodString>;
154
+ answer: z.ZodNullable<z.ZodString>;
155
+ image: z.ZodNullable<z.ZodObject<{
156
+ url: z.ZodURL;
157
+ kind: z.ZodDefault<z.ZodEnum<{
158
+ readonly image: "image";
159
+ readonly video: "video";
160
+ }>>;
161
+ alt: z.ZodString;
162
+ caption: z.ZodNullable<z.ZodString>;
163
+ }, z.core.$strip>>;
164
+ }, z.core.$strip>>;
165
+ }, z.core.$strip>, z.ZodObject<{
166
+ id: z.ZodString;
167
+ heading: z.ZodNullable<z.ZodString>;
168
+ intro: z.ZodNullable<z.ZodString>;
169
+ outro: z.ZodNullable<z.ZodString>;
170
+ type: z.ZodLiteral<"pricingWidget">;
171
+ ctaLabel: z.ZodString;
172
+ ctaSlug: z.ZodString;
173
+ }, z.core.$strip>, z.ZodObject<{
174
+ id: z.ZodString;
175
+ heading: z.ZodNullable<z.ZodString>;
176
+ intro: z.ZodNullable<z.ZodString>;
177
+ outro: z.ZodNullable<z.ZodString>;
178
+ type: z.ZodLiteral<"pricingTable">;
179
+ rows: z.ZodArray<z.ZodObject<{
180
+ label: z.ZodString;
181
+ price: z.ZodString;
182
+ unit: z.ZodString;
183
+ note: z.ZodNullable<z.ZodString>;
184
+ }, z.core.$strip>>;
185
+ }, z.core.$strip>], "type">>;
186
+ }, z.core.$strip>>;
187
+ }, z.core.$strip>;
188
+ export declare const GetPublicPageBySlugQuery: {
189
+ method: HTTP_METHODS.GET;
190
+ path: string;
191
+ summary: string;
192
+ request: {
193
+ params: z.ZodObject<{
194
+ slug: z.ZodString;
195
+ }, z.core.$strip>;
196
+ };
197
+ responses: {
198
+ 200: z.ZodObject<{
199
+ slug: z.ZodString;
200
+ type: z.ZodEnum<{
201
+ static: import("../..").PAGE_TYPE.STATIC;
202
+ hub: import("../..").PAGE_TYPE.HUB;
203
+ }>;
204
+ seo: z.ZodObject<{
205
+ title: z.ZodString;
206
+ h1: z.ZodString;
207
+ focusKeyword: z.ZodNullable<z.ZodString>;
208
+ canonicalUrl: z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodURL]>;
209
+ robotsIndex: z.ZodEnum<typeof import("../..").ROBOTS_INDEX>;
210
+ robotsFollow: z.ZodEnum<typeof import("../..").ROBOTS_FOLLOW>;
211
+ twitterCard: z.ZodEnum<typeof import("../..").TWITTER_CARD>;
212
+ hreflangAlternates: z.ZodArray<z.ZodObject<{
213
+ locale: z.ZodString;
214
+ url: z.ZodURL;
215
+ }, z.core.$strip>>;
216
+ metaDescription: z.ZodNullable<z.ZodString>;
217
+ ogTitle: z.ZodString;
218
+ ogDescription: z.ZodNullable<z.ZodString>;
219
+ ogImage: z.ZodNullable<z.ZodString>;
220
+ }, z.core.$strip>;
221
+ schemaToggles: z.ZodObject<{
222
+ enableProductSchema: z.ZodBoolean;
223
+ enableFAQSchema: z.ZodBoolean;
224
+ enableBreadcrumbSchema: z.ZodBoolean;
225
+ enableOrganizationSchema: z.ZodBoolean;
226
+ }, z.core.$strip>;
227
+ content: z.ZodNullable<z.ZodObject<{
228
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
229
+ id: z.ZodString;
230
+ heading: z.ZodNullable<z.ZodString>;
231
+ intro: z.ZodNullable<z.ZodString>;
232
+ outro: z.ZodNullable<z.ZodString>;
233
+ type: z.ZodLiteral<"richText">;
234
+ body: z.ZodString;
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<"featureList">;
241
+ items: z.ZodArray<z.ZodObject<{
242
+ title: z.ZodString;
243
+ body: z.ZodString;
244
+ }, z.core.$strip>>;
245
+ }, z.core.$strip>, z.ZodObject<{
246
+ id: z.ZodString;
247
+ heading: z.ZodNullable<z.ZodString>;
248
+ intro: z.ZodNullable<z.ZodString>;
249
+ outro: z.ZodNullable<z.ZodString>;
250
+ type: z.ZodLiteral<"specs">;
251
+ items: z.ZodArray<z.ZodObject<{
252
+ label: z.ZodString;
253
+ value: z.ZodString;
254
+ }, z.core.$strip>>;
255
+ }, z.core.$strip>, z.ZodObject<{
256
+ id: z.ZodString;
257
+ heading: z.ZodNullable<z.ZodString>;
258
+ intro: z.ZodNullable<z.ZodString>;
259
+ outro: z.ZodNullable<z.ZodString>;
260
+ type: z.ZodLiteral<"examples">;
261
+ items: z.ZodArray<z.ZodObject<{
262
+ title: z.ZodString;
263
+ alt: z.ZodString;
264
+ prompt: z.ZodString;
265
+ settings: z.ZodString;
266
+ answer: z.ZodNullable<z.ZodString>;
267
+ images: z.ZodArray<z.ZodObject<{
268
+ url: z.ZodURL;
269
+ kind: z.ZodDefault<z.ZodEnum<{
270
+ readonly image: "image";
271
+ readonly video: "video";
272
+ }>>;
273
+ alt: z.ZodString;
274
+ caption: z.ZodNullable<z.ZodString>;
275
+ }, z.core.$strip>>;
276
+ }, z.core.$strip>>;
277
+ }, z.core.$strip>, z.ZodObject<{
278
+ id: z.ZodString;
279
+ heading: z.ZodNullable<z.ZodString>;
280
+ intro: z.ZodNullable<z.ZodString>;
281
+ outro: z.ZodNullable<z.ZodString>;
282
+ type: z.ZodLiteral<"comparison">;
283
+ columns: z.ZodArray<z.ZodString>;
284
+ rows: z.ZodArray<z.ZodObject<{
285
+ label: z.ZodString;
286
+ values: z.ZodArray<z.ZodString>;
287
+ }, z.core.$strip>>;
288
+ }, z.core.$strip>, z.ZodObject<{
289
+ id: z.ZodString;
290
+ heading: z.ZodNullable<z.ZodString>;
291
+ intro: z.ZodNullable<z.ZodString>;
292
+ outro: z.ZodNullable<z.ZodString>;
293
+ type: z.ZodLiteral<"prosCons">;
294
+ items: z.ZodArray<z.ZodObject<{
295
+ title: z.ZodString;
296
+ pros: z.ZodArray<z.ZodString>;
297
+ cons: z.ZodArray<z.ZodString>;
298
+ }, z.core.$strip>>;
299
+ }, z.core.$strip>, z.ZodObject<{
300
+ id: z.ZodString;
301
+ heading: z.ZodNullable<z.ZodString>;
302
+ intro: z.ZodNullable<z.ZodString>;
303
+ outro: z.ZodNullable<z.ZodString>;
304
+ type: z.ZodLiteral<"steps">;
305
+ items: z.ZodArray<z.ZodObject<{
306
+ title: z.ZodString;
307
+ body: z.ZodString;
308
+ }, z.core.$strip>>;
309
+ }, z.core.$strip>, z.ZodObject<{
310
+ id: z.ZodString;
311
+ heading: z.ZodNullable<z.ZodString>;
312
+ intro: z.ZodNullable<z.ZodString>;
313
+ outro: z.ZodNullable<z.ZodString>;
314
+ type: z.ZodLiteral<"faq">;
315
+ items: z.ZodArray<z.ZodObject<{
316
+ question: z.ZodString;
317
+ answer: z.ZodString;
318
+ }, z.core.$strip>>;
319
+ }, z.core.$strip>, z.ZodObject<{
320
+ id: z.ZodString;
321
+ heading: z.ZodNullable<z.ZodString>;
322
+ intro: z.ZodNullable<z.ZodString>;
323
+ outro: z.ZodNullable<z.ZodString>;
324
+ type: z.ZodLiteral<"relatedLinks">;
325
+ items: z.ZodArray<z.ZodObject<{
326
+ kind: z.ZodEnum<{
327
+ readonly model: "model";
328
+ readonly task: "task";
329
+ }>;
330
+ slug: z.ZodString;
331
+ title: z.ZodString;
332
+ note: z.ZodNullable<z.ZodString>;
333
+ }, z.core.$strip>>;
334
+ }, z.core.$strip>, z.ZodObject<{
335
+ id: z.ZodString;
336
+ heading: z.ZodNullable<z.ZodString>;
337
+ intro: z.ZodNullable<z.ZodString>;
338
+ outro: z.ZodNullable<z.ZodString>;
339
+ type: z.ZodLiteral<"demo">;
340
+ caption: z.ZodNullable<z.ZodString>;
341
+ presets: z.ZodArray<z.ZodObject<{
342
+ id: z.ZodString;
343
+ label: z.ZodString;
344
+ prompt: z.ZodString;
345
+ settings: z.ZodNullable<z.ZodString>;
346
+ answer: z.ZodNullable<z.ZodString>;
347
+ image: z.ZodNullable<z.ZodObject<{
348
+ url: z.ZodURL;
349
+ kind: z.ZodDefault<z.ZodEnum<{
350
+ readonly image: "image";
351
+ readonly video: "video";
352
+ }>>;
353
+ alt: z.ZodString;
354
+ caption: z.ZodNullable<z.ZodString>;
355
+ }, z.core.$strip>>;
356
+ }, z.core.$strip>>;
357
+ }, z.core.$strip>, z.ZodObject<{
358
+ id: z.ZodString;
359
+ heading: z.ZodNullable<z.ZodString>;
360
+ intro: z.ZodNullable<z.ZodString>;
361
+ outro: z.ZodNullable<z.ZodString>;
362
+ type: z.ZodLiteral<"pricingWidget">;
363
+ ctaLabel: z.ZodString;
364
+ ctaSlug: z.ZodString;
365
+ }, z.core.$strip>, z.ZodObject<{
366
+ id: z.ZodString;
367
+ heading: z.ZodNullable<z.ZodString>;
368
+ intro: z.ZodNullable<z.ZodString>;
369
+ outro: z.ZodNullable<z.ZodString>;
370
+ type: z.ZodLiteral<"pricingTable">;
371
+ rows: z.ZodArray<z.ZodObject<{
372
+ label: z.ZodString;
373
+ price: z.ZodString;
374
+ unit: z.ZodString;
375
+ note: z.ZodNullable<z.ZodString>;
376
+ }, z.core.$strip>>;
377
+ }, z.core.$strip>], "type">>;
378
+ }, z.core.$strip>>;
379
+ }, z.core.$strip>;
380
+ 404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
381
+ 500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
382
+ 503: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
383
+ };
384
+ };
385
+ export type GetPublicPageBySlugQueryParamsType = z.infer<typeof GetPublicPageBySlugQueryParams>;
386
+ export type GetPublicPageBySlugQueryResponseType = z.infer<typeof GetPublicPageBySlugQueryResponse>;
387
+ //# sourceMappingURL=get-public-page-by-slug.query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-public-page-by-slug.query.d.ts","sourceRoot":"","sources":["../../../../model-page/endpoints/queries/get-public-page-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,8BAA8B;;iBAEzC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAmB,CAAC;AAEjE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAanC,CAAC;AAEH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAChG,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetPublicPageBySlugQuery = exports.GetPublicPageBySlugQueryResponse = exports.GetPublicPageBySlugQueryParams = 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.GetPublicPageBySlugQueryParams = zod_1.z.object({
9
+ slug: zod_1.z.string().min(1),
10
+ });
11
+ exports.GetPublicPageBySlugQueryResponse = models_1.PublicPageSchema;
12
+ exports.GetPublicPageBySlugQuery = (0, _common_1.defineContract)({
13
+ method: _common_1.HTTP_METHODS.GET,
14
+ path: model_page_1.PUBLIC_PAGE_ROUTES.GET_BY_SLUG(':slug'),
15
+ summary: 'Get published static or hub page by slug',
16
+ request: {
17
+ params: exports.GetPublicPageBySlugQueryParams,
18
+ },
19
+ responses: {
20
+ 200: exports.GetPublicPageBySlugQueryResponse,
21
+ 404: _common_1.HttpErrorResponseSchema,
22
+ 500: _common_1.HttpErrorResponseSchema,
23
+ 503: _common_1.HttpErrorResponseSchema,
24
+ },
25
+ });
@@ -1,3 +1,4 @@
1
1
  export * from './get-public-model-by-slug.query';
2
2
  export * from './list-public-models.query';
3
+ export * from './get-public-page-by-slug.query';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
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;AAC3C,cAAc,iCAAiC,CAAC"}
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./get-public-model-by-slug.query"), exports);
18
18
  __exportStar(require("./list-public-models.query"), exports);
19
+ __exportStar(require("./get-public-page-by-slug.query"), exports);
@@ -0,0 +1,6 @@
1
+ export * from './page-status.enum';
2
+ export * from './page-type.enum';
3
+ export * from './page-locale.enum';
4
+ export * from './robots.enum';
5
+ export * from './twitter-card.enum';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../model-page/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,21 @@
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-status.enum"), exports);
18
+ __exportStar(require("./page-type.enum"), exports);
19
+ __exportStar(require("./page-locale.enum"), exports);
20
+ __exportStar(require("./robots.enum"), exports);
21
+ __exportStar(require("./twitter-card.enum"), exports);
@@ -0,0 +1,4 @@
1
+ export declare enum PAGE_LOCALE {
2
+ RU = "ru"
3
+ }
4
+ //# sourceMappingURL=page-locale.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-locale.enum.d.ts","sourceRoot":"","sources":["../../../model-page/enums/page-locale.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACnB,EAAE,OAAO;CACZ"}