@purpleschool/multisite 0.0.9 → 0.0.11

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.
Files changed (189) hide show
  1. package/api/controller/http/index.ts +2 -0
  2. package/api/controller/http/stt.ts +14 -0
  3. package/api/controller/http/subscription.ts +1 -0
  4. package/api/controller/http/tts.ts +14 -0
  5. package/api/routes.ts +66 -0
  6. package/build/api/controller/http/index.d.ts +2 -0
  7. package/build/api/controller/http/index.d.ts.map +1 -1
  8. package/build/api/controller/http/index.js +2 -0
  9. package/build/api/controller/http/stt.d.ts +14 -0
  10. package/build/api/controller/http/stt.d.ts.map +1 -0
  11. package/build/api/controller/http/stt.js +16 -0
  12. package/build/api/controller/http/subscription.d.ts +1 -0
  13. package/build/api/controller/http/subscription.d.ts.map +1 -1
  14. package/build/api/controller/http/subscription.js +1 -0
  15. package/build/api/controller/http/tts.d.ts +14 -0
  16. package/build/api/controller/http/tts.d.ts.map +1 -0
  17. package/build/api/controller/http/tts.js +16 -0
  18. package/build/api/routes.d.ts +45 -0
  19. package/build/api/routes.d.ts.map +1 -1
  20. package/build/api/routes.js +45 -0
  21. package/build/commands/index.d.ts +2 -0
  22. package/build/commands/index.d.ts.map +1 -1
  23. package/build/commands/index.js +2 -0
  24. package/build/commands/stt/delete-all-stt-jobs.command.d.ts +12 -0
  25. package/build/commands/stt/delete-all-stt-jobs.command.d.ts.map +1 -0
  26. package/build/commands/stt/delete-all-stt-jobs.command.js +10 -0
  27. package/build/commands/stt/delete-stt-job-by-uuid.command.d.ts +20 -0
  28. package/build/commands/stt/delete-stt-job-by-uuid.command.d.ts.map +1 -0
  29. package/build/commands/stt/delete-stt-job-by-uuid.command.js +13 -0
  30. package/build/commands/stt/execute-stt.command.d.ts +213 -0
  31. package/build/commands/stt/execute-stt.command.d.ts.map +1 -0
  32. package/build/commands/stt/execute-stt.command.js +15 -0
  33. package/build/commands/stt/index.d.ts +7 -0
  34. package/build/commands/stt/index.d.ts.map +1 -0
  35. package/build/commands/stt/index.js +22 -0
  36. package/build/commands/stt/retry-stt-job.command.d.ts +210 -0
  37. package/build/commands/stt/retry-stt-job.command.d.ts.map +1 -0
  38. package/build/commands/stt/retry-stt-job.command.js +14 -0
  39. package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +222 -0
  40. package/build/commands/stt/set-reaction-to-stt-job.command.d.ts.map +1 -0
  41. package/build/commands/stt/set-reaction-to-stt-job.command.js +19 -0
  42. package/build/commands/stt/update-stt-job-title.command.d.ts +218 -0
  43. package/build/commands/stt/update-stt-job-title.command.d.ts.map +1 -0
  44. package/build/commands/stt/update-stt-job-title.command.js +17 -0
  45. package/build/commands/subscription/fast-buy-subscription.command.d.ts +559 -0
  46. package/build/commands/subscription/fast-buy-subscription.command.d.ts.map +1 -0
  47. package/build/commands/subscription/fast-buy-subscription.command.js +21 -0
  48. package/build/commands/subscription/index.d.ts +1 -0
  49. package/build/commands/subscription/index.d.ts.map +1 -1
  50. package/build/commands/subscription/index.js +1 -0
  51. package/build/commands/tts/delete-all-tts-jobs.command.d.ts +12 -0
  52. package/build/commands/tts/delete-all-tts-jobs.command.d.ts.map +1 -0
  53. package/build/commands/tts/delete-all-tts-jobs.command.js +10 -0
  54. package/build/commands/tts/delete-tts-job-by-uuid.command.d.ts +20 -0
  55. package/build/commands/tts/delete-tts-job-by-uuid.command.d.ts.map +1 -0
  56. package/build/commands/tts/delete-tts-job-by-uuid.command.js +13 -0
  57. package/build/commands/tts/execute-tts.command.d.ts +256 -0
  58. package/build/commands/tts/execute-tts.command.d.ts.map +1 -0
  59. package/build/commands/tts/execute-tts.command.js +26 -0
  60. package/build/commands/tts/index.d.ts +7 -0
  61. package/build/commands/tts/index.d.ts.map +1 -0
  62. package/build/commands/tts/index.js +22 -0
  63. package/build/commands/tts/retry-tts-job.command.d.ts +217 -0
  64. package/build/commands/tts/retry-tts-job.command.d.ts.map +1 -0
  65. package/build/commands/tts/retry-tts-job.command.js +14 -0
  66. package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +229 -0
  67. package/build/commands/tts/set-reaction-to-tts-job.command.d.ts.map +1 -0
  68. package/build/commands/tts/set-reaction-to-tts-job.command.js +19 -0
  69. package/build/commands/tts/update-tts-job-title.command.d.ts +225 -0
  70. package/build/commands/tts/update-tts-job-title.command.d.ts.map +1 -0
  71. package/build/commands/tts/update-tts-job-title.command.js +17 -0
  72. package/build/constants/errors/errors.d.ts +90 -0
  73. package/build/constants/errors/errors.d.ts.map +1 -1
  74. package/build/constants/errors/errors.js +92 -0
  75. package/build/constants/files/enums/file-type.enum.d.ts +2 -1
  76. package/build/constants/files/enums/file-type.enum.d.ts.map +1 -1
  77. package/build/constants/files/enums/file-type.enum.js +1 -0
  78. package/build/constants/tools/enums/tool-type.enum.d.ts +3 -1
  79. package/build/constants/tools/enums/tool-type.enum.d.ts.map +1 -1
  80. package/build/constants/tools/enums/tool-type.enum.js +2 -0
  81. package/build/models/index.d.ts +2 -0
  82. package/build/models/index.d.ts.map +1 -1
  83. package/build/models/index.js +2 -0
  84. package/build/models/stt/index.d.ts +6 -0
  85. package/build/models/stt/index.d.ts.map +1 -0
  86. package/build/models/stt/index.js +21 -0
  87. package/build/models/stt/stt-config.schema.d.ts +165 -0
  88. package/build/models/stt/stt-config.schema.d.ts.map +1 -0
  89. package/build/models/stt/stt-config.schema.js +8 -0
  90. package/build/models/stt/stt-job-attempt.schema.d.ts +20 -0
  91. package/build/models/stt/stt-job-attempt.schema.d.ts.map +1 -0
  92. package/build/models/stt/stt-job-attempt.schema.js +11 -0
  93. package/build/models/stt/stt-job.schema.d.ts +127 -0
  94. package/build/models/stt/stt-job.schema.d.ts.map +1 -0
  95. package/build/models/stt/stt-job.schema.js +32 -0
  96. package/build/models/stt/stt-model.schema.d.ts +110 -0
  97. package/build/models/stt/stt-model.schema.d.ts.map +1 -0
  98. package/build/models/stt/stt-model.schema.js +23 -0
  99. package/build/models/stt/stt-response.schema.d.ts +19 -0
  100. package/build/models/stt/stt-response.schema.d.ts.map +1 -0
  101. package/build/models/stt/stt-response.schema.js +10 -0
  102. package/build/models/tts/index.d.ts +6 -0
  103. package/build/models/tts/index.d.ts.map +1 -0
  104. package/build/models/tts/index.js +21 -0
  105. package/build/models/tts/tts-config.schema.d.ts +1117 -0
  106. package/build/models/tts/tts-config.schema.d.ts.map +1 -0
  107. package/build/models/tts/tts-config.schema.js +8 -0
  108. package/build/models/tts/tts-job-attempt.schema.d.ts +20 -0
  109. package/build/models/tts/tts-job-attempt.schema.d.ts.map +1 -0
  110. package/build/models/tts/tts-job-attempt.schema.js +11 -0
  111. package/build/models/tts/tts-job-params.schema.d.ts +22 -0
  112. package/build/models/tts/tts-job-params.schema.d.ts.map +1 -0
  113. package/build/models/tts/tts-job-params.schema.js +11 -0
  114. package/build/models/tts/tts-job.schema.d.ts +132 -0
  115. package/build/models/tts/tts-job.schema.d.ts.map +1 -0
  116. package/build/models/tts/tts-job.schema.js +32 -0
  117. package/build/models/tts/tts-model.schema.d.ts +1530 -0
  118. package/build/models/tts/tts-model.schema.d.ts.map +1 -0
  119. package/build/models/tts/tts-model.schema.js +58 -0
  120. package/build/queries/index.d.ts +2 -0
  121. package/build/queries/index.d.ts.map +1 -1
  122. package/build/queries/index.js +2 -0
  123. package/build/queries/stt/find-stt-jobs.command.d.ts +236 -0
  124. package/build/queries/stt/find-stt-jobs.command.d.ts.map +1 -0
  125. package/build/queries/stt/find-stt-jobs.command.js +20 -0
  126. package/build/queries/stt/get-stt-config.command.d.ts +227 -0
  127. package/build/queries/stt/get-stt-config.command.d.ts.map +1 -0
  128. package/build/queries/stt/get-stt-config.command.js +11 -0
  129. package/build/queries/stt/get-stt-job.command.d.ts +210 -0
  130. package/build/queries/stt/get-stt-job.command.d.ts.map +1 -0
  131. package/build/queries/stt/get-stt-job.command.js +14 -0
  132. package/build/queries/stt/index.d.ts +4 -0
  133. package/build/queries/stt/index.d.ts.map +1 -0
  134. package/build/queries/stt/index.js +19 -0
  135. package/build/queries/tts/find-tts-jobs.command.d.ts +243 -0
  136. package/build/queries/tts/find-tts-jobs.command.d.ts.map +1 -0
  137. package/build/queries/tts/find-tts-jobs.command.js +20 -0
  138. package/build/queries/tts/get-tts-config.command.d.ts +1371 -0
  139. package/build/queries/tts/get-tts-config.command.d.ts.map +1 -0
  140. package/build/queries/tts/get-tts-config.command.js +11 -0
  141. package/build/queries/tts/get-tts-job.command.d.ts +217 -0
  142. package/build/queries/tts/get-tts-job.command.d.ts.map +1 -0
  143. package/build/queries/tts/get-tts-job.command.js +14 -0
  144. package/build/queries/tts/index.d.ts +4 -0
  145. package/build/queries/tts/index.d.ts.map +1 -0
  146. package/build/queries/tts/index.js +19 -0
  147. package/commands/index.ts +2 -0
  148. package/commands/stt/delete-all-stt-jobs.command.ts +8 -0
  149. package/commands/stt/delete-stt-job-by-uuid.command.ts +13 -0
  150. package/commands/stt/execute-stt.command.ts +15 -0
  151. package/commands/stt/index.ts +6 -0
  152. package/commands/stt/retry-stt-job.command.ts +14 -0
  153. package/commands/stt/set-reaction-to-stt-job.command.ts +21 -0
  154. package/commands/stt/update-stt-job-title.command.ts +19 -0
  155. package/commands/subscription/fast-buy-subscription.command.ts +23 -0
  156. package/commands/subscription/index.ts +1 -0
  157. package/commands/tts/delete-all-tts-jobs.command.ts +8 -0
  158. package/commands/tts/delete-tts-job-by-uuid.command.ts +13 -0
  159. package/commands/tts/execute-tts.command.ts +26 -0
  160. package/commands/tts/index.ts +6 -0
  161. package/commands/tts/retry-tts-job.command.ts +14 -0
  162. package/commands/tts/set-reaction-to-tts-job.command.ts +21 -0
  163. package/commands/tts/update-tts-job-title.command.ts +19 -0
  164. package/constants/errors/errors.ts +94 -0
  165. package/constants/files/enums/file-type.enum.ts +1 -0
  166. package/constants/tools/enums/tool-type.enum.ts +2 -0
  167. package/models/index.ts +2 -0
  168. package/models/stt/index.ts +5 -0
  169. package/models/stt/stt-config.schema.ts +8 -0
  170. package/models/stt/stt-job-attempt.schema.ts +11 -0
  171. package/models/stt/stt-job.schema.ts +32 -0
  172. package/models/stt/stt-model.schema.ts +23 -0
  173. package/models/stt/stt-response.schema.ts +10 -0
  174. package/models/tts/index.ts +5 -0
  175. package/models/tts/tts-config.schema.ts +8 -0
  176. package/models/tts/tts-job-attempt.schema.ts +11 -0
  177. package/models/tts/tts-job-params.schema.ts +11 -0
  178. package/models/tts/tts-job.schema.ts +32 -0
  179. package/models/tts/tts-model.schema.ts +66 -0
  180. package/package.json +1 -1
  181. package/queries/index.ts +2 -0
  182. package/queries/stt/find-stt-jobs.command.ts +20 -0
  183. package/queries/stt/get-stt-config.command.ts +9 -0
  184. package/queries/stt/get-stt-job.command.ts +14 -0
  185. package/queries/stt/index.ts +3 -0
  186. package/queries/tts/find-tts-jobs.command.ts +20 -0
  187. package/queries/tts/get-tts-config.command.ts +9 -0
  188. package/queries/tts/get-tts-job.command.ts +14 -0
  189. package/queries/tts/index.ts +3 -0
@@ -0,0 +1,559 @@
1
+ import { z } from 'zod';
2
+ export declare namespace FastBuySubscriptionCommand {
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 RequestSchema: z.ZodObject<{
12
+ email: z.ZodString;
13
+ partnerId: z.ZodOptional<z.ZodString>;
14
+ marketingConsent: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ email: string;
17
+ marketingConsent: boolean;
18
+ partnerId?: string | undefined;
19
+ }, {
20
+ email: string;
21
+ partnerId?: string | undefined;
22
+ marketingConsent?: boolean | undefined;
23
+ }>;
24
+ type Request = z.infer<typeof RequestSchema>;
25
+ const ResponseSchema: z.ZodObject<{
26
+ data: z.ZodObject<{
27
+ publicId: z.ZodString;
28
+ amount: z.ZodNumber;
29
+ currency: z.ZodString;
30
+ accountId: z.ZodString;
31
+ description: z.ZodString;
32
+ invoiceId: z.ZodString;
33
+ email: z.ZodString;
34
+ skin: z.ZodString;
35
+ autoClose: z.ZodNumber;
36
+ data: z.ZodObject<{
37
+ CloudPayments: z.ZodObject<{
38
+ CustomerReceipt: z.ZodObject<{
39
+ items: z.ZodArray<z.ZodObject<{
40
+ label: z.ZodString;
41
+ price: z.ZodNumber;
42
+ quantity: z.ZodNumber;
43
+ amount: z.ZodNumber;
44
+ vat: z.ZodNumber;
45
+ }, "strip", z.ZodTypeAny, {
46
+ price: number;
47
+ label: string;
48
+ quantity: number;
49
+ amount: number;
50
+ vat: number;
51
+ }, {
52
+ price: number;
53
+ label: string;
54
+ quantity: number;
55
+ amount: number;
56
+ vat: number;
57
+ }>, "many">;
58
+ taxationSystem: z.ZodNumber;
59
+ email: z.ZodString;
60
+ isBso: z.ZodBoolean;
61
+ amounts: z.ZodObject<{
62
+ electronic: z.ZodNumber;
63
+ }, "strip", z.ZodTypeAny, {
64
+ electronic: number;
65
+ }, {
66
+ electronic: number;
67
+ }>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ email: string;
70
+ items: {
71
+ price: number;
72
+ label: string;
73
+ quantity: number;
74
+ amount: number;
75
+ vat: number;
76
+ }[];
77
+ taxationSystem: number;
78
+ isBso: boolean;
79
+ amounts: {
80
+ electronic: number;
81
+ };
82
+ }, {
83
+ email: string;
84
+ items: {
85
+ price: number;
86
+ label: string;
87
+ quantity: number;
88
+ amount: number;
89
+ vat: number;
90
+ }[];
91
+ taxationSystem: number;
92
+ isBso: boolean;
93
+ amounts: {
94
+ electronic: number;
95
+ };
96
+ }>;
97
+ recurrent: z.ZodOptional<z.ZodObject<{
98
+ period: z.ZodNumber;
99
+ interval: z.ZodLiteral<"Month">;
100
+ customerReceipt: z.ZodObject<{
101
+ items: z.ZodArray<z.ZodObject<{
102
+ label: z.ZodString;
103
+ price: z.ZodNumber;
104
+ quantity: z.ZodNumber;
105
+ amount: z.ZodNumber;
106
+ vat: z.ZodNumber;
107
+ }, "strip", z.ZodTypeAny, {
108
+ price: number;
109
+ label: string;
110
+ quantity: number;
111
+ amount: number;
112
+ vat: number;
113
+ }, {
114
+ price: number;
115
+ label: string;
116
+ quantity: number;
117
+ amount: number;
118
+ vat: number;
119
+ }>, "many">;
120
+ taxationSystem: z.ZodNumber;
121
+ email: z.ZodString;
122
+ isBso: z.ZodBoolean;
123
+ amounts: z.ZodObject<{
124
+ electronic: z.ZodNumber;
125
+ }, "strip", z.ZodTypeAny, {
126
+ electronic: number;
127
+ }, {
128
+ electronic: number;
129
+ }>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ email: string;
132
+ items: {
133
+ price: number;
134
+ label: string;
135
+ quantity: number;
136
+ amount: number;
137
+ vat: number;
138
+ }[];
139
+ taxationSystem: number;
140
+ isBso: boolean;
141
+ amounts: {
142
+ electronic: number;
143
+ };
144
+ }, {
145
+ email: string;
146
+ items: {
147
+ price: number;
148
+ label: string;
149
+ quantity: number;
150
+ amount: number;
151
+ vat: number;
152
+ }[];
153
+ taxationSystem: number;
154
+ isBso: boolean;
155
+ amounts: {
156
+ electronic: number;
157
+ };
158
+ }>;
159
+ amount: z.ZodNumber;
160
+ }, "strip", z.ZodTypeAny, {
161
+ interval: "Month";
162
+ period: number;
163
+ amount: number;
164
+ customerReceipt: {
165
+ email: string;
166
+ items: {
167
+ price: number;
168
+ label: string;
169
+ quantity: number;
170
+ amount: number;
171
+ vat: number;
172
+ }[];
173
+ taxationSystem: number;
174
+ isBso: boolean;
175
+ amounts: {
176
+ electronic: number;
177
+ };
178
+ };
179
+ }, {
180
+ interval: "Month";
181
+ period: number;
182
+ amount: number;
183
+ customerReceipt: {
184
+ email: string;
185
+ items: {
186
+ price: number;
187
+ label: string;
188
+ quantity: number;
189
+ amount: number;
190
+ vat: number;
191
+ }[];
192
+ taxationSystem: number;
193
+ isBso: boolean;
194
+ amounts: {
195
+ electronic: number;
196
+ };
197
+ };
198
+ }>>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ CustomerReceipt: {
201
+ email: string;
202
+ items: {
203
+ price: number;
204
+ label: string;
205
+ quantity: number;
206
+ amount: number;
207
+ vat: number;
208
+ }[];
209
+ taxationSystem: number;
210
+ isBso: boolean;
211
+ amounts: {
212
+ electronic: number;
213
+ };
214
+ };
215
+ recurrent?: {
216
+ interval: "Month";
217
+ period: number;
218
+ amount: number;
219
+ customerReceipt: {
220
+ email: string;
221
+ items: {
222
+ price: number;
223
+ label: string;
224
+ quantity: number;
225
+ amount: number;
226
+ vat: number;
227
+ }[];
228
+ taxationSystem: number;
229
+ isBso: boolean;
230
+ amounts: {
231
+ electronic: number;
232
+ };
233
+ };
234
+ } | undefined;
235
+ }, {
236
+ CustomerReceipt: {
237
+ email: string;
238
+ items: {
239
+ price: number;
240
+ label: string;
241
+ quantity: number;
242
+ amount: number;
243
+ vat: number;
244
+ }[];
245
+ taxationSystem: number;
246
+ isBso: boolean;
247
+ amounts: {
248
+ electronic: number;
249
+ };
250
+ };
251
+ recurrent?: {
252
+ interval: "Month";
253
+ period: number;
254
+ amount: number;
255
+ customerReceipt: {
256
+ email: string;
257
+ items: {
258
+ price: number;
259
+ label: string;
260
+ quantity: number;
261
+ amount: number;
262
+ vat: number;
263
+ }[];
264
+ taxationSystem: number;
265
+ isBso: boolean;
266
+ amounts: {
267
+ electronic: number;
268
+ };
269
+ };
270
+ } | undefined;
271
+ }>;
272
+ }, "strip", z.ZodTypeAny, {
273
+ CloudPayments: {
274
+ CustomerReceipt: {
275
+ email: string;
276
+ items: {
277
+ price: number;
278
+ label: string;
279
+ quantity: number;
280
+ amount: number;
281
+ vat: number;
282
+ }[];
283
+ taxationSystem: number;
284
+ isBso: boolean;
285
+ amounts: {
286
+ electronic: number;
287
+ };
288
+ };
289
+ recurrent?: {
290
+ interval: "Month";
291
+ period: number;
292
+ amount: number;
293
+ customerReceipt: {
294
+ email: string;
295
+ items: {
296
+ price: number;
297
+ label: string;
298
+ quantity: number;
299
+ amount: number;
300
+ vat: number;
301
+ }[];
302
+ taxationSystem: number;
303
+ isBso: boolean;
304
+ amounts: {
305
+ electronic: number;
306
+ };
307
+ };
308
+ } | undefined;
309
+ };
310
+ }, {
311
+ CloudPayments: {
312
+ CustomerReceipt: {
313
+ email: string;
314
+ items: {
315
+ price: number;
316
+ label: string;
317
+ quantity: number;
318
+ amount: number;
319
+ vat: number;
320
+ }[];
321
+ taxationSystem: number;
322
+ isBso: boolean;
323
+ amounts: {
324
+ electronic: number;
325
+ };
326
+ };
327
+ recurrent?: {
328
+ interval: "Month";
329
+ period: number;
330
+ amount: number;
331
+ customerReceipt: {
332
+ email: string;
333
+ items: {
334
+ price: number;
335
+ label: string;
336
+ quantity: number;
337
+ amount: number;
338
+ vat: number;
339
+ }[];
340
+ taxationSystem: number;
341
+ isBso: boolean;
342
+ amounts: {
343
+ electronic: number;
344
+ };
345
+ };
346
+ } | undefined;
347
+ };
348
+ }>;
349
+ }, "strip", z.ZodTypeAny, {
350
+ email: string;
351
+ description: string;
352
+ amount: number;
353
+ publicId: string;
354
+ currency: string;
355
+ accountId: string;
356
+ invoiceId: string;
357
+ skin: string;
358
+ autoClose: number;
359
+ data: {
360
+ CloudPayments: {
361
+ CustomerReceipt: {
362
+ email: string;
363
+ items: {
364
+ price: number;
365
+ label: string;
366
+ quantity: number;
367
+ amount: number;
368
+ vat: number;
369
+ }[];
370
+ taxationSystem: number;
371
+ isBso: boolean;
372
+ amounts: {
373
+ electronic: number;
374
+ };
375
+ };
376
+ recurrent?: {
377
+ interval: "Month";
378
+ period: number;
379
+ amount: number;
380
+ customerReceipt: {
381
+ email: string;
382
+ items: {
383
+ price: number;
384
+ label: string;
385
+ quantity: number;
386
+ amount: number;
387
+ vat: number;
388
+ }[];
389
+ taxationSystem: number;
390
+ isBso: boolean;
391
+ amounts: {
392
+ electronic: number;
393
+ };
394
+ };
395
+ } | undefined;
396
+ };
397
+ };
398
+ }, {
399
+ email: string;
400
+ description: string;
401
+ amount: number;
402
+ publicId: string;
403
+ currency: string;
404
+ accountId: string;
405
+ invoiceId: string;
406
+ skin: string;
407
+ autoClose: number;
408
+ data: {
409
+ CloudPayments: {
410
+ CustomerReceipt: {
411
+ email: string;
412
+ items: {
413
+ price: number;
414
+ label: string;
415
+ quantity: number;
416
+ amount: number;
417
+ vat: number;
418
+ }[];
419
+ taxationSystem: number;
420
+ isBso: boolean;
421
+ amounts: {
422
+ electronic: number;
423
+ };
424
+ };
425
+ recurrent?: {
426
+ interval: "Month";
427
+ period: number;
428
+ amount: number;
429
+ customerReceipt: {
430
+ email: string;
431
+ items: {
432
+ price: number;
433
+ label: string;
434
+ quantity: number;
435
+ amount: number;
436
+ vat: number;
437
+ }[];
438
+ taxationSystem: number;
439
+ isBso: boolean;
440
+ amounts: {
441
+ electronic: number;
442
+ };
443
+ };
444
+ } | undefined;
445
+ };
446
+ };
447
+ }>;
448
+ restoreToken: z.ZodString;
449
+ userUUID: z.ZodString;
450
+ }, "strip", z.ZodTypeAny, {
451
+ data: {
452
+ email: string;
453
+ description: string;
454
+ amount: number;
455
+ publicId: string;
456
+ currency: string;
457
+ accountId: string;
458
+ invoiceId: string;
459
+ skin: string;
460
+ autoClose: number;
461
+ data: {
462
+ CloudPayments: {
463
+ CustomerReceipt: {
464
+ email: string;
465
+ items: {
466
+ price: number;
467
+ label: string;
468
+ quantity: number;
469
+ amount: number;
470
+ vat: number;
471
+ }[];
472
+ taxationSystem: number;
473
+ isBso: boolean;
474
+ amounts: {
475
+ electronic: number;
476
+ };
477
+ };
478
+ recurrent?: {
479
+ interval: "Month";
480
+ period: number;
481
+ amount: number;
482
+ customerReceipt: {
483
+ email: string;
484
+ items: {
485
+ price: number;
486
+ label: string;
487
+ quantity: number;
488
+ amount: number;
489
+ vat: number;
490
+ }[];
491
+ taxationSystem: number;
492
+ isBso: boolean;
493
+ amounts: {
494
+ electronic: number;
495
+ };
496
+ };
497
+ } | undefined;
498
+ };
499
+ };
500
+ };
501
+ restoreToken: string;
502
+ userUUID: string;
503
+ }, {
504
+ data: {
505
+ email: string;
506
+ description: string;
507
+ amount: number;
508
+ publicId: string;
509
+ currency: string;
510
+ accountId: string;
511
+ invoiceId: string;
512
+ skin: string;
513
+ autoClose: number;
514
+ data: {
515
+ CloudPayments: {
516
+ CustomerReceipt: {
517
+ email: string;
518
+ items: {
519
+ price: number;
520
+ label: string;
521
+ quantity: number;
522
+ amount: number;
523
+ vat: number;
524
+ }[];
525
+ taxationSystem: number;
526
+ isBso: boolean;
527
+ amounts: {
528
+ electronic: number;
529
+ };
530
+ };
531
+ recurrent?: {
532
+ interval: "Month";
533
+ period: number;
534
+ amount: number;
535
+ customerReceipt: {
536
+ email: string;
537
+ items: {
538
+ price: number;
539
+ label: string;
540
+ quantity: number;
541
+ amount: number;
542
+ vat: number;
543
+ }[];
544
+ taxationSystem: number;
545
+ isBso: boolean;
546
+ amounts: {
547
+ electronic: number;
548
+ };
549
+ };
550
+ } | undefined;
551
+ };
552
+ };
553
+ };
554
+ restoreToken: string;
555
+ userUUID: string;
556
+ }>;
557
+ type Response = z.infer<typeof ResponseSchema>;
558
+ }
559
+ //# sourceMappingURL=fast-buy-subscription.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fast-buy-subscription.command.d.ts","sourceRoot":"","sources":["../../../commands/subscription/fast-buy-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,aAAa;;;;;;;;;;;;MAIxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,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.FastBuySubscriptionCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../models");
6
+ var FastBuySubscriptionCommand;
7
+ (function (FastBuySubscriptionCommand) {
8
+ FastBuySubscriptionCommand.RequestParamSchema = zod_1.z.object({
9
+ uuid: zod_1.z.string().uuid(),
10
+ });
11
+ FastBuySubscriptionCommand.RequestSchema = zod_1.z.object({
12
+ email: zod_1.z.string().email(),
13
+ partnerId: zod_1.z.string().uuid().optional(),
14
+ marketingConsent: zod_1.z.boolean().optional().default(false),
15
+ });
16
+ FastBuySubscriptionCommand.ResponseSchema = zod_1.z.object({
17
+ data: models_1.CloudPaymentsWidgetSchema,
18
+ restoreToken: zod_1.z.string(),
19
+ userUUID: zod_1.z.string().uuid(),
20
+ });
21
+ })(FastBuySubscriptionCommand || (exports.FastBuySubscriptionCommand = FastBuySubscriptionCommand = {}));
@@ -1,3 +1,4 @@
1
1
  export * from './buy-subscription.command';
2
+ export * from './fast-buy-subscription.command';
2
3
  export * from './cancel-subscription.command';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/subscription/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/subscription/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC"}
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./buy-subscription.command"), exports);
18
+ __exportStar(require("./fast-buy-subscription.command"), exports);
18
19
  __exportStar(require("./cancel-subscription.command"), exports);
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ export declare namespace DeleteAllTTSJobsCommand {
3
+ const ResponseSchema: z.ZodObject<{
4
+ data: z.ZodBoolean;
5
+ }, "strip", z.ZodTypeAny, {
6
+ data: boolean;
7
+ }, {
8
+ data: boolean;
9
+ }>;
10
+ type Response = z.infer<typeof ResponseSchema>;
11
+ }
12
+ //# sourceMappingURL=delete-all-tts-jobs.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-all-tts-jobs.command.d.ts","sourceRoot":"","sources":["../../../commands/tts/delete-all-tts-jobs.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,cAAc;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAllTTSJobsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ var DeleteAllTTSJobsCommand;
6
+ (function (DeleteAllTTSJobsCommand) {
7
+ DeleteAllTTSJobsCommand.ResponseSchema = zod_1.z.object({
8
+ data: zod_1.z.boolean(),
9
+ });
10
+ })(DeleteAllTTSJobsCommand || (exports.DeleteAllTTSJobsCommand = DeleteAllTTSJobsCommand = {}));
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+ export declare namespace DeleteTTSJobByUuidCommand {
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 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-tts-job-by-uuid.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-tts-job-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../commands/tts/delete-tts-job-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,mBAAmB;;;;;;MAE9B,CAAC;IACH,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAEzD,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.DeleteTTSJobByUuidCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ var DeleteTTSJobByUuidCommand;
6
+ (function (DeleteTTSJobByUuidCommand) {
7
+ DeleteTTSJobByUuidCommand.RequestParamsSchema = zod_1.z.object({
8
+ uuid: zod_1.z.string().uuid(),
9
+ });
10
+ DeleteTTSJobByUuidCommand.ResponseSchema = zod_1.z.object({
11
+ data: zod_1.z.boolean(),
12
+ });
13
+ })(DeleteTTSJobByUuidCommand || (exports.DeleteTTSJobByUuidCommand = DeleteTTSJobByUuidCommand = {}));