@purpleschool/multisite 0.0.2 → 0.0.3
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/api/controller/http/index.d.ts +1 -0
- package/build/api/controller/http/index.d.ts.map +1 -1
- package/build/api/controller/http/index.js +1 -0
- package/build/api/controller/http/marketplace-card.d.ts +15 -0
- package/build/api/controller/http/marketplace-card.d.ts.map +1 -0
- package/build/api/controller/http/marketplace-card.js +17 -0
- package/build/api/routes.d.ts +23 -0
- package/build/api/routes.d.ts.map +1 -1
- package/build/api/routes.js +23 -0
- package/build/commands/index.d.ts +1 -0
- package/build/commands/index.d.ts.map +1 -1
- package/build/commands/index.js +1 -0
- package/build/commands/marketplace-card/execute-marketplace-card.command.d.ts +155 -0
- package/build/commands/marketplace-card/execute-marketplace-card.command.d.ts.map +1 -0
- package/build/commands/marketplace-card/execute-marketplace-card.command.js +12 -0
- package/build/commands/marketplace-card/index.d.ts +7 -0
- package/build/commands/marketplace-card/index.d.ts.map +1 -0
- package/build/commands/marketplace-card/index.js +22 -0
- package/build/commands/marketplace-card/retry-marketplace-card-job.command.d.ts +163 -0
- package/build/commands/marketplace-card/retry-marketplace-card-job.command.d.ts.map +1 -0
- package/build/commands/marketplace-card/retry-marketplace-card-job.command.js +25 -0
- package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.d.ts +143 -0
- package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.d.ts.map +1 -0
- package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.js +19 -0
- package/build/commands/marketplace-card/soft-delete-marketplace-card-job-by-uuid.command.d.ts +20 -0
- package/build/commands/marketplace-card/soft-delete-marketplace-card-job-by-uuid.command.d.ts.map +1 -0
- package/build/commands/marketplace-card/soft-delete-marketplace-card-job-by-uuid.command.js +13 -0
- package/build/commands/marketplace-card/soft-delete-marketplace-card-jobs-by-criteria.command.d.ts +12 -0
- package/build/commands/marketplace-card/soft-delete-marketplace-card-jobs-by-criteria.command.d.ts.map +1 -0
- package/build/commands/marketplace-card/soft-delete-marketplace-card-jobs-by-criteria.command.js +10 -0
- package/build/commands/marketplace-card/update-marketplace-card-job-title.command.d.ts +139 -0
- package/build/commands/marketplace-card/update-marketplace-card-job-title.command.d.ts.map +1 -0
- package/build/commands/marketplace-card/update-marketplace-card-job-title.command.js +17 -0
- package/build/constants/errors/errors.d.ts +90 -0
- package/build/constants/errors/errors.d.ts.map +1 -1
- package/build/constants/errors/errors.js +91 -0
- package/build/constants/tools/enums/index.d.ts +1 -0
- package/build/constants/tools/enums/index.d.ts.map +1 -1
- package/build/constants/tools/enums/index.js +1 -0
- package/build/constants/tools/enums/marketplace-card-strategy.enum.d.ts +7 -0
- package/build/constants/tools/enums/marketplace-card-strategy.enum.d.ts.map +1 -0
- package/build/constants/tools/enums/marketplace-card-strategy.enum.js +10 -0
- package/build/constants/tools/enums/tool-type.enum.d.ts +2 -1
- package/build/constants/tools/enums/tool-type.enum.d.ts.map +1 -1
- package/build/constants/tools/enums/tool-type.enum.js +1 -0
- package/build/models/index.d.ts +1 -0
- package/build/models/index.d.ts.map +1 -1
- package/build/models/index.js +1 -0
- package/build/models/marketplace-card/index.d.ts +7 -0
- package/build/models/marketplace-card/index.d.ts.map +1 -0
- package/build/models/marketplace-card/index.js +22 -0
- package/build/models/marketplace-card/marketplace-card-config.schema.d.ts +203 -0
- package/build/models/marketplace-card/marketplace-card-config.schema.d.ts.map +1 -0
- package/build/models/marketplace-card/marketplace-card-config.schema.js +10 -0
- package/build/models/marketplace-card/marketplace-card-job-request-params.schema.d.ts +34 -0
- package/build/models/marketplace-card/marketplace-card-job-request-params.schema.d.ts.map +1 -0
- package/build/models/marketplace-card/marketplace-card-job-request-params.schema.js +15 -0
- package/build/models/marketplace-card/marketplace-card-job.schema.d.ts +74 -0
- package/build/models/marketplace-card/marketplace-card-job.schema.d.ts.map +1 -0
- package/build/models/marketplace-card/marketplace-card-job.schema.js +28 -0
- package/build/models/marketplace-card/marketplace-card-model-params.schema.d.ts +30 -0
- package/build/models/marketplace-card/marketplace-card-model-params.schema.d.ts.map +1 -0
- package/build/models/marketplace-card/marketplace-card-model-params.schema.js +11 -0
- package/build/models/marketplace-card/marketplace-card-model.schema.d.ts +123 -0
- package/build/models/marketplace-card/marketplace-card-model.schema.d.ts.map +1 -0
- package/build/models/marketplace-card/marketplace-card-model.schema.js +15 -0
- package/build/models/marketplace-card/marketplace-card-style-preset.schema.d.ts +19 -0
- package/build/models/marketplace-card/marketplace-card-style-preset.schema.d.ts.map +1 -0
- package/build/models/marketplace-card/marketplace-card-style-preset.schema.js +10 -0
- package/build/queries/index.d.ts +1 -0
- package/build/queries/index.d.ts.map +1 -1
- package/build/queries/index.js +1 -0
- package/build/queries/marketplace-card/find-marketplace-card-jobs.command.d.ts +160 -0
- package/build/queries/marketplace-card/find-marketplace-card-jobs.command.d.ts.map +1 -0
- package/build/queries/marketplace-card/find-marketplace-card-jobs.command.js +21 -0
- package/build/queries/marketplace-card/get-marketplace-card-config.command.d.ts +273 -0
- package/build/queries/marketplace-card/get-marketplace-card-config.command.d.ts.map +1 -0
- package/build/queries/marketplace-card/get-marketplace-card-config.command.js +11 -0
- package/build/queries/marketplace-card/get-marketplace-card-job.command.d.ts +131 -0
- package/build/queries/marketplace-card/get-marketplace-card-job.command.d.ts.map +1 -0
- package/build/queries/marketplace-card/get-marketplace-card-job.command.js +14 -0
- package/build/queries/marketplace-card/get-marketplace-card-price.command.d.ts +30 -0
- package/build/queries/marketplace-card/get-marketplace-card-price.command.d.ts.map +1 -0
- package/build/queries/marketplace-card/get-marketplace-card-price.command.js +15 -0
- package/build/queries/marketplace-card/index.d.ts +5 -0
- package/build/queries/marketplace-card/index.d.ts.map +1 -0
- package/build/queries/marketplace-card/index.js +20 -0
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ export * from './transaction';
|
|
|
8
8
|
export * from './health';
|
|
9
9
|
export * from './image-generation';
|
|
10
10
|
export * from './image-editor';
|
|
11
|
+
export * from './marketplace-card';
|
|
11
12
|
export * from './ai-proxy';
|
|
12
13
|
export * from './file';
|
|
13
14
|
export * from './unregistered-user';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC"}
|
|
@@ -24,6 +24,7 @@ __exportStar(require("./transaction"), exports);
|
|
|
24
24
|
__exportStar(require("./health"), exports);
|
|
25
25
|
__exportStar(require("./image-generation"), exports);
|
|
26
26
|
__exportStar(require("./image-editor"), exports);
|
|
27
|
+
__exportStar(require("./marketplace-card"), exports);
|
|
27
28
|
__exportStar(require("./ai-proxy"), exports);
|
|
28
29
|
__exportStar(require("./file"), exports);
|
|
29
30
|
__exportStar(require("./unregistered-user"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const MARKETPLACE_CARD_PRIVATE_CONTROLLER: "marketplace-card/private";
|
|
2
|
+
export declare const MARKETPLACE_CARD_PUBLIC_CONTROLLER: "marketplace-card/public";
|
|
3
|
+
export declare const MARKETPLACE_CARD_ROUTES: {
|
|
4
|
+
readonly CONFIG: "config";
|
|
5
|
+
readonly PRICE: "price";
|
|
6
|
+
readonly EXECUTE: "execute";
|
|
7
|
+
readonly GET_JOBS: "jobs";
|
|
8
|
+
readonly GET_JOB: (uuid: string) => string;
|
|
9
|
+
readonly UPDATE: (uuid: string) => string;
|
|
10
|
+
readonly SET_REACTION: (uuid: string) => string;
|
|
11
|
+
readonly DELETE: (uuid: string) => string;
|
|
12
|
+
readonly DELETE_ALL: "jobs";
|
|
13
|
+
readonly RETRY: (uuid: string) => string;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=marketplace-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketplace-card.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/marketplace-card.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mCAAmC,EAAG,0BAAmC,CAAC;AACvF,eAAO,MAAM,kCAAkC,EAAG,yBAAkC,CAAC;AAErF,eAAO,MAAM,uBAAuB;;;;;6BAKhB,MAAM;4BACP,MAAM;kCACA,MAAM;4BACZ,MAAM;;2BAEP,MAAM;CACd,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MARKETPLACE_CARD_ROUTES = exports.MARKETPLACE_CARD_PUBLIC_CONTROLLER = exports.MARKETPLACE_CARD_PRIVATE_CONTROLLER = void 0;
|
|
4
|
+
exports.MARKETPLACE_CARD_PRIVATE_CONTROLLER = 'marketplace-card/private';
|
|
5
|
+
exports.MARKETPLACE_CARD_PUBLIC_CONTROLLER = 'marketplace-card/public';
|
|
6
|
+
exports.MARKETPLACE_CARD_ROUTES = {
|
|
7
|
+
CONFIG: 'config',
|
|
8
|
+
PRICE: 'price',
|
|
9
|
+
EXECUTE: 'execute',
|
|
10
|
+
GET_JOBS: 'jobs',
|
|
11
|
+
GET_JOB: (uuid) => `jobs/${uuid}`,
|
|
12
|
+
UPDATE: (uuid) => `jobs/${uuid}`,
|
|
13
|
+
SET_REACTION: (uuid) => `jobs/${uuid}/reaction`,
|
|
14
|
+
DELETE: (uuid) => `jobs/${uuid}`,
|
|
15
|
+
DELETE_ALL: 'jobs',
|
|
16
|
+
RETRY: (uuid) => `jobs/${uuid}/retry`,
|
|
17
|
+
};
|
package/build/api/routes.d.ts
CHANGED
|
@@ -47,6 +47,29 @@ export declare const REST_API: {
|
|
|
47
47
|
readonly DELETE: (uuid: string) => string;
|
|
48
48
|
readonly DELETE_ALL: "/api/image-generation/private/jobs";
|
|
49
49
|
};
|
|
50
|
+
readonly MARKETPLACE_CARD_PUBLIC: {
|
|
51
|
+
readonly CONFIG: "/api/marketplace-card/public/config";
|
|
52
|
+
readonly EXECUTE: "/api/marketplace-card/public/execute";
|
|
53
|
+
readonly LIST_JOBS: "/api/marketplace-card/public/jobs";
|
|
54
|
+
readonly GET_JOB: (uuid: string) => string;
|
|
55
|
+
readonly RETRY: (uuid: string) => string;
|
|
56
|
+
readonly SET_REACTION: (uuid: string) => string;
|
|
57
|
+
readonly UPDATE: (uuid: string) => string;
|
|
58
|
+
readonly DELETE: (uuid: string) => string;
|
|
59
|
+
readonly DELETE_ALL: "/api/marketplace-card/public/jobs";
|
|
60
|
+
};
|
|
61
|
+
readonly MARKETPLACE_CARD_PRIVATE: {
|
|
62
|
+
readonly CONFIG: "/api/marketplace-card/private/config";
|
|
63
|
+
readonly PRICE: "/api/marketplace-card/private/price";
|
|
64
|
+
readonly EXECUTE: "/api/marketplace-card/private/execute";
|
|
65
|
+
readonly LIST_JOBS: "/api/marketplace-card/private/jobs";
|
|
66
|
+
readonly GET_JOB: (uuid: string) => string;
|
|
67
|
+
readonly RETRY: (uuid: string) => string;
|
|
68
|
+
readonly SET_REACTION: (uuid: string) => string;
|
|
69
|
+
readonly UPDATE: (uuid: string) => string;
|
|
70
|
+
readonly DELETE: (uuid: string) => string;
|
|
71
|
+
readonly DELETE_ALL: "/api/marketplace-card/private/jobs";
|
|
72
|
+
};
|
|
50
73
|
readonly AI_PROXY: {
|
|
51
74
|
readonly IMAGE_GENERATION_CALLBACK: "/api/ai-proxy/image-generation/callback";
|
|
52
75
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;6BAmBD,MAAM;;;;;;;6BAQN,MAAM;;;;;;kCAOD,MAAM;;;;;;;;;;iCAWP,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;;;;;;;;6BAUT,MAAM;;;;;6BAKN,MAAM;;;;;CAKhB,CAAC"}
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;6BAmBD,MAAM;;;;;;;6BAQN,MAAM;;;;;;kCAOD,MAAM;;;;;;;;;;iCAWP,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;;;;;;iCAQL,MAAM;+BAER,MAAM;sCAEC,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;;;;;;iCASL,MAAM;+BAER,MAAM;sCAEC,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;;;;;;;6BAUT,MAAM;;;;;6BAKN,MAAM;;;;;CAKhB,CAAC"}
|
package/build/api/routes.js
CHANGED
|
@@ -84,6 +84,29 @@ exports.REST_API = {
|
|
|
84
84
|
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.IMAGE_GENERATION_PRIVATE_CONTROLLER}/${CONTROLLERS.IMAGE_GENERATION_ROUTES.DELETE(uuid)}`,
|
|
85
85
|
DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.IMAGE_GENERATION_PRIVATE_CONTROLLER}/${CONTROLLERS.IMAGE_GENERATION_ROUTES.DELETE_ALL}`,
|
|
86
86
|
},
|
|
87
|
+
MARKETPLACE_CARD_PUBLIC: {
|
|
88
|
+
CONFIG: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.CONFIG}`,
|
|
89
|
+
EXECUTE: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.EXECUTE}`,
|
|
90
|
+
LIST_JOBS: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.GET_JOBS}`,
|
|
91
|
+
GET_JOB: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.GET_JOB(uuid)}`,
|
|
92
|
+
RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.RETRY(uuid)}`,
|
|
93
|
+
SET_REACTION: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.SET_REACTION(uuid)}`,
|
|
94
|
+
UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.UPDATE(uuid)}`,
|
|
95
|
+
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.DELETE(uuid)}`,
|
|
96
|
+
DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.DELETE_ALL}`,
|
|
97
|
+
},
|
|
98
|
+
MARKETPLACE_CARD_PRIVATE: {
|
|
99
|
+
CONFIG: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.CONFIG}`,
|
|
100
|
+
PRICE: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.PRICE}`,
|
|
101
|
+
EXECUTE: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.EXECUTE}`,
|
|
102
|
+
LIST_JOBS: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.GET_JOBS}`,
|
|
103
|
+
GET_JOB: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.GET_JOB(uuid)}`,
|
|
104
|
+
RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.RETRY(uuid)}`,
|
|
105
|
+
SET_REACTION: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.SET_REACTION(uuid)}`,
|
|
106
|
+
UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.UPDATE(uuid)}`,
|
|
107
|
+
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.DELETE(uuid)}`,
|
|
108
|
+
DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.DELETE_ALL}`,
|
|
109
|
+
},
|
|
87
110
|
AI_PROXY: {
|
|
88
111
|
IMAGE_GENERATION_CALLBACK: `${exports.ROOT}/${CONTROLLERS.AI_PROXY_CONTROLLER}/${CONTROLLERS.AI_PROXY_ROUTES.IMAGE_GENERATION_CALLBACK}`,
|
|
89
112
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC"}
|
package/build/commands/index.js
CHANGED
|
@@ -21,6 +21,7 @@ __exportStar(require("./payment"), exports);
|
|
|
21
21
|
__exportStar(require("./transaction"), exports);
|
|
22
22
|
__exportStar(require("./image-generation"), exports);
|
|
23
23
|
__exportStar(require("./image-editor"), exports);
|
|
24
|
+
__exportStar(require("./marketplace-card"), exports);
|
|
24
25
|
__exportStar(require("./file"), exports);
|
|
25
26
|
__exportStar(require("./unregistered-user"), exports);
|
|
26
27
|
__exportStar(require("./page"), exports);
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace ExecuteMarketplaceCardCommand {
|
|
3
|
+
const RequestSchema: z.ZodObject<{
|
|
4
|
+
title: z.ZodString;
|
|
5
|
+
subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
advantages: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
7
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
8
|
+
stylePresetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
isCustom: z.ZodBoolean;
|
|
10
|
+
customStylePrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
inputImages: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
12
|
+
backgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
title: string;
|
|
15
|
+
advantages: string[];
|
|
16
|
+
tags: string[];
|
|
17
|
+
isCustom: boolean;
|
|
18
|
+
inputImages: string[];
|
|
19
|
+
subtitle?: string | null | undefined;
|
|
20
|
+
stylePresetId?: string | null | undefined;
|
|
21
|
+
customStylePrompt?: string | null | undefined;
|
|
22
|
+
backgroundDescription?: string | null | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
title: string;
|
|
25
|
+
isCustom: boolean;
|
|
26
|
+
subtitle?: string | null | undefined;
|
|
27
|
+
advantages?: string[] | undefined;
|
|
28
|
+
tags?: string[] | undefined;
|
|
29
|
+
stylePresetId?: string | null | undefined;
|
|
30
|
+
customStylePrompt?: string | null | undefined;
|
|
31
|
+
inputImages?: string[] | undefined;
|
|
32
|
+
backgroundDescription?: string | null | undefined;
|
|
33
|
+
}>;
|
|
34
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
35
|
+
const ResponseSchema: z.ZodObject<{
|
|
36
|
+
data: z.ZodObject<{
|
|
37
|
+
uuid: z.ZodString;
|
|
38
|
+
status: z.ZodNativeEnum<typeof import("../..").JOB_STATUS>;
|
|
39
|
+
error: z.ZodNullable<z.ZodString>;
|
|
40
|
+
title: z.ZodString;
|
|
41
|
+
subtitle: z.ZodNullable<z.ZodString>;
|
|
42
|
+
reaction: z.ZodNullable<z.ZodNativeEnum<typeof import("../..").USER_REACTION>>;
|
|
43
|
+
advantages: z.ZodArray<z.ZodString, "many">;
|
|
44
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
45
|
+
stylePresetId: z.ZodNullable<z.ZodString>;
|
|
46
|
+
isCustom: z.ZodBoolean;
|
|
47
|
+
customStylePrompt: z.ZodNullable<z.ZodString>;
|
|
48
|
+
inputImages: z.ZodArray<z.ZodObject<{
|
|
49
|
+
uuid: z.ZodString;
|
|
50
|
+
url: z.ZodString;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
uuid: string;
|
|
53
|
+
url: string;
|
|
54
|
+
}, {
|
|
55
|
+
uuid: string;
|
|
56
|
+
url: string;
|
|
57
|
+
}>, "many">;
|
|
58
|
+
resultImages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
59
|
+
backgroundDescription: z.ZodNullable<z.ZodString>;
|
|
60
|
+
price: z.ZodNumber;
|
|
61
|
+
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
62
|
+
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
price: number;
|
|
65
|
+
uuid: string;
|
|
66
|
+
status: import("../..").JOB_STATUS;
|
|
67
|
+
title: string;
|
|
68
|
+
error: string | null;
|
|
69
|
+
reaction: import("../..").USER_REACTION | null;
|
|
70
|
+
subtitle: string | null;
|
|
71
|
+
advantages: string[];
|
|
72
|
+
tags: string[];
|
|
73
|
+
stylePresetId: string | null;
|
|
74
|
+
isCustom: boolean;
|
|
75
|
+
customStylePrompt: string | null;
|
|
76
|
+
inputImages: {
|
|
77
|
+
uuid: string;
|
|
78
|
+
url: string;
|
|
79
|
+
}[];
|
|
80
|
+
backgroundDescription: string | null;
|
|
81
|
+
resultImages: string[] | null;
|
|
82
|
+
createdAt?: string | Date | undefined;
|
|
83
|
+
updatedAt?: string | Date | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
price: number;
|
|
86
|
+
uuid: string;
|
|
87
|
+
status: import("../..").JOB_STATUS;
|
|
88
|
+
title: string;
|
|
89
|
+
error: string | null;
|
|
90
|
+
reaction: import("../..").USER_REACTION | null;
|
|
91
|
+
subtitle: string | null;
|
|
92
|
+
advantages: string[];
|
|
93
|
+
tags: string[];
|
|
94
|
+
stylePresetId: string | null;
|
|
95
|
+
isCustom: boolean;
|
|
96
|
+
customStylePrompt: string | null;
|
|
97
|
+
inputImages: {
|
|
98
|
+
uuid: string;
|
|
99
|
+
url: string;
|
|
100
|
+
}[];
|
|
101
|
+
backgroundDescription: string | null;
|
|
102
|
+
resultImages: string[] | null;
|
|
103
|
+
createdAt?: string | Date | undefined;
|
|
104
|
+
updatedAt?: string | Date | undefined;
|
|
105
|
+
}>;
|
|
106
|
+
}, "strip", z.ZodTypeAny, {
|
|
107
|
+
data: {
|
|
108
|
+
price: number;
|
|
109
|
+
uuid: string;
|
|
110
|
+
status: import("../..").JOB_STATUS;
|
|
111
|
+
title: string;
|
|
112
|
+
error: string | null;
|
|
113
|
+
reaction: import("../..").USER_REACTION | null;
|
|
114
|
+
subtitle: string | null;
|
|
115
|
+
advantages: string[];
|
|
116
|
+
tags: string[];
|
|
117
|
+
stylePresetId: string | null;
|
|
118
|
+
isCustom: boolean;
|
|
119
|
+
customStylePrompt: string | null;
|
|
120
|
+
inputImages: {
|
|
121
|
+
uuid: string;
|
|
122
|
+
url: string;
|
|
123
|
+
}[];
|
|
124
|
+
backgroundDescription: string | null;
|
|
125
|
+
resultImages: string[] | null;
|
|
126
|
+
createdAt?: string | Date | undefined;
|
|
127
|
+
updatedAt?: string | Date | undefined;
|
|
128
|
+
};
|
|
129
|
+
}, {
|
|
130
|
+
data: {
|
|
131
|
+
price: number;
|
|
132
|
+
uuid: string;
|
|
133
|
+
status: import("../..").JOB_STATUS;
|
|
134
|
+
title: string;
|
|
135
|
+
error: string | null;
|
|
136
|
+
reaction: import("../..").USER_REACTION | null;
|
|
137
|
+
subtitle: string | null;
|
|
138
|
+
advantages: string[];
|
|
139
|
+
tags: string[];
|
|
140
|
+
stylePresetId: string | null;
|
|
141
|
+
isCustom: boolean;
|
|
142
|
+
customStylePrompt: string | null;
|
|
143
|
+
inputImages: {
|
|
144
|
+
uuid: string;
|
|
145
|
+
url: string;
|
|
146
|
+
}[];
|
|
147
|
+
backgroundDescription: string | null;
|
|
148
|
+
resultImages: string[] | null;
|
|
149
|
+
createdAt?: string | Date | undefined;
|
|
150
|
+
updatedAt?: string | Date | undefined;
|
|
151
|
+
};
|
|
152
|
+
}>;
|
|
153
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
154
|
+
}
|
|
155
|
+
//# sourceMappingURL=execute-marketplace-card.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute-marketplace-card.command.d.ts","sourceRoot":"","sources":["../../../commands/marketplace-card/execute-marketplace-card.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAwC,CAAC;IACnE,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExecuteMarketplaceCardCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../models");
|
|
6
|
+
var ExecuteMarketplaceCardCommand;
|
|
7
|
+
(function (ExecuteMarketplaceCardCommand) {
|
|
8
|
+
ExecuteMarketplaceCardCommand.RequestSchema = models_1.MarketplaceCardJobRequestParamsSchema;
|
|
9
|
+
ExecuteMarketplaceCardCommand.ResponseSchema = zod_1.z.object({
|
|
10
|
+
data: models_1.MarketplaceCardJobSchema,
|
|
11
|
+
});
|
|
12
|
+
})(ExecuteMarketplaceCardCommand || (exports.ExecuteMarketplaceCardCommand = ExecuteMarketplaceCardCommand = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './execute-marketplace-card.command';
|
|
2
|
+
export * from './retry-marketplace-card-job.command';
|
|
3
|
+
export * from './set-reaction-to-marketplace-card-job.command';
|
|
4
|
+
export * from './update-marketplace-card-job-title.command';
|
|
5
|
+
export * from './soft-delete-marketplace-card-job-by-uuid.command';
|
|
6
|
+
export * from './soft-delete-marketplace-card-jobs-by-criteria.command';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/marketplace-card/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,oDAAoD,CAAC;AACnE,cAAc,yDAAyD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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("./execute-marketplace-card.command"), exports);
|
|
18
|
+
__exportStar(require("./retry-marketplace-card-job.command"), exports);
|
|
19
|
+
__exportStar(require("./set-reaction-to-marketplace-card-job.command"), exports);
|
|
20
|
+
__exportStar(require("./update-marketplace-card-job-title.command"), exports);
|
|
21
|
+
__exportStar(require("./soft-delete-marketplace-card-job-by-uuid.command"), exports);
|
|
22
|
+
__exportStar(require("./soft-delete-marketplace-card-jobs-by-criteria.command"), exports);
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace RetryMarketplaceCardJobCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
uuid: string;
|
|
7
|
+
}, {
|
|
8
|
+
uuid: string;
|
|
9
|
+
}>;
|
|
10
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
11
|
+
const RequestBodySchema: z.ZodObject<{
|
|
12
|
+
title: z.ZodOptional<z.ZodString>;
|
|
13
|
+
subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
advantages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16
|
+
stylePresetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
isCustom: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
customStylePrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
inputImages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20
|
+
backgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
title?: string | undefined;
|
|
23
|
+
subtitle?: string | null | undefined;
|
|
24
|
+
advantages?: string[] | undefined;
|
|
25
|
+
tags?: string[] | undefined;
|
|
26
|
+
stylePresetId?: string | null | undefined;
|
|
27
|
+
isCustom?: boolean | undefined;
|
|
28
|
+
customStylePrompt?: string | null | undefined;
|
|
29
|
+
inputImages?: string[] | undefined;
|
|
30
|
+
backgroundDescription?: string | null | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
subtitle?: string | null | undefined;
|
|
34
|
+
advantages?: string[] | undefined;
|
|
35
|
+
tags?: string[] | undefined;
|
|
36
|
+
stylePresetId?: string | null | undefined;
|
|
37
|
+
isCustom?: boolean | undefined;
|
|
38
|
+
customStylePrompt?: string | null | undefined;
|
|
39
|
+
inputImages?: string[] | undefined;
|
|
40
|
+
backgroundDescription?: string | null | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
type RequestBody = z.infer<typeof RequestBodySchema>;
|
|
43
|
+
const ResponseSchema: z.ZodObject<{
|
|
44
|
+
data: z.ZodObject<{
|
|
45
|
+
uuid: z.ZodString;
|
|
46
|
+
status: z.ZodNativeEnum<typeof import("../..").JOB_STATUS>;
|
|
47
|
+
error: z.ZodNullable<z.ZodString>;
|
|
48
|
+
title: z.ZodString;
|
|
49
|
+
subtitle: z.ZodNullable<z.ZodString>;
|
|
50
|
+
reaction: z.ZodNullable<z.ZodNativeEnum<typeof import("../..").USER_REACTION>>;
|
|
51
|
+
advantages: z.ZodArray<z.ZodString, "many">;
|
|
52
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
53
|
+
stylePresetId: z.ZodNullable<z.ZodString>;
|
|
54
|
+
isCustom: z.ZodBoolean;
|
|
55
|
+
customStylePrompt: z.ZodNullable<z.ZodString>;
|
|
56
|
+
inputImages: z.ZodArray<z.ZodObject<{
|
|
57
|
+
uuid: z.ZodString;
|
|
58
|
+
url: z.ZodString;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
uuid: string;
|
|
61
|
+
url: string;
|
|
62
|
+
}, {
|
|
63
|
+
uuid: string;
|
|
64
|
+
url: string;
|
|
65
|
+
}>, "many">;
|
|
66
|
+
resultImages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
67
|
+
backgroundDescription: z.ZodNullable<z.ZodString>;
|
|
68
|
+
price: z.ZodNumber;
|
|
69
|
+
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
70
|
+
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
price: number;
|
|
73
|
+
uuid: string;
|
|
74
|
+
status: import("../..").JOB_STATUS;
|
|
75
|
+
title: string;
|
|
76
|
+
error: string | null;
|
|
77
|
+
reaction: import("../..").USER_REACTION | null;
|
|
78
|
+
subtitle: string | null;
|
|
79
|
+
advantages: string[];
|
|
80
|
+
tags: string[];
|
|
81
|
+
stylePresetId: string | null;
|
|
82
|
+
isCustom: boolean;
|
|
83
|
+
customStylePrompt: string | null;
|
|
84
|
+
inputImages: {
|
|
85
|
+
uuid: string;
|
|
86
|
+
url: string;
|
|
87
|
+
}[];
|
|
88
|
+
backgroundDescription: string | null;
|
|
89
|
+
resultImages: string[] | null;
|
|
90
|
+
createdAt?: string | Date | undefined;
|
|
91
|
+
updatedAt?: string | Date | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
price: number;
|
|
94
|
+
uuid: string;
|
|
95
|
+
status: import("../..").JOB_STATUS;
|
|
96
|
+
title: string;
|
|
97
|
+
error: string | null;
|
|
98
|
+
reaction: import("../..").USER_REACTION | null;
|
|
99
|
+
subtitle: string | null;
|
|
100
|
+
advantages: string[];
|
|
101
|
+
tags: string[];
|
|
102
|
+
stylePresetId: string | null;
|
|
103
|
+
isCustom: boolean;
|
|
104
|
+
customStylePrompt: string | null;
|
|
105
|
+
inputImages: {
|
|
106
|
+
uuid: string;
|
|
107
|
+
url: string;
|
|
108
|
+
}[];
|
|
109
|
+
backgroundDescription: string | null;
|
|
110
|
+
resultImages: string[] | null;
|
|
111
|
+
createdAt?: string | Date | undefined;
|
|
112
|
+
updatedAt?: string | Date | undefined;
|
|
113
|
+
}>;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
data: {
|
|
116
|
+
price: number;
|
|
117
|
+
uuid: string;
|
|
118
|
+
status: import("../..").JOB_STATUS;
|
|
119
|
+
title: string;
|
|
120
|
+
error: string | null;
|
|
121
|
+
reaction: import("../..").USER_REACTION | null;
|
|
122
|
+
subtitle: string | null;
|
|
123
|
+
advantages: string[];
|
|
124
|
+
tags: string[];
|
|
125
|
+
stylePresetId: string | null;
|
|
126
|
+
isCustom: boolean;
|
|
127
|
+
customStylePrompt: string | null;
|
|
128
|
+
inputImages: {
|
|
129
|
+
uuid: string;
|
|
130
|
+
url: string;
|
|
131
|
+
}[];
|
|
132
|
+
backgroundDescription: string | null;
|
|
133
|
+
resultImages: string[] | null;
|
|
134
|
+
createdAt?: string | Date | undefined;
|
|
135
|
+
updatedAt?: string | Date | undefined;
|
|
136
|
+
};
|
|
137
|
+
}, {
|
|
138
|
+
data: {
|
|
139
|
+
price: number;
|
|
140
|
+
uuid: string;
|
|
141
|
+
status: import("../..").JOB_STATUS;
|
|
142
|
+
title: string;
|
|
143
|
+
error: string | null;
|
|
144
|
+
reaction: import("../..").USER_REACTION | null;
|
|
145
|
+
subtitle: string | null;
|
|
146
|
+
advantages: string[];
|
|
147
|
+
tags: string[];
|
|
148
|
+
stylePresetId: string | null;
|
|
149
|
+
isCustom: boolean;
|
|
150
|
+
customStylePrompt: string | null;
|
|
151
|
+
inputImages: {
|
|
152
|
+
uuid: string;
|
|
153
|
+
url: string;
|
|
154
|
+
}[];
|
|
155
|
+
backgroundDescription: string | null;
|
|
156
|
+
resultImages: string[] | null;
|
|
157
|
+
createdAt?: string | Date | undefined;
|
|
158
|
+
updatedAt?: string | Date | undefined;
|
|
159
|
+
};
|
|
160
|
+
}>;
|
|
161
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
162
|
+
}
|
|
163
|
+
//# sourceMappingURL=retry-marketplace-card-job.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retry-marketplace-card-job.command.d.ts","sourceRoot":"","sources":["../../../commands/marketplace-card/retry-marketplace-card-job.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,mBAAmB;;;;;;MAE9B,CAAC;IACH,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAEzD,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAU5B,CAAC;IACH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAErD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RetryMarketplaceCardJobCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../models");
|
|
6
|
+
var RetryMarketplaceCardJobCommand;
|
|
7
|
+
(function (RetryMarketplaceCardJobCommand) {
|
|
8
|
+
RetryMarketplaceCardJobCommand.RequestParamsSchema = zod_1.z.object({
|
|
9
|
+
uuid: zod_1.z.string().uuid(),
|
|
10
|
+
});
|
|
11
|
+
RetryMarketplaceCardJobCommand.RequestBodySchema = zod_1.z.object({
|
|
12
|
+
title: zod_1.z.string().min(1).optional(),
|
|
13
|
+
subtitle: zod_1.z.string().nullable().optional(),
|
|
14
|
+
advantages: zod_1.z.array(zod_1.z.string()).optional(),
|
|
15
|
+
tags: zod_1.z.array(zod_1.z.string()).optional(),
|
|
16
|
+
stylePresetId: zod_1.z.string().uuid().nullable().optional(),
|
|
17
|
+
isCustom: zod_1.z.boolean().optional(),
|
|
18
|
+
customStylePrompt: zod_1.z.string().nullable().optional(),
|
|
19
|
+
inputImages: zod_1.z.array(zod_1.z.string().uuid()).optional(),
|
|
20
|
+
backgroundDescription: zod_1.z.string().nullable().optional(),
|
|
21
|
+
});
|
|
22
|
+
RetryMarketplaceCardJobCommand.ResponseSchema = zod_1.z.object({
|
|
23
|
+
data: models_1.MarketplaceCardJobSchema,
|
|
24
|
+
});
|
|
25
|
+
})(RetryMarketplaceCardJobCommand || (exports.RetryMarketplaceCardJobCommand = RetryMarketplaceCardJobCommand = {}));
|