@ai-grator/api 0.1.41 → 0.1.43

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 (26) hide show
  1. package/build/pricing-page/endpoints/queries/get-pricing-page.query.d.ts +18 -6
  2. package/build/pricing-page/endpoints/queries/get-pricing-page.query.d.ts.map +1 -1
  3. package/build/pricing-page/models/index.d.ts +1 -0
  4. package/build/pricing-page/models/index.d.ts.map +1 -1
  5. package/build/pricing-page/models/index.js +1 -0
  6. package/build/pricing-page/models/pricing-condition-item.schema.d.ts +7 -0
  7. package/build/pricing-page/models/pricing-condition-item.schema.d.ts.map +1 -0
  8. package/build/pricing-page/models/pricing-condition-item.schema.js +8 -0
  9. package/build/pricing-page/models/pricing-image-model.schema.d.ts +1 -1
  10. package/build/pricing-page/models/pricing-image-model.schema.js +1 -1
  11. package/build/pricing-page/models/pricing-models.schema.d.ts +4 -4
  12. package/build/pricing-page/models/pricing-page.schema.d.ts +9 -3
  13. package/build/pricing-page/models/pricing-page.schema.d.ts.map +1 -1
  14. package/build/pricing-page/models/pricing-page.schema.js +4 -0
  15. package/build/pricing-page/models/pricing-text-model.schema.d.ts +1 -1
  16. package/build/pricing-page/models/pricing-text-model.schema.js +1 -1
  17. package/build/pricing-page/models/pricing-video-model.schema.d.ts +1 -1
  18. package/build/pricing-page/models/pricing-video-model.schema.js +1 -1
  19. package/build/tsconfig.tsbuildinfo +1 -1
  20. package/package.json +1 -1
  21. package/pricing-page/models/index.ts +1 -0
  22. package/pricing-page/models/pricing-condition-item.schema.ts +8 -0
  23. package/pricing-page/models/pricing-image-model.schema.ts +1 -1
  24. package/pricing-page/models/pricing-page.schema.ts +4 -0
  25. package/pricing-page/models/pricing-text-model.schema.ts +1 -1
  26. package/pricing-page/models/pricing-video-model.schema.ts +1 -1
@@ -1,12 +1,14 @@
1
1
  import { HTTP_METHODS } from '../../../_common';
2
2
  export declare const GetPricingPageQueryResponse: import("zod").ZodObject<{
3
+ h1: import("zod").ZodString;
4
+ lead: import("zod").ZodNullable<import("zod").ZodString>;
3
5
  updatedAt: import("zod").ZodISODateTime;
4
6
  models: import("zod").ZodObject<{
5
7
  text: import("zod").ZodObject<{
6
8
  inputUnitChars: import("zod").ZodNumber;
7
9
  outputUnitChars: import("zod").ZodNumber;
8
10
  items: import("zod").ZodArray<import("zod").ZodObject<{
9
- slug: import("zod").ZodString;
11
+ slug: import("zod").ZodNullable<import("zod").ZodString>;
10
12
  name: import("zod").ZodString;
11
13
  context: import("zod").ZodNumber;
12
14
  inputPrice: import("zod").ZodNumber;
@@ -14,14 +16,14 @@ export declare const GetPricingPageQueryResponse: import("zod").ZodObject<{
14
16
  }, import("zod/v4/core").$strip>>;
15
17
  }, import("zod/v4/core").$strip>;
16
18
  image: import("zod").ZodArray<import("zod").ZodObject<{
17
- slug: import("zod").ZodString;
19
+ slug: import("zod").ZodNullable<import("zod").ZodString>;
18
20
  name: import("zod").ZodString;
19
21
  maxResolution: import("zod").ZodNullable<import("zod").ZodString>;
20
22
  maxReferences: import("zod").ZodNullable<import("zod").ZodNumber>;
21
23
  pricePerImage: import("zod").ZodNumber;
22
24
  }, import("zod/v4/core").$strip>>;
23
25
  video: import("zod").ZodArray<import("zod").ZodObject<{
24
- slug: import("zod").ZodString;
26
+ slug: import("zod").ZodNullable<import("zod").ZodString>;
25
27
  name: import("zod").ZodString;
26
28
  maxResolution: import("zod").ZodNullable<import("zod").ZodString>;
27
29
  maxInputChars: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -51,6 +53,10 @@ export declare const GetPricingPageQueryResponse: import("zod").ZodObject<{
51
53
  type: import("zod").ZodLiteral<"video">;
52
54
  units: import("zod").ZodNumber;
53
55
  }, import("zod/v4/core").$strip>], "type">>;
56
+ conditions: import("zod").ZodArray<import("zod").ZodObject<{
57
+ title: import("zod").ZodString;
58
+ body: import("zod").ZodString;
59
+ }, import("zod/v4/core").$strip>>;
54
60
  faq: import("zod").ZodArray<import("zod").ZodObject<{
55
61
  question: import("zod").ZodString;
56
62
  answer: import("zod").ZodString;
@@ -66,13 +72,15 @@ export declare const GetPricingPageQuery: {
66
72
  summary: string;
67
73
  responses: {
68
74
  200: import("zod").ZodObject<{
75
+ h1: import("zod").ZodString;
76
+ lead: import("zod").ZodNullable<import("zod").ZodString>;
69
77
  updatedAt: import("zod").ZodISODateTime;
70
78
  models: import("zod").ZodObject<{
71
79
  text: import("zod").ZodObject<{
72
80
  inputUnitChars: import("zod").ZodNumber;
73
81
  outputUnitChars: import("zod").ZodNumber;
74
82
  items: import("zod").ZodArray<import("zod").ZodObject<{
75
- slug: import("zod").ZodString;
83
+ slug: import("zod").ZodNullable<import("zod").ZodString>;
76
84
  name: import("zod").ZodString;
77
85
  context: import("zod").ZodNumber;
78
86
  inputPrice: import("zod").ZodNumber;
@@ -80,14 +88,14 @@ export declare const GetPricingPageQuery: {
80
88
  }, import("zod/v4/core").$strip>>;
81
89
  }, import("zod/v4/core").$strip>;
82
90
  image: import("zod").ZodArray<import("zod").ZodObject<{
83
- slug: import("zod").ZodString;
91
+ slug: import("zod").ZodNullable<import("zod").ZodString>;
84
92
  name: import("zod").ZodString;
85
93
  maxResolution: import("zod").ZodNullable<import("zod").ZodString>;
86
94
  maxReferences: import("zod").ZodNullable<import("zod").ZodNumber>;
87
95
  pricePerImage: import("zod").ZodNumber;
88
96
  }, import("zod/v4/core").$strip>>;
89
97
  video: import("zod").ZodArray<import("zod").ZodObject<{
90
- slug: import("zod").ZodString;
98
+ slug: import("zod").ZodNullable<import("zod").ZodString>;
91
99
  name: import("zod").ZodString;
92
100
  maxResolution: import("zod").ZodNullable<import("zod").ZodString>;
93
101
  maxInputChars: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -117,6 +125,10 @@ export declare const GetPricingPageQuery: {
117
125
  type: import("zod").ZodLiteral<"video">;
118
126
  units: import("zod").ZodNumber;
119
127
  }, import("zod/v4/core").$strip>], "type">>;
128
+ conditions: import("zod").ZodArray<import("zod").ZodObject<{
129
+ title: import("zod").ZodString;
130
+ body: import("zod").ZodString;
131
+ }, import("zod/v4/core").$strip>>;
120
132
  faq: import("zod").ZodArray<import("zod").ZodObject<{
121
133
  question: import("zod").ZodString;
122
134
  answer: import("zod").ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"get-pricing-page.query.d.ts","sourceRoot":"","sources":["../../../../pricing-page/endpoints/queries/get-pricing-page.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAAoB,CAAC;AAE7D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ9B,CAAC"}
1
+ {"version":3,"file":"get-pricing-page.query.d.ts","sourceRoot":"","sources":["../../../../pricing-page/endpoints/queries/get-pricing-page.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAAoB,CAAC;AAE7D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ9B,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export * from './pricing-breadcrumb-item.schema';
2
2
  export * from './pricing-calculator-task.schema';
3
+ export * from './pricing-condition-item.schema';
3
4
  export * from './pricing-faq-item.schema';
4
5
  export * from './pricing-image-model.schema';
5
6
  export * from './pricing-models.schema';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../pricing-page/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../pricing-page/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC"}
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./pricing-breadcrumb-item.schema"), exports);
18
18
  __exportStar(require("./pricing-calculator-task.schema"), exports);
19
+ __exportStar(require("./pricing-condition-item.schema"), exports);
19
20
  __exportStar(require("./pricing-faq-item.schema"), exports);
20
21
  __exportStar(require("./pricing-image-model.schema"), exports);
21
22
  __exportStar(require("./pricing-models.schema"), exports);
@@ -0,0 +1,7 @@
1
+ import { z } from 'zod';
2
+ export declare const PricingConditionItemSchema: z.ZodObject<{
3
+ title: z.ZodString;
4
+ body: z.ZodString;
5
+ }, z.core.$strip>;
6
+ export type PricingConditionItemSchemaType = z.infer<typeof PricingConditionItemSchema>;
7
+ //# sourceMappingURL=pricing-condition-item.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pricing-condition-item.schema.d.ts","sourceRoot":"","sources":["../../../pricing-page/models/pricing-condition-item.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;iBAGrC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PricingConditionItemSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.PricingConditionItemSchema = zod_1.z.object({
6
+ title: zod_1.z.string().min(1),
7
+ body: zod_1.z.string().min(1),
8
+ });
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const PricingImageModelSchema: z.ZodObject<{
3
- slug: z.ZodString;
3
+ slug: z.ZodNullable<z.ZodString>;
4
4
  name: z.ZodString;
5
5
  maxResolution: z.ZodNullable<z.ZodString>;
6
6
  maxReferences: z.ZodNullable<z.ZodNumber>;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PricingImageModelSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.PricingImageModelSchema = zod_1.z.object({
6
- slug: zod_1.z.string().min(1),
6
+ slug: zod_1.z.string().min(1).nullable(),
7
7
  name: zod_1.z.string().min(1),
8
8
  maxResolution: zod_1.z.string().min(1).nullable(),
9
9
  maxReferences: zod_1.z.number().int().nonnegative().nullable(),
@@ -3,7 +3,7 @@ export declare const PricingTextModelsSchema: z.ZodObject<{
3
3
  inputUnitChars: z.ZodNumber;
4
4
  outputUnitChars: z.ZodNumber;
5
5
  items: z.ZodArray<z.ZodObject<{
6
- slug: z.ZodString;
6
+ slug: z.ZodNullable<z.ZodString>;
7
7
  name: z.ZodString;
8
8
  context: z.ZodNumber;
9
9
  inputPrice: z.ZodNumber;
@@ -15,7 +15,7 @@ export declare const PricingModelsSchema: z.ZodObject<{
15
15
  inputUnitChars: z.ZodNumber;
16
16
  outputUnitChars: z.ZodNumber;
17
17
  items: z.ZodArray<z.ZodObject<{
18
- slug: z.ZodString;
18
+ slug: z.ZodNullable<z.ZodString>;
19
19
  name: z.ZodString;
20
20
  context: z.ZodNumber;
21
21
  inputPrice: z.ZodNumber;
@@ -23,14 +23,14 @@ export declare const PricingModelsSchema: z.ZodObject<{
23
23
  }, z.core.$strip>>;
24
24
  }, z.core.$strip>;
25
25
  image: z.ZodArray<z.ZodObject<{
26
- slug: z.ZodString;
26
+ slug: z.ZodNullable<z.ZodString>;
27
27
  name: z.ZodString;
28
28
  maxResolution: z.ZodNullable<z.ZodString>;
29
29
  maxReferences: z.ZodNullable<z.ZodNumber>;
30
30
  pricePerImage: z.ZodNumber;
31
31
  }, z.core.$strip>>;
32
32
  video: z.ZodArray<z.ZodObject<{
33
- slug: z.ZodString;
33
+ slug: z.ZodNullable<z.ZodString>;
34
34
  name: z.ZodString;
35
35
  maxResolution: z.ZodNullable<z.ZodString>;
36
36
  maxInputChars: z.ZodNullable<z.ZodNumber>;
@@ -1,12 +1,14 @@
1
1
  import { z } from 'zod';
2
2
  export declare const PricingPageSchema: z.ZodObject<{
3
+ h1: z.ZodString;
4
+ lead: z.ZodNullable<z.ZodString>;
3
5
  updatedAt: z.ZodISODateTime;
4
6
  models: z.ZodObject<{
5
7
  text: z.ZodObject<{
6
8
  inputUnitChars: z.ZodNumber;
7
9
  outputUnitChars: z.ZodNumber;
8
10
  items: z.ZodArray<z.ZodObject<{
9
- slug: z.ZodString;
11
+ slug: z.ZodNullable<z.ZodString>;
10
12
  name: z.ZodString;
11
13
  context: z.ZodNumber;
12
14
  inputPrice: z.ZodNumber;
@@ -14,14 +16,14 @@ export declare const PricingPageSchema: z.ZodObject<{
14
16
  }, z.core.$strip>>;
15
17
  }, z.core.$strip>;
16
18
  image: z.ZodArray<z.ZodObject<{
17
- slug: z.ZodString;
19
+ slug: z.ZodNullable<z.ZodString>;
18
20
  name: z.ZodString;
19
21
  maxResolution: z.ZodNullable<z.ZodString>;
20
22
  maxReferences: z.ZodNullable<z.ZodNumber>;
21
23
  pricePerImage: z.ZodNumber;
22
24
  }, z.core.$strip>>;
23
25
  video: z.ZodArray<z.ZodObject<{
24
- slug: z.ZodString;
26
+ slug: z.ZodNullable<z.ZodString>;
25
27
  name: z.ZodString;
26
28
  maxResolution: z.ZodNullable<z.ZodString>;
27
29
  maxInputChars: z.ZodNullable<z.ZodNumber>;
@@ -51,6 +53,10 @@ export declare const PricingPageSchema: z.ZodObject<{
51
53
  type: z.ZodLiteral<"video">;
52
54
  units: z.ZodNumber;
53
55
  }, z.core.$strip>], "type">>;
56
+ conditions: z.ZodArray<z.ZodObject<{
57
+ title: z.ZodString;
58
+ body: z.ZodString;
59
+ }, z.core.$strip>>;
54
60
  faq: z.ZodArray<z.ZodObject<{
55
61
  question: z.ZodString;
56
62
  answer: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"pricing-page.schema.d.ts","sourceRoot":"","sources":["../../../pricing-page/models/pricing-page.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM5B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"pricing-page.schema.d.ts","sourceRoot":"","sources":["../../../pricing-page/models/pricing-page.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAS5B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -4,12 +4,16 @@ exports.PricingPageSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const pricing_breadcrumb_item_schema_1 = require("./pricing-breadcrumb-item.schema");
6
6
  const pricing_calculator_task_schema_1 = require("./pricing-calculator-task.schema");
7
+ const pricing_condition_item_schema_1 = require("./pricing-condition-item.schema");
7
8
  const pricing_faq_item_schema_1 = require("./pricing-faq-item.schema");
8
9
  const pricing_models_schema_1 = require("./pricing-models.schema");
9
10
  exports.PricingPageSchema = zod_1.z.object({
11
+ h1: zod_1.z.string().min(1),
12
+ lead: zod_1.z.string().min(1).nullable(),
10
13
  updatedAt: zod_1.z.iso.datetime(),
11
14
  models: pricing_models_schema_1.PricingModelsSchema,
12
15
  calculatorTasks: zod_1.z.array(pricing_calculator_task_schema_1.PricingCalculatorTaskSchema),
16
+ conditions: zod_1.z.array(pricing_condition_item_schema_1.PricingConditionItemSchema),
13
17
  faq: zod_1.z.array(pricing_faq_item_schema_1.PricingFaqItemSchema),
14
18
  breadcrumb: zod_1.z.array(pricing_breadcrumb_item_schema_1.PricingBreadcrumbItemSchema),
15
19
  });
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const PricingTextModelSchema: z.ZodObject<{
3
- slug: z.ZodString;
3
+ slug: z.ZodNullable<z.ZodString>;
4
4
  name: z.ZodString;
5
5
  context: z.ZodNumber;
6
6
  inputPrice: z.ZodNumber;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PricingTextModelSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.PricingTextModelSchema = zod_1.z.object({
6
- slug: zod_1.z.string().min(1),
6
+ slug: zod_1.z.string().min(1).nullable(),
7
7
  name: zod_1.z.string().min(1),
8
8
  context: zod_1.z.number().int().positive(),
9
9
  inputPrice: zod_1.z.number().nonnegative(),
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const PricingVideoModelSchema: z.ZodObject<{
3
- slug: z.ZodString;
3
+ slug: z.ZodNullable<z.ZodString>;
4
4
  name: z.ZodString;
5
5
  maxResolution: z.ZodNullable<z.ZodString>;
6
6
  maxInputChars: z.ZodNullable<z.ZodNumber>;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PricingVideoModelSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.PricingVideoModelSchema = zod_1.z.object({
6
- slug: zod_1.z.string().min(1),
6
+ slug: zod_1.z.string().min(1).nullable(),
7
7
  name: zod_1.z.string().min(1),
8
8
  maxResolution: zod_1.z.string().min(1).nullable(),
9
9
  maxInputChars: zod_1.z.number().int().nonnegative().nullable(),