@ai-grator/api 0.1.39 → 0.1.40
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/errors/errors.d.ts +7 -0
- package/build/errors/errors.d.ts.map +1 -1
- package/build/errors/errors.js +7 -0
- package/build/generation-job/endpoints/commands/create-generation-job.command.d.ts +2 -2
- package/build/generation-job/endpoints/commands/update-generation-job.command.d.ts +2 -2
- package/build/generation-job/endpoints/queries/get-generation-job-by-uuid.query.d.ts +2 -2
- package/build/generation-job/endpoints/queries/get-generation-job-history.query.d.ts +3 -3
- package/build/generation-job/endpoints/queries/get-generation-jobs.query.d.ts +2 -2
- package/build/generation-job/models/generation-job-attachment-file.schema.d.ts +2 -2
- package/build/generation-job/models/generation-job-response.schema.d.ts +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -0
- package/build/pricing-page/endpoints/index.d.ts +3 -0
- package/build/pricing-page/endpoints/index.d.ts.map +1 -0
- package/build/pricing-page/endpoints/index.js +18 -0
- package/build/pricing-page/endpoints/pricing-page.d.ts +5 -0
- package/build/pricing-page/endpoints/pricing-page.d.ts.map +1 -0
- package/build/pricing-page/endpoints/pricing-page.js +7 -0
- package/build/pricing-page/endpoints/queries/get-pricing-page.query.d.ts +132 -0
- package/build/pricing-page/endpoints/queries/get-pricing-page.query.d.ts.map +1 -0
- package/build/pricing-page/endpoints/queries/get-pricing-page.query.js +16 -0
- package/build/pricing-page/endpoints/queries/index.d.ts +2 -0
- package/build/pricing-page/endpoints/queries/index.d.ts.map +1 -0
- package/build/pricing-page/endpoints/queries/index.js +17 -0
- package/build/pricing-page/index.d.ts +3 -0
- package/build/pricing-page/index.d.ts.map +1 -0
- package/build/pricing-page/index.js +18 -0
- package/build/pricing-page/models/index.d.ts +9 -0
- package/build/pricing-page/models/index.d.ts.map +1 -0
- package/build/pricing-page/models/index.js +24 -0
- package/build/pricing-page/models/pricing-breadcrumb-item.schema.d.ts +7 -0
- package/build/pricing-page/models/pricing-breadcrumb-item.schema.d.ts.map +1 -0
- package/build/pricing-page/models/pricing-breadcrumb-item.schema.js +8 -0
- package/build/pricing-page/models/pricing-calculator-task.schema.d.ts +48 -0
- package/build/pricing-page/models/pricing-calculator-task.schema.d.ts.map +1 -0
- package/build/pricing-page/models/pricing-calculator-task.schema.js +27 -0
- package/build/pricing-page/models/pricing-faq-item.schema.d.ts +7 -0
- package/build/pricing-page/models/pricing-faq-item.schema.d.ts.map +1 -0
- package/build/pricing-page/models/pricing-faq-item.schema.js +8 -0
- package/build/pricing-page/models/pricing-image-model.schema.d.ts +10 -0
- package/build/pricing-page/models/pricing-image-model.schema.d.ts.map +1 -0
- package/build/pricing-page/models/pricing-image-model.schema.js +11 -0
- package/build/pricing-page/models/pricing-models.schema.d.ts +45 -0
- package/build/pricing-page/models/pricing-models.schema.d.ts.map +1 -0
- package/build/pricing-page/models/pricing-models.schema.js +17 -0
- package/build/pricing-page/models/pricing-page.schema.d.ts +64 -0
- package/build/pricing-page/models/pricing-page.schema.d.ts.map +1 -0
- package/build/pricing-page/models/pricing-page.schema.js +15 -0
- package/build/pricing-page/models/pricing-text-model.schema.d.ts +10 -0
- package/build/pricing-page/models/pricing-text-model.schema.d.ts.map +1 -0
- package/build/pricing-page/models/pricing-text-model.schema.js +11 -0
- package/build/pricing-page/models/pricing-video-model.schema.d.ts +13 -0
- package/build/pricing-page/models/pricing-video-model.schema.d.ts.map +1 -0
- package/build/pricing-page/models/pricing-video-model.schema.js +14 -0
- package/build/scripts/generate-openapi.js +5 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/errors/errors.ts +7 -0
- package/index.ts +1 -0
- package/package.json +1 -1
- package/pricing-page/endpoints/index.ts +2 -0
- package/pricing-page/endpoints/pricing-page.ts +5 -0
- package/pricing-page/endpoints/queries/get-pricing-page.query.ts +15 -0
- package/pricing-page/endpoints/queries/index.ts +1 -0
- package/pricing-page/index.ts +2 -0
- package/pricing-page/models/index.ts +8 -0
- package/pricing-page/models/pricing-breadcrumb-item.schema.ts +8 -0
- package/pricing-page/models/pricing-calculator-task.schema.ts +34 -0
- package/pricing-page/models/pricing-faq-item.schema.ts +8 -0
- package/pricing-page/models/pricing-image-model.schema.ts +11 -0
- package/pricing-page/models/pricing-models.schema.ts +19 -0
- package/pricing-page/models/pricing-page.schema.ts +15 -0
- package/pricing-page/models/pricing-text-model.schema.ts +11 -0
- package/pricing-page/models/pricing-video-model.schema.ts +14 -0
- package/scripts/generate-openapi.ts +8 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const PricingImageModelSchema: z.ZodObject<{
|
|
3
|
+
slug: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
maxResolution: z.ZodNullable<z.ZodString>;
|
|
6
|
+
maxReferences: z.ZodNullable<z.ZodNumber>;
|
|
7
|
+
pricePerImage: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
export type PricingImageModelSchemaType = z.infer<typeof PricingImageModelSchema>;
|
|
10
|
+
//# sourceMappingURL=pricing-image-model.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pricing-image-model.schema.d.ts","sourceRoot":"","sources":["../../../pricing-page/models/pricing-image-model.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;;;iBAMlC,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PricingImageModelSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.PricingImageModelSchema = zod_1.z.object({
|
|
6
|
+
slug: zod_1.z.string().min(1),
|
|
7
|
+
name: zod_1.z.string().min(1),
|
|
8
|
+
maxResolution: zod_1.z.string().min(1).nullable(),
|
|
9
|
+
maxReferences: zod_1.z.number().int().nonnegative().nullable(),
|
|
10
|
+
pricePerImage: zod_1.z.number().nonnegative(),
|
|
11
|
+
});
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const PricingTextModelsSchema: z.ZodObject<{
|
|
3
|
+
inputUnitChars: z.ZodNumber;
|
|
4
|
+
outputUnitChars: z.ZodNumber;
|
|
5
|
+
items: z.ZodArray<z.ZodObject<{
|
|
6
|
+
slug: z.ZodString;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
context: z.ZodNumber;
|
|
9
|
+
inputPrice: z.ZodNumber;
|
|
10
|
+
outputPrice: z.ZodNumber;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export declare const PricingModelsSchema: z.ZodObject<{
|
|
14
|
+
text: z.ZodObject<{
|
|
15
|
+
inputUnitChars: z.ZodNumber;
|
|
16
|
+
outputUnitChars: z.ZodNumber;
|
|
17
|
+
items: z.ZodArray<z.ZodObject<{
|
|
18
|
+
slug: z.ZodString;
|
|
19
|
+
name: z.ZodString;
|
|
20
|
+
context: z.ZodNumber;
|
|
21
|
+
inputPrice: z.ZodNumber;
|
|
22
|
+
outputPrice: z.ZodNumber;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
image: z.ZodArray<z.ZodObject<{
|
|
26
|
+
slug: z.ZodString;
|
|
27
|
+
name: z.ZodString;
|
|
28
|
+
maxResolution: z.ZodNullable<z.ZodString>;
|
|
29
|
+
maxReferences: z.ZodNullable<z.ZodNumber>;
|
|
30
|
+
pricePerImage: z.ZodNumber;
|
|
31
|
+
}, z.core.$strip>>;
|
|
32
|
+
video: z.ZodArray<z.ZodObject<{
|
|
33
|
+
slug: z.ZodString;
|
|
34
|
+
name: z.ZodString;
|
|
35
|
+
maxResolution: z.ZodNullable<z.ZodString>;
|
|
36
|
+
maxInputChars: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
maxDurationSec: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
maxReferences: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
audio: z.ZodNullable<z.ZodBoolean>;
|
|
40
|
+
pricePerSecond: z.ZodNumber;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
export type PricingTextModelsSchemaType = z.infer<typeof PricingTextModelsSchema>;
|
|
44
|
+
export type PricingModelsSchemaType = z.infer<typeof PricingModelsSchema>;
|
|
45
|
+
//# sourceMappingURL=pricing-models.schema.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;iBAIlC,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"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PricingModelsSchema = exports.PricingTextModelsSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const pricing_image_model_schema_1 = require("./pricing-image-model.schema");
|
|
6
|
+
const pricing_text_model_schema_1 = require("./pricing-text-model.schema");
|
|
7
|
+
const pricing_video_model_schema_1 = require("./pricing-video-model.schema");
|
|
8
|
+
exports.PricingTextModelsSchema = zod_1.z.object({
|
|
9
|
+
inputUnitChars: zod_1.z.number().int().positive(),
|
|
10
|
+
outputUnitChars: zod_1.z.number().int().positive(),
|
|
11
|
+
items: zod_1.z.array(pricing_text_model_schema_1.PricingTextModelSchema),
|
|
12
|
+
});
|
|
13
|
+
exports.PricingModelsSchema = zod_1.z.object({
|
|
14
|
+
text: exports.PricingTextModelsSchema,
|
|
15
|
+
image: zod_1.z.array(pricing_image_model_schema_1.PricingImageModelSchema),
|
|
16
|
+
video: zod_1.z.array(pricing_video_model_schema_1.PricingVideoModelSchema),
|
|
17
|
+
});
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const PricingPageSchema: z.ZodObject<{
|
|
3
|
+
updatedAt: z.ZodISODateTime;
|
|
4
|
+
models: z.ZodObject<{
|
|
5
|
+
text: z.ZodObject<{
|
|
6
|
+
inputUnitChars: z.ZodNumber;
|
|
7
|
+
outputUnitChars: z.ZodNumber;
|
|
8
|
+
items: z.ZodArray<z.ZodObject<{
|
|
9
|
+
slug: z.ZodString;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
context: z.ZodNumber;
|
|
12
|
+
inputPrice: z.ZodNumber;
|
|
13
|
+
outputPrice: z.ZodNumber;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
image: z.ZodArray<z.ZodObject<{
|
|
17
|
+
slug: z.ZodString;
|
|
18
|
+
name: z.ZodString;
|
|
19
|
+
maxResolution: z.ZodNullable<z.ZodString>;
|
|
20
|
+
maxReferences: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
pricePerImage: z.ZodNumber;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
video: z.ZodArray<z.ZodObject<{
|
|
24
|
+
slug: z.ZodString;
|
|
25
|
+
name: z.ZodString;
|
|
26
|
+
maxResolution: z.ZodNullable<z.ZodString>;
|
|
27
|
+
maxInputChars: z.ZodNullable<z.ZodNumber>;
|
|
28
|
+
maxDurationSec: z.ZodNullable<z.ZodNumber>;
|
|
29
|
+
maxReferences: z.ZodNullable<z.ZodNumber>;
|
|
30
|
+
audio: z.ZodNullable<z.ZodBoolean>;
|
|
31
|
+
pricePerSecond: z.ZodNumber;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
calculatorTasks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
35
|
+
key: z.ZodString;
|
|
36
|
+
label: z.ZodString;
|
|
37
|
+
price: z.ZodNumber;
|
|
38
|
+
type: z.ZodLiteral<"text">;
|
|
39
|
+
inputChars: z.ZodNumber;
|
|
40
|
+
outputChars: z.ZodNumber;
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
+
key: z.ZodString;
|
|
43
|
+
label: z.ZodString;
|
|
44
|
+
price: z.ZodNumber;
|
|
45
|
+
type: z.ZodLiteral<"image">;
|
|
46
|
+
units: z.ZodNumber;
|
|
47
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
+
key: z.ZodString;
|
|
49
|
+
label: z.ZodString;
|
|
50
|
+
price: z.ZodNumber;
|
|
51
|
+
type: z.ZodLiteral<"video">;
|
|
52
|
+
units: z.ZodNumber;
|
|
53
|
+
}, z.core.$strip>], "type">>;
|
|
54
|
+
faq: z.ZodArray<z.ZodObject<{
|
|
55
|
+
question: z.ZodString;
|
|
56
|
+
answer: z.ZodString;
|
|
57
|
+
}, z.core.$strip>>;
|
|
58
|
+
breadcrumb: z.ZodArray<z.ZodObject<{
|
|
59
|
+
label: z.ZodString;
|
|
60
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
61
|
+
}, z.core.$strip>>;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
export type PricingPageSchemaType = z.infer<typeof PricingPageSchema>;
|
|
64
|
+
//# sourceMappingURL=pricing-page.schema.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PricingPageSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const pricing_breadcrumb_item_schema_1 = require("./pricing-breadcrumb-item.schema");
|
|
6
|
+
const pricing_calculator_task_schema_1 = require("./pricing-calculator-task.schema");
|
|
7
|
+
const pricing_faq_item_schema_1 = require("./pricing-faq-item.schema");
|
|
8
|
+
const pricing_models_schema_1 = require("./pricing-models.schema");
|
|
9
|
+
exports.PricingPageSchema = zod_1.z.object({
|
|
10
|
+
updatedAt: zod_1.z.iso.datetime(),
|
|
11
|
+
models: pricing_models_schema_1.PricingModelsSchema,
|
|
12
|
+
calculatorTasks: zod_1.z.array(pricing_calculator_task_schema_1.PricingCalculatorTaskSchema),
|
|
13
|
+
faq: zod_1.z.array(pricing_faq_item_schema_1.PricingFaqItemSchema),
|
|
14
|
+
breadcrumb: zod_1.z.array(pricing_breadcrumb_item_schema_1.PricingBreadcrumbItemSchema),
|
|
15
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const PricingTextModelSchema: z.ZodObject<{
|
|
3
|
+
slug: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
context: z.ZodNumber;
|
|
6
|
+
inputPrice: z.ZodNumber;
|
|
7
|
+
outputPrice: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
export type PricingTextModelSchemaType = z.infer<typeof PricingTextModelSchema>;
|
|
10
|
+
//# sourceMappingURL=pricing-text-model.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pricing-text-model.schema.d.ts","sourceRoot":"","sources":["../../../pricing-page/models/pricing-text-model.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;iBAMjC,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PricingTextModelSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.PricingTextModelSchema = zod_1.z.object({
|
|
6
|
+
slug: zod_1.z.string().min(1),
|
|
7
|
+
name: zod_1.z.string().min(1),
|
|
8
|
+
context: zod_1.z.number().int().positive(),
|
|
9
|
+
inputPrice: zod_1.z.number().nonnegative(),
|
|
10
|
+
outputPrice: zod_1.z.number().nonnegative(),
|
|
11
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const PricingVideoModelSchema: z.ZodObject<{
|
|
3
|
+
slug: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
maxResolution: z.ZodNullable<z.ZodString>;
|
|
6
|
+
maxInputChars: z.ZodNullable<z.ZodNumber>;
|
|
7
|
+
maxDurationSec: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
maxReferences: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
audio: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
+
pricePerSecond: z.ZodNumber;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export type PricingVideoModelSchemaType = z.infer<typeof PricingVideoModelSchema>;
|
|
13
|
+
//# sourceMappingURL=pricing-video-model.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pricing-video-model.schema.d.ts","sourceRoot":"","sources":["../../../pricing-page/models/pricing-video-model.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;;;;;;iBASlC,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PricingVideoModelSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.PricingVideoModelSchema = zod_1.z.object({
|
|
6
|
+
slug: zod_1.z.string().min(1),
|
|
7
|
+
name: zod_1.z.string().min(1),
|
|
8
|
+
maxResolution: zod_1.z.string().min(1).nullable(),
|
|
9
|
+
maxInputChars: zod_1.z.number().int().nonnegative().nullable(),
|
|
10
|
+
maxDurationSec: zod_1.z.number().int().positive().nullable(),
|
|
11
|
+
maxReferences: zod_1.z.number().int().nonnegative().nullable(),
|
|
12
|
+
audio: zod_1.z.boolean().nullable(),
|
|
13
|
+
pricePerSecond: zod_1.z.number().nonnegative(),
|
|
14
|
+
});
|
|
@@ -82,6 +82,8 @@ const get_public_model_by_slug_query_1 = require("../model-page/endpoints/querie
|
|
|
82
82
|
const list_public_models_query_1 = require("../model-page/endpoints/queries/list-public-models.query");
|
|
83
83
|
const model_catalog_1 = require("../model-catalog/endpoints/model-catalog");
|
|
84
84
|
const get_model_catalog_query_1 = require("../model-catalog/endpoints/queries/get-model-catalog.query");
|
|
85
|
+
const pricing_page_1 = require("../pricing-page/endpoints/pricing-page");
|
|
86
|
+
const get_pricing_page_query_1 = require("../pricing-page/endpoints/queries/get-pricing-page.query");
|
|
85
87
|
const generation_model_1 = require("../generation-model/endpoints/generation-model");
|
|
86
88
|
const get_generation_models_query_1 = require("../generation-model/endpoints/queries/get-generation-models.query");
|
|
87
89
|
const get_generation_models_by_type_query_1 = require("../generation-model/endpoints/queries/get-generation-models-by-type.query");
|
|
@@ -212,6 +214,7 @@ async function main() {
|
|
|
212
214
|
registerSchema('PublicModelsGetBySlugParams', get_public_model_by_slug_query_1.GetPublicModelBySlugQueryParams);
|
|
213
215
|
registerSchema('PublicModelsGetBySlugResponse', get_public_model_by_slug_query_1.GetPublicModelBySlugQueryResponse);
|
|
214
216
|
registerSchema('ModelCatalogGetAllResponse', get_model_catalog_query_1.GetModelCatalogQueryResponse);
|
|
217
|
+
registerSchema('PricingPageGetResponse', get_pricing_page_query_1.GetPricingPageQueryResponse);
|
|
215
218
|
registerSchema('GenerationModelGetAllResponse', get_generation_models_query_1.GetGenerationModelsQueryResponse);
|
|
216
219
|
registerSchema('GenerationModelGetByTypeParams', get_generation_models_by_type_query_1.GetGenerationModelsByTypeQueryParams);
|
|
217
220
|
registerSchema('GenerationModelGetByTypeResponse', get_generation_models_by_type_query_1.GetGenerationModelsByTypeQueryResponse);
|
|
@@ -387,6 +390,7 @@ async function main() {
|
|
|
387
390
|
const publicModelContracts = [list_public_models_query_1.ListPublicModelsQuery, get_public_model_by_slug_query_1.GetPublicModelBySlugQuery];
|
|
388
391
|
const publicPageContracts = [get_public_page_by_slug_query_1.GetPublicPageBySlugQuery];
|
|
389
392
|
const modelCatalogContracts = [get_model_catalog_query_1.GetModelCatalogQuery];
|
|
393
|
+
const pricingPageContracts = [get_pricing_page_query_1.GetPricingPageQuery];
|
|
390
394
|
const generationModelContracts = [
|
|
391
395
|
get_generation_models_query_1.GetGenerationModelsQuery,
|
|
392
396
|
get_generation_models_by_type_query_1.GetGenerationModelsByTypeQuery,
|
|
@@ -490,6 +494,7 @@ async function main() {
|
|
|
490
494
|
{ controller: model_page_1.PUBLIC_MODEL_CONTROLLER, tag: 'Models (public)', contracts: publicModelContracts },
|
|
491
495
|
{ controller: model_page_1.PUBLIC_PAGE_CONTROLLER, tag: 'Pages (public)', contracts: publicPageContracts },
|
|
492
496
|
{ controller: model_catalog_1.MODEL_CATALOG_CONTROLLER, tag: 'Model Catalog', contracts: modelCatalogContracts },
|
|
497
|
+
{ controller: pricing_page_1.PRICING_PAGE_CONTROLLER, tag: 'Pricing Page (public)', contracts: pricingPageContracts },
|
|
493
498
|
{ controller: generation_model_1.GENERATION_MODEL_CONTROLLER, tag: 'Generation Models', contracts: generationModelContracts },
|
|
494
499
|
{ controller: generation_job_1.GENERATION_JOB_CONTROLLER, tag: 'Generation Jobs', contracts: generationJobContracts },
|
|
495
500
|
{
|