@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
|
@@ -86,10 +86,11 @@ export declare namespace UpdateTTSJobTitleCommand {
|
|
|
86
86
|
style?: number | undefined;
|
|
87
87
|
language?: string | undefined;
|
|
88
88
|
};
|
|
89
|
-
|
|
90
|
-
title: string;
|
|
89
|
+
userId: string | null;
|
|
91
90
|
createdAt: Date;
|
|
92
91
|
updatedAt: Date;
|
|
92
|
+
duration: number;
|
|
93
|
+
title: string;
|
|
93
94
|
error: string | null;
|
|
94
95
|
modelId: string;
|
|
95
96
|
reaction: import("../..").USER_REACTION | null;
|
|
@@ -100,7 +101,6 @@ export declare namespace UpdateTTSJobTitleCommand {
|
|
|
100
101
|
timestamp: string;
|
|
101
102
|
error?: string | null | undefined;
|
|
102
103
|
}[];
|
|
103
|
-
userId: string | null;
|
|
104
104
|
unregisteredUserId: string | null;
|
|
105
105
|
isDeleted: boolean;
|
|
106
106
|
completedAt: Date | null;
|
|
@@ -121,15 +121,15 @@ export declare namespace UpdateTTSJobTitleCommand {
|
|
|
121
121
|
style?: number | undefined;
|
|
122
122
|
language?: string | undefined;
|
|
123
123
|
};
|
|
124
|
-
|
|
125
|
-
title: string;
|
|
124
|
+
userId: string | null;
|
|
126
125
|
createdAt: Date;
|
|
127
126
|
updatedAt: Date;
|
|
127
|
+
duration: number;
|
|
128
|
+
title: string;
|
|
128
129
|
error: string | null;
|
|
129
130
|
modelId: string;
|
|
130
131
|
reaction: import("../..").USER_REACTION | null;
|
|
131
132
|
dislikeReason: string | null;
|
|
132
|
-
userId: string | null;
|
|
133
133
|
unregisteredUserId: string | null;
|
|
134
134
|
isDeleted: boolean;
|
|
135
135
|
completedAt: Date | null;
|
|
@@ -158,10 +158,11 @@ export declare namespace UpdateTTSJobTitleCommand {
|
|
|
158
158
|
style?: number | undefined;
|
|
159
159
|
language?: string | undefined;
|
|
160
160
|
};
|
|
161
|
-
|
|
162
|
-
title: string;
|
|
161
|
+
userId: string | null;
|
|
163
162
|
createdAt: Date;
|
|
164
163
|
updatedAt: Date;
|
|
164
|
+
duration: number;
|
|
165
|
+
title: string;
|
|
165
166
|
error: string | null;
|
|
166
167
|
modelId: string;
|
|
167
168
|
reaction: import("../..").USER_REACTION | null;
|
|
@@ -172,7 +173,6 @@ export declare namespace UpdateTTSJobTitleCommand {
|
|
|
172
173
|
timestamp: string;
|
|
173
174
|
error?: string | null | undefined;
|
|
174
175
|
}[];
|
|
175
|
-
userId: string | null;
|
|
176
176
|
unregisteredUserId: string | null;
|
|
177
177
|
isDeleted: boolean;
|
|
178
178
|
completedAt: Date | null;
|
|
@@ -195,15 +195,15 @@ export declare namespace UpdateTTSJobTitleCommand {
|
|
|
195
195
|
style?: number | undefined;
|
|
196
196
|
language?: string | undefined;
|
|
197
197
|
};
|
|
198
|
-
|
|
199
|
-
title: string;
|
|
198
|
+
userId: string | null;
|
|
200
199
|
createdAt: Date;
|
|
201
200
|
updatedAt: Date;
|
|
201
|
+
duration: number;
|
|
202
|
+
title: string;
|
|
202
203
|
error: string | null;
|
|
203
204
|
modelId: string;
|
|
204
205
|
reaction: import("../..").USER_REACTION | null;
|
|
205
206
|
dislikeReason: string | null;
|
|
206
|
-
userId: string | null;
|
|
207
207
|
unregisteredUserId: string | null;
|
|
208
208
|
isDeleted: boolean;
|
|
209
209
|
completedAt: Date | null;
|
|
@@ -9,28 +9,28 @@ export declare namespace UpsertUnregisteredUserCommand {
|
|
|
9
9
|
tokenBalance: z.ZodNumber;
|
|
10
10
|
expiresAt: z.ZodDate;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
tokenBalance: number;
|
|
12
13
|
unregisteredUserId: string;
|
|
13
14
|
accessToken: string;
|
|
14
|
-
tokenBalance: number;
|
|
15
15
|
expiresAt: Date;
|
|
16
16
|
}, {
|
|
17
|
+
tokenBalance: number;
|
|
17
18
|
unregisteredUserId: string;
|
|
18
19
|
accessToken: string;
|
|
19
|
-
tokenBalance: number;
|
|
20
20
|
expiresAt: Date;
|
|
21
21
|
}>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
data: {
|
|
24
|
+
tokenBalance: number;
|
|
24
25
|
unregisteredUserId: string;
|
|
25
26
|
accessToken: string;
|
|
26
|
-
tokenBalance: number;
|
|
27
27
|
expiresAt: Date;
|
|
28
28
|
};
|
|
29
29
|
}, {
|
|
30
30
|
data: {
|
|
31
|
+
tokenBalance: number;
|
|
31
32
|
unregisteredUserId: string;
|
|
32
33
|
accessToken: string;
|
|
33
|
-
tokenBalance: number;
|
|
34
34
|
expiresAt: Date;
|
|
35
35
|
};
|
|
36
36
|
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace DeleteUserToProductCommand {
|
|
3
|
+
const RequestParamSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
uuid: string;
|
|
7
|
+
}, {
|
|
8
|
+
uuid: string;
|
|
9
|
+
}>;
|
|
10
|
+
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
11
|
+
const ResponseSchema: z.ZodObject<{
|
|
12
|
+
data: z.ZodBoolean;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
data: boolean;
|
|
15
|
+
}, {
|
|
16
|
+
data: boolean;
|
|
17
|
+
}>;
|
|
18
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=delete-user-to-product.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-user-to-product.command.d.ts","sourceRoot":"","sources":["../../../commands/user-to-product/delete-user-to-product.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteUserToProductCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var DeleteUserToProductCommand;
|
|
6
|
+
(function (DeleteUserToProductCommand) {
|
|
7
|
+
DeleteUserToProductCommand.RequestParamSchema = zod_1.z.object({
|
|
8
|
+
uuid: zod_1.z.string().uuid(),
|
|
9
|
+
});
|
|
10
|
+
DeleteUserToProductCommand.ResponseSchema = zod_1.z.object({
|
|
11
|
+
data: zod_1.z.boolean(),
|
|
12
|
+
});
|
|
13
|
+
})(DeleteUserToProductCommand || (exports.DeleteUserToProductCommand = DeleteUserToProductCommand = {}));
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetUserToProductByUuidCommand {
|
|
3
|
+
const RequestParamSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
uuid: string;
|
|
7
|
+
}, {
|
|
8
|
+
uuid: string;
|
|
9
|
+
}>;
|
|
10
|
+
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
11
|
+
const ResponseSchema: z.ZodObject<{
|
|
12
|
+
data: z.ZodObject<{
|
|
13
|
+
uuid: z.ZodString;
|
|
14
|
+
siteId: z.ZodString;
|
|
15
|
+
userId: z.ZodString;
|
|
16
|
+
productId: z.ZodString;
|
|
17
|
+
orderId: z.ZodNullable<z.ZodString>;
|
|
18
|
+
initTokenBalance: z.ZodNumber;
|
|
19
|
+
tokenBalance: z.ZodNumber;
|
|
20
|
+
status: z.ZodNativeEnum<typeof import("../..").USER_TO_PRODUCT_STATUS>;
|
|
21
|
+
createdAt: z.ZodDate;
|
|
22
|
+
updatedAt: z.ZodDate;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
uuid: string;
|
|
25
|
+
siteId: string;
|
|
26
|
+
status: import("../..").USER_TO_PRODUCT_STATUS;
|
|
27
|
+
userId: string;
|
|
28
|
+
productId: string;
|
|
29
|
+
orderId: string | null;
|
|
30
|
+
initTokenBalance: number;
|
|
31
|
+
tokenBalance: number;
|
|
32
|
+
createdAt: Date;
|
|
33
|
+
updatedAt: Date;
|
|
34
|
+
}, {
|
|
35
|
+
uuid: string;
|
|
36
|
+
siteId: string;
|
|
37
|
+
status: import("../..").USER_TO_PRODUCT_STATUS;
|
|
38
|
+
userId: string;
|
|
39
|
+
productId: string;
|
|
40
|
+
orderId: string | null;
|
|
41
|
+
initTokenBalance: number;
|
|
42
|
+
tokenBalance: number;
|
|
43
|
+
createdAt: Date;
|
|
44
|
+
updatedAt: Date;
|
|
45
|
+
}>;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
data: {
|
|
48
|
+
uuid: string;
|
|
49
|
+
siteId: string;
|
|
50
|
+
status: import("../..").USER_TO_PRODUCT_STATUS;
|
|
51
|
+
userId: string;
|
|
52
|
+
productId: string;
|
|
53
|
+
orderId: string | null;
|
|
54
|
+
initTokenBalance: number;
|
|
55
|
+
tokenBalance: number;
|
|
56
|
+
createdAt: Date;
|
|
57
|
+
updatedAt: Date;
|
|
58
|
+
};
|
|
59
|
+
}, {
|
|
60
|
+
data: {
|
|
61
|
+
uuid: string;
|
|
62
|
+
siteId: string;
|
|
63
|
+
status: import("../..").USER_TO_PRODUCT_STATUS;
|
|
64
|
+
userId: string;
|
|
65
|
+
productId: string;
|
|
66
|
+
orderId: string | null;
|
|
67
|
+
initTokenBalance: number;
|
|
68
|
+
tokenBalance: number;
|
|
69
|
+
createdAt: Date;
|
|
70
|
+
updatedAt: Date;
|
|
71
|
+
};
|
|
72
|
+
}>;
|
|
73
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=get-user-to-product-by-uuid.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-to-product-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../commands/user-to-product/get-user-to-product-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetUserToProductByUuidCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../models");
|
|
6
|
+
var GetUserToProductByUuidCommand;
|
|
7
|
+
(function (GetUserToProductByUuidCommand) {
|
|
8
|
+
GetUserToProductByUuidCommand.RequestParamSchema = zod_1.z.object({
|
|
9
|
+
uuid: zod_1.z.string().uuid(),
|
|
10
|
+
});
|
|
11
|
+
GetUserToProductByUuidCommand.ResponseSchema = zod_1.z.object({
|
|
12
|
+
data: models_1.UserToProductSchema,
|
|
13
|
+
});
|
|
14
|
+
})(GetUserToProductByUuidCommand || (exports.GetUserToProductByUuidCommand = GetUserToProductByUuidCommand = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/user-to-product/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./get-user-to-product-by-uuid.command"), exports);
|
|
18
|
+
__exportStar(require("./update-user-to-product.command"), exports);
|
|
19
|
+
__exportStar(require("./delete-user-to-product.command"), exports);
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { USER_TO_PRODUCT_STATUS } from '../../constants';
|
|
3
|
+
export declare namespace UpdateUserToProductCommand {
|
|
4
|
+
const RequestParamSchema: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
uuid: string;
|
|
8
|
+
}, {
|
|
9
|
+
uuid: string;
|
|
10
|
+
}>;
|
|
11
|
+
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
12
|
+
const RequestSchema: z.ZodObject<{
|
|
13
|
+
initTokenBalance: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
tokenBalance: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
status: z.ZodOptional<z.ZodNativeEnum<typeof USER_TO_PRODUCT_STATUS>>;
|
|
16
|
+
orderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
status?: USER_TO_PRODUCT_STATUS | undefined;
|
|
19
|
+
orderId?: string | null | undefined;
|
|
20
|
+
initTokenBalance?: number | undefined;
|
|
21
|
+
tokenBalance?: number | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
status?: USER_TO_PRODUCT_STATUS | undefined;
|
|
24
|
+
orderId?: string | null | undefined;
|
|
25
|
+
initTokenBalance?: number | undefined;
|
|
26
|
+
tokenBalance?: number | undefined;
|
|
27
|
+
}>;
|
|
28
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
29
|
+
const ResponseSchema: z.ZodObject<{
|
|
30
|
+
data: z.ZodObject<{
|
|
31
|
+
uuid: z.ZodString;
|
|
32
|
+
siteId: z.ZodString;
|
|
33
|
+
userId: z.ZodString;
|
|
34
|
+
productId: z.ZodString;
|
|
35
|
+
orderId: z.ZodNullable<z.ZodString>;
|
|
36
|
+
initTokenBalance: z.ZodNumber;
|
|
37
|
+
tokenBalance: z.ZodNumber;
|
|
38
|
+
status: z.ZodNativeEnum<typeof USER_TO_PRODUCT_STATUS>;
|
|
39
|
+
createdAt: z.ZodDate;
|
|
40
|
+
updatedAt: z.ZodDate;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
uuid: string;
|
|
43
|
+
siteId: string;
|
|
44
|
+
status: USER_TO_PRODUCT_STATUS;
|
|
45
|
+
userId: string;
|
|
46
|
+
productId: string;
|
|
47
|
+
orderId: string | null;
|
|
48
|
+
initTokenBalance: number;
|
|
49
|
+
tokenBalance: number;
|
|
50
|
+
createdAt: Date;
|
|
51
|
+
updatedAt: Date;
|
|
52
|
+
}, {
|
|
53
|
+
uuid: string;
|
|
54
|
+
siteId: string;
|
|
55
|
+
status: USER_TO_PRODUCT_STATUS;
|
|
56
|
+
userId: string;
|
|
57
|
+
productId: string;
|
|
58
|
+
orderId: string | null;
|
|
59
|
+
initTokenBalance: number;
|
|
60
|
+
tokenBalance: number;
|
|
61
|
+
createdAt: Date;
|
|
62
|
+
updatedAt: Date;
|
|
63
|
+
}>;
|
|
64
|
+
}, "strip", z.ZodTypeAny, {
|
|
65
|
+
data: {
|
|
66
|
+
uuid: string;
|
|
67
|
+
siteId: string;
|
|
68
|
+
status: USER_TO_PRODUCT_STATUS;
|
|
69
|
+
userId: string;
|
|
70
|
+
productId: string;
|
|
71
|
+
orderId: string | null;
|
|
72
|
+
initTokenBalance: number;
|
|
73
|
+
tokenBalance: number;
|
|
74
|
+
createdAt: Date;
|
|
75
|
+
updatedAt: Date;
|
|
76
|
+
};
|
|
77
|
+
}, {
|
|
78
|
+
data: {
|
|
79
|
+
uuid: string;
|
|
80
|
+
siteId: string;
|
|
81
|
+
status: USER_TO_PRODUCT_STATUS;
|
|
82
|
+
userId: string;
|
|
83
|
+
productId: string;
|
|
84
|
+
orderId: string | null;
|
|
85
|
+
initTokenBalance: number;
|
|
86
|
+
tokenBalance: number;
|
|
87
|
+
createdAt: Date;
|
|
88
|
+
updatedAt: Date;
|
|
89
|
+
};
|
|
90
|
+
}>;
|
|
91
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=update-user-to-product.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user-to-product.command.d.ts","sourceRoot":"","sources":["../../../commands/user-to-product/update-user-to-product.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,aAAa;;;;;;;;;;;;;;;MAKxB,CAAC;IACH,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,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateUserToProductCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const models_1 = require("../../models");
|
|
7
|
+
var UpdateUserToProductCommand;
|
|
8
|
+
(function (UpdateUserToProductCommand) {
|
|
9
|
+
UpdateUserToProductCommand.RequestParamSchema = zod_1.z.object({
|
|
10
|
+
uuid: zod_1.z.string().uuid(),
|
|
11
|
+
});
|
|
12
|
+
UpdateUserToProductCommand.RequestSchema = zod_1.z.object({
|
|
13
|
+
initTokenBalance: zod_1.z.number().int().min(0).optional(),
|
|
14
|
+
tokenBalance: zod_1.z.number().int().min(0).optional(),
|
|
15
|
+
status: zod_1.z.nativeEnum(constants_1.USER_TO_PRODUCT_STATUS).optional(),
|
|
16
|
+
orderId: zod_1.z.string().uuid().nullable().optional(),
|
|
17
|
+
});
|
|
18
|
+
UpdateUserToProductCommand.ResponseSchema = zod_1.z.object({
|
|
19
|
+
data: models_1.UserToProductSchema,
|
|
20
|
+
});
|
|
21
|
+
})(UpdateUserToProductCommand || (exports.UpdateUserToProductCommand = UpdateUserToProductCommand = {}));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace AdminCancelSubscriptionCommand {
|
|
3
|
+
const RequestParamSchema: z.ZodObject<{
|
|
4
|
+
uuidSiteUserToSubscription: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
uuidSiteUserToSubscription: string;
|
|
7
|
+
}, {
|
|
8
|
+
uuidSiteUserToSubscription: string;
|
|
9
|
+
}>;
|
|
10
|
+
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
11
|
+
const ResponseSchema: z.ZodVoid;
|
|
12
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=admin-cancel-subscription.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-cancel-subscription.command.d.ts","sourceRoot":"","sources":["../../../commands/user-to-subscription/admin-cancel-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc,WAAW,CAAC;IACvC,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminCancelSubscriptionCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var AdminCancelSubscriptionCommand;
|
|
6
|
+
(function (AdminCancelSubscriptionCommand) {
|
|
7
|
+
AdminCancelSubscriptionCommand.RequestParamSchema = zod_1.z.object({
|
|
8
|
+
uuidSiteUserToSubscription: zod_1.z.string().uuid(),
|
|
9
|
+
});
|
|
10
|
+
AdminCancelSubscriptionCommand.ResponseSchema = zod_1.z.void();
|
|
11
|
+
})(AdminCancelSubscriptionCommand || (exports.AdminCancelSubscriptionCommand = AdminCancelSubscriptionCommand = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace DeleteUserToSubscriptionCommand {
|
|
3
|
+
const RequestParamSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
uuid: string;
|
|
7
|
+
}, {
|
|
8
|
+
uuid: string;
|
|
9
|
+
}>;
|
|
10
|
+
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
11
|
+
const ResponseSchema: z.ZodObject<{
|
|
12
|
+
data: z.ZodBoolean;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
data: boolean;
|
|
15
|
+
}, {
|
|
16
|
+
data: boolean;
|
|
17
|
+
}>;
|
|
18
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=delete-user-to-subscription.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-user-to-subscription.command.d.ts","sourceRoot":"","sources":["../../../commands/user-to-subscription/delete-user-to-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,+BAA+B,CAAC;IACtC,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteUserToSubscriptionCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var DeleteUserToSubscriptionCommand;
|
|
6
|
+
(function (DeleteUserToSubscriptionCommand) {
|
|
7
|
+
DeleteUserToSubscriptionCommand.RequestParamSchema = zod_1.z.object({
|
|
8
|
+
uuid: zod_1.z.string().uuid(),
|
|
9
|
+
});
|
|
10
|
+
DeleteUserToSubscriptionCommand.ResponseSchema = zod_1.z.object({
|
|
11
|
+
data: zod_1.z.boolean(),
|
|
12
|
+
});
|
|
13
|
+
})(DeleteUserToSubscriptionCommand || (exports.DeleteUserToSubscriptionCommand = DeleteUserToSubscriptionCommand = {}));
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetUserToSubscriptionByUuidCommand {
|
|
3
|
+
const RequestParamSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
uuid: string;
|
|
7
|
+
}, {
|
|
8
|
+
uuid: string;
|
|
9
|
+
}>;
|
|
10
|
+
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
11
|
+
const ResponseSchema: z.ZodObject<{
|
|
12
|
+
data: z.ZodObject<{
|
|
13
|
+
uuid: z.ZodString;
|
|
14
|
+
siteId: z.ZodString;
|
|
15
|
+
userId: z.ZodString;
|
|
16
|
+
subscriptionId: z.ZodString;
|
|
17
|
+
orderId: z.ZodNullable<z.ZodString>;
|
|
18
|
+
cloudPaymentsSubscriptionId: z.ZodNullable<z.ZodString>;
|
|
19
|
+
type: z.ZodNativeEnum<typeof import("../..").USER_TO_SUBSCRIPTION_TYPE>;
|
|
20
|
+
initTokenBalance: z.ZodNumber;
|
|
21
|
+
tokenBalance: z.ZodNumber;
|
|
22
|
+
initCarriedOverTokenBalance: z.ZodNumber;
|
|
23
|
+
carriedOverTokenBalance: z.ZodNumber;
|
|
24
|
+
status: z.ZodNativeEnum<typeof import("../..").USER_TO_SUBSCRIPTION_STATUS>;
|
|
25
|
+
active: z.ZodBoolean;
|
|
26
|
+
startDate: z.ZodNullable<z.ZodDate>;
|
|
27
|
+
intervalEndDate: z.ZodNullable<z.ZodDate>;
|
|
28
|
+
endDate: z.ZodNullable<z.ZodDate>;
|
|
29
|
+
createdAt: z.ZodDate;
|
|
30
|
+
updatedAt: z.ZodDate;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
active: boolean;
|
|
33
|
+
uuid: string;
|
|
34
|
+
siteId: string;
|
|
35
|
+
status: import("../..").USER_TO_SUBSCRIPTION_STATUS;
|
|
36
|
+
type: import("../..").USER_TO_SUBSCRIPTION_TYPE;
|
|
37
|
+
userId: string;
|
|
38
|
+
orderId: string | null;
|
|
39
|
+
initTokenBalance: number;
|
|
40
|
+
tokenBalance: number;
|
|
41
|
+
createdAt: Date;
|
|
42
|
+
updatedAt: Date;
|
|
43
|
+
subscriptionId: string;
|
|
44
|
+
cloudPaymentsSubscriptionId: string | null;
|
|
45
|
+
initCarriedOverTokenBalance: number;
|
|
46
|
+
carriedOverTokenBalance: number;
|
|
47
|
+
startDate: Date | null;
|
|
48
|
+
intervalEndDate: Date | null;
|
|
49
|
+
endDate: Date | null;
|
|
50
|
+
}, {
|
|
51
|
+
active: boolean;
|
|
52
|
+
uuid: string;
|
|
53
|
+
siteId: string;
|
|
54
|
+
status: import("../..").USER_TO_SUBSCRIPTION_STATUS;
|
|
55
|
+
type: import("../..").USER_TO_SUBSCRIPTION_TYPE;
|
|
56
|
+
userId: string;
|
|
57
|
+
orderId: string | null;
|
|
58
|
+
initTokenBalance: number;
|
|
59
|
+
tokenBalance: number;
|
|
60
|
+
createdAt: Date;
|
|
61
|
+
updatedAt: Date;
|
|
62
|
+
subscriptionId: string;
|
|
63
|
+
cloudPaymentsSubscriptionId: string | null;
|
|
64
|
+
initCarriedOverTokenBalance: number;
|
|
65
|
+
carriedOverTokenBalance: number;
|
|
66
|
+
startDate: Date | null;
|
|
67
|
+
intervalEndDate: Date | null;
|
|
68
|
+
endDate: Date | null;
|
|
69
|
+
}>;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
data: {
|
|
72
|
+
active: boolean;
|
|
73
|
+
uuid: string;
|
|
74
|
+
siteId: string;
|
|
75
|
+
status: import("../..").USER_TO_SUBSCRIPTION_STATUS;
|
|
76
|
+
type: import("../..").USER_TO_SUBSCRIPTION_TYPE;
|
|
77
|
+
userId: string;
|
|
78
|
+
orderId: string | null;
|
|
79
|
+
initTokenBalance: number;
|
|
80
|
+
tokenBalance: number;
|
|
81
|
+
createdAt: Date;
|
|
82
|
+
updatedAt: Date;
|
|
83
|
+
subscriptionId: string;
|
|
84
|
+
cloudPaymentsSubscriptionId: string | null;
|
|
85
|
+
initCarriedOverTokenBalance: number;
|
|
86
|
+
carriedOverTokenBalance: number;
|
|
87
|
+
startDate: Date | null;
|
|
88
|
+
intervalEndDate: Date | null;
|
|
89
|
+
endDate: Date | null;
|
|
90
|
+
};
|
|
91
|
+
}, {
|
|
92
|
+
data: {
|
|
93
|
+
active: boolean;
|
|
94
|
+
uuid: string;
|
|
95
|
+
siteId: string;
|
|
96
|
+
status: import("../..").USER_TO_SUBSCRIPTION_STATUS;
|
|
97
|
+
type: import("../..").USER_TO_SUBSCRIPTION_TYPE;
|
|
98
|
+
userId: string;
|
|
99
|
+
orderId: string | null;
|
|
100
|
+
initTokenBalance: number;
|
|
101
|
+
tokenBalance: number;
|
|
102
|
+
createdAt: Date;
|
|
103
|
+
updatedAt: Date;
|
|
104
|
+
subscriptionId: string;
|
|
105
|
+
cloudPaymentsSubscriptionId: string | null;
|
|
106
|
+
initCarriedOverTokenBalance: number;
|
|
107
|
+
carriedOverTokenBalance: number;
|
|
108
|
+
startDate: Date | null;
|
|
109
|
+
intervalEndDate: Date | null;
|
|
110
|
+
endDate: Date | null;
|
|
111
|
+
};
|
|
112
|
+
}>;
|
|
113
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=get-user-to-subscription-by-uuid.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-to-subscription-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../commands/user-to-subscription/get-user-to-subscription-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,kCAAkC,CAAC;IACzC,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetUserToSubscriptionByUuidCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../models");
|
|
6
|
+
var GetUserToSubscriptionByUuidCommand;
|
|
7
|
+
(function (GetUserToSubscriptionByUuidCommand) {
|
|
8
|
+
GetUserToSubscriptionByUuidCommand.RequestParamSchema = zod_1.z.object({
|
|
9
|
+
uuid: zod_1.z.string().uuid(),
|
|
10
|
+
});
|
|
11
|
+
GetUserToSubscriptionByUuidCommand.ResponseSchema = zod_1.z.object({
|
|
12
|
+
data: models_1.UserToSubscriptionSchema,
|
|
13
|
+
});
|
|
14
|
+
})(GetUserToSubscriptionByUuidCommand || (exports.GetUserToSubscriptionByUuidCommand = GetUserToSubscriptionByUuidCommand = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/user-to-subscription/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./get-user-to-subscription-by-uuid.command"), exports);
|
|
18
|
+
__exportStar(require("./update-user-to-subscription.command"), exports);
|
|
19
|
+
__exportStar(require("./delete-user-to-subscription.command"), exports);
|
|
20
|
+
__exportStar(require("./admin-cancel-subscription.command"), exports);
|