@ai-grator/api 0.1.42 → 0.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/pricing-page/endpoints/queries/get-pricing-page.query.d.ts +8 -10
- package/build/pricing-page/endpoints/queries/get-pricing-page.query.d.ts.map +1 -1
- package/build/pricing-page/models/pricing-image-model.schema.d.ts +1 -1
- package/build/pricing-page/models/pricing-image-model.schema.js +1 -1
- package/build/pricing-page/models/pricing-models.schema.d.ts +6 -8
- package/build/pricing-page/models/pricing-models.schema.d.ts.map +1 -1
- package/build/pricing-page/models/pricing-models.schema.js +0 -1
- package/build/pricing-page/models/pricing-page.schema.d.ts +4 -5
- package/build/pricing-page/models/pricing-page.schema.d.ts.map +1 -1
- package/build/pricing-page/models/pricing-text-model.schema.d.ts +2 -2
- package/build/pricing-page/models/pricing-text-model.schema.js +2 -2
- package/build/pricing-page/models/pricing-video-model.schema.d.ts +1 -1
- package/build/pricing-page/models/pricing-video-model.schema.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/pricing-page/models/pricing-image-model.schema.ts +1 -1
- package/pricing-page/models/pricing-models.schema.ts +0 -1
- package/pricing-page/models/pricing-text-model.schema.ts +2 -2
- package/pricing-page/models/pricing-video-model.schema.ts +1 -1
|
@@ -6,24 +6,23 @@ export declare const GetPricingPageQueryResponse: import("zod").ZodObject<{
|
|
|
6
6
|
models: import("zod").ZodObject<{
|
|
7
7
|
text: import("zod").ZodObject<{
|
|
8
8
|
inputUnitChars: import("zod").ZodNumber;
|
|
9
|
-
outputUnitChars: import("zod").ZodNumber;
|
|
10
9
|
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
11
|
-
slug: import("zod").ZodString
|
|
10
|
+
slug: import("zod").ZodNullable<import("zod").ZodString>;
|
|
12
11
|
name: import("zod").ZodString;
|
|
13
12
|
context: import("zod").ZodNumber;
|
|
14
13
|
inputPrice: import("zod").ZodNumber;
|
|
15
|
-
|
|
14
|
+
totalPrice: import("zod").ZodNumber;
|
|
16
15
|
}, import("zod/v4/core").$strip>>;
|
|
17
16
|
}, import("zod/v4/core").$strip>;
|
|
18
17
|
image: import("zod").ZodArray<import("zod").ZodObject<{
|
|
19
|
-
slug: import("zod").ZodString
|
|
18
|
+
slug: import("zod").ZodNullable<import("zod").ZodString>;
|
|
20
19
|
name: import("zod").ZodString;
|
|
21
20
|
maxResolution: import("zod").ZodNullable<import("zod").ZodString>;
|
|
22
21
|
maxReferences: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
23
22
|
pricePerImage: import("zod").ZodNumber;
|
|
24
23
|
}, import("zod/v4/core").$strip>>;
|
|
25
24
|
video: import("zod").ZodArray<import("zod").ZodObject<{
|
|
26
|
-
slug: import("zod").ZodString
|
|
25
|
+
slug: import("zod").ZodNullable<import("zod").ZodString>;
|
|
27
26
|
name: import("zod").ZodString;
|
|
28
27
|
maxResolution: import("zod").ZodNullable<import("zod").ZodString>;
|
|
29
28
|
maxInputChars: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
@@ -78,24 +77,23 @@ export declare const GetPricingPageQuery: {
|
|
|
78
77
|
models: import("zod").ZodObject<{
|
|
79
78
|
text: import("zod").ZodObject<{
|
|
80
79
|
inputUnitChars: import("zod").ZodNumber;
|
|
81
|
-
outputUnitChars: import("zod").ZodNumber;
|
|
82
80
|
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
83
|
-
slug: import("zod").ZodString
|
|
81
|
+
slug: import("zod").ZodNullable<import("zod").ZodString>;
|
|
84
82
|
name: import("zod").ZodString;
|
|
85
83
|
context: import("zod").ZodNumber;
|
|
86
84
|
inputPrice: import("zod").ZodNumber;
|
|
87
|
-
|
|
85
|
+
totalPrice: import("zod").ZodNumber;
|
|
88
86
|
}, import("zod/v4/core").$strip>>;
|
|
89
87
|
}, import("zod/v4/core").$strip>;
|
|
90
88
|
image: import("zod").ZodArray<import("zod").ZodObject<{
|
|
91
|
-
slug: import("zod").ZodString
|
|
89
|
+
slug: import("zod").ZodNullable<import("zod").ZodString>;
|
|
92
90
|
name: import("zod").ZodString;
|
|
93
91
|
maxResolution: import("zod").ZodNullable<import("zod").ZodString>;
|
|
94
92
|
maxReferences: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
95
93
|
pricePerImage: import("zod").ZodNumber;
|
|
96
94
|
}, import("zod/v4/core").$strip>>;
|
|
97
95
|
video: import("zod").ZodArray<import("zod").ZodObject<{
|
|
98
|
-
slug: import("zod").ZodString
|
|
96
|
+
slug: import("zod").ZodNullable<import("zod").ZodString>;
|
|
99
97
|
name: import("zod").ZodString;
|
|
100
98
|
maxResolution: import("zod").ZodNullable<import("zod").ZodString>;
|
|
101
99
|
maxInputChars: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
@@ -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
|
|
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"}
|
|
@@ -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(),
|
|
@@ -1,36 +1,34 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const PricingTextModelsSchema: z.ZodObject<{
|
|
3
3
|
inputUnitChars: z.ZodNumber;
|
|
4
|
-
outputUnitChars: z.ZodNumber;
|
|
5
4
|
items: z.ZodArray<z.ZodObject<{
|
|
6
|
-
slug: z.ZodString
|
|
5
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
7
6
|
name: z.ZodString;
|
|
8
7
|
context: z.ZodNumber;
|
|
9
8
|
inputPrice: z.ZodNumber;
|
|
10
|
-
|
|
9
|
+
totalPrice: z.ZodNumber;
|
|
11
10
|
}, z.core.$strip>>;
|
|
12
11
|
}, z.core.$strip>;
|
|
13
12
|
export declare const PricingModelsSchema: z.ZodObject<{
|
|
14
13
|
text: z.ZodObject<{
|
|
15
14
|
inputUnitChars: z.ZodNumber;
|
|
16
|
-
outputUnitChars: z.ZodNumber;
|
|
17
15
|
items: z.ZodArray<z.ZodObject<{
|
|
18
|
-
slug: z.ZodString
|
|
16
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
19
17
|
name: z.ZodString;
|
|
20
18
|
context: z.ZodNumber;
|
|
21
19
|
inputPrice: z.ZodNumber;
|
|
22
|
-
|
|
20
|
+
totalPrice: z.ZodNumber;
|
|
23
21
|
}, z.core.$strip>>;
|
|
24
22
|
}, z.core.$strip>;
|
|
25
23
|
image: z.ZodArray<z.ZodObject<{
|
|
26
|
-
slug: z.ZodString
|
|
24
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
27
25
|
name: z.ZodString;
|
|
28
26
|
maxResolution: z.ZodNullable<z.ZodString>;
|
|
29
27
|
maxReferences: z.ZodNullable<z.ZodNumber>;
|
|
30
28
|
pricePerImage: z.ZodNumber;
|
|
31
29
|
}, z.core.$strip>>;
|
|
32
30
|
video: z.ZodArray<z.ZodObject<{
|
|
33
|
-
slug: z.ZodString
|
|
31
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
34
32
|
name: z.ZodString;
|
|
35
33
|
maxResolution: z.ZodNullable<z.ZodString>;
|
|
36
34
|
maxInputChars: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricing-models.schema.d.ts","sourceRoot":"","sources":["../../../pricing-page/models/pricing-models.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"pricing-models.schema.d.ts","sourceRoot":"","sources":["../../../pricing-page/models/pricing-models.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,uBAAuB;;;;;;;;;iBAGlC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAI9B,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAClF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -7,7 +7,6 @@ const pricing_text_model_schema_1 = require("./pricing-text-model.schema");
|
|
|
7
7
|
const pricing_video_model_schema_1 = require("./pricing-video-model.schema");
|
|
8
8
|
exports.PricingTextModelsSchema = zod_1.z.object({
|
|
9
9
|
inputUnitChars: zod_1.z.number().int().positive(),
|
|
10
|
-
outputUnitChars: zod_1.z.number().int().positive(),
|
|
11
10
|
items: zod_1.z.array(pricing_text_model_schema_1.PricingTextModelSchema),
|
|
12
11
|
});
|
|
13
12
|
exports.PricingModelsSchema = zod_1.z.object({
|
|
@@ -6,24 +6,23 @@ export declare const PricingPageSchema: z.ZodObject<{
|
|
|
6
6
|
models: z.ZodObject<{
|
|
7
7
|
text: z.ZodObject<{
|
|
8
8
|
inputUnitChars: z.ZodNumber;
|
|
9
|
-
outputUnitChars: z.ZodNumber;
|
|
10
9
|
items: z.ZodArray<z.ZodObject<{
|
|
11
|
-
slug: z.ZodString
|
|
10
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
12
11
|
name: z.ZodString;
|
|
13
12
|
context: z.ZodNumber;
|
|
14
13
|
inputPrice: z.ZodNumber;
|
|
15
|
-
|
|
14
|
+
totalPrice: z.ZodNumber;
|
|
16
15
|
}, z.core.$strip>>;
|
|
17
16
|
}, z.core.$strip>;
|
|
18
17
|
image: z.ZodArray<z.ZodObject<{
|
|
19
|
-
slug: z.ZodString
|
|
18
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
20
19
|
name: z.ZodString;
|
|
21
20
|
maxResolution: z.ZodNullable<z.ZodString>;
|
|
22
21
|
maxReferences: z.ZodNullable<z.ZodNumber>;
|
|
23
22
|
pricePerImage: z.ZodNumber;
|
|
24
23
|
}, z.core.$strip>>;
|
|
25
24
|
video: z.ZodArray<z.ZodObject<{
|
|
26
|
-
slug: z.ZodString
|
|
25
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
27
26
|
name: z.ZodString;
|
|
28
27
|
maxResolution: z.ZodNullable<z.ZodString>;
|
|
29
28
|
maxInputChars: z.ZodNullable<z.ZodNumber>;
|
|
@@ -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;AAOxB,eAAO,MAAM,iBAAiB
|
|
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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
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;
|
|
7
|
-
|
|
7
|
+
totalPrice: z.ZodNumber;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
export type PricingTextModelSchemaType = z.infer<typeof PricingTextModelSchema>;
|
|
10
10
|
//# sourceMappingURL=pricing-text-model.schema.d.ts.map
|
|
@@ -3,9 +3,9 @@ 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(),
|
|
10
|
-
|
|
10
|
+
totalPrice: zod_1.z.number().nonnegative(),
|
|
11
11
|
});
|
|
@@ -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(),
|