@kl1/contracts 1.2.11-uat → 1.2.12-uat

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -8854,6 +8854,12 @@ var AccountContractsValidationSchemas = {
8854
8854
  input: z120.object({
8855
8855
  id: z120.string()
8856
8856
  }),
8857
+ output: z120.string()
8858
+ },
8859
+ deleteEmailEngineAcc: {
8860
+ input: z120.object({
8861
+ account: z120.string()
8862
+ }),
8857
8863
  output: MailAccountSchema
8858
8864
  },
8859
8865
  generateOAuth2AuthenticationLink: {
@@ -9031,6 +9037,21 @@ var accountContract = initContract45().router(
9031
9037
  summary: "Delete an account by id"
9032
9038
  },
9033
9039
  //#endregion delete account
9040
+ //#region ........delete account
9041
+ deleteEmailEngineAcc: {
9042
+ method: "DELETE",
9043
+ path: "/email-engine/:account",
9044
+ pathParams: AccountContractsValidationSchemas.deleteEmailEngineAcc.input,
9045
+ responses: {
9046
+ 200: DefaultSuccessResponseSchema.extend({
9047
+ message: z121.string()
9048
+ }),
9049
+ ...DefaultResponses
9050
+ },
9051
+ body: null,
9052
+ summary: "Delete an account by id"
9053
+ },
9054
+ //#endregion delete account
9034
9055
  //#region ........createOAuth2Acc
9035
9056
  createOAuth2Acc: {
9036
9057
  method: "POST",