@kl1/contracts 1.2.10-uat → 1.2.12-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/mail/account-contract.d.ts +81 -10
- package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/index.d.ts +2 -1
- package/dist/api-contracts/src/mail/index.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +242 -13
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +161 -3
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +13 -0
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +58 -0
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts.map +1 -1
- package/dist/index.js +50 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +50 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -186,12 +186,170 @@ export declare const serverContract: {
|
|
186
186
|
}>;
|
187
187
|
200: z.ZodObject<{
|
188
188
|
requestId: z.ZodString;
|
189
|
-
data: z.
|
189
|
+
data: z.ZodObject<{
|
190
|
+
total: z.ZodNumber;
|
191
|
+
pages: z.ZodNumber;
|
192
|
+
page: z.ZodNumber;
|
193
|
+
apps: z.ZodArray<z.ZodObject<{
|
194
|
+
id: z.ZodString;
|
195
|
+
name: z.ZodString;
|
196
|
+
description: z.ZodString;
|
197
|
+
title: z.ZodString;
|
198
|
+
provider: z.ZodString;
|
199
|
+
enabled: z.ZodBoolean;
|
200
|
+
legacy: z.ZodBoolean;
|
201
|
+
created: z.ZodString;
|
202
|
+
updated: z.ZodString;
|
203
|
+
includeInListing: z.ZodBoolean;
|
204
|
+
clientId: z.ZodString;
|
205
|
+
clientSecret: z.ZodString;
|
206
|
+
authority: z.ZodString;
|
207
|
+
redirectUrl: z.ZodString;
|
208
|
+
serviceClient: z.ZodString;
|
209
|
+
googleProjectId: z.ZodString;
|
210
|
+
serviceClientEmail: z.ZodString;
|
211
|
+
serviceKey: z.ZodString;
|
212
|
+
}, "strip", z.ZodTypeAny, {
|
213
|
+
id: string;
|
214
|
+
name: string;
|
215
|
+
title: string;
|
216
|
+
description: string;
|
217
|
+
updated: string;
|
218
|
+
provider: string;
|
219
|
+
enabled: boolean;
|
220
|
+
legacy: boolean;
|
221
|
+
created: string;
|
222
|
+
includeInListing: boolean;
|
223
|
+
clientId: string;
|
224
|
+
clientSecret: string;
|
225
|
+
authority: string;
|
226
|
+
redirectUrl: string;
|
227
|
+
serviceClient: string;
|
228
|
+
googleProjectId: string;
|
229
|
+
serviceClientEmail: string;
|
230
|
+
serviceKey: string;
|
231
|
+
}, {
|
232
|
+
id: string;
|
233
|
+
name: string;
|
234
|
+
title: string;
|
235
|
+
description: string;
|
236
|
+
updated: string;
|
237
|
+
provider: string;
|
238
|
+
enabled: boolean;
|
239
|
+
legacy: boolean;
|
240
|
+
created: string;
|
241
|
+
includeInListing: boolean;
|
242
|
+
clientId: string;
|
243
|
+
clientSecret: string;
|
244
|
+
authority: string;
|
245
|
+
redirectUrl: string;
|
246
|
+
serviceClient: string;
|
247
|
+
googleProjectId: string;
|
248
|
+
serviceClientEmail: string;
|
249
|
+
serviceKey: string;
|
250
|
+
}>, "many">;
|
251
|
+
}, "strip", z.ZodTypeAny, {
|
252
|
+
total: number;
|
253
|
+
page: number;
|
254
|
+
pages: number;
|
255
|
+
apps: {
|
256
|
+
id: string;
|
257
|
+
name: string;
|
258
|
+
title: string;
|
259
|
+
description: string;
|
260
|
+
updated: string;
|
261
|
+
provider: string;
|
262
|
+
enabled: boolean;
|
263
|
+
legacy: boolean;
|
264
|
+
created: string;
|
265
|
+
includeInListing: boolean;
|
266
|
+
clientId: string;
|
267
|
+
clientSecret: string;
|
268
|
+
authority: string;
|
269
|
+
redirectUrl: string;
|
270
|
+
serviceClient: string;
|
271
|
+
googleProjectId: string;
|
272
|
+
serviceClientEmail: string;
|
273
|
+
serviceKey: string;
|
274
|
+
}[];
|
275
|
+
}, {
|
276
|
+
total: number;
|
277
|
+
page: number;
|
278
|
+
pages: number;
|
279
|
+
apps: {
|
280
|
+
id: string;
|
281
|
+
name: string;
|
282
|
+
title: string;
|
283
|
+
description: string;
|
284
|
+
updated: string;
|
285
|
+
provider: string;
|
286
|
+
enabled: boolean;
|
287
|
+
legacy: boolean;
|
288
|
+
created: string;
|
289
|
+
includeInListing: boolean;
|
290
|
+
clientId: string;
|
291
|
+
clientSecret: string;
|
292
|
+
authority: string;
|
293
|
+
redirectUrl: string;
|
294
|
+
serviceClient: string;
|
295
|
+
googleProjectId: string;
|
296
|
+
serviceClientEmail: string;
|
297
|
+
serviceKey: string;
|
298
|
+
}[];
|
299
|
+
}>;
|
190
300
|
}, "strip", z.ZodTypeAny, {
|
191
|
-
data:
|
301
|
+
data: {
|
302
|
+
total: number;
|
303
|
+
page: number;
|
304
|
+
pages: number;
|
305
|
+
apps: {
|
306
|
+
id: string;
|
307
|
+
name: string;
|
308
|
+
title: string;
|
309
|
+
description: string;
|
310
|
+
updated: string;
|
311
|
+
provider: string;
|
312
|
+
enabled: boolean;
|
313
|
+
legacy: boolean;
|
314
|
+
created: string;
|
315
|
+
includeInListing: boolean;
|
316
|
+
clientId: string;
|
317
|
+
clientSecret: string;
|
318
|
+
authority: string;
|
319
|
+
redirectUrl: string;
|
320
|
+
serviceClient: string;
|
321
|
+
googleProjectId: string;
|
322
|
+
serviceClientEmail: string;
|
323
|
+
serviceKey: string;
|
324
|
+
}[];
|
325
|
+
};
|
192
326
|
requestId: string;
|
193
327
|
}, {
|
194
|
-
data:
|
328
|
+
data: {
|
329
|
+
total: number;
|
330
|
+
page: number;
|
331
|
+
pages: number;
|
332
|
+
apps: {
|
333
|
+
id: string;
|
334
|
+
name: string;
|
335
|
+
title: string;
|
336
|
+
description: string;
|
337
|
+
updated: string;
|
338
|
+
provider: string;
|
339
|
+
enabled: boolean;
|
340
|
+
legacy: boolean;
|
341
|
+
created: string;
|
342
|
+
includeInListing: boolean;
|
343
|
+
clientId: string;
|
344
|
+
clientSecret: string;
|
345
|
+
authority: string;
|
346
|
+
redirectUrl: string;
|
347
|
+
serviceClient: string;
|
348
|
+
googleProjectId: string;
|
349
|
+
serviceClientEmail: string;
|
350
|
+
serviceKey: string;
|
351
|
+
}[];
|
352
|
+
};
|
195
353
|
requestId: string;
|
196
354
|
}>;
|
197
355
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mail-server-contract.d.ts","sourceRoot":"","sources":["../../../../src/mail/mail-server-contract.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAE7E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC7E,eAAO,MAAM,cAAc
|
1
|
+
{"version":3,"file":"mail-server-contract.d.ts","sourceRoot":"","sources":["../../../../src/mail/mail-server-contract.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAE7E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC7E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyF1B,CAAC"}
|
@@ -681,6 +681,16 @@ export declare const AccountContractsValidationSchemas: {
|
|
681
681
|
}, {
|
682
682
|
id: string;
|
683
683
|
}>;
|
684
|
+
output: z.ZodString;
|
685
|
+
};
|
686
|
+
deleteEmailEngineAcc: {
|
687
|
+
input: z.ZodObject<{
|
688
|
+
account: z.ZodString;
|
689
|
+
}, "strip", z.ZodTypeAny, {
|
690
|
+
account: string;
|
691
|
+
}, {
|
692
|
+
account: string;
|
693
|
+
}>;
|
684
694
|
output: z.ZodObject<{
|
685
695
|
id: z.ZodString;
|
686
696
|
createdAt: z.ZodDate;
|
@@ -799,10 +809,13 @@ export declare const AccountContractsValidationSchemas: {
|
|
799
809
|
}>;
|
800
810
|
response: z.ZodObject<{
|
801
811
|
url: z.ZodString;
|
812
|
+
account: z.ZodString;
|
802
813
|
}, "strip", z.ZodTypeAny, {
|
803
814
|
url: string;
|
815
|
+
account: string;
|
804
816
|
}, {
|
805
817
|
url: string;
|
818
|
+
account: string;
|
806
819
|
}>;
|
807
820
|
};
|
808
821
|
createOAuth2Acc: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"account-validation.schema.d.ts","sourceRoot":"","sources":["../../../../../src/mail/schemas/account-validation.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,iCAAiC
|
1
|
+
{"version":3,"file":"account-validation.schema.d.ts","sourceRoot":"","sources":["../../../../../src/mail/schemas/account-validation.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkE7C,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAC3D,OAAO,iCAAiC,CAAC,gCAAgC,CAAC,IAAI,CAC/E,CAAC;AACF,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAC5D,OAAO,iCAAiC,CAAC,gCAAgC,CAAC,QAAQ,CACnF,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,iCAAiC,CAAC,eAAe,CAAC,IAAI,CAC9D,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAC3C,OAAO,iCAAiC,CAAC,eAAe,CAAC,QAAQ,CAClE,CAAC"}
|
@@ -146,4 +146,62 @@ export declare const MailAccountSchema: z.ZodObject<{
|
|
146
146
|
useTlsForImap: boolean;
|
147
147
|
};
|
148
148
|
}>;
|
149
|
+
export declare const OAuth2AppSchema: z.ZodObject<{
|
150
|
+
id: z.ZodString;
|
151
|
+
name: z.ZodString;
|
152
|
+
description: z.ZodString;
|
153
|
+
title: z.ZodString;
|
154
|
+
provider: z.ZodString;
|
155
|
+
enabled: z.ZodBoolean;
|
156
|
+
legacy: z.ZodBoolean;
|
157
|
+
created: z.ZodString;
|
158
|
+
updated: z.ZodString;
|
159
|
+
includeInListing: z.ZodBoolean;
|
160
|
+
clientId: z.ZodString;
|
161
|
+
clientSecret: z.ZodString;
|
162
|
+
authority: z.ZodString;
|
163
|
+
redirectUrl: z.ZodString;
|
164
|
+
serviceClient: z.ZodString;
|
165
|
+
googleProjectId: z.ZodString;
|
166
|
+
serviceClientEmail: z.ZodString;
|
167
|
+
serviceKey: z.ZodString;
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
169
|
+
id: string;
|
170
|
+
name: string;
|
171
|
+
title: string;
|
172
|
+
description: string;
|
173
|
+
updated: string;
|
174
|
+
provider: string;
|
175
|
+
enabled: boolean;
|
176
|
+
legacy: boolean;
|
177
|
+
created: string;
|
178
|
+
includeInListing: boolean;
|
179
|
+
clientId: string;
|
180
|
+
clientSecret: string;
|
181
|
+
authority: string;
|
182
|
+
redirectUrl: string;
|
183
|
+
serviceClient: string;
|
184
|
+
googleProjectId: string;
|
185
|
+
serviceClientEmail: string;
|
186
|
+
serviceKey: string;
|
187
|
+
}, {
|
188
|
+
id: string;
|
189
|
+
name: string;
|
190
|
+
title: string;
|
191
|
+
description: string;
|
192
|
+
updated: string;
|
193
|
+
provider: string;
|
194
|
+
enabled: boolean;
|
195
|
+
legacy: boolean;
|
196
|
+
created: string;
|
197
|
+
includeInListing: boolean;
|
198
|
+
clientId: string;
|
199
|
+
clientSecret: string;
|
200
|
+
authority: string;
|
201
|
+
redirectUrl: string;
|
202
|
+
serviceClient: string;
|
203
|
+
googleProjectId: string;
|
204
|
+
serviceClientEmail: string;
|
205
|
+
serviceKey: string;
|
206
|
+
}>;
|
149
207
|
//# sourceMappingURL=account.schema.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"account.schema.d.ts","sourceRoot":"","sources":["../../../../../src/mail/schemas/account.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc3B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB5B,CAAC"}
|
1
|
+
{"version":3,"file":"account.schema.d.ts","sourceRoot":"","sources":["../../../../../src/mail/schemas/account.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc3B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB5B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB1B,CAAC"}
|
package/dist/index.js
CHANGED
@@ -8517,6 +8517,26 @@ var MailAccountSchema = import_zod115.default.object({
|
|
8517
8517
|
import_zod115.default.literal("unset")
|
8518
8518
|
])
|
8519
8519
|
});
|
8520
|
+
var OAuth2AppSchema = import_zod115.default.object({
|
8521
|
+
id: import_zod115.default.string(),
|
8522
|
+
name: import_zod115.default.string(),
|
8523
|
+
description: import_zod115.default.string(),
|
8524
|
+
title: import_zod115.default.string(),
|
8525
|
+
provider: import_zod115.default.string(),
|
8526
|
+
enabled: import_zod115.default.boolean(),
|
8527
|
+
legacy: import_zod115.default.boolean(),
|
8528
|
+
created: import_zod115.default.string(),
|
8529
|
+
updated: import_zod115.default.string(),
|
8530
|
+
includeInListing: import_zod115.default.boolean(),
|
8531
|
+
clientId: import_zod115.default.string(),
|
8532
|
+
clientSecret: import_zod115.default.string(),
|
8533
|
+
authority: import_zod115.default.string(),
|
8534
|
+
redirectUrl: import_zod115.default.string(),
|
8535
|
+
serviceClient: import_zod115.default.string(),
|
8536
|
+
googleProjectId: import_zod115.default.string(),
|
8537
|
+
serviceClientEmail: import_zod115.default.string(),
|
8538
|
+
serviceKey: import_zod115.default.string()
|
8539
|
+
});
|
8520
8540
|
|
8521
8541
|
// src/mail/schemas/message.schema.ts
|
8522
8542
|
var import_zod116 = __toESM(require("zod"));
|
@@ -8934,6 +8954,12 @@ var AccountContractsValidationSchemas = {
|
|
8934
8954
|
input: import_zod120.default.object({
|
8935
8955
|
id: import_zod120.default.string()
|
8936
8956
|
}),
|
8957
|
+
output: import_zod120.default.string()
|
8958
|
+
},
|
8959
|
+
deleteEmailEngineAcc: {
|
8960
|
+
input: import_zod120.default.object({
|
8961
|
+
account: import_zod120.default.string()
|
8962
|
+
}),
|
8937
8963
|
output: MailAccountSchema
|
8938
8964
|
},
|
8939
8965
|
generateOAuth2AuthenticationLink: {
|
@@ -8942,7 +8968,8 @@ var AccountContractsValidationSchemas = {
|
|
8942
8968
|
mailServerId: import_zod120.default.string()
|
8943
8969
|
}),
|
8944
8970
|
response: import_zod120.default.object({
|
8945
|
-
url: import_zod120.default.string()
|
8971
|
+
url: import_zod120.default.string(),
|
8972
|
+
account: import_zod120.default.string()
|
8946
8973
|
})
|
8947
8974
|
},
|
8948
8975
|
createOAuth2Acc: {
|
@@ -8987,7 +9014,7 @@ var accountContract = (0, import_core45.initContract)().router(
|
|
8987
9014
|
path: "/oauth2_authentication_form_link",
|
8988
9015
|
responses: {
|
8989
9016
|
201: DefaultSuccessResponseSchema.extend({
|
8990
|
-
data: AccountContractsValidationSchemas.generateOAuth2AuthenticationLink.
|
9017
|
+
data: AccountContractsValidationSchemas.generateOAuth2AuthenticationLink.response
|
8991
9018
|
}),
|
8992
9019
|
400: import_zod121.default.object({
|
8993
9020
|
message: import_zod121.default.string()
|
@@ -9110,6 +9137,21 @@ var accountContract = (0, import_core45.initContract)().router(
|
|
9110
9137
|
summary: "Delete an account by id"
|
9111
9138
|
},
|
9112
9139
|
//#endregion delete account
|
9140
|
+
//#region ........delete account
|
9141
|
+
deleteEmailEngineAcc: {
|
9142
|
+
method: "DELETE",
|
9143
|
+
path: "/email-engine/:account",
|
9144
|
+
pathParams: AccountContractsValidationSchemas.deleteEmailEngineAcc.input,
|
9145
|
+
responses: {
|
9146
|
+
200: DefaultSuccessResponseSchema.extend({
|
9147
|
+
message: import_zod121.default.string()
|
9148
|
+
}),
|
9149
|
+
...DefaultResponses
|
9150
|
+
},
|
9151
|
+
body: null,
|
9152
|
+
summary: "Delete an account by id"
|
9153
|
+
},
|
9154
|
+
//#endregion delete account
|
9113
9155
|
//#region ........createOAuth2Acc
|
9114
9156
|
createOAuth2Acc: {
|
9115
9157
|
method: "POST",
|
@@ -9167,7 +9209,12 @@ var serverContract = (0, import_core46.initContract)().router(
|
|
9167
9209
|
path: "/oauth2/apps",
|
9168
9210
|
responses: {
|
9169
9211
|
200: DefaultSuccessResponseSchema.extend({
|
9170
|
-
data: import_zod123.default.
|
9212
|
+
data: import_zod123.default.object({
|
9213
|
+
total: import_zod123.default.number(),
|
9214
|
+
pages: import_zod123.default.number(),
|
9215
|
+
page: import_zod123.default.number(),
|
9216
|
+
apps: import_zod123.default.array(OAuth2AppSchema)
|
9217
|
+
})
|
9171
9218
|
}),
|
9172
9219
|
...DefaultResponses
|
9173
9220
|
},
|