@purpleschool/multisite 0.0.20 → 0.0.22
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/api/controller/http/index.ts +2 -0
- package/api/controller/http/payment.ts +1 -0
- package/api/controller/http/product.ts +2 -0
- package/api/controller/http/subscription.ts +0 -1
- package/api/controller/http/user-to-product.ts +7 -0
- package/api/controller/http/user-to-subscription.ts +8 -0
- package/api/routes.ts +23 -2
- package/build/api/controller/http/index.d.ts +2 -0
- package/build/api/controller/http/index.d.ts.map +1 -1
- package/build/api/controller/http/index.js +2 -0
- package/build/api/controller/http/payment.d.ts +1 -0
- package/build/api/controller/http/payment.d.ts.map +1 -1
- package/build/api/controller/http/payment.js +1 -0
- package/build/api/controller/http/product.d.ts +2 -0
- package/build/api/controller/http/product.d.ts.map +1 -1
- package/build/api/controller/http/product.js +2 -0
- package/build/api/controller/http/subscription.d.ts +0 -1
- package/build/api/controller/http/subscription.d.ts.map +1 -1
- package/build/api/controller/http/subscription.js +0 -1
- package/build/api/controller/http/user-to-product.d.ts +7 -0
- package/build/api/controller/http/user-to-product.d.ts.map +1 -0
- package/build/api/controller/http/user-to-product.js +9 -0
- package/build/api/controller/http/user-to-subscription.d.ts +8 -0
- package/build/api/controller/http/user-to-subscription.d.ts.map +1 -0
- package/build/api/controller/http/user-to-subscription.js +10 -0
- package/build/api/routes.d.ts +14 -1
- package/build/api/routes.d.ts.map +1 -1
- package/build/api/routes.js +14 -1
- package/build/commands/image-editor/execute-image-editor.command.d.ts +4 -4
- package/build/commands/image-editor/retry-image-editor-job.command.d.ts +4 -4
- package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +4 -4
- package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +4 -4
- package/build/commands/image-generation/execute-image-generation.command.d.ts +4 -4
- package/build/commands/image-generation/retry-image-generation-job.command.d.ts +4 -4
- package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +4 -4
- package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +4 -4
- package/build/commands/index.d.ts +2 -0
- package/build/commands/index.d.ts.map +1 -1
- package/build/commands/index.js +2 -0
- package/build/commands/page/create-page.command.d.ts +4 -4
- package/build/commands/page/find-page-by-alias.command.d.ts +12 -12
- package/build/commands/page/find-page-by-criteria.command.d.ts +4 -4
- package/build/commands/page/find-page.command.d.ts +8 -8
- package/build/commands/page/update-page.command.d.ts +4 -4
- package/build/commands/payment/cloud-payments.command.d.ts +2 -2
- package/build/commands/payment/index.d.ts +1 -0
- package/build/commands/payment/index.d.ts.map +1 -1
- package/build/commands/payment/index.js +1 -0
- package/build/commands/payment/refund-payment.command.d.ts +20 -0
- package/build/commands/payment/refund-payment.command.d.ts.map +1 -0
- package/build/commands/payment/refund-payment.command.js +13 -0
- package/build/commands/{subscription/refund-subscription.command.d.ts → product/delete-product.command.d.ts} +2 -2
- package/build/commands/product/delete-product.command.d.ts.map +1 -0
- package/build/commands/product/delete-product.command.js +13 -0
- package/build/commands/product/index.d.ts +2 -0
- package/build/commands/product/index.d.ts.map +1 -1
- package/build/commands/product/index.js +2 -0
- package/build/commands/product/update-product.command.d.ts +116 -0
- package/build/commands/product/update-product.command.d.ts.map +1 -0
- package/build/commands/product/update-product.command.js +26 -0
- package/build/commands/stt/execute-stt.command.d.ts +12 -12
- package/build/commands/stt/retry-stt-job.command.d.ts +12 -12
- package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +12 -12
- package/build/commands/stt/update-stt-job-title.command.d.ts +12 -12
- package/build/commands/subscription/index.d.ts +0 -1
- package/build/commands/subscription/index.d.ts.map +1 -1
- package/build/commands/subscription/index.js +0 -1
- package/build/commands/tts/execute-tts.command.d.ts +12 -12
- package/build/commands/tts/retry-tts-job.command.d.ts +12 -12
- package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +12 -12
- package/build/commands/tts/update-tts-job-title.command.d.ts +12 -12
- package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +4 -4
- package/build/commands/user-to-product/delete-user-to-product.command.d.ts +20 -0
- package/build/commands/user-to-product/delete-user-to-product.command.d.ts.map +1 -0
- package/build/commands/user-to-product/delete-user-to-product.command.js +13 -0
- package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts +75 -0
- package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts.map +1 -0
- package/build/commands/user-to-product/get-user-to-product-by-uuid.command.js +14 -0
- package/build/commands/user-to-product/index.d.ts +4 -0
- package/build/commands/user-to-product/index.d.ts.map +1 -0
- package/build/commands/user-to-product/index.js +19 -0
- package/build/commands/user-to-product/update-user-to-product.command.d.ts +93 -0
- package/build/commands/user-to-product/update-user-to-product.command.d.ts.map +1 -0
- package/build/commands/user-to-product/update-user-to-product.command.js +21 -0
- package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts +14 -0
- package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts.map +1 -0
- package/build/commands/user-to-subscription/admin-cancel-subscription.command.js +11 -0
- package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts +20 -0
- package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts.map +1 -0
- package/build/commands/user-to-subscription/delete-user-to-subscription.command.js +13 -0
- package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +115 -0
- package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts.map +1 -0
- package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.js +14 -0
- package/build/commands/user-to-subscription/index.d.ts +5 -0
- package/build/commands/user-to-subscription/index.d.ts.map +1 -0
- package/build/commands/user-to-subscription/index.js +20 -0
- package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +157 -0
- package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts.map +1 -0
- package/build/commands/user-to-subscription/update-user-to-subscription.command.js +29 -0
- package/build/constants/errors/errors.d.ts +65 -0
- package/build/constants/errors/errors.d.ts.map +1 -1
- package/build/constants/errors/errors.js +67 -0
- package/build/constants/payment/enums/payment-status.enum.d.ts +2 -1
- package/build/constants/payment/enums/payment-status.enum.d.ts.map +1 -1
- package/build/constants/payment/enums/payment-status.enum.js +1 -0
- package/build/models/image-editor/image-editor-config.schema.d.ts +10 -10
- package/build/models/image-editor/image-editor-job.schema.d.ts +2 -2
- package/build/models/image-editor/image-editor-model.schema.d.ts +2 -2
- package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +4 -4
- package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-config.schema.d.ts +6 -6
- package/build/models/image-generation/image-generation-job.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-model.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-vendor.schema.d.ts +4 -4
- package/build/models/index.d.ts +2 -0
- package/build/models/index.d.ts.map +1 -1
- package/build/models/index.js +2 -0
- package/build/models/page.schema.d.ts +4 -4
- package/build/models/stt/stt-config.schema.d.ts +8 -8
- package/build/models/stt/stt-job.schema.d.ts +6 -6
- package/build/models/stt/stt-model.schema.d.ts +4 -4
- package/build/models/tts/tts-config.schema.d.ts +8 -8
- package/build/models/tts/tts-job.schema.d.ts +6 -6
- package/build/models/tts/tts-model.schema.d.ts +4 -4
- package/build/models/user-to-product.schema.d.ts +37 -0
- package/build/models/user-to-product.schema.d.ts.map +1 -0
- package/build/models/user-to-product.schema.js +17 -0
- package/build/models/user-to-subscription.schema.d.ts +61 -0
- package/build/models/user-to-subscription.schema.d.ts.map +1 -0
- package/build/models/user-to-subscription.schema.js +25 -0
- package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +4 -4
- package/build/queries/image-editor/get-image-editor-config.command.d.ts +14 -14
- package/build/queries/image-editor/get-image-editor-job.command.d.ts +4 -4
- package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +4 -4
- package/build/queries/image-generation/get-image-generation-config.command.d.ts +8 -8
- package/build/queries/image-generation/get-image-generation-job.command.d.ts +4 -4
- package/build/queries/payment/get-payment-history.command.d.ts +6 -6
- package/build/queries/stt/find-stt-jobs.command.d.ts +12 -12
- package/build/queries/stt/get-stt-config.command.d.ts +12 -12
- package/build/queries/stt/get-stt-job.command.d.ts +12 -12
- package/build/queries/subscription/get-subscriptions-summary.command.d.ts +16 -16
- package/build/queries/tts/find-tts-jobs.command.d.ts +12 -12
- package/build/queries/tts/get-tts-config.command.d.ts +12 -12
- package/build/queries/tts/get-tts-job.command.d.ts +12 -12
- package/build/queries/user/get-my-products.command.d.ts +8 -8
- package/build/queries/user/get-my-subscriptions.command.d.ts +12 -12
- package/build/queries/user/get-user-payments.command.d.ts +18 -18
- package/commands/index.ts +2 -0
- package/commands/payment/index.ts +1 -0
- package/commands/payment/refund-payment.command.ts +13 -0
- package/commands/{subscription/refund-subscription.command.ts → product/delete-product.command.ts} +1 -1
- package/commands/product/index.ts +2 -0
- package/commands/product/update-product.command.ts +30 -0
- package/commands/subscription/index.ts +0 -1
- package/commands/user-to-product/delete-user-to-product.command.ts +13 -0
- package/commands/user-to-product/get-user-to-product-by-uuid.command.ts +14 -0
- package/commands/user-to-product/index.ts +3 -0
- package/commands/user-to-product/update-user-to-product.command.ts +23 -0
- package/commands/user-to-subscription/admin-cancel-subscription.command.ts +11 -0
- package/commands/user-to-subscription/delete-user-to-subscription.command.ts +13 -0
- package/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.ts +14 -0
- package/commands/user-to-subscription/index.ts +4 -0
- package/commands/user-to-subscription/update-user-to-subscription.command.ts +31 -0
- package/constants/errors/errors.ts +69 -0
- package/constants/payment/enums/payment-status.enum.ts +1 -0
- package/models/index.ts +2 -0
- package/models/user-to-product.schema.ts +15 -0
- package/models/user-to-subscription.schema.ts +23 -0
- package/package.json +1 -1
- package/build/commands/subscription/refund-subscription.command.d.ts.map +0 -1
- package/build/commands/subscription/refund-subscription.command.js +0 -13
|
@@ -2,6 +2,8 @@ export * from './auth';
|
|
|
2
2
|
export * from './user';
|
|
3
3
|
export * from './product';
|
|
4
4
|
export * from './subscription';
|
|
5
|
+
export * from './user-to-product';
|
|
6
|
+
export * from './user-to-subscription';
|
|
5
7
|
export * from './payment';
|
|
6
8
|
export * from './cloud-payments';
|
|
7
9
|
export * from './transaction';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export const USER_TO_SUBSCRIPTION_CONTROLLER = 'user-to-subscription' as const;
|
|
2
|
+
|
|
3
|
+
export const USER_TO_SUBSCRIPTION_ROUTES = {
|
|
4
|
+
FIND_BY_UUID: (uuid: string) => `${uuid}`,
|
|
5
|
+
UPDATE: (uuid: string) => `${uuid}`,
|
|
6
|
+
DELETE: (uuid: string) => `${uuid}`,
|
|
7
|
+
CANCEL: (uuid: string) => `${uuid}/cancel`,
|
|
8
|
+
} as const;
|
package/api/routes.ts
CHANGED
|
@@ -49,6 +49,10 @@ export const REST_API = {
|
|
|
49
49
|
BUY: (uuid: string) =>
|
|
50
50
|
`${ROOT}/${CONTROLLERS.PRODUCT_PRIVATE_CONTROLLER}/${uuid}/${CONTROLLERS.PRODUCT_ROUTES.BUY}`,
|
|
51
51
|
MY: `${ROOT}/${CONTROLLERS.PRODUCT_PRIVATE_CONTROLLER}/${CONTROLLERS.PRODUCT_ROUTES.MY}`,
|
|
52
|
+
UPDATE: (uuid: string) =>
|
|
53
|
+
`${ROOT}/${CONTROLLERS.PRODUCT_PRIVATE_CONTROLLER}/${CONTROLLERS.PRODUCT_ROUTES.UPDATE(uuid)}`,
|
|
54
|
+
DELETE: (uuid: string) =>
|
|
55
|
+
`${ROOT}/${CONTROLLERS.PRODUCT_PRIVATE_CONTROLLER}/${CONTROLLERS.PRODUCT_ROUTES.DELETE(uuid)}`,
|
|
52
56
|
},
|
|
53
57
|
SUBSCRIPTION_PUBLIC: {
|
|
54
58
|
GET: `${ROOT}/${CONTROLLERS.SUBSCRIPTION_PUBLIC_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.GET_ALL}`,
|
|
@@ -69,11 +73,28 @@ export const REST_API = {
|
|
|
69
73
|
`${ROOT}/${CONTROLLERS.SUBSCRIPTION_PRIVATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.UPDATE(uuid)}`,
|
|
70
74
|
DELETE: (uuid: string) =>
|
|
71
75
|
`${ROOT}/${CONTROLLERS.SUBSCRIPTION_PRIVATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.DELETE(uuid)}`,
|
|
72
|
-
REFUND: (uuid: string) =>
|
|
73
|
-
`${ROOT}/${CONTROLLERS.SUBSCRIPTION_PRIVATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.REFUND(uuid)}`,
|
|
74
76
|
},
|
|
75
77
|
PAYMENT: {
|
|
76
78
|
HISTORY: `${ROOT}/${CONTROLLERS.PAYMENT_CONTROLLER}/${CONTROLLERS.PAYMENT_ROUTES.HISTORY}`,
|
|
79
|
+
REFUND: `${ROOT}/${CONTROLLERS.PAYMENT_CONTROLLER}/${CONTROLLERS.PAYMENT_ROUTES.REFUND}`,
|
|
80
|
+
},
|
|
81
|
+
USER_TO_PRODUCT: {
|
|
82
|
+
FIND_BY_UUID: (uuid: string) =>
|
|
83
|
+
`${ROOT}/${CONTROLLERS.USER_TO_PRODUCT_CONTROLLER}/${CONTROLLERS.USER_TO_PRODUCT_ROUTES.FIND_BY_UUID(uuid)}`,
|
|
84
|
+
UPDATE: (uuid: string) =>
|
|
85
|
+
`${ROOT}/${CONTROLLERS.USER_TO_PRODUCT_CONTROLLER}/${CONTROLLERS.USER_TO_PRODUCT_ROUTES.UPDATE(uuid)}`,
|
|
86
|
+
DELETE: (uuid: string) =>
|
|
87
|
+
`${ROOT}/${CONTROLLERS.USER_TO_PRODUCT_CONTROLLER}/${CONTROLLERS.USER_TO_PRODUCT_ROUTES.DELETE(uuid)}`,
|
|
88
|
+
},
|
|
89
|
+
USER_TO_SUBSCRIPTION: {
|
|
90
|
+
FIND_BY_UUID: (uuid: string) =>
|
|
91
|
+
`${ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.FIND_BY_UUID(uuid)}`,
|
|
92
|
+
UPDATE: (uuid: string) =>
|
|
93
|
+
`${ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.UPDATE(uuid)}`,
|
|
94
|
+
DELETE: (uuid: string) =>
|
|
95
|
+
`${ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.DELETE(uuid)}`,
|
|
96
|
+
CANCEL: (uuid: string) =>
|
|
97
|
+
`${ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.CANCEL(uuid)}`,
|
|
77
98
|
},
|
|
78
99
|
CLOUD_PAYMENTS: {
|
|
79
100
|
CALLBACK: (type: string) =>
|
|
@@ -2,6 +2,8 @@ export * from './auth';
|
|
|
2
2
|
export * from './user';
|
|
3
3
|
export * from './product';
|
|
4
4
|
export * from './subscription';
|
|
5
|
+
export * from './user-to-product';
|
|
6
|
+
export * from './user-to-subscription';
|
|
5
7
|
export * from './payment';
|
|
6
8
|
export * from './cloud-payments';
|
|
7
9
|
export * from './transaction';
|
|
@@ -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,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,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,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,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;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC"}
|
|
@@ -18,6 +18,8 @@ __exportStar(require("./auth"), exports);
|
|
|
18
18
|
__exportStar(require("./user"), exports);
|
|
19
19
|
__exportStar(require("./product"), exports);
|
|
20
20
|
__exportStar(require("./subscription"), exports);
|
|
21
|
+
__exportStar(require("./user-to-product"), exports);
|
|
22
|
+
__exportStar(require("./user-to-subscription"), exports);
|
|
21
23
|
__exportStar(require("./payment"), exports);
|
|
22
24
|
__exportStar(require("./cloud-payments"), exports);
|
|
23
25
|
__exportStar(require("./transaction"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/payment.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAG,UAAmB,CAAC;AAEtD,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"payment.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/payment.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAG,UAAmB,CAAC;AAEtD,eAAO,MAAM,cAAc;;;CAGjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/product.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;AACrE,eAAO,MAAM,yBAAyB,EAAG,gBAAyB,CAAC;AAEnE,eAAO,MAAM,cAAc;;;;;
|
|
1
|
+
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/product.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;AACrE,eAAO,MAAM,yBAAyB,EAAG,gBAAyB,CAAC;AAEnE,eAAO,MAAM,cAAc;;;;;4BAKR,MAAM;4BACN,MAAM;CACf,CAAC"}
|
|
@@ -10,6 +10,5 @@ export declare const SUBSCRIPTION_ROUTES: {
|
|
|
10
10
|
readonly RECOVER: (uuid: string) => string;
|
|
11
11
|
readonly UPDATE: (uuid: string) => string;
|
|
12
12
|
readonly DELETE: (uuid: string) => string;
|
|
13
|
-
readonly REFUND: (uuid: string) => string;
|
|
14
13
|
};
|
|
15
14
|
//# sourceMappingURL=subscription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/subscription.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B,EAAG,sBAA+B,CAAC;AAC/E,eAAO,MAAM,8BAA8B,EAAG,qBAA8B,CAAC;AAE7E,eAAO,MAAM,mBAAmB;;;;;;4BAMb,MAAM;6BACL,MAAM;4BACP,MAAM;4BACN,MAAM;
|
|
1
|
+
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/subscription.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B,EAAG,sBAA+B,CAAC;AAC/E,eAAO,MAAM,8BAA8B,EAAG,qBAA8B,CAAC;AAE7E,eAAO,MAAM,mBAAmB;;;;;;4BAMb,MAAM;6BACL,MAAM;4BACP,MAAM;4BACN,MAAM;CACf,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const USER_TO_PRODUCT_CONTROLLER: "user-to-product";
|
|
2
|
+
export declare const USER_TO_PRODUCT_ROUTES: {
|
|
3
|
+
readonly FIND_BY_UUID: (uuid: string) => string;
|
|
4
|
+
readonly UPDATE: (uuid: string) => string;
|
|
5
|
+
readonly DELETE: (uuid: string) => string;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=user-to-product.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-to-product.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/user-to-product.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;AAErE,eAAO,MAAM,sBAAsB;kCACV,MAAM;4BACZ,MAAM;4BACN,MAAM;CACf,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.USER_TO_PRODUCT_ROUTES = exports.USER_TO_PRODUCT_CONTROLLER = void 0;
|
|
4
|
+
exports.USER_TO_PRODUCT_CONTROLLER = 'user-to-product';
|
|
5
|
+
exports.USER_TO_PRODUCT_ROUTES = {
|
|
6
|
+
FIND_BY_UUID: (uuid) => `${uuid}`,
|
|
7
|
+
UPDATE: (uuid) => `${uuid}`,
|
|
8
|
+
DELETE: (uuid) => `${uuid}`,
|
|
9
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const USER_TO_SUBSCRIPTION_CONTROLLER: "user-to-subscription";
|
|
2
|
+
export declare const USER_TO_SUBSCRIPTION_ROUTES: {
|
|
3
|
+
readonly FIND_BY_UUID: (uuid: string) => string;
|
|
4
|
+
readonly UPDATE: (uuid: string) => string;
|
|
5
|
+
readonly DELETE: (uuid: string) => string;
|
|
6
|
+
readonly CANCEL: (uuid: string) => string;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=user-to-subscription.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-to-subscription.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/user-to-subscription.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B,EAAG,sBAA+B,CAAC;AAE/E,eAAO,MAAM,2BAA2B;kCACf,MAAM;4BACZ,MAAM;4BACN,MAAM;4BACN,MAAM;CACf,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.USER_TO_SUBSCRIPTION_ROUTES = exports.USER_TO_SUBSCRIPTION_CONTROLLER = void 0;
|
|
4
|
+
exports.USER_TO_SUBSCRIPTION_CONTROLLER = 'user-to-subscription';
|
|
5
|
+
exports.USER_TO_SUBSCRIPTION_ROUTES = {
|
|
6
|
+
FIND_BY_UUID: (uuid) => `${uuid}`,
|
|
7
|
+
UPDATE: (uuid) => `${uuid}`,
|
|
8
|
+
DELETE: (uuid) => `${uuid}`,
|
|
9
|
+
CANCEL: (uuid) => `${uuid}/cancel`,
|
|
10
|
+
};
|
package/build/api/routes.d.ts
CHANGED
|
@@ -39,6 +39,8 @@ export declare const REST_API: {
|
|
|
39
39
|
readonly GET: "/api/product/private/all";
|
|
40
40
|
readonly BUY: (uuid: string) => string;
|
|
41
41
|
readonly MY: "/api/product/private/my";
|
|
42
|
+
readonly UPDATE: (uuid: string) => string;
|
|
43
|
+
readonly DELETE: (uuid: string) => string;
|
|
42
44
|
};
|
|
43
45
|
readonly SUBSCRIPTION_PUBLIC: {
|
|
44
46
|
readonly GET: "/api/subscription/public/all";
|
|
@@ -53,10 +55,21 @@ export declare const REST_API: {
|
|
|
53
55
|
readonly RECOVER: (uuid: string) => string;
|
|
54
56
|
readonly UPDATE: (uuid: string) => string;
|
|
55
57
|
readonly DELETE: (uuid: string) => string;
|
|
56
|
-
readonly REFUND: (uuid: string) => string;
|
|
57
58
|
};
|
|
58
59
|
readonly PAYMENT: {
|
|
59
60
|
readonly HISTORY: "/api/payments/history";
|
|
61
|
+
readonly REFUND: "/api/payments/refund";
|
|
62
|
+
};
|
|
63
|
+
readonly USER_TO_PRODUCT: {
|
|
64
|
+
readonly FIND_BY_UUID: (uuid: string) => string;
|
|
65
|
+
readonly UPDATE: (uuid: string) => string;
|
|
66
|
+
readonly DELETE: (uuid: string) => string;
|
|
67
|
+
};
|
|
68
|
+
readonly USER_TO_SUBSCRIPTION: {
|
|
69
|
+
readonly FIND_BY_UUID: (uuid: string) => string;
|
|
70
|
+
readonly UPDATE: (uuid: string) => string;
|
|
71
|
+
readonly DELETE: (uuid: string) => string;
|
|
72
|
+
readonly CANCEL: (uuid: string) => string;
|
|
60
73
|
};
|
|
61
74
|
readonly CLOUD_PAYMENTS: {
|
|
62
75
|
readonly CALLBACK: (type: string) => string;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;sCA0BQ,MAAM;qCAEP,MAAM;2CAEA,MAAM;sCAEX,MAAM;sCAEN,MAAM;;;;kCAKV,MAAM;;;;6BAKX,MAAM
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;sCA0BQ,MAAM;qCAEP,MAAM;2CAEA,MAAM;sCAEX,MAAM;sCAEN,MAAM;;;;kCAKV,MAAM;;;;6BAKX,MAAM;;gCAGH,MAAM;gCAEN,MAAM;;;;kCAKJ,MAAM;;;;6BAKX,MAAM;;;gCAIH,MAAM;iCAEL,MAAM;gCAEP,MAAM;gCAEN,MAAM;;;;;;;sCAQA,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;sCAIA,MAAM;gCAEZ,MAAM;gCAEN,MAAM;gCAEN,MAAM;;;kCAIJ,MAAM;;;;;;iCAOP,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;;iCAQJ,MAAM;+BAER,MAAM;sCAEC,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;;;;;;iCASL,MAAM;+BAER,MAAM;sCAEC,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;;;;;;;;;iCAYL,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;;6BAQR,MAAM;;;;;6BAKN,MAAM;;;;;;;;sCAQG,MAAM;wCAEJ,MAAM;;gCAGd,MAAM;gCAEN,MAAM;iDAEW,MAAM;;;;sCAKjB,MAAM;;gCAGZ,MAAM;gCAEN,MAAM;;CAGnB,CAAC"}
|
package/build/api/routes.js
CHANGED
|
@@ -76,6 +76,8 @@ exports.REST_API = {
|
|
|
76
76
|
GET: `${exports.ROOT}/${CONTROLLERS.PRODUCT_PRIVATE_CONTROLLER}/${CONTROLLERS.PRODUCT_ROUTES.GET_ALL}`,
|
|
77
77
|
BUY: (uuid) => `${exports.ROOT}/${CONTROLLERS.PRODUCT_PRIVATE_CONTROLLER}/${uuid}/${CONTROLLERS.PRODUCT_ROUTES.BUY}`,
|
|
78
78
|
MY: `${exports.ROOT}/${CONTROLLERS.PRODUCT_PRIVATE_CONTROLLER}/${CONTROLLERS.PRODUCT_ROUTES.MY}`,
|
|
79
|
+
UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.PRODUCT_PRIVATE_CONTROLLER}/${CONTROLLERS.PRODUCT_ROUTES.UPDATE(uuid)}`,
|
|
80
|
+
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.PRODUCT_PRIVATE_CONTROLLER}/${CONTROLLERS.PRODUCT_ROUTES.DELETE(uuid)}`,
|
|
79
81
|
},
|
|
80
82
|
SUBSCRIPTION_PUBLIC: {
|
|
81
83
|
GET: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_PUBLIC_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.GET_ALL}`,
|
|
@@ -90,10 +92,21 @@ exports.REST_API = {
|
|
|
90
92
|
RECOVER: (uuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_PRIVATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.RECOVER(uuid)}`,
|
|
91
93
|
UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_PRIVATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.UPDATE(uuid)}`,
|
|
92
94
|
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_PRIVATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.DELETE(uuid)}`,
|
|
93
|
-
REFUND: (uuid) => `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTION_PRIVATE_CONTROLLER}/${CONTROLLERS.SUBSCRIPTION_ROUTES.REFUND(uuid)}`,
|
|
94
95
|
},
|
|
95
96
|
PAYMENT: {
|
|
96
97
|
HISTORY: `${exports.ROOT}/${CONTROLLERS.PAYMENT_CONTROLLER}/${CONTROLLERS.PAYMENT_ROUTES.HISTORY}`,
|
|
98
|
+
REFUND: `${exports.ROOT}/${CONTROLLERS.PAYMENT_CONTROLLER}/${CONTROLLERS.PAYMENT_ROUTES.REFUND}`,
|
|
99
|
+
},
|
|
100
|
+
USER_TO_PRODUCT: {
|
|
101
|
+
FIND_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_PRODUCT_CONTROLLER}/${CONTROLLERS.USER_TO_PRODUCT_ROUTES.FIND_BY_UUID(uuid)}`,
|
|
102
|
+
UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_PRODUCT_CONTROLLER}/${CONTROLLERS.USER_TO_PRODUCT_ROUTES.UPDATE(uuid)}`,
|
|
103
|
+
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_PRODUCT_CONTROLLER}/${CONTROLLERS.USER_TO_PRODUCT_ROUTES.DELETE(uuid)}`,
|
|
104
|
+
},
|
|
105
|
+
USER_TO_SUBSCRIPTION: {
|
|
106
|
+
FIND_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.FIND_BY_UUID(uuid)}`,
|
|
107
|
+
UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.UPDATE(uuid)}`,
|
|
108
|
+
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.DELETE(uuid)}`,
|
|
109
|
+
CANCEL: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.CANCEL(uuid)}`,
|
|
97
110
|
},
|
|
98
111
|
CLOUD_PAYMENTS: {
|
|
99
112
|
CALLBACK: (type) => `${exports.ROOT}/${CONTROLLERS.CLOUD_PAYMENTS_CONTROLLER}/${CONTROLLERS.CLOUD_PAYMENTS_ROUTES.CALLBACK}/${type}`,
|
|
@@ -135,9 +135,9 @@ export declare namespace ExecuteImageEditorCommand {
|
|
|
135
135
|
systemPromptId?: string | undefined;
|
|
136
136
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
137
137
|
};
|
|
138
|
-
title: string;
|
|
139
138
|
createdAt: string | Date;
|
|
140
139
|
updatedAt: string | Date;
|
|
140
|
+
title: string;
|
|
141
141
|
error: string | null;
|
|
142
142
|
modelId: string;
|
|
143
143
|
prompt: string;
|
|
@@ -172,9 +172,9 @@ export declare namespace ExecuteImageEditorCommand {
|
|
|
172
172
|
systemPromptId?: string | undefined;
|
|
173
173
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
174
174
|
};
|
|
175
|
-
title: string;
|
|
176
175
|
createdAt: string | Date;
|
|
177
176
|
updatedAt: string | Date;
|
|
177
|
+
title: string;
|
|
178
178
|
error: string | null;
|
|
179
179
|
modelId: string;
|
|
180
180
|
prompt: string;
|
|
@@ -211,9 +211,9 @@ export declare namespace ExecuteImageEditorCommand {
|
|
|
211
211
|
systemPromptId?: string | undefined;
|
|
212
212
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
213
213
|
};
|
|
214
|
-
title: string;
|
|
215
214
|
createdAt: string | Date;
|
|
216
215
|
updatedAt: string | Date;
|
|
216
|
+
title: string;
|
|
217
217
|
error: string | null;
|
|
218
218
|
modelId: string;
|
|
219
219
|
prompt: string;
|
|
@@ -250,9 +250,9 @@ export declare namespace ExecuteImageEditorCommand {
|
|
|
250
250
|
systemPromptId?: string | undefined;
|
|
251
251
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
252
252
|
};
|
|
253
|
-
title: string;
|
|
254
253
|
createdAt: string | Date;
|
|
255
254
|
updatedAt: string | Date;
|
|
255
|
+
title: string;
|
|
256
256
|
error: string | null;
|
|
257
257
|
modelId: string;
|
|
258
258
|
prompt: string;
|
|
@@ -135,9 +135,9 @@ export declare namespace RetryImageEditorJobCommand {
|
|
|
135
135
|
systemPromptId?: string | undefined;
|
|
136
136
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
137
137
|
};
|
|
138
|
-
title: string;
|
|
139
138
|
createdAt: string | Date;
|
|
140
139
|
updatedAt: string | Date;
|
|
140
|
+
title: string;
|
|
141
141
|
error: string | null;
|
|
142
142
|
modelId: string;
|
|
143
143
|
prompt: string;
|
|
@@ -172,9 +172,9 @@ export declare namespace RetryImageEditorJobCommand {
|
|
|
172
172
|
systemPromptId?: string | undefined;
|
|
173
173
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
174
174
|
};
|
|
175
|
-
title: string;
|
|
176
175
|
createdAt: string | Date;
|
|
177
176
|
updatedAt: string | Date;
|
|
177
|
+
title: string;
|
|
178
178
|
error: string | null;
|
|
179
179
|
modelId: string;
|
|
180
180
|
prompt: string;
|
|
@@ -211,9 +211,9 @@ export declare namespace RetryImageEditorJobCommand {
|
|
|
211
211
|
systemPromptId?: string | undefined;
|
|
212
212
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
213
213
|
};
|
|
214
|
-
title: string;
|
|
215
214
|
createdAt: string | Date;
|
|
216
215
|
updatedAt: string | Date;
|
|
216
|
+
title: string;
|
|
217
217
|
error: string | null;
|
|
218
218
|
modelId: string;
|
|
219
219
|
prompt: string;
|
|
@@ -250,9 +250,9 @@ export declare namespace RetryImageEditorJobCommand {
|
|
|
250
250
|
systemPromptId?: string | undefined;
|
|
251
251
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
252
252
|
};
|
|
253
|
-
title: string;
|
|
254
253
|
createdAt: string | Date;
|
|
255
254
|
updatedAt: string | Date;
|
|
255
|
+
title: string;
|
|
256
256
|
error: string | null;
|
|
257
257
|
modelId: string;
|
|
258
258
|
prompt: string;
|
|
@@ -113,9 +113,9 @@ export declare namespace SetReactionToImageEditorJobCommand {
|
|
|
113
113
|
systemPromptId?: string | undefined;
|
|
114
114
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
115
115
|
};
|
|
116
|
-
title: string;
|
|
117
116
|
createdAt: string | Date;
|
|
118
117
|
updatedAt: string | Date;
|
|
118
|
+
title: string;
|
|
119
119
|
error: string | null;
|
|
120
120
|
modelId: string;
|
|
121
121
|
prompt: string;
|
|
@@ -150,9 +150,9 @@ export declare namespace SetReactionToImageEditorJobCommand {
|
|
|
150
150
|
systemPromptId?: string | undefined;
|
|
151
151
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
152
152
|
};
|
|
153
|
-
title: string;
|
|
154
153
|
createdAt: string | Date;
|
|
155
154
|
updatedAt: string | Date;
|
|
155
|
+
title: string;
|
|
156
156
|
error: string | null;
|
|
157
157
|
modelId: string;
|
|
158
158
|
prompt: string;
|
|
@@ -189,9 +189,9 @@ export declare namespace SetReactionToImageEditorJobCommand {
|
|
|
189
189
|
systemPromptId?: string | undefined;
|
|
190
190
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
191
191
|
};
|
|
192
|
-
title: string;
|
|
193
192
|
createdAt: string | Date;
|
|
194
193
|
updatedAt: string | Date;
|
|
194
|
+
title: string;
|
|
195
195
|
error: string | null;
|
|
196
196
|
modelId: string;
|
|
197
197
|
prompt: string;
|
|
@@ -228,9 +228,9 @@ export declare namespace SetReactionToImageEditorJobCommand {
|
|
|
228
228
|
systemPromptId?: string | undefined;
|
|
229
229
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
230
230
|
};
|
|
231
|
-
title: string;
|
|
232
231
|
createdAt: string | Date;
|
|
233
232
|
updatedAt: string | Date;
|
|
233
|
+
title: string;
|
|
234
234
|
error: string | null;
|
|
235
235
|
modelId: string;
|
|
236
236
|
prompt: string;
|
|
@@ -109,9 +109,9 @@ export declare namespace UpdateImageEditorJobTitleCommand {
|
|
|
109
109
|
systemPromptId?: string | undefined;
|
|
110
110
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
111
111
|
};
|
|
112
|
-
title: string;
|
|
113
112
|
createdAt: string | Date;
|
|
114
113
|
updatedAt: string | Date;
|
|
114
|
+
title: string;
|
|
115
115
|
error: string | null;
|
|
116
116
|
modelId: string;
|
|
117
117
|
prompt: string;
|
|
@@ -146,9 +146,9 @@ export declare namespace UpdateImageEditorJobTitleCommand {
|
|
|
146
146
|
systemPromptId?: string | undefined;
|
|
147
147
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
148
148
|
};
|
|
149
|
-
title: string;
|
|
150
149
|
createdAt: string | Date;
|
|
151
150
|
updatedAt: string | Date;
|
|
151
|
+
title: string;
|
|
152
152
|
error: string | null;
|
|
153
153
|
modelId: string;
|
|
154
154
|
prompt: string;
|
|
@@ -185,9 +185,9 @@ export declare namespace UpdateImageEditorJobTitleCommand {
|
|
|
185
185
|
systemPromptId?: string | undefined;
|
|
186
186
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
187
187
|
};
|
|
188
|
-
title: string;
|
|
189
188
|
createdAt: string | Date;
|
|
190
189
|
updatedAt: string | Date;
|
|
190
|
+
title: string;
|
|
191
191
|
error: string | null;
|
|
192
192
|
modelId: string;
|
|
193
193
|
prompt: string;
|
|
@@ -224,9 +224,9 @@ export declare namespace UpdateImageEditorJobTitleCommand {
|
|
|
224
224
|
systemPromptId?: string | undefined;
|
|
225
225
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
226
226
|
};
|
|
227
|
-
title: string;
|
|
228
227
|
createdAt: string | Date;
|
|
229
228
|
updatedAt: string | Date;
|
|
229
|
+
title: string;
|
|
230
230
|
error: string | null;
|
|
231
231
|
modelId: string;
|
|
232
232
|
prompt: string;
|
|
@@ -171,11 +171,11 @@ export declare namespace ExecuteImageGenerationCommand {
|
|
|
171
171
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
172
172
|
isDeleted: boolean;
|
|
173
173
|
internalError: string | null;
|
|
174
|
+
userId?: string | null | undefined;
|
|
174
175
|
createdAt?: string | Date | undefined;
|
|
175
176
|
updatedAt?: string | Date | undefined;
|
|
176
177
|
error?: string | null | undefined;
|
|
177
178
|
presetId?: string | null | undefined;
|
|
178
|
-
userId?: string | null | undefined;
|
|
179
179
|
unregisteredUserId?: string | null | undefined;
|
|
180
180
|
tokenReservationId?: string | null | undefined;
|
|
181
181
|
completedAt?: string | Date | null | undefined;
|
|
@@ -213,11 +213,11 @@ export declare namespace ExecuteImageGenerationCommand {
|
|
|
213
213
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
214
214
|
isDeleted: boolean;
|
|
215
215
|
internalError: string | null;
|
|
216
|
+
userId?: string | null | undefined;
|
|
216
217
|
createdAt?: string | Date | undefined;
|
|
217
218
|
updatedAt?: string | Date | undefined;
|
|
218
219
|
error?: string | null | undefined;
|
|
219
220
|
presetId?: string | null | undefined;
|
|
220
|
-
userId?: string | null | undefined;
|
|
221
221
|
unregisteredUserId?: string | null | undefined;
|
|
222
222
|
tokenReservationId?: string | null | undefined;
|
|
223
223
|
completedAt?: string | Date | null | undefined;
|
|
@@ -257,11 +257,11 @@ export declare namespace ExecuteImageGenerationCommand {
|
|
|
257
257
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
258
258
|
isDeleted: boolean;
|
|
259
259
|
internalError: string | null;
|
|
260
|
+
userId?: string | null | undefined;
|
|
260
261
|
createdAt?: string | Date | undefined;
|
|
261
262
|
updatedAt?: string | Date | undefined;
|
|
262
263
|
error?: string | null | undefined;
|
|
263
264
|
presetId?: string | null | undefined;
|
|
264
|
-
userId?: string | null | undefined;
|
|
265
265
|
unregisteredUserId?: string | null | undefined;
|
|
266
266
|
tokenReservationId?: string | null | undefined;
|
|
267
267
|
completedAt?: string | Date | null | undefined;
|
|
@@ -301,11 +301,11 @@ export declare namespace ExecuteImageGenerationCommand {
|
|
|
301
301
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
302
302
|
isDeleted: boolean;
|
|
303
303
|
internalError: string | null;
|
|
304
|
+
userId?: string | null | undefined;
|
|
304
305
|
createdAt?: string | Date | undefined;
|
|
305
306
|
updatedAt?: string | Date | undefined;
|
|
306
307
|
error?: string | null | undefined;
|
|
307
308
|
presetId?: string | null | undefined;
|
|
308
|
-
userId?: string | null | undefined;
|
|
309
309
|
unregisteredUserId?: string | null | undefined;
|
|
310
310
|
tokenReservationId?: string | null | undefined;
|
|
311
311
|
completedAt?: string | Date | null | undefined;
|
|
@@ -171,11 +171,11 @@ export declare namespace RetryImageGenerationJobCommand {
|
|
|
171
171
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
172
172
|
isDeleted: boolean;
|
|
173
173
|
internalError: string | null;
|
|
174
|
+
userId?: string | null | undefined;
|
|
174
175
|
createdAt?: string | Date | undefined;
|
|
175
176
|
updatedAt?: string | Date | undefined;
|
|
176
177
|
error?: string | null | undefined;
|
|
177
178
|
presetId?: string | null | undefined;
|
|
178
|
-
userId?: string | null | undefined;
|
|
179
179
|
unregisteredUserId?: string | null | undefined;
|
|
180
180
|
tokenReservationId?: string | null | undefined;
|
|
181
181
|
completedAt?: string | Date | null | undefined;
|
|
@@ -213,11 +213,11 @@ export declare namespace RetryImageGenerationJobCommand {
|
|
|
213
213
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
214
214
|
isDeleted: boolean;
|
|
215
215
|
internalError: string | null;
|
|
216
|
+
userId?: string | null | undefined;
|
|
216
217
|
createdAt?: string | Date | undefined;
|
|
217
218
|
updatedAt?: string | Date | undefined;
|
|
218
219
|
error?: string | null | undefined;
|
|
219
220
|
presetId?: string | null | undefined;
|
|
220
|
-
userId?: string | null | undefined;
|
|
221
221
|
unregisteredUserId?: string | null | undefined;
|
|
222
222
|
tokenReservationId?: string | null | undefined;
|
|
223
223
|
completedAt?: string | Date | null | undefined;
|
|
@@ -257,11 +257,11 @@ export declare namespace RetryImageGenerationJobCommand {
|
|
|
257
257
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
258
258
|
isDeleted: boolean;
|
|
259
259
|
internalError: string | null;
|
|
260
|
+
userId?: string | null | undefined;
|
|
260
261
|
createdAt?: string | Date | undefined;
|
|
261
262
|
updatedAt?: string | Date | undefined;
|
|
262
263
|
error?: string | null | undefined;
|
|
263
264
|
presetId?: string | null | undefined;
|
|
264
|
-
userId?: string | null | undefined;
|
|
265
265
|
unregisteredUserId?: string | null | undefined;
|
|
266
266
|
tokenReservationId?: string | null | undefined;
|
|
267
267
|
completedAt?: string | Date | null | undefined;
|
|
@@ -301,11 +301,11 @@ export declare namespace RetryImageGenerationJobCommand {
|
|
|
301
301
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
302
302
|
isDeleted: boolean;
|
|
303
303
|
internalError: string | null;
|
|
304
|
+
userId?: string | null | undefined;
|
|
304
305
|
createdAt?: string | Date | undefined;
|
|
305
306
|
updatedAt?: string | Date | undefined;
|
|
306
307
|
error?: string | null | undefined;
|
|
307
308
|
presetId?: string | null | undefined;
|
|
308
|
-
userId?: string | null | undefined;
|
|
309
309
|
unregisteredUserId?: string | null | undefined;
|
|
310
310
|
tokenReservationId?: string | null | undefined;
|
|
311
311
|
completedAt?: string | Date | null | undefined;
|
|
@@ -147,11 +147,11 @@ export declare namespace SetReactionToImageGenerationJobCommand {
|
|
|
147
147
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
148
148
|
isDeleted: boolean;
|
|
149
149
|
internalError: string | null;
|
|
150
|
+
userId?: string | null | undefined;
|
|
150
151
|
createdAt?: string | Date | undefined;
|
|
151
152
|
updatedAt?: string | Date | undefined;
|
|
152
153
|
error?: string | null | undefined;
|
|
153
154
|
presetId?: string | null | undefined;
|
|
154
|
-
userId?: string | null | undefined;
|
|
155
155
|
unregisteredUserId?: string | null | undefined;
|
|
156
156
|
tokenReservationId?: string | null | undefined;
|
|
157
157
|
completedAt?: string | Date | null | undefined;
|
|
@@ -189,11 +189,11 @@ export declare namespace SetReactionToImageGenerationJobCommand {
|
|
|
189
189
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
190
190
|
isDeleted: boolean;
|
|
191
191
|
internalError: string | null;
|
|
192
|
+
userId?: string | null | undefined;
|
|
192
193
|
createdAt?: string | Date | undefined;
|
|
193
194
|
updatedAt?: string | Date | undefined;
|
|
194
195
|
error?: string | null | undefined;
|
|
195
196
|
presetId?: string | null | undefined;
|
|
196
|
-
userId?: string | null | undefined;
|
|
197
197
|
unregisteredUserId?: string | null | undefined;
|
|
198
198
|
tokenReservationId?: string | null | undefined;
|
|
199
199
|
completedAt?: string | Date | null | undefined;
|
|
@@ -233,11 +233,11 @@ export declare namespace SetReactionToImageGenerationJobCommand {
|
|
|
233
233
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
234
234
|
isDeleted: boolean;
|
|
235
235
|
internalError: string | null;
|
|
236
|
+
userId?: string | null | undefined;
|
|
236
237
|
createdAt?: string | Date | undefined;
|
|
237
238
|
updatedAt?: string | Date | undefined;
|
|
238
239
|
error?: string | null | undefined;
|
|
239
240
|
presetId?: string | null | undefined;
|
|
240
|
-
userId?: string | null | undefined;
|
|
241
241
|
unregisteredUserId?: string | null | undefined;
|
|
242
242
|
tokenReservationId?: string | null | undefined;
|
|
243
243
|
completedAt?: string | Date | null | undefined;
|
|
@@ -277,11 +277,11 @@ export declare namespace SetReactionToImageGenerationJobCommand {
|
|
|
277
277
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
278
278
|
isDeleted: boolean;
|
|
279
279
|
internalError: string | null;
|
|
280
|
+
userId?: string | null | undefined;
|
|
280
281
|
createdAt?: string | Date | undefined;
|
|
281
282
|
updatedAt?: string | Date | undefined;
|
|
282
283
|
error?: string | null | undefined;
|
|
283
284
|
presetId?: string | null | undefined;
|
|
284
|
-
userId?: string | null | undefined;
|
|
285
285
|
unregisteredUserId?: string | null | undefined;
|
|
286
286
|
tokenReservationId?: string | null | undefined;
|
|
287
287
|
completedAt?: string | Date | null | undefined;
|